From 7de4b65a3f4d2278e765494dbc1dd77e4068a303 Mon Sep 17 00:00:00 2001 From: Alice Ryhl Date: Wed, 25 Aug 2021 14:53:50 +0000 Subject: [PATCH 1/2] chore: prepare bytes v1.1.0 --- CHANGELOG.md | 21 +++++++++++++++++++++ Cargo.toml | 2 +- 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 99975bf89..636d36bbd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,24 @@ +# 1.1.0 (August 25, 2021) + +### Added + +- `BufMut::put_bytes(self, val, cnt)` (#487) +- Implement `From>` for `Bytes` (#504) + +### Changed + +- Override `put_slice` for `&mut [u8]` (#483) +- Panic on integer overflow in `Chain::remaining` (#482) +- Add inline tags to `UninitSlice` methods (#443) +- Override `copy_to_bytes` for Chain and Take (#481) +- Keep capacity when unsplit on empty other buf (#502) + +### Documented + +- Clarify `BufMut` allocation guarantees (#501) +- Clarify `BufMut::put_int` behavior (#486) +- Clarify actions of `clear` and `truncate`. (#508) + # 1.0.1 (January 11, 2021) ### Changed diff --git a/Cargo.toml b/Cargo.toml index 34d70f8f7..9ec87249f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,7 +4,7 @@ name = "bytes" # When releasing to crates.io: # - Update CHANGELOG.md. # - Create "v1.0.x" git tag. -version = "1.0.1" +version = "1.1.0" license = "MIT" authors = [ "Carl Lerche ", From eef14349e6e0e26a72c1bf4d425088daa281aeac Mon Sep 17 00:00:00 2001 From: Alice Ryhl Date: Wed, 25 Aug 2021 17:03:37 +0200 Subject: [PATCH 2/2] Update release instructions Co-authored-by: Taiki Endo --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 9ec87249f..2b7e32b06 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ name = "bytes" # When releasing to crates.io: # - Update CHANGELOG.md. -# - Create "v1.0.x" git tag. +# - Create "v1.x.y" git tag. version = "1.1.0" license = "MIT" authors = [