-
Notifications
You must be signed in to change notification settings - Fork 0
Update tokio-prost monorepo to 0.14 #17
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
base: master
Are you sure you want to change the base?
Conversation
⚠ Artifact update problemRenovate failed to update artifacts related to this branch. You probably do not want to merge this PR as-is. ♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
The artifact failure details are included below: File name: Cargo.lockFile name: Cargo.lock |
b77f40a to
76bf6f1
Compare
76bf6f1 to
92861c9
Compare
92861c9 to
a76a54a
Compare
|
a76a54a to
5b97917
Compare
This PR contains the following updates:
0.7->0.140.7->0.140.7->0.14Release Notes
tokio-rs/prost (prost)
v0.14.1Compare Source
PROST! is a Protocol Buffers implementation for the Rust Language.
prostgenerates simple, idiomatic Rust code fromproto2andproto3files.reruncommandsVersion 0.14.1 reverts the emission of
reruncommands. Other than this change, it is identical to 0.14.0.In version 0.14.0,
prost-buildbegan emittingreruncommands. While intended to improve build correctness, this change caused regressions for some users—for example, those generatingprotosfrom anincludesdirectory. These edge cases are difficult to address reliably, so the change has been rolled back in 0.14.1.For more details, see issue #1296.
Breaking changes
prost: Relax Message Debug trait bound (#1147)
BREAKING CHANGE:
trait Debugwas a supertrait oftrait Message. This is no longer required byprost. If your code relies ontrait Debugbeing implemented for everyimpl Message, you must now explicitly state that you require both Debug and Message. For example:where M: Debug + Messageprost: Remove prost-derive feature (#1247)
BREAKING CHANGE: Feature flag
prost-deriveis renamed toderive. Please rename any usage ofprost-derivefeature in yourCargo.toml.prost-build: Prevent repeated fields to be boxed (#1237)
BREAKING CHANGE: A repeated field that is manually marked as boxed was typed as
Vec<Box<T>>. Those fields are now simply typed asVec<T>to prevent double indirection. Theboxedconfiguration is effectively ignored for repeated fields.prost-build: Make
type_name_domaincumulative (#1228)BREAKING CHANGE: The configuration for domain names of messages is now cumulative. All calls to
prost_build::Config::type_name_domainare now concatenated. The previous behavior was that only the arguments of the last call were used. If you do multiple calls to type_name_domain, you need to remove all but the last call to maintain the same behavior.prost-build: Derive Eq and Hash trait for messages where possible (#1175)
BREAKING CHANGE:
prost-buildwill automatically derivetrait Eqandtrait Hashfor types where all field support those as well. If you manuallyimpl Eqand/orimpl Hashfor generated types, then you need to remove the manual implementation. If you usetype_attributetoderive(Eq)and/orderive(Hash), then you need to remove those.Features
Durationto/fromchrono::TimeDelta(#1236)gen(#1257)Dependencies
Documentation
prost-types/README.md(#1262)Styling
Testing
v0.14.0Compare Source
PROST! is a Protocol Buffers implementation for the Rust Language.
prostgenerates simple, idiomatic Rust code fromproto2andproto3files.Breaking changes
prost: Relax Message Debug trait bound (#1147)
BREAKING CHANGE:
trait Debugwas a supertrait oftrait Message. This is no longer required byprost. If your code relies ontrait Debugbeing implemented for everyimpl Message, you must now explicitly state that you require both Debug and Message. For example:where M: Debug + Messageprost: Remove prost-derive feature (#1247)
BREAKING CHANGE: Feature flag
prost-deriveis renamed toderive. Please rename any usage ofprost-derivefeature in yourCargo.toml.prost-build: Emit
reruncommands (#1140)BREAKING CHANGE: Previously
cargoassumed it had to rerunbuild.rsif any files in the project changed.prost-buildwill now emitreruncommands, which means only the explicitly marked files cause a rerun. If yourbuild.rsis dependent on any other file paths than those given toprost-build, then yourbuild.rsneeds to emitreruncommands as well.prost-build: Prevent repeated fields to be boxed (#1237)
BREAKING CHANGE: A repeated field that is manually marked as boxed was typed as
Vec<Box<T>>. Those fields are now simply typed asVec<T>to prevent double indirection. Theboxedconfiguration is effectively ignored for repeated fields.prost-build: Make
type_name_domaincumulative (#1228)BREAKING CHANGE: The configuration for domain names of messages is now cumulative. All calls to
prost_build::Config::type_name_domainare now concatenated. The previous behavior was that only the arguments of the last call were used. If you do multiple calls to type_name_domain, you need to remove all but the last call to maintain the same behavior.prost-build: Derive Eq and Hash trait for messages where possible (#1175)
BREAKING CHANGE:
prost-buildwill automatically derivetrait Eqandtrait Hashfor types where all field support those as well. If you manuallyimpl Eqand/orimpl Hashfor generated types, then you need to remove the manual implementation. If you usetype_attributetoderive(Eq)and/orderive(Hash), then you need to remove those.Features
Durationto/fromchrono::TimeDelta(#1236)gen(#1257)Dependencies
Documentation
prost-types/README.md(#1262)Styling
Testing
v0.13.5Compare Source
PROST! is a Protocol Buffers implementation for the Rust Language.
prostgenerates simple, idiomatic Rust code fromproto2andproto3files.Features
Documentation
Dependencies
Styling
map_or(#1221)Testing
v0.13.4Compare Source
PROST! is a Protocol Buffers implementation for the Rust Language.
prostgenerates simple, idiomatic Rust code fromproto2andproto3files.Features
Performance
Dependencies
bytesdependency fromprost-build(#1169)Styling
Testing
Foo::baris boxed (#1168)skip_debugintocustom_debug(#1178)invalid_doctesttodisable_comments(#1183)Build
GITHUB_TOKEN(#1189)v0.13.3Compare Source
PROST! is a Protocol Buffers implementation for the Rust Language.
prostgenerates simple, idiomatic Rust code fromproto2andproto3files.Features
normalizedfunctions (#1158)Bug Fixes
derived(Copy)on boxed fields (#1157)Documentation
cargo addin example (#1149)Styling
Path::display()when printing a path (#1150)MessageGraph::new()can't actually fail (#1151)Selfinas_str_name(#1154)Testing
skip_debugforprost::Oneof(#1148)Build
protocfrom same repo as .proto-files (#1136)v0.13.2Compare Source
PROST! is a Protocol Buffers implementation for the Rust Language.
prostgenerates simple, idiomatic Rust code fromproto2andproto3files.Features
Bug Fixes
Styling
Testing
parse_datefuzzing target (#1127)parse_durationfuzzing target (#1129)Miscellaneous Tasks
cargo testwithoutall-targets(#1118)Build
proc-macroin Cargo.toml (#1102)testscrates (#1101)cmake(#1137)v0.13.1Compare Source
PROST! is a Protocol Buffers implementation for the Rust Language.
prostgenerates simple, idiomatic Rust code fromproto2andproto3files.Bug fixes
v0.13.0Compare Source
note: this version was yanked in favor of 0.13.1
PROST! is a Protocol Buffers implementation for the Rust Language.
prostgenerates simple, idiomatic Rust code fromproto2andproto3files.This major update brings new features and fixes:
Breaking changes
derive Copy trait for messages where possible (#950)
prost-buildwill automatically derivetrait Copyfor some messages. If you manually implementCopyyou should remove your implementation.Change generated functions signatures to remove type parameters (#1045)
The function signature of
trait Messageis changed to useimpl Bufinstead of a named generic type. If you implementtrait Message, you should change the function signature.Lightweight error value in TryFrom for enums (#1010)
When a
impl TryFrom<i32>is generated byprostderive macros, it will now return the error typeUnknownEnumValueinstead ofDecodeError. 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
Documentation
Internal
v0.12.6Compare Source
PROST! is a Protocol Buffers implementation for the Rust Language.
prostgenerates simple, idiomatic Rust code fromproto2andproto3files.This patch update fixes a regression:
error_message_protoc_not_found,protoc_from_env&protoc_include_from_env(#1063)v0.12.5Compare Source
PROST! is a Protocol Buffers implementation for the Rust Language.
prostgenerates simple, idiomatic Rust code fromproto2andproto3files.This patch update brings new fixes:
Selfafter stripping enum type prefix (#998)Documentation
Internal
Syntaxto a separate file (#1029)CodeGenerator::boxedmethod (#1019)BytesType and MapTypeinto acollectionsmodule. (#1030)ConfigandModuleinto a separate module and files (#1020)taplo(#1034)v0.12.4Compare Source
PROST! is a Protocol Buffers implementation for the Rust Language.
prostgenerates simple, idiomatic Rust code fromproto2andproto3files.This patch update brings new features and fixes:
prost-derivetoderive(#992)Dependencies
Documentation
Internal
v0.12.3Compare Source
PROST! is a Protocol Buffers implementation for the Rust Language.
prostgenerates simple, idiomatic Rust code fromproto2andproto3files.This patch updates brings a few new fixes:
acc1df8)v0.12.2Compare Source
PROST! is a Protocol Buffers implementation for the Rust Language.
prostgenerates simple, idiomatic Rust code fromproto2andproto3files.This patch updates brings a few new features and fixes:
v0.12.1Compare Source
v0.12.0Compare Source
PROST! is a Protocol Buffers implementation for the Rust Language.
prostgenerates simple, idiomatic Rust code fromproto2andproto3files.This patch updates brings a few new features and fixes:
synto version 2TryFrom<i32>for enumsAnyandNameimpl/traits.v0.11.9Compare Source
PROST! is a Protocol Buffers implementation for the Rust Language.
prostgenerates simple, idiomatic Rust code fromproto2andproto3files.This patch updates brings a few new features and fixes:
Config::boxed(#802)v0.11.8Compare Source
PROST! is a Protocol Buffers implementation for the Rust Language.
prostgenerates simple, idiomatic Rust code fromproto2andproto3files.This patch updates brings a few new features and fixes:
prost-types0.11.7 was yanked due to the above unintentional semver breakage.v0.11.7Compare Source
v0.11.6Compare Source
PROST! is a Protocol Buffers implementation for the Rust Language.
prostgenerates simple, idiomatic Rust code fromproto2andproto3files.This patch updates brings a few new features and fixes:
v0.11.5Compare Source
PROST! is a Protocol Buffers implementation for the Rust Language.
prostgenerates simple, idiomatic Rust code fromproto2andproto3files.This patch updates brings a few new features and fixes:
v0.11.3Compare Source
PROST! is a Protocol Buffers implementation for the Rust Language.
prostgenerates simple, idiomatic Rust code fromproto2andproto3files.This patch updates brings a few new features and fixes:
logto print error logs.v0.11.2Compare Source
PROST! is a Protocol Buffers implementation for the Rust Language.
prostgenerates simple, idiomatic Rust code fromproto2andproto3files.This patch updates brings a few new features and fixes:
protocsourcing instructions in error messages.ClonetoServicetypes.v0.11.0Compare Source
PROST! is a Protocol Buffers implementation for the Rust Language.
prostgenerates simple, idiomatic Rust code fromproto2andproto3files.Relase 0.11 brings a few breaking changes and changes to how prost sources protoc.
prost-buildnow requiresprotocto be available in the path or setvia the
PROTOCenv var.prost-typesnow contains newTimestamp/DurationFromStrimplementations.1.56and all crates have been moved to edition 2021Notible changes that are not breaking:
prost-buildnow has acleanup-markdownfeature for cleaining upcode blocks from protobuf files so that they work under rustdoc tests.
prost-buildnow generatesas_str_namefor message types.v0.10.4Compare Source
PROST! is a Protocol Buffers implementation for the Rust Language.
prostgenerates simple, idiomatic Rust code fromproto2andproto3files.Small fix for compiling protoc from source to speed up compile times.
v0.10.3Compare Source
PROST! is a Protocol Buffers implementation for the Rust Language.
prostgenerates simple, idiomatic Rust code fromproto2andproto3files.This release reverts #605 and contains some typo fixes.
(this release is actually the
v0.10.2release butprost-buildhad to be yanked because of a local publish issue)v0.10.2Compare Source
PROST! is a Protocol Buffers implementation for the Rust Language.
prostgenerates simple, idiomatic Rust code fromproto2andproto3files.This release reverts #605 and contains some typo fixes.
(this release was yanked due to missing third-party source,
v0.10.3is now the active release for this)v0.10.1Compare Source
PROST! is a Protocol Buffers implementation for the Rust Language.
prostgenerates simple, idiomatic Rust code fromproto2andproto3files.This minor release brings no new code changes but symlinks license files in all the crates.
v0.10.0Compare Source
PROST! is a Protocol Buffers implementation for the Rust Language.
prostgenerates simple, idiomatic Rust code fromproto2andproto3files.Release 0.10 brings a few new ....
protocis no longer bundled but is now compiled from bundled sourcev0.9.0Compare Source
PROST! is a Protocol Buffers implementation for the Rust Language.
prostgenerates simple, idiomatic Rust code fromproto2andproto3files.Release 0.9.0 brings in many helpful changes and fixes, here are a few highlights:
v0.8.0Compare Source
PROST! is a Protocol Buffers implementation for the Rust Language.
prostgenerates simple, idiomatic Rust code fromproto2andproto3files.NOTE: This version contains a security fix for
prost-typesand is recommend that you upgrade to it from <0.7.prost0.8.0 includes breaking changes:Timestamp'sFromimplementation for converting intoSystemTimehas been converted to a fallibleTryFromimplementation.prost-build'scompile_protosnow takesimpl AsRef<Path>to allow each parameter to use its own generic type.protocversion bumped to3.15.8As well as many new (non-breaking) changes:
Bytesbased fields.prost-build.Vec<u8>.and numerous smaller fixes. Many thanks to the generous contributors who have helped out since 0.7:
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 these updates again.
This PR was generated by Mend Renovate. View the repository job log.