Skip to content
This repository has been archived by the owner on Sep 16, 2023. It is now read-only.

deps: update dependency io.grpc:grpc-bom to v1.30.0 #161

Merged

Conversation

renovate-bot
Copy link
Contributor

@renovate-bot renovate-bot commented Jun 8, 2020

This PR contains the following updates:

Package Update Change
io.grpc:grpc-bom minor 1.29.0 -> 1.30.0

Release Notes

grpc/grpc-java

v1.30.0

Compare Source

Behavioral Changes

  • netty: Bandwidth delay product (BDP) is enabled by default (#​6979). BDP dynamically adjusts flow control window to optimize the network bandwidth utilization. To disable this feature, build channel/server with NettyChannelBuilder#flowControlWindow or NettyServerBuilder#flowControlWindow. Existing flowControlWindow users need to use initialFlowWindowSize to enable BDP.

New Features

  • core: ManagedChannel provides LoadBalancer#Helper with implemented createResolvingOobChannel (#​6923).
  • stub: Add ClientCallStreamObserver.disableAutoRequestWithInitial(int) and ServerCallStreamObserver.disableAutoRequest() that disables all automatic inbound flow-control requests. These methods are intended to replace the existing CallStreamObserver.disableAutoInboundFlowControl(). There may still be some tweaks to the API, so disableAutoInboundFlowControl() is not yet deprecated
  • inprocess,core: add ability to pass status cause to client (#​6968). The new API is added to InprocessChannelBuilder to show stacktrace from transport when an error happens in tests.
  • netty: support setting options of boss in NettyServer (#​6947). Adds a new API on NettyServerBuilder to allow passing channel options for the boss ELG.

Bug Fixes

  • okhttp: use new APIs to configure TLS in Android (roll forward of #​6959) (#​6960). Starting from Android 10, there is a new set of public APIs for configuring TLS, where we were previously invoking hidden methods in SSLSocket. Some of those hidden methods are no longer allowed (will be removed in the future) in Android 11. We migrate to use public APIs whenever possible.
  • netty: Using classloader to isolate grpc without isolating netty can cause exceptions when creating netty channel/server is fixed (#​7048).
  • api, core, services: make ProtoReflectionService interceptor compatible (#​6967). Previously intercepting the ProtoReflectionService breaks the internal hack of passing the server instance to the service. Now we change the way of how it obtains the server instance so that applying interceptors to it doesn’t break its functionality. This change also allows multiple servers to use a shared ProtoReflectionService instance.
  • netty: Reduce race window size between GOAWAY and new streams. This should greatly reduce the number of calls that fail with errors similar to “UNAVAILABLE: HTTP/2 error code: NO_ERROR Received Goaway.” Although note that these errors have multiple sources, and it only addresses one of them
  • core: Delay transport shutdown when changing a subchannel’s addresses. This should prevent users from seeing errors saying “UNAVAILABLE: InternalSubchannel closed transport due to address change,” which should have already been rare

Documentation

  • For Java 9+ users, we now recommend using org.apache.tomcat:annotations-api for the @Generated annotation instead of javax.annotation:javax.annotation-api, as it has a more appropriate license
  • SECURITY.md: add instruction for disabling Conscrypt's default TrustManager (#​6962). By default, Conscrypt delegates hostname verification to the platform's default HostNameVerifier, which in OpenJDK is a deny-all implementation. You can configure the Conscrypt provider to not use its TrustManager.

Dependencies

  • Starting from this version, some transitive dependencies of gRPC artifacts are changed from compile scope to runtime scope. Users may experience their application can not rebuild once the gRPC version is upgraded, because some other component of the project may require a dependency that is no longer transitively provided by gRPC artifacts at compile time; and if that happens, users should explicitly add that dependency for the other component. This change does not affect running the application at runtime.
  • Bumped protobuf to 3.12.0

Examples

  • Deleted example-kotlin (#​6936). grpc-kotlin was officially released and examples can be found in its own repository.

Acknowledgements

@​agasparovic-sabre
@​AgentK20
@​apolcyn
@​asdf2014
@​ashithasantosh
@​chalin
@​bogdandrutu
@​DRayX
@​hojongs
@​Nextproc
@​plaflamme
@​reggiemcdonald
@​RiyaTyagi


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 you tick the rebase/retry checkbox.

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


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

This PR has been generated by WhiteSource Renovate. View repository job log here.

@trusted-contributions-gcf trusted-contributions-gcf bot added the kokoro:run Add this label to force Kokoro to re-run the tests. label Jun 8, 2020
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Jun 8, 2020
@codecov
Copy link

codecov bot commented Jun 8, 2020

Codecov Report

Merging #161 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master     #161   +/-   ##
=========================================
  Coverage     72.70%   72.70%           
  Complexity      118      118           
=========================================
  Files            12       12           
  Lines           762      762           
  Branches          2        2           
=========================================
  Hits            554      554           
  Misses          206      206           
  Partials          2        2           

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 69a8524...6663fe1. Read the comment docs.

@yoshi-kokoro yoshi-kokoro removed the kokoro:run Add this label to force Kokoro to re-run the tests. label Jun 8, 2020
@trusted-contributions-gcf trusted-contributions-gcf bot added the kokoro:run Add this label to force Kokoro to re-run the tests. label Jun 8, 2020
@yoshi-kokoro yoshi-kokoro removed the kokoro:run Add this label to force Kokoro to re-run the tests. label Jun 10, 2020
@munkhuushmgl munkhuushmgl added the automerge Merge the pull request once unit tests and other checks pass. label Jun 10, 2020
@gcf-merge-on-green gcf-merge-on-green bot merged commit 09240a3 into googleapis:master Jun 10, 2020
@renovate-bot renovate-bot deleted the renovate/core-dependencies branch June 10, 2020 20:30
gcf-merge-on-green bot pushed a commit that referenced this pull request Aug 11, 2020
🤖 I have created a release \*beep\* \*boop\* 
---
## [1.101.0](https://www.github.com/googleapis/java-language/compare/v1.100.0...v1.101.0) (2020-08-07)


### Features

* **deps:** adopt flatten plugin and google-cloud-shared-dependencies ([#176](https://www.github.com/googleapis/java-language/issues/176)) ([da9046c](https://www.github.com/googleapis/java-language/commit/da9046c2feaa90268761ba15e9b900ee183e2e3e))


### Bug Fixes

* migrate to grpc_service_config ([#188](https://www.github.com/googleapis/java-language/issues/188)) ([3d1762d](https://www.github.com/googleapis/java-language/commit/3d1762d33fc2d18d79c4f238b62fc44954fab39e))


### Dependencies

* update dependency com.google.api:api-common to v1.9.1 ([#150](https://www.github.com/googleapis/java-language/issues/150)) ([6d241fa](https://www.github.com/googleapis/java-language/commit/6d241fadb64cc5def074042ae80fc93042066463))
* update dependency com.google.api:api-common to v1.9.2 ([#157](https://www.github.com/googleapis/java-language/issues/157)) ([83bf00b](https://www.github.com/googleapis/java-language/commit/83bf00b3217acff6ac7cc6d309a0c006c906d27a))
* update dependency com.google.api.grpc:proto-google-common-protos to v1.18.0 ([#139](https://www.github.com/googleapis/java-language/issues/139)) ([d1b8516](https://www.github.com/googleapis/java-language/commit/d1b8516a1229ecc0807144b69dc9fe9e48b63c78))
* update dependency com.google.cloud:google-cloud-shared-dependencies to v0.8.2 ([#189](https://www.github.com/googleapis/java-language/issues/189)) ([34c2867](https://www.github.com/googleapis/java-language/commit/34c2867a19c29f59f89e8205a8c6ebdcfbbf8285))
* update dependency com.google.cloud:google-cloud-shared-dependencies to v0.8.3 ([#191](https://www.github.com/googleapis/java-language/issues/191)) ([ab13ac1](https://www.github.com/googleapis/java-language/commit/ab13ac15c46bed94902d176fc0a4d1264aea4e7e))
* update dependency com.google.cloud:google-cloud-shared-dependencies to v0.8.6 ([#199](https://www.github.com/googleapis/java-language/issues/199)) ([9608a5b](https://www.github.com/googleapis/java-language/commit/9608a5be225fcebf138bb820c049c555aaea195d))
* update dependency com.google.protobuf:protobuf-java to v3.12.0 ([#143](https://www.github.com/googleapis/java-language/issues/143)) ([9cc04fa](https://www.github.com/googleapis/java-language/commit/9cc04fa0e3be5864757f549f8c65b203c985ab34))
* update dependency com.google.protobuf:protobuf-java to v3.12.2 ([#148](https://www.github.com/googleapis/java-language/issues/148)) ([69a8524](https://www.github.com/googleapis/java-language/commit/69a85247c7f521e94d2f9c3a75e8dc2fb7ae2f42))
* update dependency io.grpc:grpc-bom to v1.29.0 ([#129](https://www.github.com/googleapis/java-language/issues/129)) ([d24999c](https://www.github.com/googleapis/java-language/commit/d24999c81bcfb95ceeeb6dc1a92afc577838ef23))
* update dependency io.grpc:grpc-bom to v1.30.0 ([#161](https://www.github.com/googleapis/java-language/issues/161)) ([09240a3](https://www.github.com/googleapis/java-language/commit/09240a31bb6f5e1d6ae597521ebab080c68ac896))
* update dependency org.threeten:threetenbp to v1.4.4 ([#135](https://www.github.com/googleapis/java-language/issues/135)) ([a4fdbc3](https://www.github.com/googleapis/java-language/commit/a4fdbc3265a02669fc1cd2494bb8fcbf5ca81bdd))
---


This PR was generated with [Release Please](https://github.com/googleapis/release-please).
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
automerge Merge the pull request once unit tests and other checks pass. 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