Update dependency io.grpc:grpc-protobuf to v1.57.2 #2580
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.21.0
->1.57.2
Release Notes
grpc/grpc-java (io.grpc:grpc-protobuf)
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
v1.53.0
New Features
RouteConfiguration
(#9845)grpc-previous-rpc-attempts
to the initial response metadata (#9686)Examples
Bug Fixes
RejectedExecutionException
. (#9754)MessageProducer
inRetriableStream
(#9853), fixing a Netty buffer memory leak for cancelled RPCsNullPointerException
when a Metadata.Marshaller returns null bytes (#9781). This would previously cause aNullPointerException
later during the RPC. Now the return value of the Marshaller is checked immediately, to help find the broken MarshallerBehavior Changes
Dependencies
@Generated
as used by autovalue (#9762). Necessary for building xds and rls on Java 9+runtime_deps
to discourage their use by Bazel users, but that could cause compilation failures from lack of hjars. These targets now useexports
Acknowledgement
@cpovirk
@niloc132
@stephenh
@olderwei
@pandaapo
@panxuefeng
v1.52.1
Bug Fixes
v1.52.0
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.3
Bug Fixes
v1.51.1
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
v1.51.0
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
New Features
Behavior Changes
Acknowledgements
@TrevorEdwards
v1.50.3
Bug Fixes
v1.50.2
Bug fixes
gcp-observability: Supports period(.) in the service name part of regular expression for a fully-qualified method to accept "package.service"
v1.50.1
gcp-observability: support new configuration defined in grpc-gcp-observability public preview user guide
v1.50.0
New Features
SecurityPolicies
for checking device owner/profile owner (#9428)API Changes
handleResolvedAddresses()
but returns aboolean
of whether the addresses and configuration were accepted. Not accepting the update triggers the NameResolver to retry after a delay. We are not yet encouraging migration to this method, as there is still a second future API changeBug Fixes
Dependencies
Acknowledgements
@cpovirk
@prateek-0
@sai-sunder-s
v1.49.2
Dependencies
v1.49.1
Bug Fixes
TRANSIENT_FAILURE
state, it might cause unnecessary internal connection requests onsubchannel
s. (#9537)Behavior Changes
v1.49.0
New Features
OkHttpServerBuilder
. The server can be used directly, but is not yet available viaServerBuilder.forPort()
andGrpc.newServerBuilderForPort()
. It passes our tests, but has seen no real-world use. It is also lacking connection management featuresBug Fixes
no such target '@​io_grpc_grpc_java//services:services'
for services and missing ORCA classes for xds. The wrong target names were introduced in 1.47.0Behavior Changes
Acknowledgement
@benjaminp
@j-min5u
v1.48.2
Bug Fixes
Dependencies
v1.48.1
New Features
ORCA provides APIs to inject custom metrics at a gRPC server, and consume them at a gRPC client. It implements A51: Custom Backend Metrics Support. We changed the ORCA APIs; they had broken shading and couldn't really be used, so we fixed them in the patch release.
Bug Fixes
INTERNAL, desc: Half-closed without a request
at server call. (#9362)v1.48.0
Bug Fixes
New Features
Improvements
Attributes.Key
s to reference the API of the key. This should make it easier to find the API the key is exposed when usingattributes.toString()
Attributes.Key
uses reference equality. This is to make it clear the behavior is on purpose, and mirrors other Key types in the APIEquivalentAddressGroup.ATTR_AUTHORITY_OVERRIDE
, to avoid misuse byNameResolver
s (#9281)GrpcCleanupRule
now extendsExternalResource
. This makes it usable with JUnit 5Dependencies
com.google.api.grpc:proto-google-common-protos
to 2.9.0Acknowledgements
@mirlord
@zhangwenlong8911
@adilansari
@amirhadadi
@jader-eero
@jvolkman
@sumitd2
v1.47.1
Bug Fixes
Behavior Changes
OnNotServing
onStatusListener
when the delegated server initial start fails. (#9276, #9279)Dependencies
v1.47.0
Bug Fixes
ClassCastExceptions
for hard-coded providers on Android (#9174). This avoidsServiceConfigurationError
in certain cases when an “SDK” includes a copy of gRPC that was renamed with Proguard-like tools that do precise class name rewriting (versus something like Maven Shade Plugin which uses coarse pattern matching)asAndroidAppUri()
(#9169)ScheduledExecutorService
for keepalive if provided. Previously the user-provided executor was used for deadlines, but not keepalive. Keepalive always used the default executor (#9073)libgrpclb.jar
produced by bazel//grpclb:grpclb
target (#9156)TRANSIENT_FAILURE
status. (#9085)New Features
ServerBuilder
(#9176). This includes methods for keepalive, max connection age, and max connection idle. These APIs have been available on NettyServerBuilder since v1.4.0NameResolver
to influence which transport to use (#9076)NameResolver
forunix:
scheme, as defined in gRPC Name Resolution (#9113)allOf
security policy, which allows access iff ALL given security policies allow access. (#9125)anyOf
security policy, which allows access if ANY given security policy allows access. (#9147)hasPermissions
security policy, which checks that a caller has all of the given package permissions. (#9117)IO_GRPC_GRPC_JAVA_OVERRIDE_TARGETS
so maven_install will not use the artifacts from Maven Central (#9172)Cluster.load_balancing_policy
field. This implements gRFC A52: gRPC xDS Custom Load Balancer Configuration. (#9141)is_optional
logic in Cluster Specifier Plugins: if an unsupported Cluster Specifier Plugin is optional, don't NACK, and skip any routes that point to it. (#9168)Behavior Changes
ring_hash
LB aggregation rule to better handle transient_failure channel status (#9084, #9093)Dependencies
Acknowledgements
@caseyduquettesc
@cfredri4
@jvolkman
@mirlord
@ovidiutirla
v1.46.1
Behavior Changes
OnNotServing
onStatusListener
when the delegated server initial start fails. (#9278, #9280)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.
This PR has been generated by Mend Renovate. View repository job log here.