From 60d4c33d097b1d416586744c3206c401f17ba31e Mon Sep 17 00:00:00 2001 From: Casper Meijn Date: Fri, 6 Dec 2024 16:17:23 +0100 Subject: [PATCH] chore: Release version 0.13.4 (#1197) --- CHANGELOG.md | 38 ++++++++++++++++++++++++++++++++++++++ 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, 51 insertions(+), 13 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e53187c2d..71f32cd4c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,41 @@ +# 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. + +## Features + +- Impl Name for Protobuf well-known wrapper types (#1174) + +## Performance + +- NonZeroU64 to optimize encoded_len_varint (#1192) + +## Dependencies + +- Remove unused `bytes` dependency from `prost-build` (#1169) +- Update pulldown-cmark-to-cmark requirement from >=16, <=17 to >=16, <=18 (#1173) +- Update pulldown-cmark-to-cmark requirement from >=16, <=18 to >=16, <=19 (#1195) +- Update protobuf to v25.3 (#1165) +- Update protobuf to v25.4 (#1176) + +## Styling + +- Remove explicit lifetimes (#1180) +- Remove unnecessary empty line after document (#1181) + +## Testing + +- *(boxed_field)* Confirm `Foo::bar` is boxed (#1168) +- Move build.rs to standard location (#1167) +- *(custom_debug)* Merge `skip_debug` into `custom_debug` (#1178) +- Rename `invalid_doctest` to `disable_comments` (#1183) +- *(custom_attributes)* Move module to separate file (#1187) + +## Build + +- Bump clippy version to 1.82 (#1182) +- Restrict permissions of `GITHUB_TOKEN` (#1189) + # Prost version 0.13.3 _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 a36c3ab66..3c059e16b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,7 +17,7 @@ members = [ resolver = "2" [workspace.package] -version = "0.13.3" +version = "0.13.4" authors = [ "Dan Burkert ", "Lucio Franco ", diff --git a/README.md b/README.md index bdf5ea2cf..c0ff65d56 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.3", default-features = false, features = ["prost-derive"] } +prost = { version = "0.13.4", default-features = false, features = ["prost-derive"] } # Only necessary if using Protobuf well-known types: -prost-types = { version = "0.13.3", default-features = false } +prost-types = { version = "0.13.4", 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 154b96f1c..6e6157949 100644 --- a/prost-build/Cargo.toml +++ b/prost-build/Cargo.toml @@ -20,8 +20,8 @@ itertools = { version = ">=0.10, <=0.13", default-features = false, features = [ log = "0.4.4" multimap = { version = ">=0.8, <=0.10", default-features = false } petgraph = { version = "0.6", default-features = false } -prost = { version = "0.13.3", path = "../prost", default-features = false } -prost-types = { version = "0.13.3", path = "../prost-types", 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 } 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 14324f9cb..8c5f0fbf0 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.3")] +#![doc(html_root_url = "https://docs.rs/prost-build/0.13.4")] #![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 270d25ee2..17b49dc61 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.3")] +#![doc(html_root_url = "https://docs.rs/prost-derive/0.13.4")] // The `quote!` macro requires deep recursion. #![recursion_limit = "4096"] diff --git a/prost-types/Cargo.toml b/prost-types/Cargo.toml index b3ee470d2..3d61d367e 100644 --- a/prost-types/Cargo.toml +++ b/prost-types/Cargo.toml @@ -17,7 +17,7 @@ default = ["std"] std = ["prost/std"] [dependencies] -prost = { version = "0.13.3", path = "../prost", default-features = false, features = ["prost-derive"] } +prost = { version = "0.13.4", path = "../prost", default-features = false, features = ["prost-derive"] } [dev-dependencies] proptest = "1" diff --git a/prost-types/src/lib.rs b/prost-types/src/lib.rs index a0507426b..8f65fb6de 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.3")] +#![doc(html_root_url = "https://docs.rs/prost-types/0.13.4")] //! Protocol Buffers well-known types. //! diff --git a/prost/Cargo.toml b/prost/Cargo.toml index efd6d8cdd..6f2122136 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.3", path = "../prost-derive", optional = true } +prost-derive = { version = "0.13.4", 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 bdf5ea2cf..c0ff65d56 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.3", default-features = false, features = ["prost-derive"] } +prost = { version = "0.13.4", default-features = false, features = ["prost-derive"] } # Only necessary if using Protobuf well-known types: -prost-types = { version = "0.13.3", default-features = false } +prost-types = { version = "0.13.4", 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 efdfbc5c1..e80fae162 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.3")] +#![doc(html_root_url = "https://docs.rs/prost/0.13.4")] #![cfg_attr(not(feature = "std"), no_std)] #![doc = include_str!("../README.md")]