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.58.0
3.22.0
->3.24.3
1.53.0
->1.58.0
3.22.0
->3.24.3
0.9.2
->0.9.4
Release Notes
grpc/grpc-java (io.grpc:protoc-gen-grpc-java)
v1.58.0
Compare Source
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
Compare Source
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
protocolbuffers/protobuf (com.google.protobuf:protoc)
v3.24.3
v3.24.2
Compare Source
v3.24.1
Compare Source
v3.24.0
v3.23.4
v3.23.3
v3.23.2
v3.23.1
v3.23.0
v3.22.5
v3.22.4
v3.22.3
v3.22.2
v3.22.1
Configuration
📅 Schedule: Branch creation - "every 3 weeks on Monday" (UTC), 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.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Mend Renovate. View repository job log here.