Skip to content

Commit

Permalink
deps: update grpc dependencies to v1.65.0 (#3034)
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 |
|---|---|---|---|---|---|
| [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

<details>
<summary>grpc/grpc-java (io.grpc:grpc-core)</summary>

###
[`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
[@&#8203;larry-safran](https://togithub.com/larry-safran) in
[grpc/grpc-java#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`
([#&#8203;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
([#&#8203;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
[#&#8203;11062](https://togithub.com/grpc/grpc-java/issues/11062)).
([#&#8203;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
([#&#8203;11016](https://togithub.com/grpc/grpc-java/issues/11016))
- servlet: Avoid unnecessary FINEST hex string conversion by checking
log level. Fixes
[#&#8203;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 ([#&#8203;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
([#&#8203;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 ([#&#8203;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
([#&#8203;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`
([#&#8203;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
([#&#8203;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.
([#&#8203;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
([#&#8203;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: [@&#8203;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

[@&#8203;panchenko](https://togithub.com/panchenko)
[@&#8203;Ashok-Varma](https://togithub.com/Ashok-Varma)
[@&#8203;benjaminp](https://togithub.com/benjaminp)
[@&#8203;AutomatedTester](https://togithub.com/AutomatedTester)
[@&#8203;hypnoce](https://togithub.com/hypnoce)
[@&#8203;keith](https://togithub.com/keith)
[@&#8203;laglangyue](https://togithub.com/laglangyue)
[@&#8203;rostik404](https://togithub.com/rostik404)
[@&#8203;ryanpbrewster](https://togithub.com/ryanpbrewster)
[@&#8203;abtom](https://togithub.com/abtom)
[@&#8203;hvadehra](https://togithub.com/hvadehra)
[@&#8203;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
([#&#8203;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
([#&#8203;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
([#&#8203;11003](https://togithub.com/grpc/grpc-java/issues/11003))
([`0d749c5`](https://togithub.com/grpc/grpc-java/commit/0d749c594))
- api: Stabilize server.getListenerSockets
([#&#8203;10910](https://togithub.com/grpc/grpc-java/issues/10910))
([`ff34d51`](https://togithub.com/grpc/grpc-java/commit/ff34d51c7))
- servlet: Introduce
ServletServerBuilder.buildServlet([#&#8203;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
([#&#8203;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.
([#&#8203;11002](https://togithub.com/grpc/grpc-java/issues/11002))
([`8a9ce99`](https://togithub.com/grpc/grpc-java/commit/8a9ce990b))
- EDS resource now supports additional addresses
([#&#8203;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
([#&#8203;10939](https://togithub.com/grpc/grpc-java/issues/10939))
([`c61fe69`](https://togithub.com/grpc/grpc-java/commit/c61fe6980))
- Enable Happy Eyeballs by default
([#&#8203;11022](https://togithub.com/grpc/grpc-java/issues/11022))
([`51f811d`](https://togithub.com/grpc/grpc-java/commit/51f811df8))

##### Improvements

- rls: Adding extra debug logs
([#&#8203;10902](https://togithub.com/grpc/grpc-java/issues/10902))
([`eba699a`](https://togithub.com/grpc/grpc-java/commit/eba699ad1))
- binder: Add missing Android API annotations
([#&#8203;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
([#&#8203;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
([#&#8203;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
([#&#8203;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
([#&#8203;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
([#&#8203;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.
([#&#8203;11038](https://togithub.com/grpc/grpc-java/issues/11038))
- auth: Specify a locale for upper/lower case conversions (1.63.x
backport)
[#&#8203;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
([#&#8203;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
([#&#8203;11026](https://togithub.com/grpc/grpc-java/issues/11026))
([#&#8203;11033](https://togithub.com/grpc/grpc-java/issues/11033))
- okhttp: Fix OkHTTP client transport leak
([#&#8203;11060](https://togithub.com/grpc/grpc-java/issues/11060))
- xds: Use empty string when disabling server hostname verification (
[#&#8203;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

</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.

🔕 **Ignore**: Close this PR and you won't be reminded about these
updates 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://developer.mend.io/github/googleapis/sdk-platform-java).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjUuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

---------

Co-authored-by: Min Zhu <zhumin@google.com>
Co-authored-by: Blake Li <blakeli@google.com>
  • Loading branch information
3 people committed Jul 23, 2024
1 parent 58d94b7 commit 802e25f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
13 changes: 8 additions & 5 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -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/",
Expand Down Expand Up @@ -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(
Expand Down
2 changes: 1 addition & 1 deletion gapic-generator-java-pom-parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<!-- External dependencies, especially gRPC and Protobuf version, should be
consistent across modules in this repository -->
<javax.annotation-api.version>1.3.2</javax.annotation-api.version>
<grpc.version>1.62.2</grpc.version>
<grpc.version>1.65.0</grpc.version>
<google.auth.version>1.24.0</google.auth.version>
<google.http-client.version>1.44.2</google.http-client.version>
<gson.version>2.11.0</gson.version>
Expand Down
2 changes: 1 addition & 1 deletion gax-java/dependencies.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down

0 comments on commit 802e25f

Please sign in to comment.