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

Commit

Permalink
deps: update dependency io.grpc:grpc-bom to v1.30.0 (#68)
Browse files Browse the repository at this point in the history
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [io.grpc:grpc-bom](https://github.com/grpc/grpc-java) | minor | `1.29.0` -> `1.30.0` |

---

### Release Notes

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

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

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

##### Behavioral Changes

-   netty: Bandwidth delay product (BDP) is enabled by default ([#&#8203;6979](https://github.com/grpc/grpc-java/issues/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 ([#&#8203;6923](https://github.com/grpc/grpc-java/issues/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 ([#&#8203;6968](https://github.com/grpc/grpc-java/issues/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 ([#&#8203;6947](https://github.com/grpc/grpc-java/issues/6947)). Adds a new API on `NettyServerBuilder` to allow passing channel options for the boss ELG.

##### Bug Fixes

-   okhttp&amp;#x3A; use new APIs to configure TLS in Android (roll forward of [#&#8203;6959](https://github.com/grpc/grpc-java/issues/6959)) ([#&#8203;6960](https://github.com/grpc/grpc-java/issues/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 ([#&#8203;7048](https://github.com/grpc/grpc-java/issues/7048)).
-   api, core, services: make ProtoReflectionService interceptor compatible ([#&#8203;6967](https://github.com/grpc/grpc-java/issues/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 ([#&#8203;6962](https://github.com/grpc/grpc-java/issues/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 ([#&#8203;6936](https://github.com/grpc/grpc-java/issues/6936)). [grpc-kotlin](https://github.com/grpc/grpc-kotlin) was officially released and examples can be found in its own repository.

##### Acknowledgements

[@&#8203;agasparovic-sabre](https://github.com/agasparovic-sabre)
[@&#8203;AgentK20](https://github.com/AgentK20)
[@&#8203;apolcyn](https://github.com/apolcyn)
[@&#8203;asdf2014](https://github.com/asdf2014)
[@&#8203;ashithasantosh](https://github.com/ashithasantosh)
[@&#8203;chalin](https://github.com/chalin)
[@&#8203;bogdandrutu](https://github.com/bogdandrutu)
[@&#8203;DRayX](https://github.com/DRayX)
[@&#8203;hojongs](https://github.com/hojongs)
[@&#8203;Nextproc](https://github.com/Nextproc)
[@&#8203;plaflamme](https://github.com/plaflamme)
[@&#8203;reggiemcdonald](https://github.com/reggiemcdonald)
[@&#8203;RiyaTyagi](https://github.com/RiyaTyagi)

</details>

---

### Renovate configuration

:date: **Schedule**: At any time (no schedule defined).

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

:recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

:no_bell: **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 [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-shared-dependencies).
  • Loading branch information
renovate-bot authored Jun 9, 2020
1 parent 410fcc7 commit ccf2310
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<site.installationModule>${project.artifactId}</site.installationModule>

<grpc.version>1.29.0</grpc.version>
<grpc.version>1.30.0</grpc.version>
<gax.version>1.56.0</gax.version>
<guava.version>29.0-android</guava.version>
<protobuf.version>3.12.2</protobuf.version>
Expand Down

0 comments on commit ccf2310

Please sign in to comment.