diff --git a/CHANGELOG.md b/CHANGELOG.md index cebb8565e..05b794305 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,57 @@ +# Prost version 0.13.2 + +_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-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) + # Prost version 0.13.1 _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 56855e359..61a9b1fc0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,7 +17,7 @@ members = [ resolver = "2" [workspace.package] -version = "0.13.1" +version = "0.13.2" authors = [ "Dan Burkert ", "Lucio Franco ", diff --git a/README.md b/README.md index 5b903b6de..99a3ddaf7 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.1", default-features = false, features = ["prost-derive"] } +prost = { version = "0.13.2", default-features = false, features = ["prost-derive"] } # Only necessary if using Protobuf well-known types: -prost-types = { version = "0.13.1", default-features = false } +prost-types = { version = "0.13.2", 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 0dc342cbc..08331b5ef 100644 --- a/prost-build/Cargo.toml +++ b/prost-build/Cargo.toml @@ -21,8 +21,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.1", path = "../prost", default-features = false } -prost-types = { version = "0.13.1", path = "../prost-types", default-features = false } +prost = { version = "0.13.2", path = "../prost", default-features = false } +prost-types = { version = "0.13.2", 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 1e74d0c96..b7b3b4110 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.1")] +#![doc(html_root_url = "https://docs.rs/prost-build/0.13.2")] #![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 f34fa0a35..358b8e660 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.1")] +#![doc(html_root_url = "https://docs.rs/prost-derive/0.13.2")] // The `quote!` macro requires deep recursion. #![recursion_limit = "4096"] diff --git a/prost-types/Cargo.toml b/prost-types/Cargo.toml index 8689f5ff3..535f6b791 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.1", path = "../prost", default-features = false, features = ["prost-derive"] } +prost = { version = "0.13.2", 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 c7c81b5a8..369292bc8 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.1")] +#![doc(html_root_url = "https://docs.rs/prost-types/0.13.2")] //! Protocol Buffers well-known types. //! diff --git a/prost/Cargo.toml b/prost/Cargo.toml index 2ccd3121d..cc0e30e91 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.1", path = "../prost-derive", optional = true } +prost-derive = { version = "0.13.2", 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 5b903b6de..99a3ddaf7 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.1", default-features = false, features = ["prost-derive"] } +prost = { version = "0.13.2", default-features = false, features = ["prost-derive"] } # Only necessary if using Protobuf well-known types: -prost-types = { version = "0.13.1", default-features = false } +prost-types = { version = "0.13.2", 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 675fd422f..4f85237f1 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.1")] +#![doc(html_root_url = "https://docs.rs/prost/0.13.2")] #![cfg_attr(not(feature = "std"), no_std)] #![doc = include_str!("../README.md")]