Skip to content

Commit efb0755

Browse files
authored
chore: Release version 0.14.2 (#1372)
1 parent 91a093f commit efb0755

File tree

11 files changed

+89
-13
lines changed

11 files changed

+89
-13
lines changed

CHANGELOG.md

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,81 @@
1+
# Prost version 0.14.2
2+
3+
_PROST!_ is a [Protocol Buffers](https://protobuf.dev/) implementation for the [Rust Language](https://www.rust-lang.org/). `prost` generates simple, idiomatic Rust code from `proto2` and `proto3` files.
4+
5+
## ⚠️ Heads-up
6+
7+
- Increase MSRV to 1.82 (#1356)
8+
- Update maintenance status to Passively Maintained (#1359)
9+
10+
This excerpt is from the readme:
11+
> The current maintainer is not contributing new features and doesn't have the time to review new features. Bug fixes and small improvements are welcome. Feel free to contribute small and easily reviewable PRs.
12+
>
13+
> Bug fixes are still important, and security fixes will be released as soon as possible. Contact the `#prost` channel in [Tokio discord](https://discord.gg/tokio) if you feel a bug or security fix is not getting enough attention.
14+
>
15+
> The maintainer expects the official `protobuf` project to release their rust library soon and expects it to be as fully featured as the C++ library. See their [source code](https://github.com/protocolbuffers/protobuf/tree/main/rust) and [crate](https://crates.io/crates/protobuf/4.33.1-release) for more information.
16+
17+
## 🚀 Features
18+
19+
- Configure prost path via `prost_build::Config` or `#[(prost(prost_path = "::prost")]` (#1274)
20+
- Support for deprecated enum and oneof fields (#1316)
21+
22+
## 🐛 Bug Fixes
23+
24+
- *(prost-build)* Resolve OneOf type name conflict with embedded message (#1294)
25+
- *(prost-build)* Avoid OneOf type collision with enums and keyword names (#1341)
26+
27+
## 💼 Dependencies
28+
29+
- Use `trait Error` from core (#1179)
30+
- *(deps)* Update protobuf to v25.8 (#1323)
31+
- *(deps)* Update criterion requirement from 0.6 to 0.7 (#1308)
32+
- *(deps)* Update petgraph to 0.8 (#1327)
33+
- *(deps)* Bump actions/upload-artifact from 4 to 5 (#1351)
34+
- *(deps)* Bump actions/checkout from 5 to 6 (#1370)
35+
- Bump actions/checkout to v5 (#1312)
36+
- Update clippy to version 1.87 (#1292)
37+
- Replace once_cell dependency by std lib (#1119)
38+
39+
## 📚 Documentation
40+
41+
- Update outdated link is test documentation (#1289)
42+
- Describe use of encoding module (#1322)
43+
- Update the readme MSRV to the actual number (#1331)
44+
- Update URLs after manual review (#1336)
45+
- Answer why fields are wrapped in option (#1358)
46+
47+
## 🎨 Styling
48+
49+
- Add spaces to derive arguments in generated code (#1290)
50+
- Use variables directly in the `format!` string (#1293)
51+
- Remove unneeded lint allow statements (#1326)
52+
- Remove allocation in tests (#1332)
53+
- Simplify DecodeError description to an enum (#1330)
54+
- Use variables directly in the `format!` string (#1361)
55+
- Fix typo in prost/src/encoding.rs (#1369)
56+
57+
## 🧪 Testing
58+
59+
- Rename package of `ident_conversion` (#1291)
60+
- Add test for split buffer varint decoding (#1321)
61+
- Add descriptive reason of test failure (#1320)
62+
- Additionally test `decode_varint_slice` with roundtrips (#1325)
63+
- *(result_struct)* Move tests to separate module (#1333)
64+
- *(proto3_presence)* Move test to separate module (#1334)
65+
- *(result_enum)* Move test to separate module (#1342)
66+
- *(option_enum)* Move test to separate module (#1344)
67+
- *(option_struct)* Move tests to separate module (#1345)
68+
- *(message_encoding)* Roundtrip `Coumpound` (#1365)
69+
- *(no_unused_results)* Add roundtrip for Test message (#1364)
70+
- *(ServiceGenerator)* Verify the content of all generated files (#1357)
71+
- *(derive_copy)* Allow dead code (#1362)
72+
- Always choose macOS 14 (#1324)
73+
74+
## ⚙️ Miscellaneous Tasks
75+
76+
- Replace duplicate README by a symlink (#1303)
77+
- Add `cargo-semver-checks` (#1337)
78+
179
# Prost version 0.14.1
280

381
_PROST!_ is a [Protocol Buffers](https://protobuf.dev/) implementation for the [Rust Language](https://www.rust-lang.org/). `prost` generates simple, idiomatic Rust code from `proto2` and `proto3` files.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ members = [
2121
resolver = "2"
2222

2323
[workspace.package]
24-
version = "0.14.1"
24+
version = "0.14.2"
2525
authors = [
2626
"Dan Burkert <dan@danburkert.com>",
2727
"Lucio Franco <luciofranco14@gmail.com>",

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -381,9 +381,9 @@ the `std` features in `prost` and `prost-types`:
381381

382382
```ignore
383383
[dependencies]
384-
prost = { version = "0.14.1", default-features = false, features = ["derive"] }
384+
prost = { version = "0.14.2", default-features = false, features = ["derive"] }
385385
# Only necessary if using Protobuf well-known types:
386-
prost-types = { version = "0.14.1", default-features = false }
386+
prost-types = { version = "0.14.2", default-features = false }
387387
```
388388

389389
Additionally, configure `prost-build` to output `BTreeMap`s instead of `HashMap`s

prepare-release.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,7 @@ PROST_CRATE_MATCHER="(prost|prost-[a-z]+)"
2121

2222
# Update the README.md.
2323
sed -i -E "s/version = \"${VERSION_MATCHER}\"/version = \"${VERSION}\"/" "$DIR/README.md"
24-
sed -i -E "s/version = \"${VERSION_MATCHER}\"/version = \"${VERSION}\"/" "$DIR/prost/README.md"
2524
sed -i -E "s/${PROST_CRATE_MATCHER} = \"${VERSION_MATCHER}\"/\1 = \"${MINOR}\"/" "$DIR/README.md"
26-
sed -i -E "s/${PROST_CRATE_MATCHER} = \"${VERSION_MATCHER}\"/\1 = \"${MINOR}\"/" "$DIR/prost/README.md"
2725

2826
# Update html_root_url attributes.
2927
sed -i -E "s~html_root_url = \"https://docs\.rs/${PROST_CRATE_MATCHER}/$VERSION_MATCHER\"~html_root_url = \"https://docs.rs/\1/${VERSION}\"~" \

prost-build/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ itertools = { version = ">=0.10, <=0.14", default-features = false, features = [
2020
log = "0.4.4"
2121
multimap = { version = ">=0.8, <=0.10", default-features = false }
2222
petgraph = { version = "0.8", default-features = false, features = ["std"] }
23-
prost = { version = "0.14.1", path = "../prost", default-features = false }
24-
prost-types = { version = "0.14.1", path = "../prost-types", default-features = false }
23+
prost = { version = "0.14.2", path = "../prost", default-features = false }
24+
prost-types = { version = "0.14.2", path = "../prost-types", default-features = false }
2525
tempfile = "3"
2626
regex = { version = "1.8.1", default-features = false, features = ["std", "unicode-bool"] }
2727

prost-build/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#![doc(html_root_url = "https://docs.rs/prost-build/0.14.1")]
1+
#![doc(html_root_url = "https://docs.rs/prost-build/0.14.2")]
22

33
//! `prost-build` compiles `.proto` files into Rust.
44
//!

prost-derive/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#![doc(html_root_url = "https://docs.rs/prost-derive/0.14.1")]
1+
#![doc(html_root_url = "https://docs.rs/prost-derive/0.14.2")]
22
// The `quote!` macro requires deep recursion.
33
#![recursion_limit = "4096"]
44

prost-types/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ std = ["prost/std"]
1818
arbitrary = ["dep:arbitrary"]
1919

2020
[dependencies]
21-
prost = { version = "0.14.1", path = "../prost", default-features = false, features = ["derive"] }
21+
prost = { version = "0.14.2", path = "../prost", default-features = false, features = ["derive"] }
2222
arbitrary = { version = "1.4", features = ["derive"], optional = true }
2323
chrono = { version = "0.4.34", default-features = false, optional = true }
2424

prost-types/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#![doc(html_root_url = "https://docs.rs/prost-types/0.14.1")]
1+
#![doc(html_root_url = "https://docs.rs/prost-types/0.14.2")]
22

33
//! Protocol Buffers well-known types.
44
//!

prost/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ std = []
2323

2424
[dependencies]
2525
bytes = { version = "1", default-features = false }
26-
prost-derive = { version = "0.14.1", path = "../prost-derive", optional = true }
26+
prost-derive = { version = "0.14.2", path = "../prost-derive", optional = true }
2727

2828
[dev-dependencies]
2929
criterion = { version = "0.7", default-features = false }

0 commit comments

Comments
 (0)