Skip to content

feat: expose creation of HealthService and HealthReporter - #2251

Merged
LucioFranco merged 2 commits into
grpc:masterfrom
LeonHartley:master
May 5, 2025
Merged

LucioFranco merged 2 commits into
grpc:masterfrom
LeonHartley:master

Conversation

@LeonHartley

Copy link
Copy Markdown
Contributor

We'd like to use tonic-health however we can't currently due to our usage of boxing. I'd like to publicly expose the creation of both HealthReporter and HealthService so we can create our own instances.

Motivation

health_reporter() function returns HealthServer<impl Health> which means it can't be boxed due to the impl Health.

Solution

Instead of changing existing API, we can just publicly expose the creation functions, and then use HealthServer<HealthService> directly.

@LucioFranco
LucioFranco added this pull request to the merge queue May 5, 2025
Merged via the queue into grpc:master with commit aa27260 May 5, 2025
github-merge-queue Bot pushed a commit that referenced this pull request May 6, 2025
* Add From<T> for Response<T> (#1064)

Co-authored-by: tottoto <[email protected]>

* chore: Add getrandom and wasi crate to cargo-deny skip config (#2169)

* chore(examples): Update to rand 0.9 (#2168)

* chore(interop): Replace repeat and take with repeat_n (#2170)

* Update LICENSE (#2167)

* chore(transport): Update url to http crate document (#2173)

* chore: Refactor redundant pattern match (#2174)

* chore(transport): Remove redundant type reconstruct (#2176)

* chore: Update to strum 0.27 (#2180)

* feat: optional `SSLKEYLOGFILE` support (#1539)

Add a `use_key_log` option to server and client TLS configs that -- when
set -- will enable rustls's `SSLKEYLOGFILE` handling.

This is helpful when you want to intercept TLS traffic for debugging and
is generally supported by many libraries and browsers. Also see:
https://wiki.wireshark.org/TLS#using-the-pre-master-secret

* chore: Remove html_root_url (#2184)

* chore: Remove unused mutability (#2183)

* chore: Update generated code (#2222)

* chore: Update cargo-deny config (#2210)

* chore: Add rustix and linux-raw-sys crate to cargo-deny skip config

* chore: Ignore RUSTSEC-2024-0436

* Remove unnecessary mut (#2219)

* remove unnecessary mut

* remove unnecessary mut for health_reporter

---------

Co-authored-by: tottoto <[email protected]>

* chore: fix some comments (#2224)

Signed-off-by: jimmycathy <[email protected]>
Co-authored-by: tottoto <[email protected]>

* feat: Allow convert i32 to Code in const context (#2195)

* chore: Disable unused tower feature (#2196)

* chore(router): Remove unnecessary body type converting (#2214)

* chore(server): Use standard library pin macro (#2212)

* chore(build): Use idiomatic api (#2211)

* feat(tonic): Exclude benches-disabled to remove Apache-2.0 resource (#2204)

* chore(ci): Add concurrency group to cancel old ci (#2202)

* chore(test): Use library crate in test (#2201)

* chore: Remove unused rand crate from dev-dependencies (#2198)

* chore: Remove documentation config in manifest (#2193)

* chore(test): Remove unnecessary macro_use (#2200)

* feat: Add proto header to generated code (#2205)

* chore(router): Use upstream poll_ready to implement service (#2215)

* feat(router): Use infallible as error type (#2232)

* chore: Remove unnecessary license file from private crate (#2203)

* chore: update changelog to point to releases (#2235)

* chore: fix changelog header

* chore(server): Remove import sleep and pending function (#2234)

* chore(server): Refactor default http2 keepalive timeout config (#2213)

* chore: Remove unnecessary docs.rs config (#2223)

* feat(transport): add support for uds, unix domain socket (#2218)

* feat(transport): add support for uds, unix domain socket (#2218)

Previously the uds support lives as an example in the `example/src/uds` folder.
Endpoint is refactored to support multiple endpoint types, including Uri and
Uds.

The supported unix domain socket URI follows RFC-3986 which is aligned with
the gRPC naming convention.
- unix:relative_path
- unix:///absolute_path

References:
- https://datatracker.ietf.org/doc/html/rfc3986
- https://github.com/grpc/grpc/blob/master/doc/naming.md

* fix feature flag error

* fix windows build

* fix windows build 2

* fix windows build 3

* fix windows build 4

* fix windows build 5

---------

Co-authored-by: Lucio Franco <[email protected]>

* Handle stream error correctly (#2199)

Co-authored-by: Lucio Franco <[email protected]>

* chore: Remove resolved cargo-deny config (#2230)

* Create place for grpc crate and initial contents (#2192)

* Create place for grpc crate and initial contents

* Cargo.toml fixes

* clippy

* clippy 2

* 3

* grpc-web: relax bounds for inner service's response body (#2245)

* grpc-web: relax bounds for inner service's response body

* address feedback

* chore(test): Allow clippy::doc_overindented_list_items lint in generated code (#2246)

* chore(test): Update to rand 0.9 (#2236)

* chore(router): Remove unnecessary type converting (#2237)

* chore(ci): Update to nightly-2025-03-27 on udeps ci (#2242)

* chore(codegen): Update to protox 0.8 (#2254)

* chore(ci): Remove deny job (#2255)

Removing the deny ci job it has become more of a pain to manage than
actually helpful.

* feat: preserve request user-agent (#2250)

Co-authored-by: Lucio Franco <[email protected]>

* feat(server): Add method to get local addr to TcpIncoming (#2233)

* feat: expose Status as a Response extension (#2145)

Co-authored-by: Lucio Franco <[email protected]>

* chore(server): Remove unnecessary await service ready (#2258)

* chore: Use symbolic link for license file (#2241)

* chore: Use inline format argument (#2260)

* chore: Add `flake.nix` (#2261)

* chore: Fix interop test certs (#2262)

* chore: Fix interop test certs

* fix bash script:

* fix: tls config overwrite in endpoint (#2252)

* fix: tls config overwrite in endpoint

PR #1866 fixed the breaking change introduced in #1731, but
resets the TLS config without checking if `tls` is set. This
patch resolves the regression and restores expected behaviour.

* fix: cargo fmt whitespace check

---------

Co-authored-by: vigneshwar.sm <[email protected]>
Co-authored-by: Lucio Franco <[email protected]>

* chore(tonic-bench): Fix failing bench (#2207)

Co-authored-by: Lucio Franco <[email protected]>

* feat: expose creation of HealthService and HealthReporter (#2251)

* Expose creation of HealthService and HealthReporter

* add default impl for HealthReporter

* [spr] initial version (#2264)

Created using spr 1.3.6-beta.1

* Revert "[spr] initial version (#2264)" (#2265)

* chore: Prepare `v0.13.1` release



Reviewers: 

Pull Request: #2266

---------

Signed-off-by: jimmycathy <[email protected]>
Co-authored-by: Amr Hassan <[email protected]>
Co-authored-by: tottoto <[email protected]>
Co-authored-by: Maxim Evtush <[email protected]>
Co-authored-by: Marco Neumann <[email protected]>
Co-authored-by: DAKAI, TZOU <[email protected]>
Co-authored-by: jimmycathy <[email protected]>
Co-authored-by: Adam Basfop Cavendish <[email protected]>
Co-authored-by: Jakub Łabor <[email protected]>
Co-authored-by: Doug Fawley <[email protected]>
Co-authored-by: Brandon Williams <[email protected]>
Co-authored-by: Darren Bolduc <[email protected]>
Co-authored-by: Ferenc Tamás <[email protected]>
Co-authored-by: Vigneshwar S <[email protected]>
Co-authored-by: vigneshwar.sm <[email protected]>
Co-authored-by: Rafael RL <[email protected]>
Co-authored-by: Leon Hartley <[email protected]>
dfawley added a commit to dfawley/grpc-rust that referenced this pull request Jul 11, 2025
* chore: Use symbolic link for license file (grpc#2241)

* chore: Use inline format argument (grpc#2260)

* chore: Add `flake.nix` (grpc#2261)

* chore: Fix interop test certs (grpc#2262)

* chore: Fix interop test certs

* fix bash script:

* fix: tls config overwrite in endpoint (grpc#2252)

* fix: tls config overwrite in endpoint

PR grpc#1866 fixed the breaking change introduced in grpc#1731, but
resets the TLS config without checking if `tls` is set. This
patch resolves the regression and restores expected behaviour.

* fix: cargo fmt whitespace check

---------

Co-authored-by: vigneshwar.sm <[email protected]>
Co-authored-by: Lucio Franco <[email protected]>

* chore(tonic-bench): Fix failing bench (grpc#2207)

Co-authored-by: Lucio Franco <[email protected]>

* feat: expose creation of HealthService and HealthReporter (grpc#2251)

* Expose creation of HealthService and HealthReporter

* add default impl for HealthReporter

* [spr] initial version (grpc#2264)

Created using spr 1.3.6-beta.1

* Revert "[spr] initial version (grpc#2264)" (grpc#2265)

* chore: Prepare `v0.13.1` release



Reviewers: 

Pull Request: grpc#2266

* chore: Disable unused tower feature (grpc#2270)

* chore(ci): Set RUSTFLAGS only on check job (grpc#2271)

* chore: Update to webpki-roots 1 (grpc#2269)

* chore(ci): Update to cargo-check-external-types 0.2 (grpc#2272)

* chore(ci): Set token permission to read (grpc#2275)

* chore(test): Remove cargo-machete config (grpc#2278)

* chore: Remove unused dependency (grpc#2277)

* feat: add support for tower's load-shed layer (grpc#2189)

Refs: grpc#1616

* chore: box Status contents (grpc#2253) (grpc#2282)

* chore: box Status contents (grpc#2253)

* chore: use private into_status method

* chore(doc): Fix outdated limit in comment (grpc#2297)

* fix outdated limit in comment

This mention was missed when the default changed in grpc#1335

* Add backquotes

Co-authored-by: tottoto <[email protected]>

---------

Co-authored-by: tottoto <[email protected]>

* feat: Update to prost 0.14 (grpc#2300)

* chore: Start development of version 0.14 (grpc#2303)

* chore(build): Make empty client and server modules private (grpc#2291)

Co-authored-by: Lucio Franco <[email protected]>
Co-authored-by: tottoto <[email protected]>

* chore(test): Simplify skip debug test (grpc#2305)

* chore(ci): Exclude semver check of unreleased crate (grpc#2304)

* feat(types): Update error_details.proto to a56cbf3b (grpc#2286) (grpc#2306)

* chore(test): Remove unnecessary prost-build dependency (grpc#2307)

* feat(transport): Allow setting TCP_KEEPINTVL and TCP_KEEPCNT (grpc#2299)

* Allow setting TCP_KEEPINTVL and TCP_KEEPCNT

* fix windows

* fix clippy windows

* fix(tonic): make `Streaming` `Sync` again (grpc#2293)

The boxed `Decoder` inside `Streaming` need not be `Sync` since
grpc#804.  Unfortunately, that makes
`Streaming` non-`Sync`, meaning that all the generated `tonic` futures
cannot be awaited in `Sync` futures.

In fact, the only times we use the `Decoder`, we have a `&mut` unique
reference to it, so we are guaranteed not to require synchronization.

The `sync_wrapper` crate encodes this reasoning, allowing us to safely
make the `Streaming` type `Sync` regardless of whether the contained
`Decoder` is `Sync` or not.

* feat: preserve user-agent header (grpc#2290)

Co-authored-by: Lucio Franco <[email protected]>

* chore: Make publish script portable (grpc#2313)

* feat(tls): Add tls handshake timeout support (grpc#2309)

Co-authored-by: tottoto <[email protected]>

* docs(tonic-build): remove doc-difference between `lib.rs` and Readme (grpc#2308)

* doc: try to improve the doc-disparity between `tonic-build`'s `lib.rs` and the readme

* Fix indentation

* fix the doctests

* fix a typo and retes an assumption

* Change `compile_fail` to `ignore`

Co-authored-by: tottoto <[email protected]>

---------

Co-authored-by: tottoto <[email protected]>

* Merge changes from next to master branch (grpc#2315)

Co-authored-by: Arjan Singh Bal <[email protected]>
Co-authored-by: Easwar Swaminathan <[email protected]>

* chore(interop): Update to console 0.16 (grpc#2318)

* chore(test): Remove unnecessary tokio-stream dependency (grpc#2311)

* chore(test): Refactor default stubs test (grpc#2310)

* chore(test): Use tempfile crate to handle temporary file (grpc#2325)

* chore(grpc): Update to rand 0.9 (grpc#2324)

---------

Co-authored-by: tottoto <[email protected]>
Co-authored-by: Lucio Franco <[email protected]>
Co-authored-by: Vigneshwar S <[email protected]>
Co-authored-by: vigneshwar.sm <[email protected]>
Co-authored-by: Rafael RL <[email protected]>
Co-authored-by: Leon Hartley <[email protected]>
Co-authored-by: Joe Roback <[email protected]>
Co-authored-by: Raphael Taylor-Davies <[email protected]>
Co-authored-by: Alexis Darrasse <[email protected]>
Co-authored-by: Alex Steele <[email protected]>
Co-authored-by: Kristopher Wuollett <[email protected]>
Co-authored-by: Makro <[email protected]>
Co-authored-by: James Kay <[email protected]>
Co-authored-by: Darren Bolduc <[email protected]>
Co-authored-by: Honsun Zhu <[email protected]>
Co-authored-by: Frank Elsinga <[email protected]>
Co-authored-by: Arjan Singh Bal <[email protected]>
Co-authored-by: Easwar Swaminathan <[email protected]>
renovate Bot added a commit to OhataKenji/zelith that referenced this pull request Nov 7, 2026
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [tonic](https://redirect.github.com/grpc/grpc-rust) | dependencies |
minor | `0.12.3` → `0.14.0` |

---

### Release Notes

<details>
<summary>grpc/grpc-rust (tonic)</summary>

###
[`v0.14.9`](https://redirect.github.com/grpc/grpc-rust/releases/tag/tonic-v0.14.9)

[Compare
Source](https://redirect.github.com/grpc/grpc-rust/compare/tonic-v0.14.8...tonic-v0.14.9)

##### Added

- *(transport)* expose h2 reset stream settings on Endpoint
([#&#8203;2972](https://redirect.github.com/grpc/grpc-rust/pull/2972))

##### Fixed

- *(server)* set a timer on HTTP/1 connections so hyper's header read
timeout applies
([#&#8203;2980](https://redirect.github.com/grpc/grpc-rust/pull/2980))

###
[`v0.14.8`](https://redirect.github.com/grpc/grpc-rust/releases/tag/tonic-types-v0.14.8)

[Compare
Source](https://redirect.github.com/grpc/grpc-rust/compare/tonic-v0.14.7...tonic-v0.14.8)

##### Fixed

- *(types)* Serialize `BadRequest::FieldViolation` `reason` and
`localized_message`
([#&#8203;2461](https://redirect.github.com/grpc/grpc-rust/pull/2461))
- fix/silence all clippy warnings
([#&#8203;2807](https://redirect.github.com/grpc/grpc-rust/pull/2807))

##### Other

- fix changelog duplicate and update repository URLs
([#&#8203;2943](https://redirect.github.com/grpc/grpc-rust/pull/2943))
- License update
([#&#8203;2749](https://redirect.github.com/grpc/grpc-rust/pull/2749))

###
[`v0.14.7`](https://redirect.github.com/grpc/grpc-rust/releases/tag/tonic-reflection-v0.14.7)

[Compare
Source](https://redirect.github.com/grpc/grpc-rust/compare/tonic-v0.14.6...tonic-v0.14.7)

##### Fixed

- *(reflection)* preserve custom options in served descriptors
([#&#8203;2730](https://redirect.github.com/grpc/grpc-rust/pull/2730))

##### Other

- fix changelog duplicate and update repository URLs
([#&#8203;2943](https://redirect.github.com/grpc/grpc-rust/pull/2943))
- enable missing feature for test build
([#&#8203;2820](https://redirect.github.com/grpc/grpc-rust/pull/2820))
- License update
([#&#8203;2749](https://redirect.github.com/grpc/grpc-rust/pull/2749))

###
[`v0.14.6`](https://redirect.github.com/grpc/grpc-rust/releases/tag/tonic-v0.14.6)

[Compare
Source](https://redirect.github.com/grpc/grpc-rust/compare/v0.14.5...tonic-v0.14.6)

##### Added

- *(transport/channel)* expose ServerCertVerifier API
([#&#8203;2612](https://redirect.github.com/hyperium/tonic/pull/2612))

##### Fixed

- map no trailers ok status to unknown
([#&#8203;2543](https://redirect.github.com/hyperium/tonic/pull/2543))

##### Other

- add max_frame_size to client Endpoint
([#&#8203;2592](https://redirect.github.com/hyperium/tonic/pull/2592))
- Allow setting the HTTP/2 client header table size
([#&#8203;2582](https://redirect.github.com/hyperium/tonic/pull/2582))
- update rust edition and version to 2024 and 1.88, respectively
([#&#8203;2525](https://redirect.github.com/hyperium/tonic/pull/2525))

###
[`v0.14.5`](https://redirect.github.com/grpc/grpc-rust/releases/tag/v0.14.5)

[Compare
Source](https://redirect.github.com/grpc/grpc-rust/compare/v0.14.4...v0.14.5)

#### What's Changed

- Add max connections setting

**Full Changelog**:
<grpc/grpc-rust@v0.14.4...v0.14.5>

###
[`v0.14.4`](https://redirect.github.com/grpc/grpc-rust/releases/tag/v0.14.4)

[Compare
Source](https://redirect.github.com/grpc/grpc-rust/compare/v0.14.3...v0.14.4)

#### What's Changed

- chore(doc): Replace doc_auto_cfg config with doc_cfg by
[@&#8203;tottoto](https://redirect.github.com/tottoto) in
[grpc/grpc-rust#2428](https://redirect.github.com/hyperium/tonic/pull/2428)
- fix(web): allow space after `:` in `grpc-status` by
[@&#8203;LucioFranco](https://redirect.github.com/LucioFranco) in
[grpc/grpc-rust#2506](https://redirect.github.com/hyperium/tonic/pull/2506)

#### New Contributors

- [@&#8203;r0x0d](https://redirect.github.com/r0x0d) made their first
contribution in
[grpc/grpc-rust#2502](https://redirect.github.com/hyperium/tonic/pull/2502)

**Full Changelog**:
<grpc/grpc-rust@v0.14.3...v0.14.4>

###
[`v0.14.3`](https://redirect.github.com/grpc/grpc-rust/releases/tag/v0.14.3)

[Compare
Source](https://redirect.github.com/grpc/grpc-rust/compare/v0.14.2...v0.14.3)

#### Features

- Expose `tcp_keepalive_interval` and `tcp_keepalive_retries` options on
Server
([#&#8203;2472](https://redirect.github.com/grpc/grpc-rust/issues/2472))
- Allow configuration of `max_local_error_reset_streams` on Server
([#&#8203;2437](https://redirect.github.com/grpc/grpc-rust/issues/2437))
- Put source error into the `Display` impl of `Status`
([#&#8203;2417](https://redirect.github.com/grpc/grpc-rust/issues/2417))
- `Server::default()` now sets `TCP_NODELAY` to true
([#&#8203;2413](https://redirect.github.com/grpc/grpc-rust/issues/2413))

#### Bug Fixes

- Respect `max_message_size` when decompressing a message
([#&#8203;2484](https://redirect.github.com/grpc/grpc-rust/issues/2484))
- Depend on http at least 1.1.0
([#&#8203;2426](https://redirect.github.com/grpc/grpc-rust/issues/2426))

#### Documentation

- Fix documentation links for timeout configuration
([#&#8203;2483](https://redirect.github.com/grpc/grpc-rust/issues/2483))
- Fix documentation typos and grammar issues in status.rs and
codec/mod.rs
([#&#8203;2468](https://redirect.github.com/grpc/grpc-rust/issues/2468))
- Fix labels in `Display for Status`
([#&#8203;2414](https://redirect.github.com/grpc/grpc-rust/issues/2414))
- Fix features docs in tonic-build and tonic-prost-build
([#&#8203;2434](https://redirect.github.com/grpc/grpc-rust/issues/2434))
- Remove redundant word in tonic-build and tonic-prost-build README
([#&#8203;2425](https://redirect.github.com/grpc/grpc-rust/issues/2425))

###
[`v0.14.2`](https://redirect.github.com/grpc/grpc-rust/releases/tag/v0.14.2)

[Compare
Source](https://redirect.github.com/grpc/grpc-rust/compare/v0.14.1...v0.14.2)

#### What's Changed

- Improve `Status` formatting by
[@&#8203;emilk](https://redirect.github.com/emilk) in
[grpc/grpc-rust#2403](https://redirect.github.com/hyperium/tonic/pull/2403)
- Separate out Tls ConnectInfo trait support into separate tls feature
by [@&#8203;xumaple](https://redirect.github.com/xumaple) in
[grpc/grpc-rust#2402](https://redirect.github.com/hyperium/tonic/pull/2402)

#### New Contributors

- [@&#8203;Shaun1](https://redirect.github.com/Shaun1) made their first
contribution in
[grpc/grpc-rust#2385](https://redirect.github.com/hyperium/tonic/pull/2385)
- [@&#8203;emilk](https://redirect.github.com/emilk) made their first
contribution in
[grpc/grpc-rust#2403](https://redirect.github.com/hyperium/tonic/pull/2403)
- [@&#8203;xumaple](https://redirect.github.com/xumaple) made their
first contribution in
[grpc/grpc-rust#2402](https://redirect.github.com/hyperium/tonic/pull/2402)

**Full Changelog**:
<grpc/grpc-rust@v0.14.1...v0.14.2>

###
[`v0.14.1`](https://redirect.github.com/grpc/grpc-rust/releases/tag/v0.14.1)

[Compare
Source](https://redirect.github.com/grpc/grpc-rust/compare/v0.14.0...v0.14.1)

Notable change is to relax the accidental MSRV bump in the last release.

#### What's Changed

- Add `service_generator` method to `Builder` by
[@&#8203;koesie10](https://redirect.github.com/koesie10) in
[grpc/grpc-rust#2364](https://redirect.github.com/hyperium/tonic/pull/2364)
- Improve connection accept error message
[@&#8203;stepancheg](https://redirect.github.com/stepancheg) in
[grpc/grpc-rust#2366](https://redirect.github.com/hyperium/tonic/pull/2366)
- Remove unconditional enable of tonic-build transport feature by
[@&#8203;tottoto](https://redirect.github.com/tottoto) in
[grpc/grpc-rust#2357](https://redirect.github.com/hyperium/tonic/pull/2357)
- chore: relax msrv for most crates by
[@&#8203;acrrd](https://redirect.github.com/acrrd) in
[grpc/grpc-rust#2378](https://redirect.github.com/hyperium/tonic/pull/2378)

#### New Contributors

- [@&#8203;koesie10](https://redirect.github.com/koesie10) made their
first contribution in
[grpc/grpc-rust#2364](https://redirect.github.com/hyperium/tonic/pull/2364)
- [@&#8203;stepancheg](https://redirect.github.com/stepancheg) made
their first contribution in
[grpc/grpc-rust#2366](https://redirect.github.com/hyperium/tonic/pull/2366)
- [@&#8203;acrrd](https://redirect.github.com/acrrd) made their first
contribution in
[grpc/grpc-rust#2378](https://redirect.github.com/hyperium/tonic/pull/2378)

**Full Changelog**:
<grpc/grpc-rust@v0.14.0...v0.14.1>

###
[`v0.14.0`](https://redirect.github.com/grpc/grpc-rust/releases/tag/v0.14.0)

[Compare
Source](https://redirect.github.com/grpc/grpc-rust/compare/v0.13.1...v0.14.0)

This release marks an important milestone for tonic, "hopefully" this
will be the last major breaking release of Tonic before we start to
transition work into bringing the community a joint-effort `grpc-rust`
implementation. For the moment, any new features for the core of tonic
that are not related to the work towards `grpc-rust` will not be
accepted (I believe tonic to be in quite a good spot, security features
of course will be handled with the upmost importance). Stay tuned there
will be more information the coming months on what is going on with the
new project but you can already see some of the code in the `grpc` crate
within the `tonic` repository.

You can always watch [this
video](https://www.youtube.com/watch?v=ux1xoUR9Xm8) for more info on
`grpc-rust`.

#### Breaking Changes

- Prost updated to v0.14
- Prost has been extracted to their own crates

#### Migration guide

To migrate between `<=v0.13.1` to `v0.14` anything that used prost has
now been moved into either `tonic-prost` or `tonic-prost-build`. All the
previous types are still available but under these two new crates.

#### What's Changed

- add support for tower's load-shed layer by
[@&#8203;joeroback](https://redirect.github.com/joeroback) in
[grpc/grpc-rust#2189](https://redirect.github.com/hyperium/tonic/pull/2189)
- Box Status contents to reduce enum size
([#&#8203;2253](https://redirect.github.com/grpc/grpc-rust/issues/2253))
by [@&#8203;tustvold](https://redirect.github.com/tustvold) in
[grpc/grpc-rust#2282](https://redirect.github.com/hyperium/tonic/pull/2282)
- Update to prost 0.14 by
[@&#8203;tottoto](https://redirect.github.com/tottoto) in
[grpc/grpc-rust#2300](https://redirect.github.com/hyperium/tonic/pull/2300)
- Update generated code to `error_details.proto` `a56cbf3b` by
[@&#8203;kriswuollett](https://redirect.github.com/kriswuollett) in
[grpc/grpc-rust#2306](https://redirect.github.com/hyperium/tonic/pull/2306)
- feat(transport): Allow setting TCP_KEEPINTVL and TCP_KEEPCNT by
[@&#8203;xmakro](https://redirect.github.com/xmakro) in
[grpc/grpc-rust#2299](https://redirect.github.com/hyperium/tonic/pull/2299)
- fix(tonic): make `Streaming` `Sync` again by
[@&#8203;Twey](https://redirect.github.com/Twey) in
[grpc/grpc-rust#2293](https://redirect.github.com/hyperium/tonic/pull/2293)
- feat: preserve user-agent header (for real) by
[@&#8203;dbolduc](https://redirect.github.com/dbolduc) in
[grpc/grpc-rust#2290](https://redirect.github.com/hyperium/tonic/pull/2290)
- feat(tls): Add tls handshake timeout support by
[@&#8203;honsunrise](https://redirect.github.com/honsunrise) in
[grpc/grpc-rust#2309](https://redirect.github.com/hyperium/tonic/pull/2309)
- Update socket2 to v0.6 by
[@&#8203;Thomasdezeeuw](https://redirect.github.com/Thomasdezeeuw) in
[grpc/grpc-rust#2329](https://redirect.github.com/hyperium/tonic/pull/2329)
- feat: Extract prost into its own tonic based crates by
[@&#8203;LucioFranco](https://redirect.github.com/LucioFranco) in
[grpc/grpc-rust#2321](https://redirect.github.com/hyperium/tonic/pull/2321)
- feat(build): allow to specify trait attributes by
[@&#8203;ya7on](https://redirect.github.com/ya7on) in
[grpc/grpc-rust#2348](https://redirect.github.com/hyperium/tonic/pull/2348)

#### New Contributors

- [@&#8203;joeroback](https://redirect.github.com/joeroback) made their
first contribution in
[grpc/grpc-rust#2189](https://redirect.github.com/hyperium/tonic/pull/2189)
- [@&#8203;tustvold](https://redirect.github.com/tustvold) made their
first contribution in
[grpc/grpc-rust#2282](https://redirect.github.com/hyperium/tonic/pull/2282)
- [@&#8203;darrasse](https://redirect.github.com/darrasse) made their
first contribution in
[grpc/grpc-rust#2297](https://redirect.github.com/hyperium/tonic/pull/2297)
- [@&#8203;ADSteele916](https://redirect.github.com/ADSteele916) made
their first contribution in
[grpc/grpc-rust#2291](https://redirect.github.com/hyperium/tonic/pull/2291)
- [@&#8203;kriswuollett](https://redirect.github.com/kriswuollett) made
their first contribution in
[grpc/grpc-rust#2306](https://redirect.github.com/hyperium/tonic/pull/2306)
- [@&#8203;xmakro](https://redirect.github.com/xmakro) made their first
contribution in
[grpc/grpc-rust#2299](https://redirect.github.com/hyperium/tonic/pull/2299)
- [@&#8203;Twey](https://redirect.github.com/Twey) made their first
contribution in
[grpc/grpc-rust#2293](https://redirect.github.com/hyperium/tonic/pull/2293)
- [@&#8203;honsunrise](https://redirect.github.com/honsunrise) made
their first contribution in
[grpc/grpc-rust#2309](https://redirect.github.com/hyperium/tonic/pull/2309)
- [@&#8203;CommanderStorm](https://redirect.github.com/CommanderStorm)
made their first contribution in
[grpc/grpc-rust#2308](https://redirect.github.com/hyperium/tonic/pull/2308)
- [@&#8203;ya7on](https://redirect.github.com/ya7on) made their first
contribution in
[grpc/grpc-rust#2348](https://redirect.github.com/hyperium/tonic/pull/2348)

**Full Changelog**:
<grpc/grpc-rust@v0.13.1...v0.14.0>

###
[`v0.13.1`](https://redirect.github.com/grpc/grpc-rust/releases/tag/v0.13.1)

[Compare
Source](https://redirect.github.com/grpc/grpc-rust/compare/v0.13.0...v0.13.1)

#### What's Changed

- Bump `h2` to `v0.4.10` by
[@&#8203;LucioFranco](https://redirect.github.com/LucioFranco)
[grpc/grpc-rust#2263](https://redirect.github.com/hyperium/tonic/pull/2263)
- feat(web): relax bounds for inner service's response body by
[@&#8203;bmwill](https://redirect.github.com/bmwill) in
[grpc/grpc-rust#2245](https://redirect.github.com/hyperium/tonic/pull/2245)
- feat: preserve request user-agent by
[@&#8203;dbolduc](https://redirect.github.com/dbolduc) in
[grpc/grpc-rust#2250](https://redirect.github.com/hyperium/tonic/pull/2250)
- feat(server): Add method to get local addr to TcpIncoming by
[@&#8203;tottoto](https://redirect.github.com/tottoto) in
[grpc/grpc-rust#2233](https://redirect.github.com/hyperium/tonic/pull/2233)
- feat: Expose Status as a Response extension by
[@&#8203;tamasfe](https://redirect.github.com/tamasfe) in
[grpc/grpc-rust#2145](https://redirect.github.com/hyperium/tonic/pull/2145)
- fix: tls config overwrite in endpoint by
[@&#8203;vigneshs-12](https://redirect.github.com/vigneshs-12) in
[grpc/grpc-rust#2252](https://redirect.github.com/hyperium/tonic/pull/2252)
- feat: expose creation of HealthService and HealthReporter by
[@&#8203;LeonHartley](https://redirect.github.com/LeonHartley) in
[grpc/grpc-rust#2251](https://redirect.github.com/hyperium/tonic/pull/2251)

#### New Contributors

- [@&#8203;dbolduc](https://redirect.github.com/dbolduc) made their
first contribution in
[grpc/grpc-rust#2250](https://redirect.github.com/hyperium/tonic/pull/2250)
- [@&#8203;tamasfe](https://redirect.github.com/tamasfe) made their
first contribution in
[grpc/grpc-rust#2145](https://redirect.github.com/hyperium/tonic/pull/2145)
- [@&#8203;vigneshs-12](https://redirect.github.com/vigneshs-12) made
their first contribution in
[grpc/grpc-rust#2252](https://redirect.github.com/hyperium/tonic/pull/2252)
- [@&#8203;rafaeling](https://redirect.github.com/rafaeling) made their
first contribution in
[grpc/grpc-rust#2207](https://redirect.github.com/hyperium/tonic/pull/2207)
- [@&#8203;LeonHartley](https://redirect.github.com/LeonHartley) made
their first contribution in
[grpc/grpc-rust#2251](https://redirect.github.com/hyperium/tonic/pull/2251)

**Full Changelog**:
<grpc/grpc-rust@v0.13.0...v0.13.1>

###
[`v0.13.0`](https://redirect.github.com/grpc/grpc-rust/blob/HEAD/CHANGELOG.md#NOTE-ths-changelog-is-no-longer-used-and-from-version-v0130-onward-we-will-be-using-github-releases-and-the-changes-can-be-found-here-)

[Compare
Source](https://redirect.github.com/grpc/grpc-rust/compare/v0.12.3...v0.13.0)

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- Branch creation
  - At any time (no schedule defined)
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, 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 was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/OhataKenji/zeal).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4yMjAuMCIsInVwZGF0ZWRJblZlciI6IjQ0LjIyMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: OhataKenji <[email protected]>
Co-authored-by: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
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