File tree 2 files changed +30
-1
lines changed
2 files changed +30
-1
lines changed Original file line number Diff line number Diff line change
1
+ # 1.7.0 (July 31, 2024)
2
+
3
+ ### Added
4
+
5
+ - Add conversion from ` Bytes ` to ` BytesMut ` (#695 , #710 )
6
+ - Add reclaim method without additional allocation (#686 )
7
+
8
+ ### Documented
9
+
10
+ - Clarify how ` BytesMut::zeroed ` works (#714 )
11
+ - Clarify the behavior of ` Buf::chunk ` (#717 )
12
+
13
+ ### Changed
14
+
15
+ - Change length condition of ` BytesMut::truncate `
16
+ - Reuse capacity when possible in ` <BytesMut as Buf>::advance ` impl (#698 )
17
+ - Improve ` must_use ` suggestion of ` BytesMut::split ` (#699 )
18
+
19
+ ### Internal changes
20
+
21
+ - Use ` ManuallyDrop ` instead of ` mem::forget ` (#678 )
22
+ - Don't set ` len ` in ` BytesMut::reserve ` (#682 )
23
+ - Optimize ` Bytes::copy_to_bytes ` (#688 )
24
+ - Refactor ` BytesMut::truncate ` (#694 )
25
+ - Refactor ` BytesMut::resize ` (#696 )
26
+ - Reorder assertion in ` Bytes::split_to ` , ` Bytes::split_off ` (#689 , #693 )
27
+ - Use ` offset_from ` in more places (#705 )
28
+ - Correct the wrong usage of ` IntoIter ` (#707 )
29
+
1
30
# 1.6.1 (July 13, 2024)
2
31
3
32
This release fixes a bug where ` Bytes::is_unique ` returns incorrect values when
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ name = "bytes"
4
4
# When releasing to crates.io:
5
5
# - Update CHANGELOG.md.
6
6
# - Create "v1.x.y" git tag.
7
- version = " 1.6.1 "
7
+ version = " 1.7.0 "
8
8
edition = " 2018"
9
9
rust-version = " 1.39"
10
10
license = " MIT"
You can’t perform that action at this time.
0 commit comments