aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Alice Ryhl <aliceryhl@google.com> 2022-07-19 13:39:58 +0200
committerGravatar GitHub <noreply@github.com> 2022-07-19 13:39:58 +0200
commit38fd42acbaced11ff19f0a4ca2af44a308af5063 (patch)
tree4927ec6bbdf9407ee1733522494252489e762c4d
parent7553a67be2b9d7ef2ac42dbcd38fd8365ee64cb5 (diff)
downloadbytes-38fd42acbaced11ff19f0a4ca2af44a308af5063.tar.gz
bytes-38fd42acbaced11ff19f0a4ca2af44a308af5063.tar.zst
bytes-38fd42acbaced11ff19f0a4ca2af44a308af5063.zip
chore: prepare bytes v1.2.0 (#556)v1.2.0
-rw-r--r--CHANGELOG.md27
-rw-r--r--Cargo.toml2
2 files changed, 28 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 636d36b..5ea4097 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,30 @@
+# 1.2.0 (July 19, 2022)
+
+### Added
+
+- Add `BytesMut::zeroed` (#517)
+- Implement `Extend<Bytes>` for `BytesMut` (#527)
+- Add conversion from `BytesMut` to `Vec<u8>` (#543, #554)
+- Add conversion from `Bytes` to `Vec<u8>` (#547)
+- Add `UninitSlice::as_uninit_slice_mut()` (#548)
+- Add const to `Bytes::{len,is_empty}` (#514)
+
+### Changed
+
+- Reuse vector in `BytesMut::reserve` (#539, #544)
+
+### Fixed
+
+- Make miri happy (#515, #523, #542, #545, #553)
+- Make tsan happy (#541)
+- Fix `remaining_mut()` on chain (#488)
+- Fix amortized asymptotics of `BytesMut` (#555)
+
+### Documented
+
+- Redraw layout diagram with box drawing characters (#539)
+- Clarify `BytesMut::unsplit` docs (#535)
+
# 1.1.0 (August 25, 2021)
### Added
diff --git a/Cargo.toml b/Cargo.toml
index 2b7e32b..c3396e9 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.1.0"
+version = "1.2.0"
license = "MIT"
authors = [
"Carl Lerche <me@carllerche.com>",