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.27.1
->1.33.1
1.27.1
->1.33.1
Release Notes
grpc/grpc-java
v1.33.1
Compare Source
v1.33.0
Compare Source
This release broke ABI in a non-planned way for NettyServerBuilder, NettyChannelBuilder, and similar. See #7552. If you are impacted, please use an earlier version until v1.33.1 is available. A future ABI breakage may be necessary, but will be communicated explicitly at that time.
API Changes
io.grpc.netty.NettyServerBuilder
is no longer a subclass of the internal classio.grpc.internal.AbstractServerImplBuilder
io.grpc.netty.NettyChannelBuilder
is no longer a subclass of the internal classio.grpc.internal.AbstractManagedChannelImplBuilder
io.grpc.okhttp.OkhttpChannelBuilder
is no longer a subclass of the internal classio.grpc.internal.AbstractManagedChannelImplBuilder
The class io.grpc.inprocess.InProcessChannelBuilder
is no longer a subclass of the internal classio.grpc.internal.AbstractManagedChannelImplBuilder
io.grpc.cronet.CronetChannelBuilder
is no longer a subclass of the internal classio.grpc.internal.AbstractManagedChannelImplBuilder
StatusRuntimeException: CANCELLED
fromonNext()
for streaming responses. Previously the exception was also thrown fromonNext()
for unary responses and fromonComplete()
, which didn’t help the server avoid unnecessary processingNew Features
Documentation
Bug Fixes
GRPC_EXPERIMENTAL_AUTOFLOWCONTROL=false
introduced later. The symptom was a GOAWAY with “too_many_pings” without an aggressive keepalive configured. The environment variable is still available, but will be removed in the futureBehavior Changes
{"type":"insecure"}”
for plaintext (#7396)Dependencies
repositories.bzl
, in favor ofmaven_install
. v1.27.0 introduced support formaven_install
and encouraged users to migrate. Seeexamples/WORKSPACE
for an example.maven_install
dramatically reduces the boilerplate for maven dependencies and properly handles transitive dependencies and version selection. gRPC is not yet using the@maven
workspace, so it is still possible to use other dependency tools.Acknowledgements
@codeblooded Benjamin Reed
@kiwi1969 Russell Shaw
@pkern Philipp Kern
v1.32.2
Compare Source
Bug Fixes
GRPC_EXPERIMENTAL_AUTOFLOWCONTROL=false
introduced later. The symptom was a GOAWAY with “too_many_pings” without an aggressive keepalive configured. The environment variable is still available, but will be removed in the futurev1.32.1
Compare Source
API Changes
ChannelBuilder.blockingExecutor()
(#7242). There should not be any users as it was deprecated the first release it was available and was renamedoffloadExecutor()
.New Features
Bug Fixes
GRPC_EXPERIMENTAL_AUTOFLOWCONTROL=false
will now disable the BDP monitoring introduced in v1.30.0. This is intended to help diagnose a “too_many_pings” compatibility issue and will be removed once it is resolved. If you need to use the variable, please file an issueDependencies
Acknowledgements
@susinmotion
@trustin
@wanyingd1996
v1.31.1
Compare Source
Bug Fixes
GRPC_EXPERIMENTAL_AUTOFLOWCONTROL=false
will now disable the BDP monitoring introduced in v1.30.0. This is intended to help diagnose a “too_many_pings” compatibility issue and will be removed once it is resolved. If you need to use the variable, _please_ file an issuev1.31.0
Compare Source
API Changes
ManagedChannelBuilder.nameResolverFactory
is now marked deprecated. It has long been our plan to remove the function, but was not communicated. Most usages should be able to globally register via the SPI mechanism orNameResolverRegistry.register()
. There is a plan to add a method toManagedChannelBuilder
to specify the default target scheme for the channel. If your use-case is not covered, please inform us on #7133New Features
LoadBalancer.Helper.createResolvingOobChannelBuilder()
. It is similar toLoadBalancer.Helper.createResolvingOobChannel()
except allows configuring the channel (#7136)Bug Fixes
Documentation
Dependencies
Examples
Acknowledgements
@alexanderscott
@AnarSultanov
@cindyxue
@d-reidenbach
@elharo
@gsharma
@reggiemcdonald
v1.30.2
Compare Source
Bug Fixes
v1.30.1
Compare Source
Bug Fixes
v1.30.0
Compare Source
Behavioral Changes
NettyChannelBuilder#flowControlWindow
orNettyServerBuilder#flowControlWindow
. ExistingflowControlWindow
users need to useinitialFlowWindowSize
to enable BDP. The default initial window size has remained unchanged, so most users should not see a performance difference. In the future we plan to reduce the default size, which may briefly (up to 4 RTT) slow down new connections as they determine an appropriate BDP.New Features
xds
. This is the stable version of the schemexds-experimental
that was introduced in v1.28.0.xds-experimental
scheme will be removed in subsequent releases so you must switch toxds
scheme instead.xds
scheme is a client side implementation of xDSv2 APIs. This allows a gRPC client written in Java to receive configuration from an xDSv2 API compatible server and use that configuration to load balance RPCs. In this release, only the virtual host matching, default path (“” or “/”) matching and cluster route action are supported. The features supported in a given release are documented here.ClientCallStreamObserver.disableAutoRequestWithInitial(int)
andServerCallStreamObserver.disableAutoRequest()
that disables all automatic inbound flow-control requests. These methods are intended to replace the existingCallStreamObserver.disableAutoInboundFlowControl()
. There may still be some tweaks to the API, sodisableAutoInboundFlowControl()
is not yet deprecated.InprocessChannelBuilder.propagateCauseWithStatus(true)
to propagate exceptions from the server withinstatus.getCause()
(#6968). This is intended for unit tests to ease debugging test failures.NettyServerBuilder
to allow passing channel options for the boss ELG.Bug Fixes
Documentation
org.apache.tomcat:annotations-api
for the@Generated
annotation instead ofjavax.annotation:javax.annotation-api
, as it has a more appropriate licenseDependencies
Examples
Acknowledgements
@agasparovic-sabre
@AgentK20
@apolcyn
@asdf2014
@ashithasantosh
@chalin
@bogdandrutu
@DRayX
@hojongs
@Nextproc
@plaflamme
@reggiemcdonald
@RiyaTyagi
v1.29.0
Compare Source
Behavioral Changes
io.grpc.internal.DnsNameResolverProvider.enable_grpclb
is eliminated, grpc-grpclb dependency implicitly enables querying SRV records since v1.24.2New Features
ServerInterceptors.useInputStreamMessages()
now preserves theKnownLength
interface when wrapping InputStream (#6852). This should prevent certain optimizations from being disabled when using useInputStreamMessagesServerInterceptors.useInputStreamMessages()
anduseMarshalledMessages()
now preserve the SchemaDescriptor, so the methods are now compatible with the reflection service (#6851)Bug Fixes
Documentation
Dependencies
Compiling
-PskipAndroid=false
(default) includes building grpc-android module, which requires Android SDKAcknowledgements
@chrisschek
@elharo Elliotte Rusty Harold
@herbyderby Chris Nokleberg
@markb74
@ST-DDT
v1.28.1
Compare Source
This patch is mainly for the experimental xDS-related features.
Bug Fixes
v1.28.0
Compare Source
API Changes
LoadBalancerProvider#parseLoadBalancingPolicyConfig
. LoadBalancer developers should use parsed config(loadBalancingPolicyConfig
) inResolvedAddresses
instead of deprecated attributeio.grpc.LoadBalancer.ATTR_LOAD_BALANCING_CONFIG
.Behavioral Changes
ManagedChannelBuilder#defaultServiceConfig
orManagedChannelBuilder#defaultLoadBalancingPolicy
).New Features
Bug Fixes
OkHttpChannelBuilder.flowControlWindow()
, who seem to be few since this bug was not reported soonerDocumentation
Dependencies
Acknowledgements
@chrisschek
@cushon Liam Miller-Cushon
@elharo Elliotte Rusty Harold
@gfelbing Georg Welzel
@hatahet Ziad Hatahet
@leventov Roman Leventov
@sourabhsparkala Sourabh Sarvotham Parkala
@ZhenLian Zhen Lian
v1.27.2
Compare Source
Bug Fixes
Renovate configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Enabled.
♻️ Rebasing: Whenever PR is behind base branch, 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 WhiteSource Renovate. View repository job log here.