Update grpcVersion to v1.61.0 - autoclosed #48
Closed
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.53.0
->1.61.0
1.53.0
->1.61.0
1.53.0
->1.61.0
1.53.0
->1.61.0
Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
grpc/grpc-java (io.grpc:grpc-testing)
v1.61.0
v1.60.1
Bug Fixes
v1.60.0
API Changes
ForwardingServerBuilder
,ForwardingChannelBuilder2
, andForwardingChannelBuilder
. Note thatForwardingChannelBuilder
is stabilized (no changes will be made to it), but immediately deprecated in favor ofForwardingChannelBuilder2
. (#10586)ForwardingChannelBuilder.delegate()
. De facto this deprecates the class itself, since all classes extendingForwardingChannelBuilder
implement thedelegate()
method. See javadoc for details (#10587)LoadBalancer.acceptResolvedAddresses()
to returnStatus
instead ofboolean
(#10636). This is part of continued work to align the LB API cross-language and API stabilizationForwardingChannelBuilder2
(#10587)ProtoUtils.metadataMarshaller()
(#10628)Behavior Changes
ManagedChannel
s 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 occursStatus.UNKNOWN
returned to the client will haveApplication 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)Improvements
Http2Headers.isEmpty()
. This fixes compatibility with Netty 4.1.101.Final.NettyServerBuilder.maxRstFramesPerWindow()
. This can be used to limit impact of Rapid ResetBug Fixes
Dependencies
Acknowledgements
@anthonyjpratti
@fedorka
@jpd236
@mateusazis
@pkoenig10
@yannickepstein
@amirhadadi
v1.59.1
Http2Headers.isEmpty()
. This fixes compatibility with Netty 4.1.101.Final.NettyServerBuilder.maxRstFramesPerWindow()
. This can be used to limit impact of Rapid Resetv1.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-javav1.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
AbstractManagedChannelImplBuilder
andAbstractServerImplBuilder
are removed (#10530). This is ABI-breaking, see the warning above. (#10406)v1.36.0
to ease removal of internal ABIs. (#10406)ForwardingChannelBuilder2
, an ABI-safe version ofForwardingChannelBuilder
, which will be deprecated in the following release. (#10585, #10406)LoadBalancer.FixedResultPicker
convenience class for load balancer implementations. It is a replacement forErrorPicker
andEMPTY_PICKER
added in 1.58.0Behavior Changes
Improvements
Bug Fixes
Documentation
Dependencies
Acknowledgements
John Cormie (@jdcormie)
Stephane Landelle (@slandelle)
@kotlaja
v1.58.1
v1.58.0
API Changes
ServerCall#setMessageCompression()
andPartialForwardingServerCall#setMessageCompression()
(#10393)ProtoUtils.setExtensionRegistry()
andProtoLiteUtils.setExtensionRegistry()
(#10392)GrpcCleanupRule
,GrpcServerRule
(#10494)Behavior Changes
Improvements
Grpc.newServerBuilderForPort()
. At present, Netty always has higher priority than OkHttp, if they are both available, becauseServerBuilder.forPort()
is not supported in the OkHttp transport but is supported in the Netty transportBug Fixes
NoSuchMethodError
forByteBuffer
methods present in 1.57.0 (#10441)Dependencies
androidx.core:core 1.10.0 -> 1.10.1
com.google.api.grpc:proto-google-common-protos 2.17.0 -> 2.22.0
com.google.cloud:google-cloud-logging 3.14.5 -> 3.15.5
com.google.errorprone:error_prone_annotations 2.18.0 -> 2.20.0
com.squareup.okio:okio 1.17.5 -> 2.10.0
Acknowledgements
Halvard Skogsrud
v1.57.2
Bug Fixes
v1.57.1
Bug fixes
NoSuchMethodError
forByteBuffer
methods present in 1.57.0 (#10441)v1.57.0
gRPC Java 1.57.0 Release Notes
This release accidentally broke Java 8:
NoSuchMethodError
for some ByteBuffer methods. The issue is tracked in https://github.com/grpc/grpc-java/issues/10432 and fixed in 1.57.1.API Changes
Behavior Changes
New Features
UserHandle
andBinderChannelCredentials
to support cross-user communication (#10197)Improvements
Bug Fixes
Dependencies
Acknowledgements
v1.56.1
Bug fixes
grpc-grpclb
is in the classpath. So even users that think "I don't use grpclb" may have been impacted.round_robin
is mainly impacted on startup, but if the error happened afterward it would commonly fix itself for short transient DNS failures.pick_first
is impacted at all times; any failed DNS resolution could cause all future RPCs on the channel to fail.v1.56.0
API Changes
SynchronizationContext
class (#10130).io.grpc.CallCredentials
(#10208, #10211).thisUsesUnstableApi()
is@Deprecated
and has a default implementation.CallCredentials
implementations should delete their implementation or remove@Overrides
, as the method will be deleted in the future.ProxyDetector
hierarchy andManagedChannelBuilder.proxyDetector
method.Behavior Changes
TRANSIENT_FAILURE
inPickFirstLoadBalancer
(#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.responseObserver
into the methods for initiating a call that takes aresponseObserver
argument. This ensures a fail fast with a clearer cause instead of an NPE when the observer is first used.GRPC_EXPERIMENTAL_XDS_RLS_LB
to false.weighted_round_robin_experimental
LB Policy toweighted_round_robin
(#10162).New Features
PickFirstLoadBalancer
(#10110).pick_first
LB configuration (#10181).Improvements
error-per-second
in weight formula for client-side WRR (#10177).application_utilization
and fallback tocpu_utilization
if unset in weight formula for client-side WRR. (#10256).Bug Fixes
.aar
file 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-static
ingrpc-netty-shaded
to 2.0.61.Final (#10260). Netty itself was not updated.proto-google-common-protos
to 2.17.0 (#10178).Acknowledgements
v1.55.3
Bug fixes
grpc-grpclb
is in the classpath. So even users that think "I don't use grpclb" may have been impacted.round_robin
is mainly impacted on startup, but if the error happened afterward it would commonly fix itself for short transient DNS failures.pick_first
is impacted at all times; any failed DNS resolution could cause all future RPCs on the channel to fail.v1.55.1
The 1.55.0 release failed. There were no artifacts published for it.
API Changes
MetricRecorder.setQps
/clearQps
tosetQpsMetric
/clearQpsMetric
(#10031)Behavior Changes
New Features
CallOptions.withCompression
,CallOptions.getCompressor
,AbstractStub.withCompression
,ServerCall.setCompression
,ServerCall.setMessageCompression
Detachable
andHasByteBuffer
GcpObservability
(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)UdsChannelBuilder
for using LocalSocket an Android (#8418)GRPC_ALTS_MAX_CONCURRENT_HANDSHAKES
environment variable user to adjust the max number of concurrent ALTS handshakes (#10016)PeerUid
andPeerUids
(#9952)BindServiceFlags.setAllowActivityStarts()
forBIND_ALLOW_ACTIVITY_STARTS
added 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.2
Bug Fixes
v1.54.1
Bug Fixes
Behavior Changes
API stabilizations
v1.54.0
New Features
AsyncService
that the<service-name>ImplBase
class implements. This allows you to provide your own base class when used with the static<service-name>Grpc.bindService(AsyncService)
method(#9688).Examples
Bugfixes
NameResolverProvider
s, 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
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.