From 802e25f8b54a4ea0308d61cc6b92e049aaed8236 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Tue, 23 Jul 2024 21:33:31 +0200 Subject: [PATCH] deps: update grpc dependencies to v1.65.0 (#3034) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [io.grpc:grpc-core](https://togithub.com/grpc/grpc-java) | `1.62.2` -> `1.65.0` | [![age](https://developer.mend.io/api/mc/badges/age/maven/io.grpc:grpc-core/1.65.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/io.grpc:grpc-core/1.65.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/io.grpc:grpc-core/1.62.2/1.65.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/io.grpc:grpc-core/1.62.2/1.65.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [io.grpc:grpc-bom](https://togithub.com/grpc/grpc-java) | `1.62.2` -> `1.65.0` | [![age](https://developer.mend.io/api/mc/badges/age/maven/io.grpc:grpc-bom/1.65.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/io.grpc:grpc-bom/1.65.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/io.grpc:grpc-bom/1.62.2/1.65.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/io.grpc:grpc-bom/1.62.2/1.65.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes
grpc/grpc-java (io.grpc:grpc-core) ### [`v1.65.0`](https://togithub.com/grpc/grpc-java/compare/v1.64.0...v1.65.0) [Compare Source](https://togithub.com/grpc/grpc-java/compare/v1.64.1...v1.65.0) ### [`v1.64.1`](https://togithub.com/grpc/grpc-java/releases/tag/v1.64.1) [Compare Source](https://togithub.com/grpc/grpc-java/compare/v1.64.0...v1.64.1) ##### What's Changed - netty:Fix Netty composite buffer merging to be compatible with Netty 4.1.111 (1.64.x backport) by [@​larry-safran](https://togithub.com/larry-safran) in [https://github.com/grpc/grpc-java/pull/11303](https://togithub.com/grpc/grpc-java/pull/11303) ### [`v1.64.0`](https://togithub.com/grpc/grpc-java/releases/tag/v1.64.0) [Compare Source](https://togithub.com/grpc/grpc-java/compare/v1.63.1...v1.64.0) ##### API Changes - compiler: the option `jakarta_omit` was renamed `@generated=omit` ([#​11086](https://togithub.com/grpc/grpc-java/issues/11086)) ([`8a21afc`](https://togithub.com/grpc/grpc-java/commit/8a21afcc9)) ##### New Features - New API LoadBalancer.getChannelTarget() ([`4561bb5`](https://togithub.com/grpc/grpc-java/commit/4561bb5b8)) - opentelemetry: Publish new module grpc-opentelemetry ([`5ba1a55`](https://togithub.com/grpc/grpc-java/commit/5ba1a5563)). The feature is still missing documentation and an example. It only supports metrics; tracing and logs will be future enhancements. See [gRFC A66](https://togithub.com/grpc/proposal/blob/master/A66-otel-stats.md) - bazel: Add support for bzlmod ([#​11046](https://togithub.com/grpc/grpc-java/issues/11046)) ([`d1890c0`](https://togithub.com/grpc/grpc-java/commit/d1890c0ac)) - bazel: Replace usages of the old compatibility maven targets with `@maven` targets ([`0064991`](https://togithub.com/grpc/grpc-java/commit/00649913b)) - okhttp: Support serverBuilder.maxConcurrentCallsPerConnection (Fixes [#​11062](https://togithub.com/grpc/grpc-java/issues/11062)). ([#​11063](https://togithub.com/grpc/grpc-java/issues/11063)) ([`8050723`](https://togithub.com/grpc/grpc-java/commit/805072339)) - xds: Experimental metrics recording in WRR LB ([`06df25b`](https://togithub.com/grpc/grpc-java/commit/06df25b65), [`35a171b`](https://togithub.com/grpc/grpc-java/commit/35a171bc1), [`2897b39`](https://togithub.com/grpc/grpc-java/commit/2897b3939)), to be exported by grpc-opentelemetry if explicitly enabled in GrpcOpenTelemetry. See [gRFC A78](https://togithub.com/grpc/proposal/blob/master/A78-grpc-metrics-wrr-pf-xds.md) - rls: Experimental metrics recording in RLS LB ([`a9fb272`](https://togithub.com/grpc/grpc-java/commit/a9fb272b7), [`a1d1932`](https://togithub.com/grpc/grpc-java/commit/a1d19327f), [`8133318`](https://togithub.com/grpc/grpc-java/commit/813331837)), to be exported by grpc-opentelemetry if explicitly enabled in GrpcOpenTelemetry ##### Improvements - examples: support bazel build for retry policy example ([`58de563`](https://togithub.com/grpc/grpc-java/commit/58de563fa)) - netty: Allow deframer errors to close stream with a status code, as long as headers have not yet been sent ([`e036b1b`](https://togithub.com/grpc/grpc-java/commit/e036b1b19)). This will greatly improve the debuggability of certain server errors in particular cases. Instead of the client seeing “CANCELLED: RST_STREAM closed stream. HTTP/2 error code: CANCEL”, they could see “RESOURCE_EXHAUSTED: gRPC message exceeds maximum size [`4194304`](https://togithub.com/grpc/grpc-java/commit/4194304): [`6144592`](https://togithub.com/grpc/grpc-java/commit/6144592)” - netty: Improve handling of unexpected write queue promise failures ([#​11016](https://togithub.com/grpc/grpc-java/issues/11016)) - servlet: Avoid unnecessary FINEST hex string conversion by checking log level. Fixes [#​11031](https://togithub.com/grpc/grpc-java/issues/11031). ([`f7ee5f3`](https://togithub.com/grpc/grpc-java/commit/f7ee5f318)) - StatusException/StatusRuntimeException hide stack trace in a simpler way ([#​11064](https://togithub.com/grpc/grpc-java/issues/11064)) ([`e36f099`](https://togithub.com/grpc/grpc-java/commit/e36f099be)) - util: Status desc for outlier detection ejection ([#​11036](https://togithub.com/grpc/grpc-java/issues/11036)) ([`10cb4a3`](https://togithub.com/grpc/grpc-java/commit/10cb4a3be)) - binder: Helper class to allow in process servers to use peer uids in test ([#​11014](https://togithub.com/grpc/grpc-java/issues/11014)) ([`537dbe8`](https://togithub.com/grpc/grpc-java/commit/537dbe826)) - Add `load()` statements for the Bazel builtin top-level java symbols ([#​11105](https://togithub.com/grpc/grpc-java/issues/11105)) ([`add8c37`](https://togithub.com/grpc/grpc-java/commit/add8c37a4)) - Add `StatusProto.toStatusException` overload to accept `Throwable` ([#​11083](https://togithub.com/grpc/grpc-java/issues/11083)) ([`5c9b492`](https://togithub.com/grpc/grpc-java/commit/5c9b49231)) ##### Bug fixes - Fix retry race condition that can lead to double decrementing inFlightSubStreams and so miss calling closed ([#​11026](https://togithub.com/grpc/grpc-java/issues/11026)) ([`bdb6230`](https://togithub.com/grpc/grpc-java/commit/bdb623031)) - Change defaults to use the older PickFirstLoadBalancer and disable Happy Eyeballs. This disables a performance optimization added in v1.63. ([#​11120](https://togithub.com/grpc/grpc-java/issues/11120)) We have had a report that the new implementation can trigger a NullPointerException - core: Transition to CONNECTING immediately when exiting idle ([`2c5f0c2`](https://togithub.com/grpc/grpc-java/commit/2c5f0c22c)). Previously the visible state change from `channel.getState()` was delayed until the name resolver returned results. This had no impact to RPC behavior - xds: Specify a locale for upper/lower case conversions ([`e630593`](https://togithub.com/grpc/grpc-java/commit/e6305930d)) - rls: Synchronization fixes in CachingRlsLbClient ([`6e97b18`](https://togithub.com/grpc/grpc-java/commit/6e97b180b)). These races had not been witnessed in practice - rls: Guarantee backoff will update RLS picker ([`f9b6e5f`](https://togithub.com/grpc/grpc-java/commit/f9b6e5f92)). This fixes a regression introduced by [`6e97b18`](https://togithub.com/grpc/grpc-java/commit/6e97b180b) that could hang RPCs instead of using fallback, but fixes a pre-existing bug that could greatly delay RPCs from using fallback. - rls: Fix time handling in CachingRlsLbClient ([`da619e2`](https://togithub.com/grpc/grpc-java/commit/da619e2bd)). This could have caused backoff entries to improperly be considered expired - xds: Properly disable the default endpoint identification algorithm with XdsChannelCredentials ([`097a46b`](https://togithub.com/grpc/grpc-java/commit/097a46b76)). The credential does its own verification and the default needs to be disabled for SPIFFE - netty: Release SendGrpcFrameCommand when stream is missing ([#​11116](https://togithub.com/grpc/grpc-java/issues/11116)) ([`fb9a108`](https://togithub.com/grpc/grpc-java/commit/fb9a10809)) - okhttp: Remove finished stream even if a pending stream was started ([`d21fe32`](https://togithub.com/grpc/grpc-java/commit/d21fe32be)) ##### Dependencies - cronet: Update Cronet to latest release + Move to Stable Cronet APIs. ([`5a8da19`](https://togithub.com/grpc/grpc-java/commit/5a8da19f3)) - cronet: [@​javadoc](https://togithub.com/javadoc) update android permission MODIFY_NETWORK_ACCOUNTING (deprecated) => UPDATE_DEVICE_STATS ([`c703a1e`](https://togithub.com/grpc/grpc-java/commit/c703a1ee0)) - cronet: Update to Java-8 API's and tighten the scopes ([`163efa3`](https://togithub.com/grpc/grpc-java/commit/163efa371)) - cronet: Update to StandardCharsets and assertNotNull API's ([`77e59b2`](https://togithub.com/grpc/grpc-java/commit/77e59b29d)) ##### Acknowledgements [@​panchenko](https://togithub.com/panchenko) [@​Ashok-Varma](https://togithub.com/Ashok-Varma) [@​benjaminp](https://togithub.com/benjaminp) [@​AutomatedTester](https://togithub.com/AutomatedTester) [@​hypnoce](https://togithub.com/hypnoce) [@​keith](https://togithub.com/keith) [@​laglangyue](https://togithub.com/laglangyue) [@​rostik404](https://togithub.com/rostik404) [@​ryanpbrewster](https://togithub.com/ryanpbrewster) [@​abtom](https://togithub.com/abtom) [@​hvadehra](https://togithub.com/hvadehra) [@​rtadepalli](https://togithub.com/rtadepalli) ### [`v1.63.1`](https://togithub.com/grpc/grpc-java/releases/tag/v1.63.1) [Compare Source](https://togithub.com/grpc/grpc-java/compare/v1.63.0...v1.63.1) ##### Bug fixes - netty: Release SendGrpcFrameCommand when stream is missing ([#​11116](https://togithub.com/grpc/grpc-java/issues/11116)) ([`fb9a108`](https://togithub.com/grpc/grpc-java/commit/fb9a10809)) - Change defaults to use the older PickFirstLoadBalancer and disable Happy Eyeballs. This disables a performance optimization added in v1.63.0 ([#​11120](https://togithub.com/grpc/grpc-java/issues/11120)) We have had a report that the new implementation can trigger a NullPointerException ### [`v1.63.0`](https://togithub.com/grpc/grpc-java/releases/tag/v1.63.0) [Compare Source](https://togithub.com/grpc/grpc-java/compare/v1.62.2...v1.63.0) ##### API Changes - xds: Stabilize CsdsService ([#​11003](https://togithub.com/grpc/grpc-java/issues/11003)) ([`0d749c5`](https://togithub.com/grpc/grpc-java/commit/0d749c594)) - api: Stabilize server.getListenerSockets ([#​10910](https://togithub.com/grpc/grpc-java/issues/10910)) ([`ff34d51`](https://togithub.com/grpc/grpc-java/commit/ff34d51c7)) - servlet: Introduce ServletServerBuilder.buildServlet([#​10921](https://togithub.com/grpc/grpc-java/issues/10921)) ([`257d1c2`](https://togithub.com/grpc/grpc-java/commit/257d1c2db)) - api: Allow configuration of the queued byte threshold at which a Stream is considered not ready ([#​10977](https://togithub.com/grpc/grpc-java/issues/10977)) ([`2c83ef0`](https://togithub.com/grpc/grpc-java/commit/2c83ef063)) ##### New Features xds, dual stack, happy eyeballs: Support dual stack in xds, change list includes: - Enable new PickFirst lb policy by default. The new PickFirst implements subchannel picking logic. ([#​11002](https://togithub.com/grpc/grpc-java/issues/11002)) ([`8a9ce99`](https://togithub.com/grpc/grpc-java/commit/8a9ce990b)) - EDS resource now supports additional addresses ([#​11011](https://togithub.com/grpc/grpc-java/issues/11011)) ([`38f968f`](https://togithub.com/grpc/grpc-java/commit/38f968faf)) - Change address based outlier detection to endpoint based ([#​10939](https://togithub.com/grpc/grpc-java/issues/10939)) ([`c61fe69`](https://togithub.com/grpc/grpc-java/commit/c61fe6980)) - Enable Happy Eyeballs by default ([#​11022](https://togithub.com/grpc/grpc-java/issues/11022)) ([`51f811d`](https://togithub.com/grpc/grpc-java/commit/51f811df8)) ##### Improvements - rls: Adding extra debug logs ([#​10902](https://togithub.com/grpc/grpc-java/issues/10902)) ([`eba699a`](https://togithub.com/grpc/grpc-java/commit/eba699ad1)) - binder: Add missing Android API annotations ([#​10841](https://togithub.com/grpc/grpc-java/issues/10841)) ([`ce2adcc`](https://togithub.com/grpc/grpc-java/commit/ce2adcca9)) - core: Provide DEADLINE_EXCEEDED insights for context deadline ([`3abab95`](https://togithub.com/grpc/grpc-java/commit/3abab95e7)). When the deadline triggered and the deadline was set on the RPC via the stub or CallOptions, gRPC would gather additional debugging information to help understand where the RPC took so long. However if the deadline came from io.grpc.Context the error was simply “context timed out.” Now the debugging information is provided in both cases - examples: Fix file paths in debug example README ([`e19f1f1`](https://togithub.com/grpc/grpc-java/commit/e19f1f15a)) - compiler: implement ability to skip generation of javax annotation ([#​10927](https://togithub.com/grpc/grpc-java/issues/10927)) ([`0d39c2c`](https://togithub.com/grpc/grpc-java/commit/0d39c2c70)). Pass the option `jakarta_omit` to protoc-gen-grpc-java when generating code - xds: Get rid of xDS v2 proto dependencies ([#​10968](https://togithub.com/grpc/grpc-java/issues/10968)) ([`feab4e5`](https://togithub.com/grpc/grpc-java/commit/feab4e544)). `grpc-xds` jar size has decreased by 35%. - xds: Support retrieving names from wrapped resource containers ([#​10975](https://togithub.com/grpc/grpc-java/issues/10975)) ([`867e469`](https://togithub.com/grpc/grpc-java/commit/867e46940)) - netty: improve server handling of writes to reset streams ([#​10258](https://togithub.com/grpc/grpc-java/issues/10258)) ([`a68399a`](https://togithub.com/grpc/grpc-java/commit/a68399a9b)) - api: Fix a typo in ServerInterceptor JavaDoc ([#​10990](https://togithub.com/grpc/grpc-java/issues/10990)) ([`0b82f01`](https://togithub.com/grpc/grpc-java/commit/0b82f0126)) - servlet: Check log fine level before hex string conversion. ([#​11038](https://togithub.com/grpc/grpc-java/issues/11038)) - auth: Specify a locale for upper/lower case conversions (1.63.x backport) [#​11050](https://togithub.com/grpc/grpc-java/issues/11050) ##### Bug Fixes - xds: Copy data in least request to avoid picker data race ([`f4cc166`](https://togithub.com/grpc/grpc-java/commit/f4cc166f1)). This fixes a possible regression introduced in 1.60.0. Auditing the buggy code showed it unlikely to cause problems in practice, but that was more by happenstance than by design - xds: Fix data race in the xds client that contacts the control plane ([`d7628a3`](https://togithub.com/grpc/grpc-java/commit/d7628a3ab)) - rls: Fix a local and remote race ([`aa90768`](https://togithub.com/grpc/grpc-java/commit/aa9076812)). The remote race could cause an RPC to hang until its deadline. It had been seen in practice when the client was severely CPU under-provisioned - xds: Fix xdsNameResolver virtual host lookup authority with xdstp style names. Use service authority instead of ldsResourceName ([#​10960](https://togithub.com/grpc/grpc-java/issues/10960)) ([`78b3972`](https://togithub.com/grpc/grpc-java/commit/78b3972ff)) - core: Fix retry race condition that can lead to double decrementing inFlightSubStreams and so miss calling closed ([#​11026](https://togithub.com/grpc/grpc-java/issues/11026)) ([#​11033](https://togithub.com/grpc/grpc-java/issues/11033)) - okhttp: Fix OkHTTP client transport leak ([#​11060](https://togithub.com/grpc/grpc-java/issues/11060)) - xds: Use empty string when disabling server hostname verification ( [#​11058](https://togithub.com/grpc/grpc-java/issues/11058)) ##### Dependencies - Upgraded google-auth-library-java to 1.22.0 ##### Acknowledgement Alex Panchenko Benjamin Peterson David Ankin Prashanth Swaminathan Touko Vainio-Kaila
--- ### 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. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] 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://developer.mend.io/github/googleapis/sdk-platform-java). --------- Co-authored-by: Min Zhu Co-authored-by: Blake Li --- WORKSPACE | 13 ++++++++----- gapic-generator-java-pom-parent/pom.xml | 2 +- gax-java/dependencies.properties | 2 +- 3 files changed, 10 insertions(+), 7 deletions(-) diff --git a/WORKSPACE b/WORKSPACE index 4e261d5aa6..8f9e57e6ce 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -55,18 +55,17 @@ rules_jvm_external_setup() load("@com_google_protobuf//:protobuf_deps.bzl", "PROTOBUF_MAVEN_ARTIFACTS", "protobuf_deps") load("@rules_jvm_external//:defs.bzl", "maven_install") -maven_install( - artifacts = PROTOBUF_MAVEN_ARTIFACTS, - repositories = ["https://repo.maven.apache.org/maven2/"], -) +load("@io_grpc_grpc_java//:repositories.bzl", "IO_GRPC_GRPC_JAVA_ARTIFACTS") +load("@io_grpc_grpc_java//:repositories.bzl", "IO_GRPC_GRPC_JAVA_OVERRIDE_TARGETS") _gapic_generator_java_version = "2.42.1-SNAPSHOT" # {x-version-update:gapic-generator-java:current} maven_install( artifacts = [ "com.google.api:gapic-generator-java:" + _gapic_generator_java_version, - ], + ] + PROTOBUF_MAVEN_ARTIFACTS + IO_GRPC_GRPC_JAVA_ARTIFACTS, fail_on_missing_checksum = False, + override_targets = IO_GRPC_GRPC_JAVA_OVERRIDE_TARGETS, repositories = [ "m2Local", "https://repo.maven.apache.org/maven2/", @@ -98,6 +97,10 @@ load("@io_grpc_grpc_java//:repositories.bzl", "grpc_java_repositories") grpc_java_repositories() +load("@envoy_api//bazel:repositories.bzl", "api_dependencies") + +api_dependencies() + _disco_to_proto3_converter_commit = "ce8d8732120cdfb5bf4847c3238b5be8acde87e3" http_archive( diff --git a/gapic-generator-java-pom-parent/pom.xml b/gapic-generator-java-pom-parent/pom.xml index 7a2746a9e8..c34890443d 100644 --- a/gapic-generator-java-pom-parent/pom.xml +++ b/gapic-generator-java-pom-parent/pom.xml @@ -26,7 +26,7 @@ 1.3.2 - 1.62.2 + 1.65.0 1.24.0 1.44.2 2.11.0 diff --git a/gax-java/dependencies.properties b/gax-java/dependencies.properties index 4a22a18147..2e3465b184 100644 --- a/gax-java/dependencies.properties +++ b/gax-java/dependencies.properties @@ -28,7 +28,7 @@ version.gax_httpjson=2.50.1-SNAPSHOT version.com_google_protobuf=3.25.3 version.google_java_format=1.15.0 -version.io_grpc=1.62.2 +version.io_grpc=1.65.0 # Maven artifacts. # Note, the actual name of each property matters (bazel build scripts depend on it).