Skip to content

Commit

Permalink
deps: update cloud client dependencies (#2362)
Browse files Browse the repository at this point in the history
[![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-storage](https://togithub.com/googleapis/java-storage) | `2.13.0` -> `2.14.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-storage/2.14.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-storage/2.14.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-storage/2.14.0/compatibility-slim/2.13.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-storage/2.14.0/confidence-slim/2.13.0)](https://docs.renovatebot.com/merge-confidence/) |
| [com.google.cloud:google-cloud-datacatalog-bom](https://togithub.com/googleapis/google-cloud-java) | `1.10.0` -> `1.11.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-datacatalog-bom/1.11.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-datacatalog-bom/1.11.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-datacatalog-bom/1.11.0/compatibility-slim/1.10.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-datacatalog-bom/1.11.0/confidence-slim/1.10.0)](https://docs.renovatebot.com/merge-confidence/) |
| [com.google.cloud:google-cloud-bigquerystorage-bom](https://togithub.com/googleapis/java-bigquerystorage) | `2.23.1` -> `2.24.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-bigquerystorage-bom/2.24.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-bigquerystorage-bom/2.24.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-bigquerystorage-bom/2.24.0/compatibility-slim/2.23.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-bigquerystorage-bom/2.24.0/confidence-slim/2.23.1)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>googleapis/java-storage</summary>

### [`v2.14.0`](https://togithub.com/googleapis/java-storage/blob/HEAD/CHANGELOG.md#&#8203;2140-httpsgithubcomgoogleapisjava-storagecomparev2131v2140-2022-10-26)

##### Google Cloud Storage gRPC API Preview

The first release of `google-cloud-storage` with support for a subset of the Google Cloud Storage gRPC API which is in private preview. The most common operations have all been implemented and are available for experimentation.

Given not all public api surface of `google-cloud-storage` classes are supported for gRPC a new annotation `@TransportCompatibility` has been added to various classes, methods and fields/enum values to signal where that thing can be expected to work. As we implement more of the operations these annotations will be updated.

All new gRPC related APIs are annotated with `@BetaApi` to denote they are in preview and the possibility of breaking change is present. At this time, opting to use any of the gRPC transport mode means you are okay with the possibility of a breaking change happening. When the APIs are out of preview, we will remove the `@BetaApi` annotation to signal they are now considered stable and will not break outside a major version.

***NOTICE***: Using the gRPC transport is exclusive. Any operations which have not yet been implemented for gRPC will result in a runtime error. For those operations which are not yet implemented, please continue to use the existing HTTP transport.

Special thanks (in alphabetical order) to [@&#8203;BenWhitehead](https://togithub.com/BenWhitehead), [@&#8203;frankyn](https://togithub.com/frankyn), [@&#8203;jesselovelace](https://togithub.com/jesselovelace) and [@&#8203;sydney-munro](https://togithub.com/sydney-munro) for their hard work on this effort.

##### Notable Improvements

1.  For all gRPC media related operations (upload/download) we are now more resource courteous then the corresponding HTTP counterpart. Buffers are fixed to their specified size (can't arbitrarily grow without bounds), are allocated lazily and only if necessary.
    1.  Investigation into the possibility of backporting these improvements to the HTTP counterparts is ongoing

2.  Preview support for Accessing GCS via gRPC
    1.  Set the environment variable `GOOGLE_CLOUD_ENABLE_DIRECT_PATH_XDS=true`, then run your program.
    2.  When configuring your `StorageOptions` mimic the following:
             StorageOptions.grpc()
               .setAttemptDirectPath(true)
               .build()
    3.  Internally the default host endpoint `https://storage.googleapis.com:443` will be transformed to the applicable `google-c2p-experimental:///storage.googleapis.com`

3.  Support for `java.time` types on model classes
    1.  Points in time are now represented with `java.time.OffsetDateTime`, while durations are represented with `java.time.Duration`
    2.  All existing `Long` centric methods are still present, but have been deprecated in favor of their corresponding `java.time` variant
    3.  At the next major version, these deprecated methods will be replaced with types from `java.time` and the `java.time` variant methods will be deprecated

4.  `com.google.cloud.storage.Storage` now extends `java.lang.AutoClosable` thereby allowing it to be used in a try-with-resource block.
    1.  When using gRPC transport be sure to call `Storage#close()` when complete so it can clean up the gRPC middleware and resources.
    2.  When using HTTP transport calling `Storage#close()` will gracefully no-op, allowing for the same style of use regardless of transport.

5.  When downloading an object via gRPC idle stream detection is now present which will restart a stream if it is determined to be idle and has remaining retry budget

6.  Update equals()/hashCode() methods to follow the expected contract

7.  The new gRPC transport based implementation continues to provide idempotency aware automatic retries the same as HTTP

8.  Expanded test suite which should bring improved stability and reliability to both HTTP and gRPC transport implementations

9.  New `com.google.cloud:google-cloud-storage-bom` maven bom available to use for coordinated dependency version resolution for multiple storage artifacts

##### Not yet implemented

1.  All ACL specific operations.
    1.  These will be implemented in the near future
    2.  In the interim, reading and setting of ACLs and Default Object ACLs can be performed via Object/Bucket operations

2.  All Notification related operations
    1.  These will be implemented in the near future
    2.  In the interim, please continue to use the HTTP transport

3.  `ReadChannel#capture()`, `RestorableState<ReadChannel>#restore()`, `WriteChannel#capture()`, `RestorableState<WriteChannel>#restore()`, `CopyWriter#capture()` and `RestorableState<CopyWriter>#capture()` are not yet implemented.
    -   These use cases will be implemented in the near future. We are still determining the route we want to take.

4.  Batch and "bulk" operations which depend on batch
    1.  GCS gRPC does not currently define a batch method whereas HTTP does. This means `Storage#batch()` is only supported for HTTP transport.
    2.  The following methods which currently depend on `Storage#batch()` are currently only supported for HTTP transport
        -   `com.google.cloud.storage.Storage#get(com.google.cloud.storage.BlobId...)`
        -   `com.google.cloud.storage.Storage#get(java.lang.Iterable<com.google.cloud.storage.BlobId>)`
        -   `com.google.cloud.storage.Storage#update(com.google.cloud.storage.BlobInfo...)`
        -   `com.google.cloud.storage.Storage#update(java.lang.Iterable<com.google.cloud.storage.BlobInfo>)`
        -   `com.google.cloud.storage.Storage#delete(com.google.cloud.storage.BlobId...)`
        -   `com.google.cloud.storage.Storage#delete(java.lang.Iterable<com.google.cloud.storage.BlobId>)`

##### One-Time Inconveniences

1.  All classes under `com.google.cloud.storage` which are `Serializable` have new `serialVersionUIDs` and are incompatible with any previous version.
    1.  Several classes had to change in order to support both HTTP and gRPC at the same time. We were able to preserve Source and Binary runtime level compatibility but had to break Serialization across versions.
    2.  If you depend upon Java Serialization, please ensure you are using the same version of `google-cloud-storage` in both locations.

2.  The cause chains of some Exceptions have changed.
    1.  When using gRPC, `StorageException` causes will use the corresponding `com.google.api.gax.rpc.ApiException` for the failure type instead of the HTTP `com.google.api.client.googleapis.json.GoogleJsonError`
        -   In an effort to preserve compatibility of your existing error handling code, we will translate from the gRPC error code to the similar HTTP Status code before constructing the `StorageException` preserving the integrity of `StorageException#getCode()`
    2.  RetryHelper$RetryHelperException will no longer appear in exception cause chains for either HTTP or gRPC

##### Not Supported

Given the nature of the gRPC transport a few things are explicitly not supported when using gRPC, and require HTTP transport. Attempting to use any of the following methods will result in a runtime error stating they are not supported for gRPC transport.

1.  `Storage#writer(URL)` does not work for gRPC. gRPC does not provide a means of exchanging an HTTP url for a resumable session id
2.  `Storage#signUrl` is not supported for gRPC transport. Signed URLs explicitly generate HTTP urls and are only supported for the HTTP transport based implementation.
3.  `Storage#generateSignedPostPolicyV4` is not supported for gRPC transport. Signed URLs explicitly generate HTTP urls and are only supported for the HTTP transport based implementation.

##### Known Issues

1.  [https://togithub.com/googleapis/java-storage/issues/1736](https://togithub.com/googleapis/java-storage/issues/1736)
2.  [https://togithub.com/googleapis/java-storage/issues/1737](https://togithub.com/googleapis/java-storage/issues/1737)

##### Features

-   Initial preview implementation of Storage over gRPC ([#&#8203;1740](https://togithub.com/googleapis/java-storage/issues/1740)) ([95d7ad9](https://togithub.com/googleapis/java-storage/commit/95d7ad9e5cd4106cadb23d9b2221419797fed5c1))

##### Bug Fixes

-   Properly implement GrpcBlobReadChannel#isOpen ([#&#8203;1733](https://togithub.com/googleapis/java-storage/issues/1733)) ([04e5166](https://togithub.com/googleapis/java-storage/commit/04e51662d1f62d987e89ec4e221a3a02c02eaec1))
-   Update BucketInfo.LifecycleRule.LifecycleCondition equals and hashCode to include match prefix and suffix ([#&#8203;1729](https://togithub.com/googleapis/java-storage/issues/1729)) ([9664e8a](https://togithub.com/googleapis/java-storage/commit/9664e8a776dc6c7c59e61c1e59333ba88731fe76))

##### Dependencies

-   Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.5 ([#&#8203;1725](https://togithub.com/googleapis/java-storage/issues/1725)) ([09bc225](https://togithub.com/googleapis/java-storage/commit/09bc22534bb2a401507fa894123affb432a84350))

### [`v2.13.1`](https://togithub.com/googleapis/java-storage/blob/HEAD/CHANGELOG.md#&#8203;2131-httpsgithubcomgoogleapisjava-storagecomparev2130v2131-2022-10-20)

[Compare Source](https://togithub.com/googleapis/java-storage/compare/v2.13.0...v2.13.1)

##### Bug Fixes

-   Avoid unexpected initialization of `JacksonParser` in Graal 22.2 ([#&#8203;1709](https://togithub.com/googleapis/java-storage/issues/1709)) ([eca1a03](https://togithub.com/googleapis/java-storage/commit/eca1a03c5d7656179a04058a2af94300f1dc0930))
-   Update BucketInfo.LifecycleRule#fromPb to wire through MatchesPrefix & MatchesSuffix ([#&#8203;1717](https://togithub.com/googleapis/java-storage/issues/1717)) ([eae3cf2](https://togithub.com/googleapis/java-storage/commit/eae3cf2735cd4adab598d311fd64b8906972ffc3))

##### Dependencies

-   Update dependency org.graalvm.buildtools:native-maven-plugin to v0.9.15 ([#&#8203;1711](https://togithub.com/googleapis/java-storage/issues/1711)) ([f188a07](https://togithub.com/googleapis/java-storage/commit/f188a07b09e0787f958f714333337fc92657a824))
-   Update dependency org.graalvm.buildtools:native-maven-plugin to v0.9.16 ([#&#8203;1721](https://togithub.com/googleapis/java-storage/issues/1721)) ([631b98d](https://togithub.com/googleapis/java-storage/commit/631b98df1a7d44358fbeacb95f2e2a3d590198d1))

</details>

<details>
<summary>googleapis/java-bigquerystorage</summary>

### [`v2.24.0`](https://togithub.com/googleapis/java-bigquerystorage/blob/HEAD/CHANGELOG.md#&#8203;2240-httpsgithubcomgoogleapisjava-bigquerystoragecomparev2231v2240-2022-10-25)

[Compare Source](https://togithub.com/googleapis/java-bigquerystorage/compare/v2.23.1...v2.24.0)

##### Features

-   Add getInflightWaitSeconds implementation ([#&#8203;1835](https://togithub.com/googleapis/java-bigquerystorage/issues/1835)) ([b569116](https://togithub.com/googleapis/java-bigquerystorage/commit/b569116179700123e405eb7712abb136456f2f26))
-   **shortsAndBigDecimals:** Add shorts and big decimals ([#&#8203;1674](https://togithub.com/googleapis/java-bigquerystorage/issues/1674)) ([604d7df](https://togithub.com/googleapis/java-bigquerystorage/commit/604d7df2afa54e445a4d310e5293d8d19901d565))

##### Bug Fixes

-   **java:** Restore native image configurations ([#&#8203;1844](https://togithub.com/googleapis/java-bigquerystorage/issues/1844)) ([8ce670a](https://togithub.com/googleapis/java-bigquerystorage/commit/8ce670a487a192807ccfd58613fc271d9402ca7c))
-   Remove the client lib header setting since after router migration, it is no longer needed ([#&#8203;1842](https://togithub.com/googleapis/java-bigquerystorage/issues/1842)) ([5f3b821](https://togithub.com/googleapis/java-bigquerystorage/commit/5f3b8214116b17b315d589bfde184e0e045cff69))

##### Dependencies

-   Update dependency com.google.auto.value:auto-value to v1.10 ([#&#8203;1825](https://togithub.com/googleapis/java-bigquerystorage/issues/1825)) ([f7b8f2b](https://togithub.com/googleapis/java-bigquerystorage/commit/f7b8f2b4df8ca9b306a75d46eb223124ac9bdebb))
-   Update dependency com.google.auto.value:auto-value-annotations to v1.10 ([#&#8203;1826](https://togithub.com/googleapis/java-bigquerystorage/issues/1826)) ([37eb8a1](https://togithub.com/googleapis/java-bigquerystorage/commit/37eb8a1df34e8ae4d5e2849c76d9a591ec5505d4))
-   Update dependency com.google.cloud:google-cloud-bigquery to v2.17.1 ([#&#8203;1829](https://togithub.com/googleapis/java-bigquerystorage/issues/1829)) ([7e8d900](https://togithub.com/googleapis/java-bigquerystorage/commit/7e8d90037f5ae426882f90ab251d315767b3a6b7))
-   Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.5 ([#&#8203;1840](https://togithub.com/googleapis/java-bigquerystorage/issues/1840)) ([474756b](https://togithub.com/googleapis/java-bigquerystorage/commit/474756bd6547254ed6d761a73f2e69920fa79458))

</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**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired.

---

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

---

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/googleapis/java-bigquery).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4yNDEuMyIsInVwZGF0ZWRJblZlciI6IjM0LjEuNSJ9-->
  • Loading branch information
renovate-bot committed Oct 27, 2022
1 parent 7496dec commit 0936699
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pom.xml
Expand Up @@ -72,7 +72,7 @@
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-bigquerystorage-bom</artifactId>
<version>2.23.1</version>
<version>2.24.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand All @@ -96,15 +96,15 @@
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-datacatalog-bom</artifactId>
<version>1.10.0</version>
<version>1.11.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>

<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-datacatalog-bom</artifactId>
<version>1.10.0</version>
<version>1.11.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down Expand Up @@ -176,7 +176,7 @@
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-storage</artifactId>
<version>2.13.0</version>
<version>2.14.0</version>
<scope>test</scope>
</dependency>
<dependency>
Expand Down

0 comments on commit 0936699

Please sign in to comment.