Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update io.grpc:grpc-* to v1.53.0 #1418

Closed
wants to merge 1 commit into from

Conversation

solrbot
Copy link
Collaborator

@solrbot solrbot commented Mar 1, 2023

This PR contains the following updates:

Package Type Update Change
io.grpc:grpc-xds dependencies minor 1.51.0 -> 1.53.0
io.grpc:grpc-stub dependencies minor 1.51.0 -> 1.53.0
io.grpc:grpc-services dependencies minor 1.51.0 -> 1.53.0
io.grpc:grpc-protobuf-lite dependencies minor 1.51.0 -> 1.53.0
io.grpc:grpc-protobuf dependencies minor 1.51.0 -> 1.53.0
io.grpc:grpc-netty-shaded dependencies minor 1.51.0 -> 1.53.0
io.grpc:grpc-netty dependencies minor 1.51.0 -> 1.53.0
io.grpc:grpc-grpclb dependencies minor 1.51.0 -> 1.53.0
io.grpc:grpc-googleapis dependencies minor 1.51.0 -> 1.53.0
io.grpc:grpc-core dependencies minor 1.51.0 -> 1.53.0
io.grpc:grpc-context dependencies minor 1.51.0 -> 1.53.0
io.grpc:grpc-auth dependencies minor 1.51.0 -> 1.53.0
io.grpc:grpc-api dependencies minor 1.51.0 -> 1.53.0
io.grpc:grpc-alts dependencies minor 1.51.0 -> 1.53.0

Release Notes

grpc/grpc-java

v1.53.0

New Features
  • googleapis: Allow user set c2p bootstrap config (#​9856)
  • xds: Add contain and stringMatcher in RouteConfiguration (#​9845)
  • core: Add grpc-previous-rpc-attempts to the initial response metadata (#​9686)
  • servlet: Implement gRPC server as a Servlet (#​8596)
  • authz: Implement static authorization server interceptor (#​8934)
Examples
  • servlet: Add servlet example (#​8596)
Bug Fixes
  • xds: Update xds error handling logic. Specifically:
    • When the ads stream is closed only send errors to subscribers that haven't yet gotten results
    • Timers to detect missing resources don’t start until the adsStream is ready (#​9745)
    • Call subscriber onError callback when xds client fails to connect to server (#​9827)
  • core: Delay retriable stream master listener close until all sub streams are closed. This fixes the call executor lifecycle and prevents potential RejectedExecutionException. (#​9754)
  • core: Free unused MessageProducer in RetriableStream (#​9853), fixing a Netty buffer memory leak for cancelled RPCs
  • api: Fail with NullPointerException when a Metadata.Marshaller returns null bytes (#​9781). This would previously cause a NullPointerException later during the RPC. Now the return value of the Marshaller is checked immediately, to help find the broken Marshaller
Behavior Changes
  • xds: Disallow duplicate addresses in the RingHashLB. (#​9776)
  • xds: EDS weight sums are allowed up to max unsigned int (was max signed int) (#​9765)
  • xds: Drop xds v2 support (#​9760)
Dependencies
  • JUnit upgraded to 4.13.2
  • bazel: Dropped support for Bazel 4. We track the two most recent major versions of Bazel, Bazel 5 and 6. Bazel 4 may still work, but we are no longer testing it
  • bazel: Include Tomcat annotations dependency for @Generated as used by autovalue (#​9762). Necessary for building xds and rls on Java 9+
  • bazel: Export deps from Maven Central-specific stand-in targets (#​9780). Some Maven Central artifacts are a combination of multiple Bazel targets, like grpc-core is composed of //core:inprocess, //core:internal, //core:util, //api. There is a “//core:core_maven” target used by maven_install that uses the other targets. Previously the target used runtime_deps to discourage their use by Bazel users, but that could cause compilation failures from lack of hjars. These targets now use exports
Acknowledgement

@​cpovirk
@​niloc132
@​stephenh
@​olderwei
@​pandaapo
@​panxuefeng

v1.52.1

Bug Fixes
  • xds: Fix an internal bug in xds resource subscription that might cause xds stream not accepting response update for that resource type entirely. (#​9810)

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
  • Fix CallOptions to be properly @Immutable (#​9689)
  • binder: Promote out of experimental status (#​9669). Much of the API is now stable
New Features
  • xds: Support localities in multiple priorities (#​9683)
  • xds: Log xDS node ID with verbosity INFO when environment variable GRPC_LOG_XDS_NODE_ID=true (#​9731)
Examples
  • Add examples for name resolver and load balancer (#​9700)
  • Swap to ChannelCredentials/ServerCredentials API, as it is preferred
Bug Fixes
  • xds:Fix ConcurrentModificationException in PriorityLoadBalancer (#​9728)
  • ManagedChannelImpl.SubchannelImpl fix args check to avoid NPE (#​9651)
  • okhttp: Add missing server support for TLS ClientAuth (#​9711)
  • binder: Ensure the security interceptor is always closest to the actual transport (#​9716)
  • bazel: Include @​Generated dep for autovalue. This fixes builds of xds and rls using Java 9+
  • xds: Nack xds response when weighted cluster total weight sums zero (#​9738)
  • core: Fix a bug about a retriable stream lifecycle. It stops using the call executor resource in a retriable stream when the client call is closed, thus preventing potential channel panics. (#​9626)
Behavior Changes
  • binder: Set default idle timeout to 60 seconds, and enable "strict lifecycle management". (#​9486)
  • xds: Limit ring hash max size to 4K instead of 8M (#​9709). RingHashOptions.setRingSizeCap() can increase the limit
  • binder: Set default idle timeout to 60 seconds, and add BinderChannelBuilder.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.
  • bazel: Replace ctx.host_configuration.host_path_separator with ctx.configuration.host_path_separator (#​9742). This changes no behavior today, but improves future compatibility with newer versions of Bazel
  • xds: Refactor internal logics about LDS and CDS resource handling. It may cause minor log line changes about corresponding RDS and EDS subscriber event notification, but it should not change xds name resolution and LB behavior. (#​9724)
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
  • xds: Fix ConcurrentModificationException in PriorityLoadBalancer. (#​9744)

Configuration

📅 Schedule: Branch creation - "* * * * *" (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.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot

@risdenk
Copy link
Contributor

risdenk commented Mar 2, 2023

This should be handled with #1399

@solrbot
Copy link
Collaborator Author

solrbot commented Mar 2, 2023

Renovate Ignore Notification

As this PR has been closed unmerged, Renovate will now ignore this update (1.53.0). You will still receive a PR once a newer version is released, so if you wish to permanently ignore this dependency, please add it to the ignoreDeps array of your renovate config.

If this PR was closed by mistake or you changed your mind, you can simply rename this PR and you will soon get a fresh replacement PR opened.

@solrbot solrbot deleted the renovate/io.grpc-grpc branch March 2, 2023 03:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants