Skip to content

Commit

Permalink
fix(deps): update dependency com.google.cloud:google-cloud-live-strea…
Browse files Browse the repository at this point in the history
…m to v0.10.0 (#7615)

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [com.google.cloud:google-cloud-live-stream](https://togithub.com/googleapis/google-cloud-java) | `0.3.0` -> `0.10.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-live-stream/0.10.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-live-stream/0.10.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-live-stream/0.10.0/compatibility-slim/0.3.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-live-stream/0.10.0/confidence-slim/0.3.0)](https://docs.renovatebot.com/merge-confidence/) |

---

### ⚠ Dependency Lookup Warnings ⚠

Warnings were logged while processing this repo. Please check the Dependency Dashboard for more information.

---

### Release Notes

<details>
<summary>googleapis/google-cloud-java</summary>

### [`v0.10.0`](https://togithub.com/googleapis/google-cloud-java/releases/tag/v0.10.0): 0.10.0

[Compare Source](https://togithub.com/googleapis/google-cloud-java/compare/v0.9.0...v0.10.0)

##### Storage

-   Added support for per-object storage classes ([#&#8203;1670](https://togithub.com/googleapis/google-cloud-java/issues/1670))
-   Add helper for Google Cloud Storage IAM roles ([#&#8203;1724](https://togithub.com/googleapis/google-cloud-java/issues/1724))

##### Logging

-   Switch from `Future` to `ApiFuture` ([#&#8203;1706](https://togithub.com/googleapis/google-cloud-java/issues/1706))
-   Renamed generated client classes ([#&#8203;1708](https://togithub.com/googleapis/google-cloud-java/issues/1708))
-   Reduce memory consumption ([#&#8203;1754](https://togithub.com/googleapis/google-cloud-java/issues/1754))
-   Add async/sync setting to logging handler ([#&#8203;1716](https://togithub.com/googleapis/google-cloud-java/issues/1716))

##### Pubsub

-   Switch from `Future` to `ApiFuture` ([#&#8203;1709](https://togithub.com/googleapis/google-cloud-java/issues/1709))
-   Reduce generated logs ([#&#8203;1749](https://togithub.com/googleapis/google-cloud-java/issues/1749), [#&#8203;1748](https://togithub.com/googleapis/google-cloud-java/issues/1748))
-   Fix potential deadlocks in startConnections ([#&#8203;1674](https://togithub.com/googleapis/google-cloud-java/issues/1674))

##### Bigquery

-   Add support of DATE, TIME, DATETIME for Field ([#&#8203;1755](https://togithub.com/googleapis/google-cloud-java/issues/1755))

##### NIO

-   Add convenience method for files with spaces ([#&#8203;1463](https://togithub.com/googleapis/google-cloud-java/issues/1463))
-   Add option for re-opening the channel to retry some errors ([#&#8203;1715](https://togithub.com/googleapis/google-cloud-java/issues/1715))

##### Updates

-   Rename RpcFuture to ApiFuture ([#&#8203;1690](https://togithub.com/googleapis/google-cloud-java/issues/1690))
-   Add flow control to bundling ([#&#8203;1687](https://togithub.com/googleapis/google-cloud-java/issues/1687))
-   Improved bundling performance ([#&#8203;1721](https://togithub.com/googleapis/google-cloud-java/issues/1721))
-   Remove deprecated methods ([#&#8203;1678](https://togithub.com/googleapis/google-cloud-java/issues/1678), [#&#8203;1707](https://togithub.com/googleapis/google-cloud-java/issues/1707), [#&#8203;1753](https://togithub.com/googleapis/google-cloud-java/issues/1753))
-   Remove transport from ServiceOptions hierarchy ([#&#8203;1723](https://togithub.com/googleapis/google-cloud-java/issues/1723))
-   Add project role identities to the Identity helper ([#&#8203;1718](https://togithub.com/googleapis/google-cloud-java/issues/1718))

##### Samples/docs

-   Miscellaneous improvements

### [`v0.9.0`](https://togithub.com/googleapis/google-cloud-java/releases/tag/v0.9.0): 0.9.0

[Compare Source](https://togithub.com/googleapis/google-cloud-java/compare/v0.8.0...v0.9.0)

##### Pub/Sub High-Performance Rewrite

The Pub/Sub client has been completely rewritten to enable high throughput. The handwritten layer on top of the SPI layer has been deprecated, and two handwritten classes have been added in the SPI layer, `Publisher` and `Subscriber`, for publishing and subscribing. (Note for those concerned: synchronous pull is still possible in `SubscriberClient`.) The handwritten layer was deprecated because the SPI layer can be kept up to date more easily with new service features. Since the change is so disruptive, we have retained the deprecated classes, but moved them under `com.google.cloud.pubsub.deprecated`. They will be removed before the Pub/Sub client goes to GA.

##### Logging

-   add zone to GAE Flex logging enhancer ([#&#8203;1589](https://togithub.com/googleapis/google-cloud-java/issues/1589))
-   fix(logging): Make LoggingHandler.Enhancer interface public ([#&#8203;1607](https://togithub.com/googleapis/google-cloud-java/issues/1607))

##### SPI layer changes

-   SPI layer: Regenerating with RpcStreamObserver ([#&#8203;1611](https://togithub.com/googleapis/google-cloud-java/issues/1611))
    -   This change is a prerequisite to enabling the shading of Guava

##### Docs

-   Javadocs: adding links to external types ([#&#8203;1600](https://togithub.com/googleapis/google-cloud-java/issues/1600))
-   fix a typo in README.md ([#&#8203;1604](https://togithub.com/googleapis/google-cloud-java/issues/1604))

### [`v0.8.0`](https://togithub.com/googleapis/google-cloud-java/releases/tag/v0.8.0): 0.8.0

[Compare Source](https://togithub.com/googleapis/google-cloud-java/compare/v0.7.0...v0.8.0)

##### Select clients going from Alpha to Beta

In this release, clients for four APIs are moving to beta:

-   Google Cloud BigQuery
-   Stackdriver Logging
-   Google Cloud Datastore
-   Google Cloud Storage

Their versions will have “-beta” on the end call out that fact. All other clients are still Alpha.

##### Features

-   QueryParameter support added to BigQuery, DATE/TIME/DATETIME added to LegacySQLTypeName ([#&#8203;1451](https://togithub.com/googleapis/google-cloud-java/issues/1451))

##### Interface changes

-   Logging api layer: using resource name classes instead of strings where appropriate ([#&#8203;1454](https://togithub.com/googleapis/google-cloud-java/issues/1454))

##### Test improvements

Several tests were flaky on AppVeyor, so improvements were made to make them more reliable.

-   BlockingProcessStreamReader ([#&#8203;1457](https://togithub.com/googleapis/google-cloud-java/issues/1457))
-   BigQuery integration tests ([#&#8203;1456](https://togithub.com/googleapis/google-cloud-java/issues/1456))
-   PubSub integration tests ([#&#8203;1453](https://togithub.com/googleapis/google-cloud-java/issues/1453))
-   DNS tests: removed LocalDnsHelper and its test ([#&#8203;1446](https://togithub.com/googleapis/google-cloud-java/issues/1446))

Despite that, integration tests were still failing on AppVeyor, so they have been disabled until they can all run reliably - tracking issue: [#&#8203;1429](https://togithub.com/googleapis/google-cloud-java/issues/1429)

##### Documentation, Snippets

-   Various snippet updates - ([#&#8203;1399](https://togithub.com/googleapis/google-cloud-java/issues/1399)), ([#&#8203;1400](https://togithub.com/googleapis/google-cloud-java/issues/1400))

### [`v0.7.0`](https://togithub.com/googleapis/google-cloud-java/releases/tag/v0.7.0): 0.7.0

[Compare Source](https://togithub.com/googleapis/google-cloud-java/compare/v0.6.0...v0.7.0)

##### Naming, interface changes

-   SPI classes ending in `Api` have been renamed so that they end in `Client` ([#&#8203;1417](https://togithub.com/googleapis/google-cloud-java/issues/1417))
-   Deleted the client for Natural Language v1beta1, added the client for Natural Language v1 ([#&#8203;1417](https://togithub.com/googleapis/google-cloud-java/issues/1417))
-   PubSub SPI classes now take resource name classes instead of strings ([#&#8203;1403](https://togithub.com/googleapis/google-cloud-java/issues/1403))

##### Features

-   Speech SPI layer: AsyncRecognize now returns a new `OperationFuture` type which enables an easier way to get the final result of the long-running operation. ([#&#8203;1419](https://togithub.com/googleapis/google-cloud-java/issues/1419))

##### Documentation, Snippets

-   Various documentation fixes - ([#&#8203;1419](https://togithub.com/googleapis/google-cloud-java/issues/1419)), ([#&#8203;1415](https://togithub.com/googleapis/google-cloud-java/issues/1415))
-   Various snippet updates for BigQuery - ([#&#8203;1410](https://togithub.com/googleapis/google-cloud-java/issues/1410)), ([#&#8203;1407](https://togithub.com/googleapis/google-cloud-java/issues/1407)), ([#&#8203;1406](https://togithub.com/googleapis/google-cloud-java/issues/1406))

### [`v0.6.0`](https://togithub.com/googleapis/google-cloud-java/releases/tag/v0.6.0): 0.6.0

##### Credentials changes

`AuthCredentials` classes have been deleted. Use classes from [google-auth-library-java](https://togithub.com/google/google-auth-library-java) for authentication.

`google-cloud` will still try to infer credentials from the environment when no credentials are provided:

```java
Storage storage = StorageOptions.getDefaultInstance().getService();
```

You can also explicitly provide credentials. For instance, to use a JSON credentials file try the following code:

    Storage storage = StorageOptions.newBuilder()
        .setCredentials(ServiceAccountCredentials.fromStream(new FileInputStream("/path/to/my/key.json"))
        .build()
        .getService();

For more details see the [Authentication section](https://togithub.com/GoogleCloudPlatform/google-cloud-java#authentication) of the main README.

##### Features

##### PubSub

-   All `pullAsync` methods now use `returnImmediately=false` and are not subject to client-side timeouts ([#&#8203;1387](https://togithub.com/googleapis/google-cloud-java/issues/1387))

##### Translate

-   Add support for the [`TranslateOption.model(String)`](http://googlecloudplatform.github.io/google-cloud-java/0.6.0/apidocs/com/google/cloud/translate/Translate.TranslateOption.html#model%28java.lang.String%29) option which allows to set the language translation model used to translate text. This option is only available to whitelisted users  ([#&#8203;1393](https://togithub.com/googleapis/google-cloud-java/issues/1393))

##### Fixes

##### Storage

-   Change `BaseWriteChannel`'s `position` to `long` to fix integer overflow on big files ([#&#8203;1390](https://togithub.com/googleapis/google-cloud-java/issues/1390))

### [`v0.5.1`](https://togithub.com/googleapis/google-cloud-java/releases/tag/v0.5.1): 0.5.1

[Compare Source](https://togithub.com/googleapis/google-cloud-java/compare/v0.5.0...v0.5.1)

##### Fixes

##### All

-   Reduce gRPC dependency footprint. In particular, some gRPC-related dependencies are removed from `google-cloud-core` module. Get rid of duplicate classes ([#&#8203;1365](https://togithub.com/googleapis/google-cloud-java/issues/1365))

##### Datastore

-   Deprecate `DatastoreOptions.Builder`'s `namespace(String)` setter in favor of `setNamespace(String)`, undo deprecating `Transaction.Response.getGeneratedKeys()` ([#&#8203;1358](https://togithub.com/googleapis/google-cloud-java/issues/1358))

#####

-   Avoid shading `javax` package in `google-cloud-nio` shaded jar ([#&#8203;1362](https://togithub.com/googleapis/google-cloud-java/issues/1362))

### [`v0.5.0`](https://togithub.com/googleapis/google-cloud-java/releases/tag/v0.5.0): 0.5.0

[Compare Source](https://togithub.com/googleapis/google-cloud-java/compare/v0.4.0...v0.5.0)

##### Naming changes

-   Getters and setters with the `get` and `set` prefix have been added to all classes/builders. Older getters/setters (without `get/set` prefix) have been deprecated
-   Builder factory methods `builder()` have been deprecated, you should use `newBuilder()` instead
-   `defaultInstance()` factory methods have been deprecated, you should use `getDefaultInstance()` instead

See the following example of using `google-cloud-storage` after the naming changes:

```java
Storage storage = StorageOptions.getDefaultInstance().getService();
BlobId blobId = BlobId.of("bucket", "blob_name");
Blob blob = storage.get(blobId);
if (blob != null) {
  byte[] prevContent = blob.getContent();
  System.out.println(new String(prevContent, UTF_8));
  WritableByteChannel channel = blob.writer();
  channel.write(ByteBuffer.wrap("Updated content".getBytes(UTF_8)));
  channel.close();
}
```

##### Features

##### Datastore

-   Add support to `LocalDatastoreHelper` for more recent version of the Datastore emulator installed via `gcloud` ([#&#8203;1303](https://togithub.com/googleapis/google-cloud-java/issues/1303))
-   Add `reset()` method to `LocalDatastoreHelper` to clear the status of the Datastore emulator ([#&#8203;1293](https://togithub.com/googleapis/google-cloud-java/issues/1293))

##### PubSub

-   Add support for PubSub emulator host variable. If the `PUBSUB_EMULATOR_HOST` environment variable is set, the PubSub client uses it to locate the PubSub emulator. ([#&#8203;1317](https://togithub.com/googleapis/google-cloud-java/issues/1317))

##### Fixes

##### Datastore

-   Allow `LocalDatastoreHelper` to properly cache downloaded copies of the Datastore emulator ([#&#8203;1302](https://togithub.com/googleapis/google-cloud-java/issues/1302))

##### Storage

-   Fix regression in `Storage.signUrl` to support blob names containing `/` characters ([#&#8203;1346](https://togithub.com/googleapis/google-cloud-java/issues/1346))
-   Allow `Storage.reader` to read gzip blobs in compressed chunks. This prevents `ReadChannel` from trying (and failing) to uncompress gzipped chunks ([#&#8203;1301](https://togithub.com/googleapis/google-cloud-java/issues/1301))

##### Storage NIO

-   All dependencies are now shaded in the `google-cloud-nio` shaded jar ([#&#8203;1327](https://togithub.com/googleapis/google-cloud-java/issues/1327))

### [`v0.4.0`](https://togithub.com/googleapis/google-cloud-java/releases/tag/v0.4.0): 0.4.0

[Compare Source](https://togithub.com/googleapis/google-cloud-java/compare/v0.3.0...v0.4.0)

##### Features

##### BigQuery

-   Add `of(String)` factory method to DatasetInfo ([#&#8203;1275](https://togithub.com/googleapis/google-cloud-java/issues/1275))

```java
bigquery.create(DatasetInfo.of("dataset-name"));
```

##### Core

-   `google-cloud` now depends on `protobuf 3.0.0` and `grpc 1.0.1` ([#&#8203;1273](https://togithub.com/googleapis/google-cloud-java/issues/1273))

##### PubSub

-   Add support for IAM methods for sinks and subscriptions ([#&#8203;1231](https://togithub.com/googleapis/google-cloud-java/issues/1231))

```java
// Example of replacing a subscription policy
Policy policy = pubsub.getSubscriptionPolicy(subscriptionName);
Policy updatedPolicy = policy.toBuilder()
    .addIdentity(Role.viewer(), Identity.allAuthenticatedUsers())
    .build();
updatedPolicy = pubsub.replaceSubscriptionPolicy(subscriptionName, updatedPolicy);

// Example of asynchronously replacing a topic policy
Policy policy = pubsub.getTopicPolicy(topicName);
Policy updatedPolicy = policy.toBuilder()
    .addIdentity(Role.viewer(), Identity.allAuthenticatedUsers())
    .build();
Future<Policy> future = pubsub.replaceTopicPolicyAsync(topicName, updatedPolicy);
// ...
updatedPolicy = future.get();
```

##### Storage

-   Add support for create/get/update/delete/list ACLs for blobs and buckets ([#&#8203;1228](https://togithub.com/googleapis/google-cloud-java/issues/1228))

```java
// Example of updating the ACL for a blob
BlobId blobId = BlobId.of(bucketName, blobName, blobGeneration);
Acl acl = storage.updateAcl(blobId, Acl.of(User.ofAllAuthenticatedUsers(), Role.OWNER));

// Example of listing the ACL entries for a bucket
List<Acl> acls = storage.listAcls(bucketName);
for (Acl acl : acls) {
   // do something with ACL entry
}
```

-   Add support for [customer-supplied encryption keys](https://cloud.google.com/storage/docs/encryption#customer-supplied) ([#&#8203;1236](https://togithub.com/googleapis/google-cloud-java/issues/1236))

```java
Key key = ...;
String base64Key = ...;
byte[] content = {0xD, 0xE, 0xA, 0xD};
BlobInfo blobInfo = BlobInfo.builder(bucketName, blobName).build();

// Example of creating a blob with a customer-supplied encryption key (as Key object)
storage.create(blobInfo, content, Storage.BlobTargetOption.encryptionKey(key));

// Example of reading a blob with a customer-supplied decryption key (as base64 String)
byte[] readBytes =
    storage.readAllBytes(bucketName, blobName, Storage.BlobSourceOption.decryptionKey(base64Key));
```

##### Fixes

##### BigQuery

-   Support operations on tables/datasets/jobs in projects other than the one set in `BigQueryOptions` ([#&#8203;1217](https://togithub.com/googleapis/google-cloud-java/issues/1217))
-   Allow constructing a `RowToInsert` using `Map<Str, ? extends Object>` rather than  `Map<Str, Object>` ([#&#8203;1259](https://togithub.com/googleapis/google-cloud-java/issues/1259))

##### Datastore

-   Retry `ABORTED` Datastore commits only when the commit was `NON_TRANSACTIONAL` ([#&#8203;1235](https://togithub.com/googleapis/google-cloud-java/issues/1235))

##### Logging

-   Remove unnecessary `MetricInfo` parameter from `Metric.updateAsync()` ([#&#8203;1221](https://togithub.com/googleapis/google-cloud-java/issues/1221))
-   Remove unnecessary `SinkInfo` parameter from `Sink.updateAsync()` ([#&#8203;1222](https://togithub.com/googleapis/google-cloud-java/issues/1222))
-   `Logging.deleteSink` now returns `false` on `NOT_FOUND` ([#&#8203;1222](https://togithub.com/googleapis/google-cloud-java/issues/1222))

##### Storage

-   Retry calls that open a resumable upload session in `WriteChannel`, when they fail with a retryable error ([#&#8203;1233](https://togithub.com/googleapis/google-cloud-java/issues/1233))
-   Fix generation of signed URLs for blobs containing spaces and other special chars ([#&#8203;1277](https://togithub.com/googleapis/google-cloud-java/issues/1277) - thanks to [@&#8203;ostronom](https://togithub.com/ostronom))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Never, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/GoogleCloudPlatform/java-docs-samples).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC45Ny42IiwidXBkYXRlZEluVmVyIjoiMzQuOTcuNiJ9-->
  • Loading branch information
renovate-bot authored Jan 21, 2023
1 parent 8929df7 commit 384067d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion media/livestream/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-live-stream</artifactId>
<version>0.3.0</version>
<version>0.10.0</version>
</dependency>
<dependency>
<groupId>com.google.cloud</groupId>
Expand Down

0 comments on commit 384067d

Please sign in to comment.