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

Update tonic & prost packages #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Jul 10, 2021

This PR contains the following updates:

Package Type Update Change
prost dependencies minor 0.7 -> 0.13
prost-build dependencies minor 0.7 -> 0.13
prost-types dependencies minor 0.7 -> 0.13
tonic dependencies minor 0.4 -> 0.12
tonic-build dependencies minor 0.4 -> 0.12

Release Notes

tokio-rs/prost (prost)

v0.13.3

Compare Source

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

Features
  • (prost-types) Add normalized functions (#​1158)
Bug Fixes
  • (prost-build) Remove derived(Copy) on boxed fields (#​1157)
Documentation
  • (prost-types) Add description of using Any (#​1141)
  • (prost-build) Use cargo add in example (#​1149)
Styling
  • Use Path::display() when printing a path (#​1150)
  • MessageGraph::new() can't actually fail (#​1151)
  • (generated-code) Use Self in as_str_name (#​1154)
Testing
  • Actually test skip_debug for prost::Oneof (#​1148)
  • (prost-build) Validate error texts (#​1152)
  • (prost-build) Fix error texts (#​1156)
Build
  • Increase MSRV to 1.71.1 (#​1135)
  • (deps) Update pulldown-cmark to 0.12 and pulldown-cmark-to-cmark to 16 (#​1144)
  • (protobuf) Compile and install protoc on Windows (#​1145)
  • (protobuf) Use same protoc from same repo as .proto-files (#​1136)
  • (deps) Update pulldown-cmark-to-cmark from 16 to 17 (#​1155)
  • Unify assert on fixtures (#​1142)

v0.13.2

Compare Source

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

Features

  • prost-build: Add protoc executable path to Config (#​1126)
  • prost-build: Extract file descriptor loading from compile_protos() (#​1067)

Bug Fixes

  • prost-types: Fix date-time parsing (#​1096)
  • prost-types: '+' is not a numeric digit (#​1104)
  • prost-types: Converting DateTime to Timestamp is fallible (#​1095)
  • prost-types: Parse timestamp with long second fraction (#​1106)
  • prost-types: Format negative fractional duration (#​1110)
  • prost-types: Allow unknown local time offset (#​1109)

Styling

  • Remove use of legacy numeric constants (#​1089)
  • Move encoding functions into separate modules (#​1111)
  • Remove needless borrow (#​1122)

Testing

  • Add tests for public interface of DecodeError (#​1120)
  • Add parse_date fuzzing target (#​1127)
  • Fix build without std (#​1134)
  • Change some proptest to kani proofs (#​1133)
  • Add parse_duration fuzzing target (#​1129)
  • fuzz: Fix building of fuzzing targets (#​1107)
  • fuzz: Add fuzz targets to workspace (#​1117)

Miscellaneous Tasks

  • Move old protobuf benchmark into prost (#​1100)
  • Remove allow clippy::derive_partial_eq_without_eq (#​1115)
  • Run cargo test without all-targets (#​1118)
  • dependabot: Add github actions (#​1121)
  • Update to cargo clippy version 1.80 (#​1128)

Build

  • Use proc-macro in Cargo.toml (#​1102)
  • Ignore missing features in tests crates (#​1101)
  • Use separated build directory for protobuf (#​1103)
  • protobuf: Don't install unused test proto (#​1116)
  • protobuf: Use crate cmake (#​1137)
  • deps: Update devcontainer to Debian Bookworm release (#​1114)
  • deps: Bump actions/upload-artifact from 3 to 4 (#​1123)
  • deps: Bump baptiste0928/cargo-install from 2 to 3 (#​1124)
  • deps: bump model-checking/kani-github-action from 0.32 to 1.1 (#​1125)

v0.13.1

Compare Source

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

Bug fixes

  • Enum variant named Error causes ambiguous item (#​1098)

v0.13.0

Compare Source

note: this version was yanked in favor of 0.13.1

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.12 to >=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)

v0.12.6

Compare Source

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

This patch update fixes a regression:

  • fix(prost-build): re-export error_message_protoc_not_found, protoc_from_env & protoc_include_from_env (#​1063)

v0.12.5

Compare Source

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

This patch update brings new fixes:

  • fix: include_file should handle proto without package (#​1002)
  • Place Config::format behind the format feature flag
  • Handle keyword Self after stripping enum type prefix (#​998)
Documentation
  • fix(readme): fix the link and badge for CI (#​1049)
Internal
  • style(codegen): Syntax to a separate file (#​1029)
  • chore(codegen): extract c string escaping to a separate file (#​1028)
  • style(prost-build): CodeGenerator::boxed method (#​1019)
  • style(prost-build): Consolidate field data into struct (#​1017)
  • style(prost-build): BytesType and MapType into a collections module. (#​1030)
  • style(prost-build): Split Config and Module into a separate module and files (#​1020)
  • style(prost-build): prost_path helper (#​1018)
  • style: Fix toml indent (#​1048)
  • style: Fix clippy warnings and enable clippy in CI (#​1008)
  • build: Use git submodule to download protobuf sources (#​1014)
  • ci: Add TOML validation with taplo (#​1034)
  • tests: Create a separate tempdir for each test (#​1044)
  • tests: Remove GoogleMessage3 and GoogleMessage4 benchmarks (#​1037)
  • chore: Update internal crates to Rust edition 2021 (#​1039)
  • chore: Update crate descriptions (#​1038)
  • chore: Fix clippy checks in CI (#​1032)
  • chore: Add Casper Meijn as author (#​1025)

v0.12.4

Compare Source

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

This patch update brings new features and fixes:

  • Bump MSRV to 1.70 (minimum supported Rust version)
  • Rename cargo feature prost-derive to derive (#​992)
  • Add @​generated comment on top of generated files (#​935)
  • Optimize implementation of prost::Name when generated by prost-build (#​956)
Dependencies
  • build(deps): Allow itertools 0.12 (#​948)
  • build(deps): Allow heck 0.5 (#​1012)
  • build(deps): Allow multimap 0.10 (#​1013)
Documentation
Internal
  • chore: Fix minimal versions (#​920)
  • fix: fq_message_name should begin with one dot (#​981)
  • improve encode_varint performance by bounding its loop (#​940)
  • style: Remove duplicate function call (#​989)
  • test: Improve test decode_varint_slow (#​977)
  • chore: Add dep: prefix to feature dependencies (#​919)
  • Minor clippy lint fixes. (#​1006)
  • chore: Use taiki-e/install-action to setup cargo-machete (#​909)
  • chore: Remove which dependency. (#​962)
  • chore: Update to actions/checkout@v4 (#​910)

v0.12.3

Compare Source

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

This patch updates brings a few new fixes:

v0.12.2

Compare Source

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

This patch updates brings a few new features and fixes:

v0.12.1

Compare Source

v0.12.0

Compare Source

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

This patch updates brings a few new features and fixes:

  • Bump syn to version 2
  • Bump MSRV to 1.64
  • Added TryFrom<i32> for enums
  • Optional debug implementations
  • Initial generic Any and Name impl/traits.

v0.11.9

Compare Source

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

This patch updates brings a few new features and fixes:

  • build: Support boxing fields via Config::boxed (#​802)

v0.11.8

Compare Source

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

This patch updates brings a few new features and fixes:

  • types: Fix unintentional change in compiler module visibility #​824

prost-types 0.11.7 was yanked due to the above unintentional semver breakage.

v0.11.7

Compare Source

v0.11.6

Compare Source

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

This patch updates brings a few new features and fixes:

v0.11.5

Compare Source

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

This patch updates brings a few new features and fixes:

v0.11.3

Compare Source

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

This patch updates brings a few new features and fixes:

  • build: Use log to print error logs.
  • build: Remove accidentally included prints.
  • build: Improve debian error message hint.

v0.11.2

Compare Source

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

This patch updates brings a few new features and fixes:

  • build: Improve protoc sourcing instructions in error messages.
  • build: Add Clone to Service types.
  • build: Sort modules to produce deterministic include files.
  • core: Tuple struct support.
  • build: Allow generated code derive path's to be changed.
  • build: Allow changing prost crate path.
  • build: Add code formatting support.

v0.11.0

Compare Source

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

Relase 0.11 brings a few breaking changes and changes to how prost sources protoc.

  • prost-build now requires protoc to be available in the path or set
    via the PROTOC env var.
  • prost-types now contains new Timestamp/Duration FromStr implementations.
  • MSRV bump to 1.56 and all crates have been moved to edition 2021

Notible changes that are not breaking:

  • prost-build now has a cleanup-markdown feature for cleaining up
    code blocks from protobuf files so that they work under rustdoc tests.
  • prost-build now generates as_str_name for message types.

v0.10.4

Compare Source

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

Small fix for compiling protoc from source to speed up compile times.

v0.10.3

Compare Source

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

This release reverts #​605 and contains some typo fixes.

(this release is actually the v0.10.2 release but prost-build had to be yanked because of a local publish issue)

v0.10.2

Compare Source

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

This release reverts #​605 and contains some typo fixes.

(this release was yanked due to missing third-party source, v0.10.3 is now the active release for this)

v0.10.1

Compare Source

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

This minor release brings no new code changes but symlinks license files in all the crates.

v0.10.0

Compare Source

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

Release 0.10 brings a few new ....

  • protoc is no longer bundled but is now compiled from bundled source
  • Minor performance improvements
  • Methods exposed to allow third party protobuf generation libraries

v0.9.0

Compare Source

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

Release 0.9.0 brings in many helpful changes and fixes, here are a few highlights:

  • Apple silicon support
  • Improve encode/decode varint performance
  • Support no package declaration
  • Support single include files
  • Fix multiple attribute support

v0.8.0

Compare Source

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

NOTE: This version contains a security fix for prost-types and is recommend that you upgrade to it from <0.7.

prost 0.8.0 includes breaking changes:

  • Timestamp's From implementation for converting into SystemTime has been converted to a fallible TryFrom implementation.
  • prost-build's compile_protos now takes impl AsRef<Path> to allow each parameter to use its own generic type.
  • Bundled protoc version bumped to 3.15.8

As well as many new (non-breaking) changes:

  • @​pluth enabled zero-copy support for Bytes based fields.
  • @​sfackler for fixing message optionals and oneofs in prost-build.
  • @​rubdos for adding the ability to encode prost messages directly to a Vec<u8>.

and numerous smaller fixes. Many thanks to the generous contributors who have helped out since 0.7:

hyperium/tonic (tonic)

v0.12.3

Compare Source

Features
  • server: Added support for grpc max_connection_age (#​1865)
  • build: Add #[deprecated] to deprecated client methods (#​1879)
  • build: plumb skip_debug through prost Builder and add test (#​1900)
Bug Fixes
  • build: Revert "fix tonic-build cargo build script outputs (#​1821)" which accidentally increases MSRV (#​1898)
  • server: ignore more error kinds in incoming socket stream (#​1885)
  • transport: do not shutdown server on broken connections (#​1948)

v0.12.2

Compare Source

Features
  • Move TimeoutExpired out of transport (#​1826)
  • Move ConnectError type from transport (#​1828)
  • channel: allow setting max_header_list_size (#​1835)
  • router: Add RoutesBuilder constructor (#​1855)
  • tls: Rename tls-roots feature with tls-native-roots (#​1860)
  • router: Rename Routes::into_router with into_axum_router (#​1862)
  • router: Implement from axum::Router for Routes (#​1863)
  • channel: Re-enable TLS based on Cargo features in generated clients (#​1866)
  • server: allow setting max_header_list_size (#​1870)
  • build: Expose formatted service name (#​1684)
  • reflection: add back support for v1alpha reflection protocol (#​1888)
Bug Fixes
  • router: Add missing unimplemented fallback to RoutesBuilder (#​1864)
  • server: Prevent server from exiting on ECONNABORTED (#​1874)
  • web: fix panic in trailer parsing on multiple trailers (#​1880)
  • web: fix empty trailer parsing causing infinite parser loop (#​1883)

v0.12.1

Compare Source

Bug Fixes
  • Reduce tokio-stream feature (#​1795)

v0.12.0

Compare Source

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

Features
Bug Fixes
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)
  • Removed implicit configuration of client TLS roots setup (#​1731)

v0.11.0

Compare Source

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.
  • Added connection timeout for connecto_with_connector_lazy.
  • Upgrade rustls to v0.22
  • Feature gate server implementation for tonic-reflection.

v0.10.2

Compare Source

Bug Fixes

v0.10.1

Compare Source

Bug Fixes

v0.10.0

Compare Source

Bug Fixes
Features

0.9.2 (2023-04-17)

0.9.1 (2023-04-03)

v0.9.2

Compare Source

v0.9.1

Compare Source

v0.9.0

Compare Source

Bug Fixes
Features

0.8.4 (2022-11-29)

Bug Fixes

0.8.3 (2022-11-28)

Bug Fixes
Features

0.8.2 (2022-09-28)

Bug Fixes
Features

v0.8.3

Compare Source

Bug Fixes
Features

v0.8.2

Compare Source

Bug Fixes
Features

v0.8.1

Compare Source

[v0.8.0](https://redirect.github.com/hyperium/tonic/blo


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.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


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

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/tonic-and-prost-packages branch from da40b66 to 93e4ff3 Compare October 18, 2021 21:35
@renovate renovate bot force-pushed the renovate/tonic-and-prost-packages branch from 93e4ff3 to 728ac64 Compare March 7, 2022 15:48
@renovate renovate bot force-pushed the renovate/tonic-and-prost-packages branch from 728ac64 to 1def0fd Compare April 24, 2022 19:17
@renovate renovate bot force-pushed the renovate/tonic-and-prost-packages branch from 1def0fd to 41e9b2b Compare September 25, 2022 23:15
@renovate renovate bot force-pushed the renovate/tonic-and-prost-packages branch from 41e9b2b to 03d4629 Compare March 31, 2023 20:56
@renovate renovate bot force-pushed the renovate/tonic-and-prost-packages branch 2 times, most recently from 99360d9 to 9253d0c Compare September 1, 2023 23:22
@renovate renovate bot force-pushed the renovate/tonic-and-prost-packages branch from 9253d0c to 836491a Compare February 8, 2024 19:29
@renovate renovate bot force-pushed the renovate/tonic-and-prost-packages branch 2 times, most recently from 62c90ee to a53fa79 Compare May 5, 2024 13:23
@renovate renovate bot force-pushed the renovate/tonic-and-prost-packages branch from a53fa79 to 0c0a7cc Compare July 8, 2024 18:55
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.

0 participants