fix(deps): update grpc.java to v1.56.1 #304
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.51.0->1.56.11.51.0->1.56.11.51.0->1.56.11.51.0->1.56.11.51.0->1.56.11.51.0->1.56.11.51.0->1.56.11.51.0->1.56.11.51.0->1.56.1⚠ Dependency Lookup Warnings ⚠
Warnings were logged while processing this repo. Please check the Dependency Dashboard for more information.
Release Notes
grpc/grpc-java (io.grpc:grpc-protobuf)
v1.56.1Bug fixes
grpc-grpclbis in the classpath. So even users that think "I don't use grpclb" may have been impacted.round_robinis mainly impacted on startup, but if the error happened afterward it would commonly fix itself for short transient DNS failures.pick_firstis impacted at all times; any failed DNS resolution could cause all future RPCs on the channel to fail.v1.56.0API Changes
SynchronizationContextclass (#10130).io.grpc.CallCredentials(#10208, #10211).thisUsesUnstableApi()is@Deprecatedand has a default implementation.CallCredentialsimplementations should delete their implementation or remove@Overrides, as the method will be deleted in the future.ProxyDetectorhierarchy andManagedChannelBuilder.proxyDetectormethod.Behavior Changes
TRANSIENT_FAILUREinPickFirstLoadBalancer(#10106). See gRFC A62. If it can't connect, pick-first will now immediately fail RPCs until after it successfully connects. RPCs will no longer be delayed while it performs those attempts, which previously could cause significant (error) latency. It now also performs reconnect attempts after failure and backoff without prompting; previously it required an RPC to trigger the reconnect.ManagedChannel.idleTimeout(defaults to 30 minutes) still applies and forces the channel idle after a period of no RPCs.responseObserverinto the methods for initiating a call that takes aresponseObserverargument. This ensures a fail fast with a clearer cause instead of an NPE when the observer is first used.GRPC_EXPERIMENTAL_XDS_RLS_LBto false.weighted_round_robin_experimentalLB Policy toweighted_round_robin(#10162).New Features
PickFirstLoadBalancer(#10110).pick_firstLB configuration (#10181).Improvements
error-per-secondin weight formula for client-side WRR (#10177).application_utilizationand fallback tocpu_utilizationif unset in weight formula for client-side WRR. (#10256).Bug Fixes
.aarfile when publishing. (#10138).Status.fromCodeValue(). (#10155).Dependencies
[1.56.0]instead of1.56.0) has been removed from POMs, for both Netty and gRPC dependencies. The pinning was unreliable in Maven and ignored in Gradle, yet caused downloads during the build to fetch the version list. For a while we've had a BOM that helps reduce version skew. (#10175).java_common. (#10225).netty-tcnative-boringssl-staticingrpc-netty-shadedto 2.0.61.Final (#10260). Netty itself was not updated.proto-google-common-protosto 2.17.0 (#10178).Acknowledgements
v1.55.3Bug fixes
grpc-grpclbis in the classpath. So even users that think "I don't use grpclb" may have been impacted.round_robinis mainly impacted on startup, but if the error happened afterward it would commonly fix itself for short transient DNS failures.pick_firstis impacted at all times; any failed DNS resolution could cause all future RPCs on the channel to fail.v1.55.1The 1.55.0 release failed. There were no artifacts published for it.
API Changes
MetricRecorder.setQps/clearQpstosetQpsMetric/clearQpsMetric(#10031)Behavior Changes
New Features
CallOptions.withCompression,CallOptions.getCompressor,AbstractStub.withCompression,ServerCall.setCompression,ServerCall.setMessageCompressionDetachableandHasByteBufferGcpObservability(https://github.com/grpc/grpc-java/pull/10024). The GcpObservability API provides a simple way to export logging, tracing, and metrics to Google Cloud Operations. See the Google Cloud blog post.FileWatcherAuthorizationServerInterceptor(#9775)OrcaMetricReportingServerInterceptor.create(MetricRecorder)which adds common metrics per-RPC (#9902)UdsChannelBuilderfor using LocalSocket an Android (#8418)GRPC_ALTS_MAX_CONCURRENT_HANDSHAKESenvironment variable user to adjust the max number of concurrent ALTS handshakes (#10016)PeerUidandPeerUids(#9952)BindServiceFlags.setAllowActivityStarts()forBIND_ALLOW_ACTIVITY_STARTSadded in Android U (#10008)Bug Fixes
OkHttpServerBuilder.maxConnectionAgeGrace()(#9968)java.util.NoSuchElementException: SecurityProtocolNegotiators$ClientSdsHandler#0(#10118). This error did not cause any problems, other than unnecessary logginggoogle-c2p:resolver’s default xds bootstrap (#10121)New Examples
Dependencies
Acknowledgements
v1.54.2Bug Fixes
v1.54.1Bug Fixes
Behavior Changes
API stabilizations
v1.54.0New Features
AsyncServicethat the<service-name>ImplBaseclass implements. This allows you to provide your own base class when used with the static<service-name>Grpc.bindService(AsyncService)method(#9688).Examples
Bugfixes
NameResolverProviders, however, are expected to return the scheme used for registration in lower-caseBehavior Changes
Improvements
API stabilizations
Dependencies
Acknowledgements
@benjaminp
@s-matyukevich
@Faqa
@antechrestos
@carl-mastrangelo
@ioanbsu
v1.53.0Compare Source
New Features
RouteConfiguration(#9845)grpc-previous-rpc-attemptsto the initial response metadata (#9686)Examples
Bug Fixes
RejectedExecutionException. (#9754)MessageProducerinRetriableStream(#9853), fixing a Netty buffer memory leak for cancelled RPCsNullPointerExceptionwhen a Metadata.Marshaller returns null bytes (#9781). This would previously cause aNullPointerExceptionlater during the RPC. Now the return value of the Marshaller is checked immediately, to help find the broken MarshallerBehavior Changes
Dependencies
@Generatedas used by autovalue (#9762). Necessary for building xds and rls on Java 9+runtime_depsto discourage their use by Bazel users, but that could cause compilation failures from lack of hjars. These targets now useexportsAcknowledgement
@cpovirk
@niloc132
@stephenh
@olderwei
@pandaapo
@panxuefeng
v1.52.1Compare Source
Bug Fixes
v1.52.0Compare Source
gRPC Java 1.52.0 Release Notes
grpc-xds starting with 1.51.0 had a regression where resources might stop receiving updates. The trigger could happen hours or days after the binary had started. xDS users should avoid this release and use 1.50.x until patch releases with the fix are available. https://github.com/grpc/grpc-java/pull/9809
API Changes
@Immutable(#9689)New Features
Examples
Bug Fixes
Behavior Changes
RingHashOptions.setRingSizeCap()can increase the limitBinderChannelBuilder.strictLifecycleManagement()which disables idle timeout and prevents it from being changed (#9486). Disabling idle timeout can be useful to find bugs in applications that fail to promptly shut down the channel and are particularly sensitive to keeping Binder instances alive.Dependencies
Acknowledgement
@RapperCL
@Smityz
@pandaapo
v1.51.3Compare Source
Bug Fixes
v1.51.1Compare Source
grpc-xds starting with 1.51.0 had a regression where resources might stop receiving updates. The trigger could happen hours or days after the binary had started. xDS users should avoid this release and use 1.50.x until patch releases with the fix are available. https://github.com/grpc/grpc-java/pull/9809
Bug Fixes
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.
This PR has been generated by Mend Renovate. View repository job log here.