Skip to content

Commit

Permalink
deps: update dependency io.grpc:grpc-core to v1.53.0 (#1463)
Browse files Browse the repository at this point in the history
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [io.grpc:grpc-core](https://github.com/grpc/grpc-java) | `1.51.0` -> `1.53.0` | [![age](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-core/1.53.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-core/1.53.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-core/1.53.0/compatibility-slim/1.51.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-core/1.53.0/confidence-slim/1.51.0)](https://docs.renovatebot.com/merge-confidence/) |

---

### ⚠ Dependency Lookup Warnings ⚠

Warnings were logged while processing this repo. Please check the Dependency Dashboard for more information.

---

### Release Notes

<details>
<summary>grpc/grpc-java</summary>

### [`v1.53.0`](https://github.com/grpc/grpc-java/releases/tag/v1.53.0)

[Compare Source](https://github.com/grpc/grpc-java/compare/v1.52.1...v1.53.0)

##### New Features

-   googleapis: Allow user set c2p bootstrap config ([#&#8203;9856](https://github.com/grpc/grpc-java/issues/9856))
-   xds: Add contain and stringMatcher in `RouteConfiguration` ([#&#8203;9845](https://github.com/grpc/grpc-java/issues/9845))
-   core: Add `grpc-previous-rpc-attempts` to the initial response metadata ([#&#8203;9686](https://github.com/grpc/grpc-java/issues/9686))
-   servlet: Implement gRPC server as a Servlet ([#&#8203;8596](https://github.com/grpc/grpc-java/issues/8596))
-   authz: Implement static authorization server interceptor ([#&#8203;8934](https://github.com/grpc/grpc-java/issues/8934))

##### Examples

-   servlet: Add servlet example ([#&#8203;8596](https://github.com/grpc/grpc-java/issues/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 ([#&#8203;9745](https://github.com/grpc/grpc-java/issues/9745))
    -   Call subscriber onError callback when xds client fails to connect to server ([#&#8203;9827](https://github.com/grpc/grpc-java/issues/9827))
-   core: Delay retriable stream master listener close until all sub streams are closed. This fixes the call executor lifecycle and prevents potential `RejectedExecutionException`. ([#&#8203;9754](https://github.com/grpc/grpc-java/issues/9754))
-   core: Free unused `MessageProducer` in `RetriableStream` ([#&#8203;9853](https://github.com/grpc/grpc-java/issues/9853)), fixing a Netty buffer memory leak for cancelled RPCs
-   api: Fail with `NullPointerException` when a Metadata.Marshaller returns null bytes ([#&#8203;9781](https://github.com/grpc/grpc-java/issues/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. ([#&#8203;9776](https://github.com/grpc/grpc-java/issues/9776))
-   xds: EDS weight sums are allowed up to max unsigned int (was max signed int) ([#&#8203;9765](https://github.com/grpc/grpc-java/issues/9765))
-   xds: Drop xds v2 support ([#&#8203;9760](https://github.com/grpc/grpc-java/issues/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 ([#&#8203;9762](https://github.com/grpc/grpc-java/issues/9762)). Necessary for building xds and rls on Java 9+
-   bazel: Export deps from Maven Central-specific stand-in targets ([#&#8203;9780](https://github.com/grpc/grpc-java/issues/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

[@&#8203;cpovirk](https://github.com/cpovirk)
[@&#8203;niloc132](https://github.com/niloc132)
[@&#8203;stephenh](https://github.com/stephenh)
[@&#8203;olderwei](https://github.com/olderwei)
[@&#8203;pandaapo](https://github.com/pandaapo)
[@&#8203;panxuefeng](https://github.com/panxuefeng)

### [`v1.52.1`](https://github.com/grpc/grpc-java/releases/tag/v1.52.1)

[Compare Source](https://github.com/grpc/grpc-java/compare/v1.52.0...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. ([#&#8203;9810](https://github.com/grpc/grpc-java/issues/9810))

### [`v1.52.0`](https://github.com/grpc/grpc-java/releases/tag/v1.52.0)

[Compare Source](https://github.com/grpc/grpc-java/compare/v1.51.3...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](https://github.com/grpc/grpc-java/pull/9809)**

##### API Changes

-   Fix CallOptions to be properly `@Immutable` ([#&#8203;9689](https://github.com/grpc/grpc-java/issues/9689))
-   binder: Promote out of experimental status ([#&#8203;9669](https://github.com/grpc/grpc-java/issues/9669)). Much of the API is now stable

##### New Features

-   xds: Support localities in multiple priorities ([#&#8203;9683](https://github.com/grpc/grpc-java/issues/9683))
-   xds: Log xDS node ID with verbosity INFO when environment variable GRPC_LOG_XDS_NODE_ID=true ([#&#8203;9731](https://github.com/grpc/grpc-java/issues/9731))

##### Examples

-   Add examples for name resolver and load balancer ([#&#8203;9700](https://github.com/grpc/grpc-java/issues/9700))
-   Swap to ChannelCredentials/ServerCredentials API, as it is preferred

##### Bug Fixes

-   xds:Fix ConcurrentModificationException in PriorityLoadBalancer ([#&#8203;9728](https://github.com/grpc/grpc-java/issues/9728))
-   ManagedChannelImpl.SubchannelImpl fix args check to avoid NPE ([#&#8203;9651](https://github.com/grpc/grpc-java/issues/9651))
-   okhttp: Add missing server support for TLS ClientAuth ([#&#8203;9711](https://github.com/grpc/grpc-java/issues/9711))
-   binder: Ensure the security interceptor is always closest to the actual transport ([#&#8203;9716](https://github.com/grpc/grpc-java/issues/9716))
-   bazel: Include [@&#8203;Generated](https://github.com/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  ([#&#8203;9738](https://github.com/grpc/grpc-java/issues/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. ([#&#8203;9626](https://github.com/grpc/grpc-java/issues/9626))

##### Behavior Changes

-   binder: Set default idle timeout to 60 seconds, and enable "strict lifecycle management". ([#&#8203;9486](https://github.com/grpc/grpc-java/issues/9486))
-   xds: Limit ring hash max size to 4K instead of 8M ([#&#8203;9709](https://github.com/grpc/grpc-java/issues/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 ([#&#8203;9486](https://github.com/grpc/grpc-java/issues/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 ([#&#8203;9742](https://github.com/grpc/grpc-java/issues/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. ([#&#8203;9724](https://github.com/grpc/grpc-java/issues/9724))

##### Dependencies

##### Acknowledgement

[@&#8203;RapperCL](https://github.com/RapperCL)
[@&#8203;Smityz](https://github.com/Smityz)
[@&#8203;pandaapo](https://github.com/pandaapo)

### [`v1.51.3`](https://github.com/grpc/grpc-java/releases/tag/v1.51.3)

[Compare Source](https://github.com/grpc/grpc-java/compare/v1.51.1...v1.51.3)

##### 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. ([https://github.com/grpc/grpc-java/pull/9811](https://github.com/grpc/grpc-java/pull/9811))

### [`v1.51.1`](https://github.com/grpc/grpc-java/releases/tag/v1.51.1)

[Compare Source](https://github.com/grpc/grpc-java/compare/v1.51.0...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](https://github.com/grpc/grpc-java/pull/9809)**

##### Bug Fixes

-   xds: Fix ConcurrentModificationException in PriorityLoadBalancer. ([#&#8203;9744](https://github.com/grpc/grpc-java/issues/9744))

</details>

---

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

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/gapic-generator-java).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xNDYuMiIsInVwZGF0ZWRJblZlciI6IjM0LjE0Ni4yIn0=-->
  • Loading branch information
renovate-bot authored Mar 9, 2023
1 parent c0d851a commit 6762df6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gax-java/dependencies.properties
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ version.gax_httpjson=0.108.3-SNAPSHOT
# with the sources.
version.com_google_protobuf=3.21.10
version.google_java_format=1.15.0
version.io_grpc=1.51.0
version.io_grpc=1.53.0

# Maven artifacts.
# Note, the actual name of each property matters (bazel build scripts depend on it).
Expand Down

0 comments on commit 6762df6

Please sign in to comment.