Skip to content

Commit f045045

Browse files
committed
Move CHANGELOG entries to correct place
1 parent 8f22dd3 commit f045045

1 file changed

Lines changed: 7 additions & 16 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 7 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1111

1212
### Added
1313

14+
* Implement `CompactEncoding` for `bool`, encoded in one byte, where any byte other than 1 decodes as `false`
15+
* Implement `CompactEncoding` for `i32` and `i64`, zig-zag encoded as a variable width uint like `int` of the JavaScript implementation
16+
17+
### Fixed
18+
19+
* `u32` decodes a uint with the 8 byte prefix instead of reading only 4 of its bytes, and fails with an overflow error when the value doesn't fit
20+
1421
### Changed
1522

1623
### Removed
@@ -25,12 +32,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2532
* Implement `CompactEncoding<Vec<D>>` for `&[T]` where `T: VecEncodable<D>`, enabling encoding of slices like `&[&[u8]]`
2633
* Implement `VecEncodable` for `Vec<u8>` to support `Vec<Vec<u8>>`
2734
* Implement `VecEncodable<Vec<u8>>` for `&[u8]` to support `&[&[u8]]`
28-
* Implement `CompactEncoding` for `bool`, encoded in one byte, where any byte other than 1 decodes as `false`
29-
* Implement `CompactEncoding` for `i32` and `i64`, zig-zag encoded as a variable width uint like `int` of the JavaScript implementation
30-
31-
### Fixed
32-
33-
* `u32` decodes a uint with the 8 byte prefix instead of reading only 4 of its bytes, and fails with an overflow error when the value doesn't fit
3435

3536
### Changed
3637

@@ -40,16 +41,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
4041

4142

4243

43-
## [2.1.0] - 2025-12-09
44-
45-
### Added
46-
47-
### Changed
48-
49-
### Removed
50-
51-
52-
5344
## [2.1.0] - 2025-12-09
5445

5546
### Added

0 commit comments

Comments
 (0)