abdolence / opentelemetry-gcloud-trace-rs

OpenTelemetry support for Google Cloud Trace for Rust
Apache License 2.0
8 stars 3 forks source link

Update Rust crate tonic to 0.9 #10

Closed renovate[bot] closed 1 year ago

renovate[bot] commented 1 year ago

Mend Renovate

This PR contains the following updates:

Package Type Update Change
tonic dependencies minor 0.8 -> 0.9

Release Notes

hyperium/tonic ### [`v0.9.0`](https://togithub.com/hyperium/tonic/blob/HEAD/CHANGELOG.md#v090-httpsgithubcomhyperiumtoniccomparev084v090-2023-03-31) [Compare Source](https://togithub.com/hyperium/tonic/compare/v0.8.3...v0.9.0) All tonic-\* crates owned by this repository will now be versioned together to make it easier to understand which crate matches the core tonic crate version. ##### Breaking Changes - All crates bumped to 2021 edition - `tonic-health` and `tonic-reflection` internal protobuf module renamed. - Default decoding message limit set to `4MiB` by default. ##### Bug Fixes - **build:** Allow Services to be named Result ([#​1203](https://togithub.com/hyperium/tonic/issues/1203)) ([a562a3c](https://togithub.com/hyperium/tonic/commit/a562a3ce329a38696dfcb0d82b7102d93fb30a5c)), closes [#​1156](https://togithub.com/hyperium/tonic/issues/1156) - **codec:** Cancelled client streaming handling ([#​1315](https://togithub.com/hyperium/tonic/issues/1315)) ([c8027a1](https://togithub.com/hyperium/tonic/commit/c8027a1385dd5d3fb6abdce7be49c46a43d4f3c2)), closes [#​848](https://togithub.com/hyperium/tonic/issues/848) - MetadataKey::from_bytes returns an error ([#​1246](https://togithub.com/hyperium/tonic/issues/1246)) ([930c805](https://togithub.com/hyperium/tonic/commit/930c805127cada70e4e4ab03c7680214b5c2a4f5)) - **web:** Fix `enable` and update docs ([#​1326](https://togithub.com/hyperium/tonic/issues/1326)) ([a9db219](https://togithub.com/hyperium/tonic/commit/a9db219e50b7d27e48cd44e76941113a36b72e26)) ##### Features - add GrpcMethod extension into request for client ([#​1275](https://togithub.com/hyperium/tonic/issues/1275)) ([7a6b20d](https://togithub.com/hyperium/tonic/commit/7a6b20d8ef5d31c9cc01f0cf697df1f3e28cb421)) - **build:** Builder: add {enum,message}\_attributes ([#​1234](https://togithub.com/hyperium/tonic/issues/1234)) ([ff642f9](https://togithub.com/hyperium/tonic/commit/ff642f9233beab322333745f9edfa9c62ae18ca4)) - **codec:** Configure max request message size ([#​1274](https://togithub.com/hyperium/tonic/issues/1274)) ([9f716d8](https://togithub.com/hyperium/tonic/commit/9f716d841184b8521720c6ed941af137ca2ee6a0)), closes [#​1097](https://togithub.com/hyperium/tonic/issues/1097) - **core:** Default encoding/decoding limits ([#​1335](https://togithub.com/hyperium/tonic/issues/1335)) ([ff33119](https://togithub.com/hyperium/tonic/commit/ff331199e45c8b53e93f1bd51ccd74dafc2146ac)) - **reflection:** Add dummy implementation for extension ([#​1209](https://togithub.com/hyperium/tonic/issues/1209)) ([fdff111](https://togithub.com/hyperium/tonic/commit/fdff11115b44c4cc7e3de59ea045a193fa6881bc)) - Rename api related to protobuf ([#​1224](https://togithub.com/hyperium/tonic/issues/1224)) ([d2542dc](https://togithub.com/hyperium/tonic/commit/d2542dc034e89383bd182a25a0d3235859fb10f9)) - **tls:** add an option for optional TLS client authentication ([#​1163](https://togithub.com/hyperium/tonic/issues/1163)) ([773e4e1](https://togithub.com/hyperium/tonic/commit/773e4e1749daf023222f2294816b1f09d9e916a0)), closes [#​687](https://togithub.com/hyperium/tonic/issues/687) - **tonic:** Use NamedService without transport feature ([#​1273](https://togithub.com/hyperium/tonic/issues/1273)) ([5acde56](https://togithub.com/hyperium/tonic/commit/5acde56176d928ffddbf1076e922764fb151f959)) - **transport:** Add `local_addr` to `Request o` ([#​1327](https://togithub.com/hyperium/tonic/issues/1327)) ([b54ce23](https://togithub.com/hyperium/tonic/commit/b54ce2321a5cba1c32261f4eda2b27d1110b893d)) - **transport:** added support for EC keys ([#​1145](https://togithub.com/hyperium/tonic/issues/1145)) ([17d6a4b](https://togithub.com/hyperium/tonic/commit/17d6a4b576c1571bb149d3e935e9a835265a80dd)), closes [#​1143](https://togithub.com/hyperium/tonic/issues/1143) - **types:** Add gRPC Richer Error Model support (Docs) ([#​1317](https://togithub.com/hyperium/tonic/issues/1317)) ([69ce71e](https://togithub.com/hyperium/tonic/commit/69ce71efa6f4601c9e8060e87d0641a51251e9ab)) - **types:** Add gRPC Richer Error Model support (Examples) ([#​1300](https://togithub.com/hyperium/tonic/issues/1300)) ([d471212](https://togithub.com/hyperium/tonic/commit/d471212ee8264ca6c5169a9893f361187e9378c9)) - **types:** Add gRPC Richer Error Model support (Help) ([#​1293](https://togithub.com/hyperium/tonic/issues/1293)) ([d6041a9](https://togithub.com/hyperium/tonic/commit/d6041a99c2a216a2ebc83b7bc5a0947ba7ca869c)) - **types:** Add gRPC Richer Error Model support (LocalizedMessage) ([#​1295](https://togithub.com/hyperium/tonic/issues/1295)) ([d54d02d](https://togithub.com/hyperium/tonic/commit/d54d02d3ed8bf221c0c54494b7ce692d412391a4)) - **types:** Add gRPC Richer Error Model support (PreconditionFailure) ([#​1276](https://togithub.com/hyperium/tonic/issues/1276)) ([2378581](https://togithub.com/hyperium/tonic/commit/2378581850483f26fd7c1dee0a797d936b73e881)) - **types:** Add gRPC Richer Error Model support (QuotaFailure) ([#​1204](https://togithub.com/hyperium/tonic/issues/1204)) ([03b4735](https://togithub.com/hyperium/tonic/commit/03b4735bb4ba7c6e84842d0515d1fd3be9d1cc13)) - **types:** Add gRPC Richer Error Model support (ResourceInfo) ([#​1282](https://togithub.com/hyperium/tonic/issues/1282)) ([7eeda24](https://togithub.com/hyperium/tonic/commit/7eeda24350c5a61cae7c8e56cc0439d9c40cc77d)) - **types:** Add gRPC Richer Error Model support (RetryInfo) ([#​1095](https://togithub.com/hyperium/tonic/issues/1095)) ([6cdb3d4](https://togithub.com/hyperium/tonic/commit/6cdb3d4685966b71f051e4cd67c50e1d2db402f5)) - **types:** add support for `DebugInfo` error message type ([#​1179](https://togithub.com/hyperium/tonic/issues/1179)) ([3076e82](https://togithub.com/hyperium/tonic/commit/3076e8251e602ed6e98a8b3029070b33e3459109)) - **types:** Expose FILE_DESCRIPTOR_SET ([#​1210](https://togithub.com/hyperium/tonic/issues/1210)) ([cc42d1f](https://togithub.com/hyperium/tonic/commit/cc42d1f88c39d87b244f863daf4ff625f6ff36df)) - **core:** Make some functionality of Status public ([#​1256](https://togithub.com/hyperium/tonic/issues/1256)) - **core:** Expose Response#into_parts and Response#from_parts ([#​1263](https://togithub.com/hyperium/tonic/issues/1263)) - **build:** Allow setting skip_protoc_run on the prost Builder ([#​1318](https://togithub.com/hyperium/tonic/issues/1318)) ### [`v0.8.3`](https://togithub.com/hyperium/tonic/blob/HEAD/CHANGELOG.md#v083-httpsgithubcomhyperiumtoniccomparev082v083-2022-11-28) [Compare Source](https://togithub.com/hyperium/tonic/compare/v0.8.2...v0.8.3) **note:** this version has been yanked due to a typo in the `CodeGenBuilder` type. Included in this release is also the sub-crate major version bumps: - `tonic-health` has been bumped to `0.8.0` - `tonic-reflection` has been bumped to `0.6.0` - `tonic-web` has been bumped to `0.5.0` ##### Bug Fixes - do not panic while encoding oversized bodies ([#​1142](https://togithub.com/hyperium/tonic/issues/1142)) ([33e22bb](https://togithub.com/hyperium/tonic/commit/33e22bbc5ef1b74de82394c3ebfea27382419620)), closes [#​1141](https://togithub.com/hyperium/tonic/issues/1141) - **reflection, health:** Remove transport feature ([#​1112](https://togithub.com/hyperium/tonic/issues/1112)) ([7153289](https://togithub.com/hyperium/tonic/commit/7153289b51f7770cdd00cefeceddacc4cf36df97)) ##### Features - **build:** Add `build_transport` builder option ([#​1130](https://togithub.com/hyperium/tonic/issues/1130)) ([1f5bc9b](https://togithub.com/hyperium/tonic/commit/1f5bc9b9d55f814d1cb83de6f43239e275122265)) - **build:** Add `CodeGenBuilder` ([#​1154](https://togithub.com/hyperium/tonic/issues/1154)) ([c4525ba](https://togithub.com/hyperium/tonic/commit/c4525ba6ad21cf9db8d1857931f430cbe924aeb5)) - **build:** Add disable_comments option ([#​1127](https://togithub.com/hyperium/tonic/issues/1127)) ([e188521](https://togithub.com/hyperium/tonic/commit/e1885211495e63d962bc1d00f9be6eeaab2bb901)) - Expose `Request#into_parts` and `Request#from_parts` ([#​1118](https://togithub.com/hyperium/tonic/issues/1118)) ([b409ddd](https://togithub.com/hyperium/tonic/commit/b409ddd478959e239aeef3cb8715cd3ace470a8f)) - **transport:** add `from_listener` for `TcpIncoming` ([#​1093](https://togithub.com/hyperium/tonic/issues/1093)) ([0b03b30](https://togithub.com/hyperium/tonic/commit/0b03b30cccc67d517b05587614405d63d942b1bb)) - **web:** Implement tower::Layer for tonic_web::Config ([#​1119](https://togithub.com/hyperium/tonic/issues/1119)) ([40536dc](https://togithub.com/hyperium/tonic/commit/40536dc13428f6338610d74f7b45a5f9c87d9335)) - **web:** Removed Cors impl and replaced with tower-http's CorsLayer ([#​1123](https://togithub.com/hyperium/tonic/issues/1123)) ([a98d719](https://togithub.com/hyperium/tonic/commit/a98d719fb4b0a88127504a1ab3eb472e842c6b71)), closes [#​1122](https://togithub.com/hyperium/tonic/issues/1122) ### [`v0.8.2`](https://togithub.com/hyperium/tonic/blob/HEAD/CHANGELOG.md#​082-httpsgithubcomhyperiumtoniccomparev081v082-2022-09-28) [Compare Source](https://togithub.com/hyperium/tonic/compare/v0.8.1...v0.8.2) ##### Bug Fixes - **transport:** Bump axum for CVE-2022-3212 ([#​1088](https://togithub.com/hyperium/tonic/issues/1088)) ([cddd992](https://togithub.com/hyperium/tonic/commit/cddd99266682127a3fa0e5d601f56a6346369814)) ##### Features - **tonic:** add `Result` type alias for `std::result::Result` ([#​1085](https://togithub.com/hyperium/tonic/issues/1085)) ([56ff45d](https://togithub.com/hyperium/tonic/commit/56ff45d9a36040c429753d0d118ad980fbfe3eb8)) - **build:** add `cleanup-markdown` feature flag ([#​1086](https://togithub.com/hyperium/tonic/issues/1086)) ([c1b08df](https://togithub.com/hyperium/tonic/commit/c1b08dffacb67e13ce7e94a002eee8999ca7c0e5)) - **tonic:** impl `Clone` for `Status` using `Arc` ([#​1076](https://togithub.com/hyperium/tonic/issues/1076)) ([ee3d0df](https://togithub.com/hyperium/tonic/commit/ee3d0dfe7556fc7e996764f650ee3351097e7309)) - **transport:** Expose hyper's H2 adaptive window on server ([#​1071](https://togithub.com/hyperium/tonic/issues/1071)) ([919d28b](https://togithub.com/hyperium/tonic/commit/919d28b2b96c7c803cec131a9e36e80d2b071701)) ### [`v0.8.1`](https://togithub.com/hyperium/tonic/blob/HEAD/CHANGELOG.md#​081-httpsgithubcomhyperiumtoniccomparev080v081-2022-09-07) [Compare Source](https://togithub.com/hyperium/tonic/compare/v0.8.0...v0.8.1) ##### Features - **transport:** Expose hyper's H2 adaptive window on server ([#​1071](https://togithub.com/hyperium/tonic/issues/1071)) ([919d28b](https://togithub.com/hyperium/tonic/commit/919d28b2b96c7c803cec131a9e36e80d2b071701)) - Reduce the amount of monomorphized code. - Expose `Extensions::into_http` and `Status::from_error`. - **health:** Remove `build.rs` and commit generated code.

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.



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