Skip to content

Commit 23a4cae

Browse files
committed
cm: fix CHANGELOG
1 parent 79d229a commit 23a4cae

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

cm/CHANGELOG.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,15 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
66

77
### Added
88

9-
- Breaking: `BoolResult` is now represented as a `uint8` rather than a `bool`. This fixes an issue with TinyGo where `bool` values are treated distinctly from `uint8`. See [#344](https://github.com/bytecodealliance/go-modules/issues/344) for more information.
109
- Mutating methods `SetOK` and `SetErr` on `result` types (`Result[Shape, OK, Err]`).
1110

11+
### Changed
12+
13+
- Breaking: `BoolResult` is now represented as a `uint8` rather than a `bool`. This fixes an issue with TinyGo where `bool` values are treated distinctly from `uint8`. See [#344](https://github.com/bytecodealliance/go-modules/issues/344) for more information.
14+
1215
### Fixed
1316

14-
- [#344](https://github.com/bytecodealliance/go-modules/issues/344): the memory representation of `option`, `result` now use `uint8` instead of `bool` for the discriminator. LLVM optimizes `bool` values into a single bit, which breaks WIT variants where the associated types share memory.
17+
- [#344](https://github.com/bytecodealliance/go-modules/issues/344): the memory representation of `option` and `result` now use `uint8` instead of `bool` for the discriminator. LLVM optimizes `bool` values into a single bit, which breaks WIT variants where the associated types share memory.
1518

1619
## [v0.2.2] — 2025-03-16
1720

0 commit comments

Comments
 (0)