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.56.0 #1715

Merged
merged 1 commit into from
Jun 23, 2023
Merged

Conversation

solrbot
Copy link
Collaborator

@solrbot solrbot commented Jun 18, 2023

This PR contains the following updates:

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

Release Notes

grpc/grpc-java

v1.56.0

API Changes
  • api: Stabilize the SynchronizationContext class (#​10130).
  • api: Stabilize 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.
  • api: Stabilize the ProxyDetector hierarchy and ManagedChannelBuilder.proxyDetector method.
Behavior Changes
  • core: Sticky TRANSIENT_FAILURE in PickFirstLoadBalancer (#​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.
  • stub: Add a null check for responseObserver into the methods for initiating a call that takes a responseObserver argument. This ensures a fail fast with a clearer cause instead of an NPE when the observer is first used.
  • xds: Flip default for RLS being enabled to true for XDS (#​10248) (#​10252). If there are no RLS configurations in your XDS or you already enabled it with the environment variable this will have no effect. To disable it, set the flag GRPC_EXPERIMENTAL_XDS_RLS_LB to false.
  • xds: Rename weighted_round_robin_experimental LB Policy to weighted_round_robin (#​10162).
New Features
  • protobuf,protobuf-lite: Allow to configure protobuf recursion limit (#​10094).
  • core: Optional address shuffle in PickFirstLoadBalancer (#​10110).
  • xds: pick_first LB configuration (#​10181).
Improvements
  • xds: Add error-per-second in weight formula for client-side WRR (#​10177).
  • xds: Use application_utilization and fallback to cpu_utilization if unset in weight formula for client-side WRR. (#​10256).
  • bazel: The README now mentions Bazel and where to find the example. (#​10217).
Bug Fixes
  • binder: Handle unexpected exceptions on binder threads. (#​10092.
  • ​​android,binder,cronet: .aar file when publishing. (#​10138).
  • api: Fix boundary check in Status.fromCodeValue(). (#​10155).
  • core: Don't use system Locale for content-type matching. (#​10097).
  • okhttp: Fix signed-byte comparison in server when checking for ASCII in header (#​10151). Without fix, authority could contain utf-8.
Dependencies
  • Version pinning (e.g., [1.56.0] instead of 1.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).
  • bazel: Add java toolchain type to all rules using java_common. (#​10225).
  • Upgraded netty-tcnative-boringssl-static in grpc-netty-shaded to 2.0.61.Final (#​10260). Netty itself was not updated.
  • Upgraded AndroidX Annotation to 1.6.0 (#​10178).
  • Upgraded AndroidX Core to 1.10.0 (#​10178).
  • Upgraded AndroidX Lifecycle-Common to 2.6.1 (#​10178).
  • Upgraded OpenCensus to 0.31.1 (#​10178).
  • Upgraded Cronet API to 108.5359.79 (#​10178).
  • Upgraded proto-google-common-protos to 2.17.0 (#​10178).
  • Upgraded Gson to 2.10.1 (#​10178).
  • Upgraded PerfMark API to 0.26.0 (#​10178).
  • Upgraded RE2/J to 1.7 (#​10178).
Acknowledgements

Configuration

📅 Schedule: Branch creation - "* * * * 0" (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 Jun 23, 2023

We can remove this specific versions.props constraint for grpc since its constrained by the google cloud bom and we have been keeping it up to date.

@risdenk
Copy link
Contributor

risdenk commented Jun 23, 2023

I stand corrected. I tried to remove the constraint and Google cloud bom only handles some grpc dependencies.


* What went wrong:
A problem occurred configuring root project 'solr-root'.
> Could not compute lock state from configuration 'unifiedClasspath' due to unresolved dependencies:
   * io.grpc:grpc-netty (requested: 'io.grpc:grpc-netty' because: requested)
        Failures:
           - Could not find io.grpc:grpc-netty:.

@risdenk risdenk self-assigned this Jun 23, 2023
@risdenk risdenk merged commit f41c9be into apache:main Jun 23, 2023
risdenk pushed a commit that referenced this pull request Jun 23, 2023
@solrbot solrbot deleted the renovate/io.grpc-grpc branch June 23, 2023 14:19
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