From 81d67db5ac5eb192e90b02d078715310a4142852 Mon Sep 17 00:00:00 2001 From: Martin Tzvetanov Grigorov Date: Fri, 14 Nov 2025 12:32:42 +0200 Subject: [PATCH 1/6] chore: prepare bytes v1.11.0 --- CHANGELOG.md | 23 +++++++++++++++++++++++ Cargo.toml | 2 +- 2 files changed, 24 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a98a5c981..00e625272 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,26 @@ +# 1.11.0 (November 14th, 2025) + +### Fixed + +- Guarantee address in slice() for empty slices. (#780) +- fix: BytesMut only reuse if src has remaining (#803) + +### Internal changes + +- Rename `Vtable::to_*` -> `Vtable::into_*` (#776) +- Bump MSRV to 1.57 (#788) +- Fix latest clippy warnings (#787) +- Ignore BytesMut::freeze doctest on wasm (#790) +- Specialize BytesMut::put:: (#793) +- Reserve capacity in BytesMut::put (#794) +- Tweak BytesMut::remaining_mut (#795) +- Move drop_fn of from_owner into vtable (#801) + +### Added + +- Add missing tests in test_bytes +- Add some tests for Limit, BytesMut and Reader (#785) + # 1.10.1 (March 5th, 2025) ### Fixed diff --git a/Cargo.toml b/Cargo.toml index e7c246649..62211136f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,7 +4,7 @@ name = "bytes" # When releasing to crates.io: # - Update CHANGELOG.md. # - Create "v1.x.y" git tag. -version = "1.10.1" +version = "1.11.0" edition = "2021" rust-version = "1.57" license = "MIT" From 2a01498ce6605d503e3e89c27687028407379e74 Mon Sep 17 00:00:00 2001 From: Martin Grigorov Date: Fri, 14 Nov 2025 12:39:29 +0200 Subject: [PATCH 2/6] Add backticks around the names Co-authored-by: Alice Ryhl --- CHANGELOG.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 00e625272..d920c8341 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,8 +11,8 @@ - Bump MSRV to 1.57 (#788) - Fix latest clippy warnings (#787) - Ignore BytesMut::freeze doctest on wasm (#790) -- Specialize BytesMut::put:: (#793) -- Reserve capacity in BytesMut::put (#794) +- Specialize `BytesMut::put::` (#793) +- Reserve capacity in `BytesMut::put` (#794) - Tweak BytesMut::remaining_mut (#795) - Move drop_fn of from_owner into vtable (#801) From 69e98e1f3463e77cb8ee02dcabf4331ae8e7f2d1 Mon Sep 17 00:00:00 2001 From: Martin Tzvetanov Grigorov Date: Fri, 14 Nov 2025 12:41:34 +0200 Subject: [PATCH 3/6] Add more backticks around the names Move the MSRV item to the top for visibility --- CHANGELOG.md | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d920c8341..a53e2030b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,25 +1,26 @@ # 1.11.0 (November 14th, 2025) +- Bump MSRV to 1.57 (#788) + ### Fixed -- Guarantee address in slice() for empty slices. (#780) -- fix: BytesMut only reuse if src has remaining (#803) +- Guarantee address in `slice()` for empty slices. (#780) +- fix: `BytesMut` only reuse if src has remaining (#803) ### Internal changes - Rename `Vtable::to_*` -> `Vtable::into_*` (#776) -- Bump MSRV to 1.57 (#788) - Fix latest clippy warnings (#787) -- Ignore BytesMut::freeze doctest on wasm (#790) +- Ignore `BytesMut::freeze` doctest on wasm (#790) - Specialize `BytesMut::put::` (#793) - Reserve capacity in `BytesMut::put` (#794) -- Tweak BytesMut::remaining_mut (#795) -- Move drop_fn of from_owner into vtable (#801) +- Tweak `BytesMut::remaining_mut` (#795) +- Move `drop_fn` of `from_owner` into vtable (#801) ### Added - Add missing tests in test_bytes -- Add some tests for Limit, BytesMut and Reader (#785) +- Add some tests for `Limit`, `BytesMut` and `Reader` (#785) # 1.10.1 (March 5th, 2025) From d878cbe98e725999efdf8f9ede8cb4d16b924f4d Mon Sep 17 00:00:00 2001 From: Martin Tzvetanov Grigorov Date: Fri, 14 Nov 2025 14:13:06 +0200 Subject: [PATCH 4/6] Do not mention added tests --- CHANGELOG.md | 5 ----- 1 file changed, 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a53e2030b..ba4915fbe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,11 +17,6 @@ - Tweak `BytesMut::remaining_mut` (#795) - Move `drop_fn` of `from_owner` into vtable (#801) -### Added - -- Add missing tests in test_bytes -- Add some tests for `Limit`, `BytesMut` and `Reader` (#785) - # 1.10.1 (March 5th, 2025) ### Fixed From 81a86e3fa10da4dbe59c347c33e8b31020a8ce06 Mon Sep 17 00:00:00 2001 From: Martin Tzvetanov Grigorov Date: Fri, 14 Nov 2025 14:14:50 +0200 Subject: [PATCH 5/6] Move 3 commits from Internal to Fixes section --- CHANGELOG.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ba4915fbe..c8ce9ba80 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,15 +6,15 @@ - Guarantee address in `slice()` for empty slices. (#780) - fix: `BytesMut` only reuse if src has remaining (#803) +- Specialize `BytesMut::put::` (#793) +- Reserve capacity in `BytesMut::put` (#794) +- Change `BytesMut::remaining_mut` to use `isize::MAX` instead of `usize::MAX` (#795) ### Internal changes - Rename `Vtable::to_*` -> `Vtable::into_*` (#776) - Fix latest clippy warnings (#787) - Ignore `BytesMut::freeze` doctest on wasm (#790) -- Specialize `BytesMut::put::` (#793) -- Reserve capacity in `BytesMut::put` (#794) -- Tweak `BytesMut::remaining_mut` (#795) - Move `drop_fn` of `from_owner` into vtable (#801) # 1.10.1 (March 5th, 2025) From 1c493ba836ee7f07579c06773b4ac0889f233192 Mon Sep 17 00:00:00 2001 From: Martin Tzvetanov Grigorov Date: Fri, 14 Nov 2025 14:15:52 +0200 Subject: [PATCH 6/6] Move an item from Fixes to Internal changes --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c8ce9ba80..91169d2f4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,6 @@ ### Fixed -- Guarantee address in `slice()` for empty slices. (#780) - fix: `BytesMut` only reuse if src has remaining (#803) - Specialize `BytesMut::put::` (#793) - Reserve capacity in `BytesMut::put` (#794) @@ -12,6 +11,7 @@ ### Internal changes +- Guarantee address in `slice()` for empty slices. (#780) - Rename `Vtable::to_*` -> `Vtable::into_*` (#776) - Fix latest clippy warnings (#787) - Ignore `BytesMut::freeze` doctest on wasm (#790)