Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update dependency io.grpc:grpc-bom to v1.68.0 #1112

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 15, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
io.grpc:grpc-bom 1.63.0 -> 1.68.0 age adoption passing confidence

Release Notes

grpc/grpc-java (io.grpc:grpc-bom)

v1.66.0

gRPC Java 1.66.0 Release Notes

API Changes
  • stub: Support setting onReadyThreshold through AbstractStub. (#​11320) (25a8b7c)
  • util: Stabilize AdvancedTlsX509TrustManager, an X509ExtendedTrustManager that allows users to configure advanced TLS features, such as root certificate reloading and peer cert custom verification. (658cbf6)
  • util: Align AdvancedTlsX509{Key and Trust}Manager. (#​11385)
  • util: Add GracefulSwitchLoadBalancer config (ebed047) and mark switchTo() deprecated. (85e0a01). GracefulSwitchLoadBalancer now receives its configuration like a regular load balancer.
  • binder: Introduce AllowSecurityPolicy to allow calling code to not have to wait on async/slow implementations. BinderTransport now submits async implementations to an executor. (#​11272) (7fee6a3)
  • api: Add convenience method in ServerBuilder for adding a list of service implementations to the handler registry together. (#​11285) (85ed053)
Improvements
  • examples: Improve example Bazel WORKSPACE to demonstrate referencing grpc-xds. (5ec0187)
  • examples: Include Bazel bzlmod configuration (36e687f). There are now examples for both non-bzlmod and bzlmod.
  • core: Fixes to PickFirstLeafLoadBalancer
  • core: Change default to use the new pick first load balancer (PickFirstLeafLoadBalancer). (#​11348)
  • core: Use retryThrottling from defaultServiceConfig when the name resolver config doesn't provide this config. (#​11274) (062ebb4)
  • netty: Enable use of Netty 4.1.111 by avoiding the optimization provided by NettyAdaptiveCumulator if Netty is on version 4.1.111 or later. (#​11367)
  • binder: Set a default connect timeout of 60 seconds. (#​11359) (21dec30)
  • binder: Make BinderServer own ServerAuthInterceptor's executor that helps avoid leaks. (#​11293) (15ad9f5)
  • services:: Added ProtoReflectionServiceV1 for the v1 reflection protocol. The preexisting ProtoReflectionService implements the v1alpha reflection protocol. (#​11237) (0aa976c)
Bug Fixes
  • binder: Add missing synchronization to prevent races when calling awaitTermination(). (#​11277) (14fd81f)
  • util: Fix AdvancedTlsX509TrustManager validation on servers when using SSLSocket. Previously it would try to use a null SSLEngine . (dcb1c01)
Dependencies
  • compiler: Upgrade from CentOS 7 to AlmaLinux 8 for the pre-compiled Linux protoc-gen-grpc-java (71eb5fb). This adds a runtime dependency on libstdc++
  • Upgrade animal-sniffer-annotations to 1.24 (a977385)
  • Upgrade error_prone_annotations to 2.28.0 (a977385)
  • Upgrade proto-google-common-protos to 2.41.0 (a977385)
  • Upgrade google-auth-library to 1.23.0 (a977385)
  • Upgrade gson to 2.11.0 (a977385)
  • Upgrade guava to 33.2.1 (a977385)
  • Upgrade opentelemetry to 1.40.0 (a977385)
  • Upgrade perfmark-api to 0.27.0 (a977385)
  • Upgrade protobuf-java to 3.25.3 (a977385)
  • xds: Remove unused opencensus-proto dependency (e7c3803)
  • bazel: Replace @com_github_cncf_udpa usage with preexisting @com_github_cncf_xds; delete @com_github_cncf_udpa repo alias for xds (6dd6ca9)
  • bazel: Upgrade envoyproxy/data-plane-api to 1611a73 (c540993). The version used by Gradle had been updated in 1.62.0 (68334a0), but the bazel version had not
  • bazel: Use com_google_protobuf instead of com_google_protobuf_javalite (7a25e68). Bazel’s protobuf rules no longer use the old com_google_protobuf_javalite repository name
  • bazel: Don't require protobuf to be in maven_install (d3c2f5a). Protobuf’s targets are generally just used directly; this fixed the only place that used maven’s artifact() syntax
Thanks to

@​hlx502
@​erm-g
@​jdcormie
@​JoaoVitorStein
@​cfredri4

v1.65.1

What's Changed

  • netty: Restore old behavior of NettyAdaptiveCumulator, but avoid using that class if Netty is on version 4.1.111 or later

v1.65.0

grpc-netty in this release is compatible with Netty 4.1.111; it fixes the incompatibility that caused data corruption. grpc-netty-shaded is still using Netty 4.1.100.

New Features
  • New module grpc-gcp-csm-observability (df8cfe9)
Improvements
  • api: Add ClientStreamTracer.inboundHeaders(Metadata) (960012d). This is the same as the existing inboundHeaders(), but is provided the Metadata
  • api: Fix various typos in the documentation (#​11144) (6ec744f)
  • core: When queuing RPCs, don’t request picks from the LB twice (8844cf7). This could be viewed as a small performance optimization, but mainly reduces the amount of race-handling code
  • util: Improve AdvancedTlsX509KeyManager’s documentation, verification, and testing. (#​11139) (781b4c4) This change shows @ExperimentalApi being removed, but it was re-added in 3c97245 before the release
  • examples: Fix broken command in reflection readme (#​11131) (c31dbf4)
  • binder: Add a connection timeout (#​11255) (791f894)
Bug fixes
  • core: Exit idle mode when delayed transport is in use (fea577c). This was a long-standing race that could cause RPCs to hang, but was very unlikely to be hit. Avoiding the double-picking (8844cf7) made the race more visible
  • netty: Fix Netty composite buffer merging to be compatible with Netty 4.1.111 (#​11294) (0fea7dd). The previous behavior easily caused data corruption
  • okhttp: Workaround SSLSocket not noticing socket is closed (a28357e). Previously, shutting down when a new connection was being established could result in the server never becoming terminated
  • inprocess: Fix listener race if transport is shutdown while starting (e4e7f3a). This issue was unlikely to be hit outside of specialized tests
  • services: restore //services:binarylog bazel target (#​11292) (d57f271). This fixes a regression introduced in 1.62.2
  • binder: Wait for all server transports to terminate before returning the security policy executor to the object pool (#​11240) (34ee600)
  • binder: Reject further SETUP_TRANSPORT requests post-BinderServer shutdown (#​11260) (1670e97)
  • bazel: Include missing com_google_protobuf_javalite in MODULE.bazel (#​11147) (f995c12)
Thanks to

@​hakusai22
@​firov
@​mateusazis
@​Mir3605
@​niloc132

v1.64.2

What's Changed

  • netty: Restore old behavior of NettyAdaptiveCumulator, but avoid using that class if Netty is on version 4.1.111 or later

v1.64.1

What's Changed

v1.64.0

Avoid upgrading your application to Netty 4.1.111, with this version as there is a possible corruption. For Netty 4.1.111 compatibility, it is best to use 1.63.2, 1.64.2, 1.65.1, and later. See https://github.com/grpc/grpc-java/issues/11284 .

API Changes

  • compiler: the option jakarta_omit was renamed @generated=omit (#​11086) (8a21afc)

New Features

  • New API LoadBalancer.getChannelTarget() (4561bb5)
  • opentelemetry: Publish new module grpc-opentelemetry (5ba1a55). The feature is still missing documentation and an example. It only supports metrics; tracing and logs will be future enhancements. See gRFC A66
  • bazel: Add support for bzlmod (#​11046) (d1890c0)
  • bazel: Replace usages of the old compatibility maven targets with @maven targets (0064991)
  • okhttp: Support serverBuilder.maxConcurrentCallsPerConnection (Fixes #​11062). (#​11063) (8050723)
  • xds: Experimental metrics recording in WRR LB (06df25b, 35a171b, 2897b39), to be exported by grpc-opentelemetry if explicitly enabled in GrpcOpenTelemetry. See gRFC A78
  • rls: Experimental metrics recording in RLS LB (a9fb272, a1d1932, 8133318), to be exported by grpc-opentelemetry if explicitly enabled in GrpcOpenTelemetry

Improvements

  • examples: support bazel build for retry policy example (58de563)
  • netty: Allow deframer errors to close stream with a status code, as long as headers have not yet been sent (e036b1b). 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: 6144592
  • netty: Improve handling of unexpected write queue promise failures (#​11016)
  • servlet: Avoid unnecessary FINEST hex string conversion by checking log level. Fixes #​11031. (f7ee5f3)
  • StatusException/StatusRuntimeException hide stack trace in a simpler way (#​11064) (e36f099)
  • util: Status desc for outlier detection ejection (#​11036) (10cb4a3)
  • binder: Helper class to allow in process servers to use peer uids in test (#​11014) (537dbe8)
  • Add load() statements for the Bazel builtin top-level java symbols (#​11105) (add8c37)
  • Add StatusProto.toStatusException overload to accept Throwable (#​11083) (5c9b492)

Bug fixes

  • Fix retry race condition that can lead to double decrementing inFlightSubStreams and so miss calling closed (#​11026) (bdb6230)
  • Change defaults to use the older PickFirstLoadBalancer and disable Happy Eyeballs. This disables a performance optimization added in v1.63. (#​11120) We have had a report that the new implementation can trigger a NullPointerException
  • core: Transition to CONNECTING immediately when exiting idle (2c5f0c2). 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)
  • rls: Synchronization fixes in CachingRlsLbClient (6e97b18). These races had not been witnessed in practice
  • rls: Guarantee backoff will update RLS picker (f9b6e5f). This fixes a regression introduced by 6e97b18 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). This could have caused backoff entries to improperly be considered expired
  • xds: Properly disable the default endpoint identification algorithm with XdsChannelCredentials (097a46b). The credential does its own verification and the default needs to be disabled for SPIFFE
  • netty: Release SendGrpcFrameCommand when stream is missing (#​11116) (fb9a108)
  • okhttp: Remove finished stream even if a pending stream was started (d21fe32)

Dependencies

  • cronet: Update Cronet to latest release + Move to Stable Cronet APIs. (5a8da19)
  • cronet: @​javadoc update android permission MODIFY_NETWORK_ACCOUNTING (deprecated) => UPDATE_DEVICE_STATS (c703a1e)
  • cronet: Update to Java-8 API's and tighten the scopes (163efa3)
  • cronet: Update to StandardCharsets and assertNotNull API's (77e59b2)

Acknowledgements

@​panchenko
@​Ashok-Varma
@​benjaminp
@​AutomatedTester
@​hypnoce
@​keith
@​laglangyue
@​rostik404
@​ryanpbrewster
@​abtom
@​hvadehra
@​rtadepalli

v1.63.2

What's Changed

  • okhttp: Workaround SSLSocket not noticing socket is closed
  • netty: skip using NettyAdaptiveCumulator when Netty is on version 4.1.111 or later

v1.63.1

Bug fixes

  • netty: Release SendGrpcFrameCommand when stream is missing (#​11116) (fb9a108)
  • Change defaults to use the older PickFirstLoadBalancer and disable Happy Eyeballs. This disables a performance optimization added in v1.63.0 (#​11120) We have had a report that the new implementation can trigger a NullPointerException

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 is behind base branch, or you tick the rebase/retry checkbox.

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


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the dependencies Dependency updates label May 15, 2024
@renovate renovate bot force-pushed the renovate/grpc-java-monorepo branch from 1a17956 to 3b255ef Compare June 4, 2024 02:01
@renovate renovate bot force-pushed the renovate/grpc-java-monorepo branch from 3b255ef to 0317c39 Compare June 28, 2024 06:07
@renovate renovate bot changed the title fix(deps): update dependency io.grpc:grpc-bom to v1.64.0 fix(deps): update dependency io.grpc:grpc-bom to v1.65.0 Jun 28, 2024
@renovate renovate bot force-pushed the renovate/grpc-java-monorepo branch from 0317c39 to 8bf3c7c Compare July 11, 2024 23:11
@renovate renovate bot changed the title fix(deps): update dependency io.grpc:grpc-bom to v1.65.0 fix(deps): update dependency io.grpc:grpc-bom to v1.65.1 Jul 11, 2024
@renovate renovate bot force-pushed the renovate/grpc-java-monorepo branch from 8bf3c7c to 9a0a292 Compare August 8, 2024 06:11
@renovate renovate bot changed the title fix(deps): update dependency io.grpc:grpc-bom to v1.65.1 fix(deps): update dependency io.grpc:grpc-bom to v1.66.0 Aug 8, 2024
@renovate renovate bot force-pushed the renovate/grpc-java-monorepo branch from 9a0a292 to cea8589 Compare September 20, 2024 16:42
@renovate renovate bot changed the title fix(deps): update dependency io.grpc:grpc-bom to v1.66.0 fix(deps): update dependency io.grpc:grpc-bom to v1.68.0 Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Dependency updates
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants