From d505b184e933e1f9ff5679106ffc51b7e3c2755e Mon Sep 17 00:00:00 2001 From: Casper Meijn Date: Wed, 12 Feb 2025 07:37:27 +0100 Subject: [PATCH] chore: Release version 0.13.5 (#1240) --- CHANGELOG.md | 36 ++++++++++++++++++++++++++++++++++++ Cargo.toml | 2 +- README.md | 4 ++-- prost-build/Cargo.toml | 4 ++-- prost-build/src/lib.rs | 2 +- prost-derive/src/lib.rs | 2 +- prost-types/Cargo.toml | 2 +- prost-types/src/lib.rs | 2 +- prost/Cargo.toml | 2 +- prost/README.md | 4 ++-- prost/src/lib.rs | 2 +- 11 files changed, 49 insertions(+), 13 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 71f32cd4c..afcbcb612 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,39 @@ +# Prost version 0.13.5 + +_PROST!_ is a [Protocol Buffers](https://developers.google.com/protocol-buffers/) implementation for the [Rust Language](https://www.rust-lang.org/). `prost` generates simple, idiomatic Rust code from `proto2` and `proto3` files. + +## Features + +- prost-types: Derive Arbitrary (#1188) + +## Documentation + +- Use intra doc links instead of HTML tags (#1219) + +## Dependencies + +- Update pulldown-cmark-to-cmark requirement from >=16, <=19 to >=16, <=20 (#1206) +- Update itertools requirement from >=0.10, <=0.13 to >=0.10, <=0.14 (#1222) +- Update petgraph requirement to include 0.7 (#1226) +- Update rand requirement from 0.8 to 0.9 (#1233) +- Bump clippy to 1.83 (#1220) +- Update flake.lock (#1216) + +## Styling + +- Replace unnecessary `map_or` (#1221) +- prost-build: Use enum getter (#1238) + +## Testing + +- default_enum_value: Move tests to separate module (#1198) +- nesting: Move tests to separate module (#1218) +- recursive_oneof: Move tests to separate module (#1225) +- boxed_field: Box an oneof field (#1235) +- groups: Move tests to separate module (#1234) +- default_string_escape: Move tests to separate module (#1239) +- Move DecodeError tests closer to the implementation (#1227) + # Prost version 0.13.4 _PROST!_ is a [Protocol Buffers](https://developers.google.com/protocol-buffers/) implementation for the [Rust Language](https://www.rust-lang.org/). `prost` generates simple, idiomatic Rust code from `proto2` and `proto3` files. diff --git a/Cargo.toml b/Cargo.toml index 3c059e16b..8bad183a1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,7 +17,7 @@ members = [ resolver = "2" [workspace.package] -version = "0.13.4" +version = "0.13.5" authors = [ "Dan Burkert ", "Lucio Franco ", diff --git a/README.md b/README.md index c0ff65d56..69959b3b1 100644 --- a/README.md +++ b/README.md @@ -380,9 +380,9 @@ the `std` features in `prost` and `prost-types`: ```ignore [dependencies] -prost = { version = "0.13.4", default-features = false, features = ["prost-derive"] } +prost = { version = "0.13.5", default-features = false, features = ["prost-derive"] } # Only necessary if using Protobuf well-known types: -prost-types = { version = "0.13.4", default-features = false } +prost-types = { version = "0.13.5", default-features = false } ``` Additionally, configure `prost-build` to output `BTreeMap`s instead of `HashMap`s diff --git a/prost-build/Cargo.toml b/prost-build/Cargo.toml index 874d883e3..65e57cbbe 100644 --- a/prost-build/Cargo.toml +++ b/prost-build/Cargo.toml @@ -20,8 +20,8 @@ itertools = { version = ">=0.10, <=0.14", default-features = false, features = [ log = "0.4.4" multimap = { version = ">=0.8, <=0.10", default-features = false } petgraph = { version = ">=0.6, <=0.7", default-features = false } -prost = { version = "0.13.4", path = "../prost", default-features = false } -prost-types = { version = "0.13.4", path = "../prost-types", default-features = false } +prost = { version = "0.13.5", path = "../prost", default-features = false } +prost-types = { version = "0.13.5", path = "../prost-types", default-features = false } tempfile = "3" once_cell = "1.17.1" regex = { version = "1.8.1", default-features = false, features = ["std", "unicode-bool"] } diff --git a/prost-build/src/lib.rs b/prost-build/src/lib.rs index 30c171413..c80018274 100644 --- a/prost-build/src/lib.rs +++ b/prost-build/src/lib.rs @@ -1,4 +1,4 @@ -#![doc(html_root_url = "https://docs.rs/prost-build/0.13.4")] +#![doc(html_root_url = "https://docs.rs/prost-build/0.13.5")] #![allow(clippy::option_as_ref_deref, clippy::format_push_string)] //! `prost-build` compiles `.proto` files into Rust. diff --git a/prost-derive/src/lib.rs b/prost-derive/src/lib.rs index 17b49dc61..bc56d2249 100644 --- a/prost-derive/src/lib.rs +++ b/prost-derive/src/lib.rs @@ -1,4 +1,4 @@ -#![doc(html_root_url = "https://docs.rs/prost-derive/0.13.4")] +#![doc(html_root_url = "https://docs.rs/prost-derive/0.13.5")] // The `quote!` macro requires deep recursion. #![recursion_limit = "4096"] diff --git a/prost-types/Cargo.toml b/prost-types/Cargo.toml index 5fede2632..ce764c133 100644 --- a/prost-types/Cargo.toml +++ b/prost-types/Cargo.toml @@ -18,7 +18,7 @@ std = ["prost/std"] arbitrary = ["dep:arbitrary"] [dependencies] -prost = { version = "0.13.4", path = "../prost", default-features = false, features = ["prost-derive"] } +prost = { version = "0.13.5", path = "../prost", default-features = false, features = ["prost-derive"] } arbitrary = { version = "1.4", features = ["derive"], optional = true } [dev-dependencies] diff --git a/prost-types/src/lib.rs b/prost-types/src/lib.rs index 9cd5ed0f3..b531c1b01 100644 --- a/prost-types/src/lib.rs +++ b/prost-types/src/lib.rs @@ -1,4 +1,4 @@ -#![doc(html_root_url = "https://docs.rs/prost-types/0.13.4")] +#![doc(html_root_url = "https://docs.rs/prost-types/0.13.5")] //! Protocol Buffers well-known types. //! diff --git a/prost/Cargo.toml b/prost/Cargo.toml index 29db6fc9d..7dcf1ba13 100644 --- a/prost/Cargo.toml +++ b/prost/Cargo.toml @@ -24,7 +24,7 @@ std = [] [dependencies] bytes = { version = "1", default-features = false } -prost-derive = { version = "0.13.4", path = "../prost-derive", optional = true } +prost-derive = { version = "0.13.5", path = "../prost-derive", optional = true } [dev-dependencies] criterion = { version = "0.5", default-features = false } diff --git a/prost/README.md b/prost/README.md index c0ff65d56..69959b3b1 100644 --- a/prost/README.md +++ b/prost/README.md @@ -380,9 +380,9 @@ the `std` features in `prost` and `prost-types`: ```ignore [dependencies] -prost = { version = "0.13.4", default-features = false, features = ["prost-derive"] } +prost = { version = "0.13.5", default-features = false, features = ["prost-derive"] } # Only necessary if using Protobuf well-known types: -prost-types = { version = "0.13.4", default-features = false } +prost-types = { version = "0.13.5", default-features = false } ``` Additionally, configure `prost-build` to output `BTreeMap`s instead of `HashMap`s diff --git a/prost/src/lib.rs b/prost/src/lib.rs index e80fae162..8f9df5bbf 100644 --- a/prost/src/lib.rs +++ b/prost/src/lib.rs @@ -1,4 +1,4 @@ -#![doc(html_root_url = "https://docs.rs/prost/0.13.4")] +#![doc(html_root_url = "https://docs.rs/prost/0.13.5")] #![cfg_attr(not(feature = "std"), no_std)] #![doc = include_str!("../README.md")]