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

deps: update dependency io.grpc:grpc-stub to v1.69.0 #5

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

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Sep 19, 2022

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
io.grpc:grpc-stub 1.49.0 -> 1.69.0 age adoption passing confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

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

v1.69.0

v1.68.2

Bug Fixes
  • api: When forwarding from Listener onAddresses to Listener2 continue to use onResult (https://github.com/grpc/grpc-java/pull/11688). This fixes a 1.68.1 "IllegalStateException: Not called from the SynchronizationContext" regression (#​11662) that could be seen in certain custom NameResolvers
  • okhttp: If the frame handler thread is null do not schedule it on the executor (https://github.com/grpc/grpc-java/pull/11716). This fixes a 1.68.1 NullPointerException regression when a custom transportExecutor was provided to the channel and it did not have enough threads to run new tasks
Improvements

v1.68.1

v1.68.0 was a mistake. This is the first release of version 1.68.x

Bug Fixes
  • xds: Fix NullPointerException introduced in "Fix load reporting when pick first is used for locality-routing" (#​11553). This was in 1.67.1 but not 1.68.0
Behavior Changes
  • core: JSON parsing rejects duplicate keys in objects (#​11575) (4be69e3). This is the existing behavior in C core. Duplicate keys in objects are dangerous as which value takes effect is undefined. Previously, the last value was used
  • okhttp: Detect transport executors with no remaining threads (#​11503) (3a6be9c). The transport uses two threads, but one is on-demand. If the executor provided to builder.transportExecutor() runs out of threads (e.g., it is a fixed-size thread pool), all transports can be wedged, unable to run on-demand tasks, until keepalive kills one of them. Two threads are now used when handshaking a new transport, and the transport will time out after 1 second with “Timed out waiting for second handshake thread” if two threads are unavailable
  • gcp-csm-o11y: Get mesh_id value from CSM_MESH_ID environment variable, instead of getting it from bootstrap file (84d30af)
Improvements
  • New grpc-context-override-opentelemetry artifact (#​11523) (782a44a) (#​11599) (e59ae5f). This is a io.grpc.Context storage override to store its state in io.opentelemetry.context.Context. Libraries should not add a dependency on this artifact, as applications can only have one storage override in their classpath
  • New grpc-s2a artifact. It is a transport that offloads the handshake similar to ALTS, but for TLS. It provides io.grpc.s2a.S2AChannelCredentials
  • api: Enhance name resolver `ResolutionResult` to hold addresses or error so the single listener API onResult2 is used to convey both success and error cases for name resolution (#​11330) (1ded8af)
  • core: Handle NameResolver/LoadBalancer exceptions when panicking (b692b9d). This expands the class of bugs that will fail RPCs with the panic error, versus some undefined behavior
  • core: Use the default service config in case of initial name resolver address resolution error (#​11577) (fa26a8b)
  • core: StreamTracer.inboundMessageRead() now reports uncompressed message size when the message does not need compression (#​11598) (2aae68e). Previously it always reported -1 (unknown)
  • netty: Avoid TCP_USER_TIMEOUT warning when explicitly specifying a non-epoll channel type to use (#​11564) (62f4098)
  • okhttp: Don't warn about missing Conscrypt (6f35422). This is especially helpful when using TLS but not running on Android
  • android: For UdsChannelBuilder, use fake IP instead of localhost (a908b5e). This avoids an unnecessary DNS lookup
  • xds: Add xDS node ID in select control plane errors to enable cross-referencing with control plane logs when debugging (f3cf7c3)
  • xds: Enhanced how ADS stream terminations are handled, specifically addressing cases where a response has or hasn't been received (#​2e9c3e19f)
  • binder: Update status code documentation for Android 11's package visibility rules. (#​11551) (99be6e9)
  • binder: Update binderDied() error description to spell out the possibilities for those unfamiliar with Android internals. (#​11628) (46c1b38)
  • example-gauth: Use application default creds instead of file argument (#​11595) (94a0a0d)
  • opentelemetry: Experimental OpenTelemetry tracing is available. Set the GRPC_EXPERIMENTAL_ENABLE_OTEL_TRACING environment variable to true to enable tracing support in GrpcOpenTelemetry (#​11409, #​11477)(043ba55, 421e237)
Dependencies

Thanks to:
@​Juneezee
@​lgalfaso
@​bestbeforetoday
@​hlx502
@​JoeCqupt

v1.68.0: MISTAKE

Compare Source

This was supposed to be v1.67.0, but there was a mistake during the release process. This has everything in v1.67.1, except for:

v1.67.1

Compare Source

gRPC Java 1.67.1 Release Notes

There was no 1.67.0 release. There was a problem making the release and it went to Maven Central as 1.68.0 instead. This is a version-corrected release.

Improvements
  • Petiole load balancing policies (e.g., round_robin, weighted_round_robin, ring_hash, least_request) had internal refactorings. This should not have changed their behavior
  • api: Introduce onResult2 in NameResolver Listener2 that returns Status (90d0fab)
  • core: touch() buffer when detach()ing (e821d5e). This makes it clearer whether a leak is a gRPC leak or an application leak when the Detachable API is being used
  • example: delete duplicate and unused code in KeepAliveClient.java (6a9bc3b)
  • example: Added Dualstack example (#​11451) (72a977b)
  • stub: Add newAttachMetadataServerInterceptor() MetadataUtil (#​11458) (6dbd1b9)
  • xds: Separate xds clients for each channel target, each with its own connection to an xds server. (#​11484) (d034a56)
  • xds: Envoy proto sync to 2024-07-06 (#​11401) (96a788a)
  • xds: cncf/xds proto sync to 2024-07-24 (#​11417) (0017c98)
  • xds: Import RLQS protos (#​11418) (c29763d)
  • xds: ClusterManagerLB must update child configuration (10d6002). Previously, RLS configuration would not have been updated
Bug Fixes
  • core: Revert "Enable new PickFirst LB (#​11348)" (#​11425) (cc1cbe9)
  • rls: Fix log statements incorrectly referring to "LRS" (#​11497) (c63e354)
  • util: Stop using SocketAddress.toString() for checking address equality (f866c80). This change applies to all petiole load balancing policies. For regular usages that use dns name resolution, this is unlikely to matter as the default dns name resolver returns consistent addresses. But this might improve LB behavior for some custom load balancers
  • xds: Fix load reporting when pick first is used for locality-routing. (#​11495) (1dae144)
  • xds: Fix NullPointerException introduced in "Fix load reporting when pick first is used for locality-routing" (#​11553). This change is not present in 1.68.0
  • xds: XdsClient should unsubscribe on last resource (#​11264) (448ec4f)
Dependencies
  • Upgrade Netty to 4.1.110 and tcnative to 2.0.65 (#​11444) (70ae832)
  • examples: Upgrade Maven plugin versions (75012a5)
  • Remove direct dependency on j2objc (ff8e413)
Thanks to

@​Juneezee
@​lujiajing1126
@​JarvisCraft
@​sunpe

v1.66.0

Compare Source

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

Compare Source

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

Compare Source

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

Compare Source

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

Compare Source

What's Changed

v1.64.0

Compare Source

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

Compare Source

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

Compare Source

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

v1.63.0

Compare Source

API Changes
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) (8a9ce99)
  • EDS resource now supports additional addresses (#​11011) (38f968f)
  • Change address based outlier detection to endpoint based (#​10939) (c61fe69)
  • Enable Happy Eyeballs by default (#​11022) (51f811d)
Improvements
  • rls: Adding extra debug logs (#​10902) (eba699a)
  • binder: Add missing Android API annotations (#​10841) (ce2adcc)
  • core: Provide DEADLINE_EXCEEDED insights for context deadline (3abab95). 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)
  • compiler: implement ability to skip generation of javax annotation (#​10927) (0d39c2c). Pass the option jakarta_omit to protoc-gen-grpc-java when generating code
  • xds: Get rid of xDS v2 proto dependencies (#​10968) (feab4e5). grpc-xds jar size has decreased by 35%.
  • xds: Support retrieving names from wrapped resource containers (#​10975) (867e469)
  • netty: improve server handling of writes to reset streams (#​10258) (a68399a)
  • api: Fix a typo in ServerInterceptor JavaDoc (#​10990) (0b82f01)
  • servlet: Check log fine level before hex string conversion. (#​11038)
  • auth: Specify a locale for upper/lower case conversions (1.63.x backport) #​11050
Bug Fixes
  • xds: Copy data in least request to avoid picker data race (f4cc166). 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)
  • rls: Fix a local and remote race (aa90768). 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) (78b3972)
  • core: Fix retry race condition that can lead to double decrementing inFlightSubStreams and so miss calling closed (#​11026) (#​11033)
  • okhttp: Fix OkHTTP client transport leak (#​11060)
  • xds: Use empty string when disabling server hostname verification ( #​11058)
Dependencies
  • Upgraded google-auth-library-java to 1.22.0
Acknowledgement

Alex Panchenko
Benjamin Peterson
David Ankin
Prashanth Swaminathan
Touko Vainio-Kaila

v1.62.2

gRPC Java 1.62.2 Release Notes

Note that this is the initial 1.62.x release

API Changes
  • services: Remove io.grpc.services.BinaryLogs, which was deprecated since 2021. io.grpc.protobuf.services.BinaryLogs should be used instead (#​10832).
  • Allow users outside of io.grpc.xds package to create custom xDS resources (#​10834) (6d96e65)
New Features
  • api:Add ClientTransportFilter. Similarly to ServerTransportFilter, this will provide an observability hook and it allows direct modification of the transport's attributes. (#​10646)
Improvements
  • java_grpc_library.bzl: Add support for Auto Exec Groups (cb03bd2). This is mostly a behind-the-scenes change to adjust to the newer way Bazel operates
  • java_grpc_library.bzl: Support runfiles for protoc and the plugin (65a6b3b). Neither binary uses runfiles, but the task will be ready if they need to in the future
  • xds: Add EC key support for XdsChannelCredentials/XdsServerCredentials (100d5a5)
  • binder:Change log level from WARNING to FINER for expected exception during close with error, to reduce log spamming (#​10899) (7ba0718)
Bug Fixes
  • xds: Fix a bug in WeightedRoundRobinLoadBalancer policy that could raise NullPointerException and further cause channel panic when picking a subchannel. This bug can only be triggered when connection can not be established and the channel reports TRANSIENT_FAILURE state. (#​10868)
Dependencies
  • The protoc plugin no longer supports macOS Big Sur (macOS 11). Binaries are now built using Monterey (macOS 12)
Acknowledgements

v1.61.1

Bug Fixes

xds: Fix a bug in WeightedRoundRobinLoadBalancer policy that could raise NullPointerException and further cause channel panic when picking a subchannel. This bug can only be triggered when connection can not be established and the channel reports TRANSIENT_FAILURE state. (#​10868)

v1.61.0

API Changes
  • Remove unused experimental API ManagedChannelBuilder.enableFullStreamDecompression (#​10744)
  • api: Deprecate LoadBalancer.EMPTY_PICKER added in 1.58.0 in favor of FixedResultPicker (860b5cb)
New Features
  • binder: Experimental support for asynchronous security policies (#​10566)
Improvements
  • core: reduce CompositeReadableBuffer allocation (#​3279)
  • core: Improve error message clarity when a channel leak is detected (201893f)
  • util: use shared index across round_robin pickers (dca89b2). This makes its implementation more similar to weighted_round_robin.
  • xds: Implement ADS stream flow control mechanism (#​10674). This limits the maximum memory consumed if the control plane sends updates more rapidly than they can be processed.
Bug Fixes
  • core: Check outbound maximum message size for the compressed size in addition to the already-checked uncompressed size (#​10739). Fixed the status code to be RESOURCE_EXHAUSTED instead of UNKNOWN.
  • util: Fix NPE when multiple addresses are in an address group for petiole load balancer policies (#​10769)
  • util: Disable publishing of fixtures (8ac43dd). The Gradle test fixtures are for use by grpc-java's internal tests.
  • okhttp: Ignore known conscrypt socket close issue (#​10812). This stops an exception from being thrown when a known Conscrypt synchronization issue happens.
Dependencies
  • Drop support for Bazel 5 (55a9c01). Bazel 7 is available, and Protobuf has already dropped support for Bazel 5.
  • Change many compile deps to runtime deps (d6830d7). This reduces the transitive classes "leaked" into the compile classpath. In particular, grpc-core (io.grpc.internal) will be less frequently included transitively at compile time.
  • Upgrade dependencies (c985797)
    • Protobuf to 3.25.1
    • auto-value-annotations to 1.10.4
    • error_prone_annotations to 2.23.0
    • proto-google-common-protos to 2.29.0
    • google-cloud-logging to 3.15.14
    • guava to 32.1.3-android
    • okio to 3.4.0
Acknowledgements

v1.60.2

Bug Fixes

xds: Fix a bug in WeightedRoundRobinLoadBalancer policy that could raise NullPointerException and further cause channel panic when picking a subchannel. This bug can only be triggered when connection can not be established and the channel reports TRANSIENT_FAILURE state. (#​10868)

v1.60.1

Bug Fixes
  • util: Fix NPE when multiple addresses in an address group for petiole load balancer policies (#​10770)

v1.60.0

API Changes
  • api: Stabilize ForwardingServerBuilder, ForwardingChannelBuilder2, and ForwardingChannelBuilder. Note that ForwardingChannelBuilder is stabilized (no changes will be made to it), but immediately deprecated in favor of ForwardingChannelBuilder2. (#​10586)
  • api: Deprecate ForwardingChannelBuilder.delegate(). De facto this deprecates the class itself, since all classes extending ForwardingChannelBuilder implement the delegate() method. See javadoc for details (#​10587)
  • api: Changed recently-introduced LoadBalancer.acceptResolvedAddresses() to return Status instead of boolean (#​10636). This is part of continued work to align the LB API cross-language and API stabilization
  • stub: Deprecate StreamObservers (#​10654)
  • alts: AltsChannelBuilder now extends ForwardingChannelBuilder2 (#​10587)
  • protobuf: Stabilize ProtoUtils.metadataMarshaller() (#​10628)
  • protobuf-lite: ProtoLiteUtils experimental comment (#​10627)
Behavior Changes
  • core: ManagedChannels now check the address types provided by the nameResolver (for the given target) with the address types supported by the channel transport and generate an error in case of mismatch. That dramatically improves the error message when an issue occurs
  • core: When a server stream is closed due to user's code (an uncaught exception in halfClosed, messagesAvailable, onReady callback of a ServerStream's listener), the Status.UNKNOWN returned to the client will have Application error processing RPC description. Previously the description was empty. This is helpful to differentiate between server errors originated in user application, gRPC library, or even those injected by a proxy. (#​10643)
  • xds: Log ORCA UNIMPLEMENTED error to subchannel logger. This removes them from the normal application logs, reducing log spam
Improvements
  • Change the underlying implementations of RingHash, RoundRobin, WeightedRoundRobin and LeastRequest load balancers to utilize the pick first load balancer rather than directly manage subchannels. This should only be noticeable if it introduced a bug
  • core: Avoid flushing headers when the server returns a single response (#​9314). This is a performance optimization to reduce the number of packets for non-streaming responses
  • util: Make grpc-core an implementation dependency. This will prevent the io.grpc.internal classes in grpc-core from being visible during compilation when depending on just grpc-util
  • netty: Implement Http2Headers.isEmpty(). This fixes compatibility with Netty 4.1.101.Final.
  • netty: Add NettyServerBuilder.maxRstFramesPerWindow(). This can be used to limit impact of Rapid Reset
  • netty: Disable huffman coding in headers (#​10563). Huffman coding provides modest compression for relatively high CPU usage, especially within a data center. Rely just on the HPACK static and dynamic tables for compression, for higher performance. This only impacts header values 512 bytes or longer, as Netty already disabled Huffman for smaller values
  • alts: Improve handshake failure error message by propagating original exception (#​10644)
Bug Fixes
  • util: Remove shutdown subchannels from OD tracking (#​10683). This could have caused a memory leak on a long-lived channel. But we don’t think it could be triggered with our built-in load balancing policies.
Dependencies
  • Bump Netty to 4.1.100.Final
Acknowledgements

@​anthonyjpratti
@​fedorka
@​jpd236
@​mateusazis
@​pkoenig10
@​yannickepstein
@​amirhadadi

v1.59.1

  • netty: Implement Http2Headers.isEmpty(). This fixes compatibility with Netty 4.1.101.Final.
  • netty: Add NettyServerBuilder.maxRstFramesPerWindow(). This can be used to limit impact of Rapid Reset
  • xds: Log ORCA UNIMPLEMENTED error to subchannel logger. This removes them from the normal application logs, reducing log spam

v1.59.0

gRPC Java 1.59.0 Release Notes

PLANNED ABI BREAKAGE!

This breaks the ABI of the @ExperimentalApi classes listed below.
This does not impact source code (API); it only impacts code compiled with a different version of gRPC than it runs with (ABI).

Users that recompiled their code using grpc-java v1.36.0 (released on Feb 23, 2021) and later, ARE NOT AFFECTED.
Users that compiled their source using grpc-java earlier than v1.36.0 may need to recompile when upgrading to grpc-java v1.59.0.

See details in #​10406.

Affected classes

Class io.grpc.internal.AbstractManagedChannelImplBuilder is deleted, and no longer in the class hierarchy of the channel builders:

  • io.grpc.netty.NettyChannelBuilder
  • io.grpc.okhttp.OkhttpChannelBuilder
  • io.grpc.cronet.CronetChannelBuilder

Class io.grpc.internal.AbstractServerImplBuilder is deleted, and no longer in the class hierarchy of the server builders:

  • io.grpc.netty.NettyServerBuilder
  • io.grpc.inprocess.InProcessServerBuilder

API Changes
  • core: AbstractManagedChannelImplBuilder and AbstractServerImplBuilder are removed (#​10530). This is ABI-breaking, see the warning above. (#​10406)
  • core: Removed .class file hack previously introduced in v1.36.0 to ease removal of internal ABIs. (#​10406)
  • api: Add ForwardingChannelBuilder2, an ABI-safe version of ForwardingChannelBuilder, which will be deprecated in the following release. (#​10585, #​10406)
  • api: Add LoadBalancer.FixedResultPicker convenience class for load balancer implementations. It is a replacement for ErrorPicker and EMPTY_PICKER added in 1.58.0
  • testing: Stabilize TestMethodDescriptors (#​10530)
Behavior Changes
  • core: de-expermentalize pick first config parsing (#​10531)
  • netty: Respect -Dio.netty.allocator.type=unpooled when getting Netty Allocator instead of ignoring it (#​10543)
  • netty: Use UNAVAILABLE for connections closed while writing. Previously this would result in UNKNOWN
  • binder: Enable indirect addressing using s. (#​10550)
Improvements
  • core: only use reflection to resolve InternalCensusStatsAccessor once instead of once per channel
  • core: enhance error message in the case of DEADLINE_EXCEEDED to indicate name resolution delay.
  • netty: When creating a connection, use java.util.logging formatting instead of String.format to avoid work when not logged
  • netty: Touch ByteBuf when message framing has been decoded. If the buffer is leaked, this helps narrow down the source of reference counting bug
  • java_grpc_library.bzl: Disable Automatic Exec Groups inside grpc libraries (#​10514). This improves compatibility with future Bazel versions while retaining Bazel 5.x compatibility
Bug Fixes
  • netty: Avoid NettyAdaptiveCumulator incorrectly releasing its input ByteBuf twice when reading messages under certain error conditions (#​10537)
  • xds: Add fix for xdstp replacement for percent-encoded authorities (#​10571)
Documentation
  • API documentation (Javadoc) for Server and Channel builders now correctly displays inherited methods and the class hierarchy. (#​10406)
  • examples: add an example for OAuth (#​10560)
Dependencies
  • Upgrade Netty to 4.1.97.Final
Acknowledgements

John Cormie (@​jdcormie)
Stephane Landelle (@​slandelle)
@​kotlaja

[v1.58.1](https://redirect.github.com/grpc/grpc-java/releases/tag


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 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 changed the title deps: update dependency io.grpc:grpc-stub to v1.49.1 deps: update dependency io.grpc:grpc-stub to v1.49.2 Oct 1, 2022
@renovate renovate bot force-pushed the renovate/io.grpc-grpc-stub-1.x branch from 625b07e to d011c73 Compare October 1, 2022 04:55
@renovate renovate bot force-pushed the renovate/io.grpc-grpc-stub-1.x branch from d011c73 to 2ff0c29 Compare October 11, 2022 22:10
@renovate renovate bot changed the title deps: update dependency io.grpc:grpc-stub to v1.49.2 deps: update dependency io.grpc:grpc-stub to v1.50.0 Oct 11, 2022
@renovate renovate bot force-pushed the renovate/io.grpc-grpc-stub-1.x branch from 2ff0c29 to 5856243 Compare October 19, 2022 02:52
@renovate renovate bot changed the title deps: update dependency io.grpc:grpc-stub to v1.50.0 deps: update dependency io.grpc:grpc-stub to v1.50.1 Oct 19, 2022
@renovate renovate bot changed the title deps: update dependency io.grpc:grpc-stub to v1.50.1 deps: update dependency io.grpc:grpc-stub to v1.50.2 Oct 20, 2022
@renovate renovate bot force-pushed the renovate/io.grpc-grpc-stub-1.x branch from 5856243 to d24b4d8 Compare October 20, 2022 01:48
@renovate renovate bot force-pushed the renovate/io.grpc-grpc-stub-1.x branch from d24b4d8 to fc277e6 Compare November 20, 2022 08:36
@renovate renovate bot changed the title deps: update dependency io.grpc:grpc-stub to v1.50.2 deps: update dependency io.grpc:grpc-stub to v1.51.0 Nov 20, 2022
@renovate renovate bot changed the title deps: update dependency io.grpc:grpc-stub to v1.51.0 deps: update dependency io.grpc:grpc-stub to v1.54.0 Apr 3, 2023
@renovate renovate bot force-pushed the renovate/io.grpc-grpc-stub-1.x branch from fc277e6 to cd560af Compare April 3, 2023 15:50
@renovate renovate bot changed the title deps: update dependency io.grpc:grpc-stub to v1.54.0 deps: update dependency io.grpc:grpc-stub to v1.54.0 - autoclosed Apr 3, 2023
@renovate renovate bot closed this Apr 3, 2023
@renovate renovate bot deleted the renovate/io.grpc-grpc-stub-1.x branch April 3, 2023 23:37
@renovate renovate bot changed the title deps: update dependency io.grpc:grpc-stub to v1.54.0 - autoclosed deps: update dependency io.grpc:grpc-stub to v1.54.0 Apr 4, 2023
@renovate renovate bot reopened this Apr 4, 2023
@renovate renovate bot restored the renovate/io.grpc-grpc-stub-1.x branch April 4, 2023 09:40
@renovate renovate bot changed the title deps: update dependency io.grpc:grpc-stub to v1.54.0 deps: update dependency io.grpc:grpc-stub to v1.55.1 May 30, 2023
@renovate renovate bot force-pushed the renovate/io.grpc-grpc-stub-1.x branch from cd560af to 155d421 Compare May 30, 2023 23:58
@renovate renovate bot changed the title deps: update dependency io.grpc:grpc-stub to v1.55.1 deps: update dependency io.grpc:grpc-stub to v1.56.0 Jun 14, 2023
@renovate renovate bot force-pushed the renovate/io.grpc-grpc-stub-1.x branch from 155d421 to cb1c4dd Compare June 14, 2023 05:46
@renovate renovate bot changed the title deps: update dependency io.grpc:grpc-stub to v1.56.0 deps: update dependency io.grpc:grpc-stub to v1.56.1 Jul 2, 2023
@renovate renovate bot force-pushed the renovate/io.grpc-grpc-stub-1.x branch from cb1c4dd to 6383a65 Compare July 2, 2023 02:41
@renovate renovate bot changed the title deps: update dependency io.grpc:grpc-stub to v1.56.1 deps: update dependency io.grpc:grpc-stub to v1.57.0 Jul 28, 2023
@renovate renovate bot force-pushed the renovate/io.grpc-grpc-stub-1.x branch from 6383a65 to ae2d5f9 Compare July 28, 2023 05:36
@renovate renovate bot changed the title deps: update dependency io.grpc:grpc-stub to v1.57.0 deps: update dependency io.grpc:grpc-stub to v1.57.1 Aug 3, 2023
@renovate renovate bot force-pushed the renovate/io.grpc-grpc-stub-1.x branch from ae2d5f9 to 26803bd Compare August 3, 2023 02:28
@renovate renovate bot force-pushed the renovate/io.grpc-grpc-stub-1.x branch from 26803bd to d304281 Compare August 16, 2023 20:37
@renovate renovate bot changed the title deps: update dependency io.grpc:grpc-stub to v1.57.1 deps: update dependency io.grpc:grpc-stub to v1.57.2 Aug 16, 2023
@renovate renovate bot changed the title deps: update dependency io.grpc:grpc-stub to v1.59.0 deps: update dependency io.grpc:grpc-stub to v1.59.1 Nov 28, 2023
@renovate renovate bot changed the title deps: update dependency io.grpc:grpc-stub to v1.59.1 deps: update dependency io.grpc:grpc-stub to v1.60.0 Dec 5, 2023
@renovate renovate bot force-pushed the renovate/io.grpc-grpc-stub-1.x branch from 3ea291b to 793e3a9 Compare December 5, 2023 20:56
@renovate renovate bot force-pushed the renovate/io.grpc-grpc-stub-1.x branch from 793e3a9 to 79e7cbe Compare December 22, 2023 08:35
@renovate renovate bot changed the title deps: update dependency io.grpc:grpc-stub to v1.60.0 deps: update dependency io.grpc:grpc-stub to v1.60.1 Dec 22, 2023
@renovate renovate bot force-pushed the renovate/io.grpc-grpc-stub-1.x branch from 79e7cbe to d509884 Compare January 12, 2024 08:26
@renovate renovate bot changed the title deps: update dependency io.grpc:grpc-stub to v1.60.1 deps: update dependency io.grpc:grpc-stub to v1.61.0 Jan 12, 2024
@renovate renovate bot force-pushed the renovate/io.grpc-grpc-stub-1.x branch from d509884 to 26503da Compare February 3, 2024 01:28
@renovate renovate bot changed the title deps: update dependency io.grpc:grpc-stub to v1.61.0 deps: update dependency io.grpc:grpc-stub to v1.61.1 Feb 3, 2024
@renovate renovate bot force-pushed the renovate/io.grpc-grpc-stub-1.x branch from 26503da to 3094384 Compare February 27, 2024 05:50
@renovate renovate bot changed the title deps: update dependency io.grpc:grpc-stub to v1.61.1 deps: update dependency io.grpc:grpc-stub to v1.62.2 Feb 27, 2024
@renovate renovate bot force-pushed the renovate/io.grpc-grpc-stub-1.x branch from 3094384 to aaab18f Compare April 6, 2024 17:44
@renovate renovate bot changed the title deps: update dependency io.grpc:grpc-stub to v1.62.2 deps: update dependency io.grpc:grpc-stub to v1.63.0 Apr 6, 2024
@renovate renovate bot force-pushed the renovate/io.grpc-grpc-stub-1.x branch from aaab18f to c7509a6 Compare May 23, 2024 02:24
@renovate renovate bot changed the title deps: update dependency io.grpc:grpc-stub to v1.63.0 deps: update dependency io.grpc:grpc-stub to v1.64.0 May 23, 2024
@renovate renovate bot force-pushed the renovate/io.grpc-grpc-stub-1.x branch from c7509a6 to 130bd56 Compare June 29, 2024 05:39
@renovate renovate bot changed the title deps: update dependency io.grpc:grpc-stub to v1.64.0 deps: update dependency io.grpc:grpc-stub to v1.65.0 Jun 29, 2024
@renovate renovate bot force-pushed the renovate/io.grpc-grpc-stub-1.x branch from 130bd56 to ead59ba Compare July 12, 2024 12:00
@renovate renovate bot changed the title deps: update dependency io.grpc:grpc-stub to v1.65.0 deps: update dependency io.grpc:grpc-stub to v1.65.1 Jul 12, 2024
@renovate renovate bot force-pushed the renovate/io.grpc-grpc-stub-1.x branch from ead59ba to 5d10503 Compare August 9, 2024 05:57
@renovate renovate bot changed the title deps: update dependency io.grpc:grpc-stub to v1.65.1 deps: update dependency io.grpc:grpc-stub to v1.66.0 Aug 9, 2024
@renovate renovate bot force-pushed the renovate/io.grpc-grpc-stub-1.x branch from 5d10503 to 09b4596 Compare September 21, 2024 05:47
@renovate renovate bot changed the title deps: update dependency io.grpc:grpc-stub to v1.66.0 deps: update dependency io.grpc:grpc-stub to v1.68.0 Sep 21, 2024
@renovate renovate bot force-pushed the renovate/io.grpc-grpc-stub-1.x branch from 09b4596 to 3ed156d Compare October 29, 2024 08:52
@renovate renovate bot changed the title deps: update dependency io.grpc:grpc-stub to v1.68.0 deps: update dependency io.grpc:grpc-stub to v1.68.1 Oct 29, 2024
@renovate renovate bot force-pushed the renovate/io.grpc-grpc-stub-1.x branch from 3ed156d to 4d57f2e Compare November 28, 2024 08:58
@renovate renovate bot changed the title deps: update dependency io.grpc:grpc-stub to v1.68.1 deps: update dependency io.grpc:grpc-stub to v1.68.2 Nov 28, 2024
@renovate renovate bot force-pushed the renovate/io.grpc-grpc-stub-1.x branch from 4d57f2e to 5b9a952 Compare December 11, 2024 05:48
@renovate renovate bot changed the title deps: update dependency io.grpc:grpc-stub to v1.68.2 deps: update dependency io.grpc:grpc-stub to v1.69.0 Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants