Skip to content

chore(deps): update grpc packages to v1.25.0 #5

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

Closed

Conversation

renovate-bot
Copy link
Contributor

This PR contains the following updates:

Package Update Change
io.grpc:grpc-core (source) minor 1.24.0 -> 1.25.0
io.grpc:grpc-bom (source) minor 1.24.0 -> 1.25.0

Release Notes

grpc/grpc-java

v1.25.0

Compare Source

Dependencies

  • Bumped netty to 4.1.42
  • Bumped error_prone_annotations to 2.3.3
  • Bumped perfmark to 0.19.0
  • Bumped guava to 28.1
  • Bumped gson to 2.8.5
  • Bumped protobuf to 3.10.0
  • Tests bumped truth to 1.0

Bug Fixes

  • Rolled forward the fix for “ClientCall.Listener.onClose never called when the call is interrupted” (#​6255)
  • netty: fixed the bug that users using proxy may experience hang when starting channel (#​6159)
  • alts: fixed potential memory leak when alts negotiation is aborted (#​6186)
  • alts: fixed wrong ComputeEngineChannelBuilder class signature (#​6367)
  • bom: now specifying pom type for protoc-gen-grpc-java (#​6247)
  • netty: Check for TE: trailers header after checking Content-Type. This prevents confusing warnings when a non-grpc client contacts a grpc server
  • bazel: Fixed typo in repositories.bzl for maven_install override_targets; io.grpc:grpc-core was pointing to a non-existent target name
  • okhttp: fixed header scheme that did not match transport type (#​6264). OkHttp users using plaintext may experience errors when communicating with dotnet gRPC server is fixed.

API Changes

  • api: MethodDescriptor’s safe and idempotent methods are now considered stable and set appropriately by the generated code when the proto contains the RPC option option idempotency_level = NO_SIDE_EFFECTS; or option idempotency_level = IDEMPOTENT;. grpc-java is not using these values directly, but interceptors are free to observe them
  • protobuf: StatusProto.fromStatusAndTrailers fall-back to status if trailers are not available (#​6278). Previously it returned null
  • bazel: Removed deps from grpc_java_repositories() that protobuf_deps() provides
  • ManageChannelBuilder.usePlaintext() (with no argument) is now stabilized.

New Features

  • okhttp: add full implementation of HPACK header compression (#​6026). Patched HTTP header compression implementation for writer from OkHttp3, which was missing in OkHttp2.
  • bazel: added support for --incompatible_load_cc_rules_from_bzl and --incompatible_load_proto_rules_from_bzl
  • netty: Implicitly use Conscrypt when it is available and is necessary. If tcnative is not available and the JVM is Java 7 or 8, then grpc will use Conscrypt if present. This allows using Conscrypt by just adding Conscrypt to the classpath
  • alts: Use Conscrypt when available. This provides Java 7 support and gives a huge performance boost on Java 8. Java 7 update 121 and Java 8 update 111 (released three years ago) are required.
  • api: Add EquivalentAddressGroup.ATTR_AUTHORITY_OVERRIDE which allows NameResolvers to specify different names for different backends within one Channel which may be especially useful for certain TLS deployments (#​6126). Note that NameResolvers must receive the authority names from a trusted source (e.g., local file, remote server with TLS)
  • core: Propagate EquivalentAddressGroup Attributes in RoundRobinLoadBalancer. This allows NameResolvers to set attributes like ATTR_AUTHORITY_OVERRIDE with round robin
  • api: Added ManagedChannelBuilder.offloadExecutor() for expensive or blocking operations like DNS resolution. Previously an internal executor was used that couldn’t be overridden. The executor is also passed to NameResolvers via Args.getOffloadExecutor()
  • grpclb: Add dns NameResolver to io.grpc.grpclb that has SRV record lookup enabled by default (#​6298). This allows using grpclb without the -Dio.grpc.internal.DnsNameResolverProvider.enable_grpclb=true system property. Note that grpclb is still experimental and deprecated. In particular, we plan to change grpclb policy selection which together with this change provides a path forward for grpclb to function without custom support in grpc-core; see gRFC A26

Acknowledgements

v1.24.2

Compare Source

Dependencies

  • Bumped perfmark to 0.19.0
  • Bumped error_prone_annotations to 2.3.3

Bug Fixes

  • alts: fixed wrong ComputeEngineChannelBuilder class signature (#​6381)

New Features

  • grpclb: Add dns NameResolver to io.grpc.grpclb that has SRV record lookup enabled by default (#​6298). This allows using grpclb without the -Dio.grpc.internal.DnsNameResolverProvider.enable_grpclb=true system property. Note that grpclb is still experimental and deprecated. In particular, we plan to change grpclb policy selection which together with this change provides a path forward for grpclb to function without custom support in grpc-core; see gRFC A26

v1.24.1

Compare Source

This release resolves proxy hang issue during initial protocol negotiation, users using proxy should upgrade.
ADDED: please upgrade to 1.24.2 or 1.25.0, see known issues for more details.

Known Issues

  • grpclb change described in new features is not part of this release, users should upgrade to 1.24.2 or 1.25.0.
  • Users may see dependency failing error about error_prone_annotations version requirement when building the application (#​6217). Adding perkmark 0.19.0 (io.perfmark:perfmark-api:0.19.0) to dependency can workaround this issue.

Dependencies

  • Bump perfmark to 0.19.0 correction: didn't made the cut

Bug Fixes

  • netty: Users using proxy may experience hang is fixed (#​6159).
  • bom: specify pom type for protoc-gen-grpc-java (#​6247).
  • okhttp: fix header scheme does not match transport type (#​6264). OkHttp users using plaintext may experienced error when communicate with dotnet gRPC server is fixed.

New Features

  • grpclb: Add dns NameResolver to io.grpc.grpclb that has SRV record lookup enabled by default (#​6298). This allows using grpclb without the -Dio.grpc.internal.DnsNameResolverProvider.enable_grpclb=true system property. Note that grpclb is still experimental and deprecated. In particular, we plan to change grpclb policy selection which together with this change provides a path forward for grpclb to function without custom support in grpc-core; see gRFC A26 correction: didn't made the cut, please use 1.25.0 or 1.24.2.

Renovate configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻️ Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "rebase!".

🔕 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

Newsflash: Renovate has joined WhiteSource, and is now free for all use. Learn more or view updated terms and privacy policies.

@trusted-contributions-gcf trusted-contributions-gcf bot added the kokoro:run Add this label to force Kokoro to re-run the tests. label Nov 18, 2019
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Nov 18, 2019
@kokoro-team kokoro-team removed the kokoro:run Add this label to force Kokoro to re-run the tests. label Nov 18, 2019
@renovate-bot renovate-bot force-pushed the renovate/grpc-packages branch from fbbf81b to c0ae50e Compare November 18, 2019 20:37
@BenWhitehead BenWhitehead added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Nov 19, 2019
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Nov 19, 2019
@codecov
Copy link

codecov bot commented Nov 19, 2019

Codecov Report

❗ No coverage uploaded for pull request base (master@d00e25e). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master       #5   +/-   ##
=========================================
  Coverage          ?   71.36%           
  Complexity        ?      988           
=========================================
  Files             ?       62           
  Lines             ?     5319           
  Branches          ?      598           
=========================================
  Hits              ?     3796           
  Misses            ?     1336           
  Partials          ?      187

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d00e25e...c0ae50e. Read the comment docs.

@forking-renovate
Copy link

PR has been edited

👷 This PR has received other commits, so Renovate will stop updating it to avoid conflicts or other problems. If you wish to abandon your changes and have Renovate start over you may click the "rebase" checkbox in the PR body/description.

@BenWhitehead
Copy link
Collaborator

replaced by #18

@forking-renovate
Copy link

Renovate Ignore Notification

As this PR has been closed unmerged, Renovate will now ignore this update (1.25.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.

@renovate-bot renovate-bot deleted the renovate/grpc-packages branch November 21, 2019 20:40
BenWhitehead added a commit that referenced this pull request Nov 21, 2019
All updates:
| Package | Update | Change |
|---|---|---|
| [com.google.cloud:google-cloud-core-grpc](https://togithub.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc) | patch | `1.91.2` -> `1.91.3` |
| [com.google.api:gax-bom](https://togithub.com/googleapis/gax-java) ([source](https://togithub.com/googleapis/gax-java)) | minor | `1.49.0` -> `1.50.1` |
| [com.google.api:gax-grpc](https://togithub.com/googleapis/gax-java) ([source](https://togithub.com/googleapis/gax-java)) | minor | `1.49.0` -> `1.50.1` |
| [io.grpc:grpc-core](https://togithub.com/grpc/grpc-java) ([source](https://togithub.com/grpc/grpc-java)) | minor | `1.24.0` -> `1.25.0` |
| [io.grpc:grpc-bom](https://togithub.com/grpc/grpc-java) ([source](https://togithub.com/grpc/grpc-java)) | minor | `1.24.0` -> `1.25.0` |

**manually copied and merged from the following PRs**
* #1 chore(deps): update dependency com.google.cloud:google-cloud-core-grpc to v1.91.3
* #4 chore(deps): update gax.version to v1.50.1
* #5 chore(deps): update grpc packages to v1.25.0
BenWhitehead added a commit that referenced this pull request Nov 22, 2019
All updates:
| Package | Update | Change |
|---|---|---|
| [com.google.cloud:google-cloud-core-grpc](https://togithub.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc) | patch | `1.91.2` -> `1.91.3` |
| [com.google.api:gax-bom](https://togithub.com/googleapis/gax-java) ([source](https://togithub.com/googleapis/gax-java)) | minor | `1.49.0` -> `1.50.1` |
| [com.google.api:gax-grpc](https://togithub.com/googleapis/gax-java) ([source](https://togithub.com/googleapis/gax-java)) | minor | `1.49.0` -> `1.50.1` |
| [io.grpc:grpc-core](https://togithub.com/grpc/grpc-java) ([source](https://togithub.com/grpc/grpc-java)) | minor | `1.24.0` -> `1.25.0` |
| [io.grpc:grpc-bom](https://togithub.com/grpc/grpc-java) ([source](https://togithub.com/grpc/grpc-java)) | minor | `1.24.0` -> `1.25.0` |

**manually copied and merged from the following PRs**
* #1 chore(deps): update dependency com.google.cloud:google-cloud-core-grpc to v1.91.3
* #4 chore(deps): update gax.version to v1.50.1
* #5 chore(deps): update grpc packages to v1.25.0
BenWhitehead added a commit that referenced this pull request Nov 25, 2019
All updates:
| Package | Update | Change |
|---|---|---|
| [com.google.cloud:google-cloud-core-grpc](https://togithub.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc) | patch | `1.91.2` -> `1.91.3` |
| [com.google.api:gax-bom](https://togithub.com/googleapis/gax-java) ([source](https://togithub.com/googleapis/gax-java)) | minor | `1.49.0` -> `1.50.1` |
| [com.google.api:gax-grpc](https://togithub.com/googleapis/gax-java) ([source](https://togithub.com/googleapis/gax-java)) | minor | `1.49.0` -> `1.50.1` |
| [io.grpc:grpc-core](https://togithub.com/grpc/grpc-java) ([source](https://togithub.com/grpc/grpc-java)) | minor | `1.24.0` -> `1.25.0` |
| [io.grpc:grpc-bom](https://togithub.com/grpc/grpc-java) ([source](https://togithub.com/grpc/grpc-java)) | minor | `1.24.0` -> `1.25.0` |

**manually copied and merged from the following PRs**
* #1 chore(deps): update dependency com.google.cloud:google-cloud-core-grpc to v1.91.3
* #4 chore(deps): update gax.version to v1.50.1
* #5 chore(deps): update grpc packages to v1.25.0
ehsannas added a commit that referenced this pull request May 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants