From 1c0aac86f174e2b1f55f74d84a81bbbabae630f5 Mon Sep 17 00:00:00 2001 From: huntsman90 Date: Thu, 25 Jun 2026 05:00:30 +0000 Subject: [PATCH] Bump versions to 0.0.18 Notable changes since 0.0.17: - Fix codegen panic on messages containing nested `extend` blocks (#181) - Update `pb-jelly-gen` to use `std::sync::LazyLock` (#182) - Add Cargo workspace configuration to centralize dependency management (#183) - Rename `examples_gen` package from `pb-test/pb_test_gen` (#184) - Add crates.io publish workflow (#185) Co-authored-by: Cursor --- CHANGELOG.md | 8 ++++++++ Cargo.toml | 4 ++-- README.md | 4 ++-- examples/Cargo.toml | 2 +- examples/examples_gen/Cargo.toml | 2 +- pb-jelly-gen/README.md | 2 +- pb-jelly-gen/src/codegen.rs | 2 +- pb-jelly-gen/src/lib.rs | 2 +- pb-jelly/README.md | 2 +- pb-test/gen/pb-jelly/proto_google/Cargo.toml.expected | 2 +- pb-test/gen/pb-jelly/proto_nopackage/Cargo.toml.expected | 2 +- pb-test/gen/pb-jelly/proto_pbtest/Cargo.toml.expected | 2 +- pb-test/pb_test_gen/Cargo.toml | 2 +- 13 files changed, 22 insertions(+), 14 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 51813c0..a705c96 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,14 @@ # Unreleased ... everything has been released! +# 0.0.18 +### June 24, 2026 +* Fix codegen panic on messages containing nested `extend` blocks (#181) +* Update `pb-jelly-gen` to use `std::sync::LazyLock` (#182) +* Add Cargo workspace configuration to centralize dependency management (#183) +* Rename `examples_gen` package from `pb-test/pb_test_gen` (#184) +* Add crates.io publish workflow (#185) + # 0.0.17 ### Nov 20, 2024 * Add read-only support for proto2 extension fields (#163, #170) diff --git a/Cargo.toml b/Cargo.toml index 422db9a..d6a8147 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,7 +10,7 @@ exclude = [ ] [workspace.package] -version = "0.0.17" +version = "0.0.18" edition = "2018" repository = "https://github.com/dropbox/pb-jelly" authors = ["Rajat Goel ", "Nipunn Koorapati ", "Parker Timmerman "] @@ -26,6 +26,6 @@ bytes = "1.0" compact_str = { version = "0.5", features = ["bytes", "serde"] } tempfile = "3.1.0" walkdir = "2.3.1" -pb-jelly = { path = "pb-jelly", version = "0.0.17" } +pb-jelly = { path = "pb-jelly", version = "0.0.18" } indexmap = "2.0.2" diff --git a/README.md b/README.md index fa08fa2..df24d58 100644 --- a/README.md +++ b/README.md @@ -62,7 +62,7 @@ There are only two crates you'll need: `pb-jelly` and `pb-jelly-gen`.
Contains all of the important traits and structs that power our generated code, e.g. `Message` and `Lazy`. Include this as a dependency, e.g. ``` [dependencies] -pb-jelly = "0.0.17" +pb-jelly = "0.0.18" ``` ##### `pb-jelly-gen` @@ -75,7 +75,7 @@ You'll need to add a generation crate (see `examples_gen` for an example) Include `pb-jelly-gen` as a dependency of your generation crate, and `cargo run` to invoke protoc for you. ``` [dependencies] -pb-jelly-gen = "0.0.17" +pb-jelly-gen = "0.0.18" ``` Eventually, we hope to eliminate the need for a generation crate, and simply have generation occur diff --git a/examples/Cargo.toml b/examples/Cargo.toml index 2a93c11..3e2ec59 100644 --- a/examples/Cargo.toml +++ b/examples/Cargo.toml @@ -10,7 +10,7 @@ publish = false [dependencies] bytes = "1.0" compact_str = "0.5" -pb-jelly = "0.0.17" +pb-jelly = "0.0.18" proto_box_it = { path = "gen/rust/proto/proto_box_it" } proto_custom_type = { path = "gen/rust/proto/proto_custom_type" } proto_linked_list = { path = "gen/rust/proto/proto_linked_list" } diff --git a/examples/examples_gen/Cargo.toml b/examples/examples_gen/Cargo.toml index f527a65..4662100 100644 --- a/examples/examples_gen/Cargo.toml +++ b/examples/examples_gen/Cargo.toml @@ -6,7 +6,7 @@ edition = "2018" publish = false [dependencies] -#pb-jelly-gen = "0.0.17" # If copying this example - use this +#pb-jelly-gen = "0.0.18" # If copying this example - use this pb-jelly-gen = { path = "../../pb-jelly-gen" } [patch.crates-io] diff --git a/pb-jelly-gen/README.md b/pb-jelly-gen/README.md index 62401a9..5ade001 100644 --- a/pb-jelly-gen/README.md +++ b/pb-jelly-gen/README.md @@ -26,7 +26,7 @@ Add this crate as a dependency in your `Cargo.toml` and then call `gen_protos`: ##### `Cargo.toml` ``` [dependencies] -pb-jelly-gen = "0.0.17" +pb-jelly-gen = "0.0.18" ``` ##### `main.rs` diff --git a/pb-jelly-gen/src/codegen.rs b/pb-jelly-gen/src/codegen.rs index ddfc5a4..2c5b96b 100644 --- a/pb-jelly-gen/src/codegen.rs +++ b/pb-jelly-gen/src/codegen.rs @@ -2564,7 +2564,7 @@ impl<'a> Context<'a> { } let mut versions: IndexMap<&str, String> = IndexMap::new(); - versions.insert("pb-jelly", "version = \"0.0.17\"".to_string()); + versions.insert("pb-jelly", "version = \"0.0.18\"".to_string()); versions.insert("serde", "version = \"1.0\"".to_string()); versions.insert("serde_derive", "version = \"1.0\"".to_string()); versions.insert("bytes", "version = \"1.0\"".to_string()); diff --git a/pb-jelly-gen/src/lib.rs b/pb-jelly-gen/src/lib.rs index 65a7700..7fb622c 100644 --- a/pb-jelly-gen/src/lib.rs +++ b/pb-jelly-gen/src/lib.rs @@ -8,7 +8,7 @@ //! You can include `pb-jelly-gen` in your Cargo project, by including it as a `[build-dependency]` in your `Cargo.toml` //! ```toml //! [build-dependencies] -//! pb-jelly-gen = "0.0.17" +//! pb-jelly-gen = "0.0.18" //! ``` //! //! Then from a [`build.rs`](https://doc.rust-lang.org/cargo/reference/build-scripts.html) script, use either the `GenProtos` builder struct, diff --git a/pb-jelly/README.md b/pb-jelly/README.md index 878ac94..a0ed3c4 100644 --- a/pb-jelly/README.md +++ b/pb-jelly/README.md @@ -10,7 +10,7 @@ include this crate as a dependency in your `Cargo.toml`. ##### `Cargo.toml` ``` [dependencies] -pb-jelly = "0.0.17" +pb-jelly = "0.0.18" ``` Then in the general case, all you'll need to use in your code is the `Message` trait this crate defines, e.g. diff --git a/pb-test/gen/pb-jelly/proto_google/Cargo.toml.expected b/pb-test/gen/pb-jelly/proto_google/Cargo.toml.expected index 2bdd322..836ba7d 100644 --- a/pb-test/gen/pb-jelly/proto_google/Cargo.toml.expected +++ b/pb-test/gen/pb-jelly/proto_google/Cargo.toml.expected @@ -5,4 +5,4 @@ version = "0.0.1" edition = "2018" [dependencies] -pb-jelly = { version = "0.0.17" } +pb-jelly = { version = "0.0.18" } diff --git a/pb-test/gen/pb-jelly/proto_nopackage/Cargo.toml.expected b/pb-test/gen/pb-jelly/proto_nopackage/Cargo.toml.expected index 5ce62c3..50251b1 100644 --- a/pb-test/gen/pb-jelly/proto_nopackage/Cargo.toml.expected +++ b/pb-test/gen/pb-jelly/proto_nopackage/Cargo.toml.expected @@ -5,4 +5,4 @@ version = "0.0.1" edition = "2018" [dependencies] -pb-jelly = { version = "0.0.17" } +pb-jelly = { version = "0.0.18" } diff --git a/pb-test/gen/pb-jelly/proto_pbtest/Cargo.toml.expected b/pb-test/gen/pb-jelly/proto_pbtest/Cargo.toml.expected index 1078685..d825f9a 100644 --- a/pb-test/gen/pb-jelly/proto_pbtest/Cargo.toml.expected +++ b/pb-test/gen/pb-jelly/proto_pbtest/Cargo.toml.expected @@ -7,5 +7,5 @@ edition = "2018" [dependencies] bytes = { version = "1.0" } compact_str = { features=["bytes"], version = "0.5" } -pb-jelly = { version = "0.0.17" } +pb-jelly = { version = "0.0.18" } proto_google = { path = "../proto_google" } diff --git a/pb-test/pb_test_gen/Cargo.toml b/pb-test/pb_test_gen/Cargo.toml index 3beaf4b..5cd8f3e 100644 --- a/pb-test/pb_test_gen/Cargo.toml +++ b/pb-test/pb_test_gen/Cargo.toml @@ -6,7 +6,7 @@ edition = "2018" publish = false [dependencies] -#pb-jelly-gen = "0.0.17" # If copying this example - use this +#pb-jelly-gen = "0.0.18" # If copying this example - use this pb-jelly-gen = { path = "../../pb-jelly-gen" } # only used when benchmarking PROST!