Skip to content
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

chore(deps): bump the rust-dependencies group with 3 updates #1255

Merged
merged 1 commit into from
Jul 10, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 8, 2024

Updates the requirements on prost, tonic and tonic-build to permit the latest version.
Updates prost to 0.13.0

Changelog

Sourced from prost's changelog.

PROST version 0.13.0

PROST! is a Protocol Buffers implementation for the Rust Language. prost generates simple, idiomatic Rust code from proto2 and proto3 files.

This major update brings new features and fixes:

Breaking changes

  • derive Copy trait for messages where possible (#950)

    prost-build will automatically derive trait Copy for some messages. If you manually implement Copy you should remove your implementation.

  • Change generated functions signatures to remove type parameters (#1045)

    The function signature of trait Message is changed to use impl Buf instead of a named generic type. If you implement trait Message, you should change the function signature.

  • Lightweight error value in TryFrom for enums (#1010)

    When a impl TryFrom<i32> is generated by prost derive macros, it will now return the error type UnknownEnumValue instead of DecodeError. The new error can be used to retreive the integer value that failed to convert.

Features

  • fix: Only touch include file if contents is changed (#1058)

    Most generated files are untouched when the contents doesn't change. Use the same mechanism for include file as well.

Dependencies

  • update env_logger requirement from 0.10 to 0.11 (#1074)
  • update criterion requirement from 0.4 to 0.5 (#1071)
  • Remove unused libz-sys (#1077)
  • build(deps): update itertools requirement from >=0.10, =0.10, <=0.13 (#1070)

Documentation

  • better checking of tag duplicates, avoid discarding invalid variant errs (#951)
  • docs: Fix broken link warnings (#1056)
  • Add missing LICENSE symlink (#1086)

Internal

  • workspace package metadata (#1036)
  • fix: Build error due to merge conflict (#1068)
  • build: Fix release scripts (#1055)
  • chore: Add ci to check MSRV (#1057)
  • ci: Add all tests pass job (#1069)
  • ci: Add Dependabot (#957)
  • ci: Ensure both README are the same and prost version is correct (#1078)
  • ci: Set rust version of clippy job to a fixed version (#1090)
Commits

Updates tonic to 0.12.0

Release notes

Sourced from tonic's releases.

v0.12.0

v0.12.0 (2024-07-08)

This breaking release updates tonic to the hyper 1.0 ecosystem and also updates to prost v0.13.0.

Features

  • build: Custom codecs for generated code (#1599) (18a2b30)
  • channel: Make channel feature additive (#1574) (b947e1a)
  • codec: Make error when not utf8 value in compression encoding (#1768) (f8e1f87)
  • Implement http_body::Body::size_hint for custom body (#1713) (9728c01)
  • Make boxed function public (#1754) (2cc868f)
  • Relax GrpcMethod lifetime (#1598) (68bf17d)
  • tls: Add ability to add multiple ca certificates (#1724) (3457f92)
  • tls: Use rustls_pki_types::CertificateDer to describe DER encoded certificate (#1707) (96a8cbc)
  • tls: Remove tls roots implicit configuration (#1731) (de73617)
  • transport: Make service router independent from transport (#1572) (da48235)
  • transport: Make transport server and channel independent (#1630) (654289f)
  • transport: Rename reexported axum body (#1752) (5d7bfc2)
  • Use http::Extensions directly (#1710) (ed95d27)

Bug Fixes

  • tonic: flush accumulated ready messages when status received (#1756) (d312dcc), closes #1423

BREAKING CHANGES

  • tonic and crates updated to hyper 1.0 (#1670)
  • tonic and crates updated to prost 0.13 (#1779)
  • tonic_reflection::server is updated to use the generated tonic_reflection::pb::v1 code.
  • Make compression encoding configuration more malleable (#1757)
Changelog

Sourced from tonic's changelog.

v0.12.0 (2024-07-08)

This breaking release updates tonic to the hyper 1.0 ecosystem and also updates to prost v0.13.0.

Features

  • build: Custom codecs for generated code (#1599) (18a2b30)
  • channel: Make channel feature additive (#1574) (b947e1a)
  • codec: Make error when not utf8 value in compression encoding (#1768) (f8e1f87)
  • Implement http_body::Body::size_hint for custom body (#1713) (9728c01)
  • Make boxed function public (#1754) (2cc868f)
  • Relax GrpcMethod lifetime (#1598) (68bf17d)
  • tls: Add ability to add multiple ca certificates (#1724) (3457f92)
  • tls: Use rustls_pki_types::CertificateDer to describe DER encoded certificate (#1707) (96a8cbc)
  • tls: Remove tls roots implicit configuration (#1731) (de73617)
  • transport: Make service router independent from transport (#1572) (da48235)
  • transport: Make transport server and channel independent (#1630) (654289f)
  • transport: Rename reexported axum body (#1752) (5d7bfc2)
  • Use http::Extensions directly (#1710) (ed95d27)

Bug Fixes

  • tonic: flush accumulated ready messages when status received (#1756) (d312dcc), closes #1423

BREAKING CHANGES

  • tonic and crates updated to hyper 1.0 (#1670)
  • tonic and crates updated to prost 0.13 (#1779)
  • tonic_reflection::server is updated to use the generated tonic_reflection::pb::v1 code.
  • Make compression encoding configuration more malleable (#1757)

0.11.0 (2024-02-08)

BREAKING CHANGES:

  • Removed NamedService from the transport module, please import it via tonic::server::NamedService.
  • MSRV bumped to 1.70.

Features

  • Added zstd compression support.

... (truncated)

Commits
  • 2eeca95 chore: release v0.12.0 (#1740)
  • 3df62fe feat: update prost to v0.13.0 (#1779)
  • 315bb09 feat(server): Remove reexporting service router (#1773)
  • 9f5fc3b chore: Replace unit struct with ordinary struct (#1777)
  • 1c327a2 chore: Use let-else statement (#1776)
  • f8e1f87 feat(codec): Make error when not utf8 value in compression encoding (#1768)
  • 4dda0a9 chore(codec): Use BytesMut put_u8 method to write single byte (#1774)
  • 2cc868f feat: Make boxed function public (#1754)
  • cdfbf2a chore(codec): Use as_str method to implement display for CompressionEncoding ...
  • 0f4fcdd chore(codec): Use slice contains method to check if value contained (#1764)
  • Additional commits viewable in compare view

Updates tonic-build to 0.12.0

Release notes

Sourced from tonic-build's releases.

v0.12.0

v0.12.0 (2024-07-08)

This breaking release updates tonic to the hyper 1.0 ecosystem and also updates to prost v0.13.0.

Features

  • build: Custom codecs for generated code (#1599) (18a2b30)
  • channel: Make channel feature additive (#1574) (b947e1a)
  • codec: Make error when not utf8 value in compression encoding (#1768) (f8e1f87)
  • Implement http_body::Body::size_hint for custom body (#1713) (9728c01)
  • Make boxed function public (#1754) (2cc868f)
  • Relax GrpcMethod lifetime (#1598) (68bf17d)
  • tls: Add ability to add multiple ca certificates (#1724) (3457f92)
  • tls: Use rustls_pki_types::CertificateDer to describe DER encoded certificate (#1707) (96a8cbc)
  • tls: Remove tls roots implicit configuration (#1731) (de73617)
  • transport: Make service router independent from transport (#1572) (da48235)
  • transport: Make transport server and channel independent (#1630) (654289f)
  • transport: Rename reexported axum body (#1752) (5d7bfc2)
  • Use http::Extensions directly (#1710) (ed95d27)

Bug Fixes

  • tonic: flush accumulated ready messages when status received (#1756) (d312dcc), closes #1423

BREAKING CHANGES

  • tonic and crates updated to hyper 1.0 (#1670)
  • tonic and crates updated to prost 0.13 (#1779)
  • tonic_reflection::server is updated to use the generated tonic_reflection::pb::v1 code.
  • Make compression encoding configuration more malleable (#1757)
Changelog

Sourced from tonic-build's changelog.

v0.12.0 (2024-07-08)

This breaking release updates tonic to the hyper 1.0 ecosystem and also updates to prost v0.13.0.

Features

  • build: Custom codecs for generated code (#1599) (18a2b30)
  • channel: Make channel feature additive (#1574) (b947e1a)
  • codec: Make error when not utf8 value in compression encoding (#1768) (f8e1f87)
  • Implement http_body::Body::size_hint for custom body (#1713) (9728c01)
  • Make boxed function public (#1754) (2cc868f)
  • Relax GrpcMethod lifetime (#1598) (68bf17d)
  • tls: Add ability to add multiple ca certificates (#1724) (3457f92)
  • tls: Use rustls_pki_types::CertificateDer to describe DER encoded certificate (#1707) (96a8cbc)
  • tls: Remove tls roots implicit configuration (#1731) (de73617)
  • transport: Make service router independent from transport (#1572) (da48235)
  • transport: Make transport server and channel independent (#1630) (654289f)
  • transport: Rename reexported axum body (#1752) (5d7bfc2)
  • Use http::Extensions directly (#1710) (ed95d27)

Bug Fixes

  • tonic: flush accumulated ready messages when status received (#1756) (d312dcc), closes #1423

BREAKING CHANGES

  • tonic and crates updated to hyper 1.0 (#1670)
  • tonic and crates updated to prost 0.13 (#1779)
  • tonic_reflection::server is updated to use the generated tonic_reflection::pb::v1 code.
  • Make compression encoding configuration more malleable (#1757)

0.11.0 (2024-02-08)

BREAKING CHANGES:

  • Removed NamedService from the transport module, please import it via tonic::server::NamedService.
  • MSRV bumped to 1.70.

Features

  • Added zstd compression support.

... (truncated)

Commits
  • 2eeca95 chore: release v0.12.0 (#1740)
  • 3df62fe feat: update prost to v0.13.0 (#1779)
  • 315bb09 feat(server): Remove reexporting service router (#1773)
  • 9f5fc3b chore: Replace unit struct with ordinary struct (#1777)
  • 1c327a2 chore: Use let-else statement (#1776)
  • f8e1f87 feat(codec): Make error when not utf8 value in compression encoding (#1768)
  • 4dda0a9 chore(codec): Use BytesMut put_u8 method to write single byte (#1774)
  • 2cc868f feat: Make boxed function public (#1754)
  • cdfbf2a chore(codec): Use as_str method to implement display for CompressionEncoding ...
  • 0f4fcdd chore(codec): Use slice contains method to check if value contained (#1764)
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Updates the requirements on [prost](https://github.com/tokio-rs/prost), [tonic](https://github.com/hyperium/tonic) and [tonic-build](https://github.com/hyperium/tonic) to permit the latest version.

Updates `prost` to 0.13.0
- [Release notes](https://github.com/tokio-rs/prost/releases)
- [Changelog](https://github.com/tokio-rs/prost/blob/master/CHANGELOG.md)
- [Commits](tokio-rs/prost@v0.12.0...v0.13.0)

Updates `tonic` to 0.12.0
- [Release notes](https://github.com/hyperium/tonic/releases)
- [Changelog](https://github.com/hyperium/tonic/blob/master/CHANGELOG.md)
- [Commits](hyperium/tonic@v0.11.0...v0.12.0)

Updates `tonic-build` to 0.12.0
- [Release notes](https://github.com/hyperium/tonic/releases)
- [Changelog](https://github.com/hyperium/tonic/blob/master/CHANGELOG.md)
- [Commits](hyperium/tonic@v0.11.0...v0.12.0)

---
updated-dependencies:
- dependency-name: prost
  dependency-type: direct:production
  dependency-group: rust-dependencies
- dependency-name: tonic
  dependency-type: direct:production
  dependency-group: rust-dependencies
- dependency-name: tonic-build
  dependency-type: direct:production
  dependency-group: rust-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot requested a review from a team as a code owner July 8, 2024 23:37
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Jul 8, 2024
@huitseeker huitseeker added this pull request to the merge queue Jul 10, 2024
Merged via the queue into main with commit 4a2d8f6 Jul 10, 2024
10 of 11 checks passed
@huitseeker huitseeker deleted the dependabot-cargo-rust-dependencies-ceb9a6966c branch July 10, 2024 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file rust Pull requests that update Rust code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant