Skip to content

Commit ce8d8a0

Browse files
authored
chore: prepare bytes v1.6.0 (#681)
1 parent 536db06 commit ce8d8a0

File tree

2 files changed

+38
-1
lines changed

2 files changed

+38
-1
lines changed

CHANGELOG.md

+37
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,40 @@
1+
# 1.6.0 (March 22, 2024)
2+
3+
### Added
4+
5+
- Add `Bytes::is_unique` (#643)
6+
7+
### Documented
8+
9+
- Fix changelog typo (#628)
10+
- Fix some spelling mistakes (#633)
11+
- Typo fix (#637)
12+
- Fix broken links (#639)
13+
- Add security policy (#649)
14+
15+
### Internal changes
16+
17+
- Move comment to correct constant (#629)
18+
- Various cleanup (#635)
19+
- Simplify `UninitSlice::as_uninit_slice_mut()` logic (#644)
20+
- Use `self.` instead of `Self::` (#642)
21+
- `BytesMut`: Assert alignment of `Shared` (#652)
22+
- Remove unnecessary namespace qualifier (#660)
23+
- Remove an unnecessary else branch (#662)
24+
- Remove unreachable else branch (#661)
25+
- make parameter mut in `From<Vec>` (#667)
26+
- Restore commented tests (#665)
27+
- Use `sub` instead of `offset` (#668)
28+
- Calculate original capacity only if necessary (#666)
29+
- `set_vec_pos` does not need a second parameter (#672)
30+
- `get_vec_pos`: use `&self` instead of `&mut self` (#670)
31+
- Refactor `split_at`/`split_to` (#663)
32+
- Use `Iterator` from the prelude (#673)
33+
- `copy_to_bytes`: Add panic section to docs (#676)
34+
- Remove redundant reserve call (#674)
35+
- Use `ManuallyDrop` instead of `mem::forget` (#675)
36+
37+
138
# 1.5.0 (September 7, 2023)
239

340
### Added

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ name = "bytes"
44
# When releasing to crates.io:
55
# - Update CHANGELOG.md.
66
# - Create "v1.x.y" git tag.
7-
version = "1.5.0"
7+
version = "1.6.0"
88
edition = "2018"
99
rust-version = "1.39"
1010
license = "MIT"

0 commit comments

Comments
 (0)