aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Brad Dunbar <dunbarb2@gmail.com> 2024-03-22 15:55:20 -0400
committerGravatar GitHub <noreply@github.com> 2024-03-22 20:55:20 +0100
commitce8d8a0a029c0d296ade752ecc8c3e1ce9eee47f (patch)
tree92fab5150595c4cd088ffe1d5af952864eae7faa
parent536db06f168bdef967afbeac0561bf774e9a1315 (diff)
downloadbytes-ce8d8a0a029c0d296ade752ecc8c3e1ce9eee47f.tar.gz
bytes-ce8d8a0a029c0d296ade752ecc8c3e1ce9eee47f.tar.zst
bytes-ce8d8a0a029c0d296ade752ecc8c3e1ce9eee47f.zip
chore: prepare bytes v1.6.0 (#681)v1.6.0
-rw-r--r--CHANGELOG.md37
-rw-r--r--Cargo.toml2
2 files changed, 38 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 67b9f67..2335717 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,40 @@
+# 1.6.0 (March 22, 2024)
+
+### Added
+
+- Add `Bytes::is_unique` (#643)
+
+### Documented
+
+- Fix changelog typo (#628)
+- Fix some spelling mistakes (#633)
+- Typo fix (#637)
+- Fix broken links (#639)
+- Add security policy (#649)
+
+### Internal changes
+
+- Move comment to correct constant (#629)
+- Various cleanup (#635)
+- Simplify `UninitSlice::as_uninit_slice_mut()` logic (#644)
+- Use `self.` instead of `Self::` (#642)
+- `BytesMut`: Assert alignment of `Shared` (#652)
+- Remove unnecessary namespace qualifier (#660)
+- Remove an unnecessary else branch (#662)
+- Remove unreachable else branch (#661)
+- make parameter mut in `From<Vec>` (#667)
+- Restore commented tests (#665)
+- Use `sub` instead of `offset` (#668)
+- Calculate original capacity only if necessary (#666)
+- `set_vec_pos` does not need a second parameter (#672)
+- `get_vec_pos`: use `&self` instead of `&mut self` (#670)
+- Refactor `split_at`/`split_to` (#663)
+- Use `Iterator` from the prelude (#673)
+- `copy_to_bytes`: Add panic section to docs (#676)
+- Remove redundant reserve call (#674)
+- Use `ManuallyDrop` instead of `mem::forget` (#675)
+
+
# 1.5.0 (September 7, 2023)
### Added
diff --git a/Cargo.toml b/Cargo.toml
index 127d81d..793582a 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.5.0"
+version = "1.6.0"
edition = "2018"
rust-version = "1.39"
license = "MIT"