The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
v0.3.0 — 2025-05-25
- Mutating methods
SetOKandSetErronresulttypes (Result[Shape, OK, Err]).
- Breaking:
BoolResultis now represented as auint8rather than abool. This fixes an issue with TinyGo whereboolvalues are treated distinctly fromuint8. See #344 for more information.
- #344: the memory representation of
optionandresultnow useuint8instead ofboolfor the discriminator. LLVM optimizesboolvalues into a single bit, which breaks WIT variants where the associated types share memory.
v0.2.2 — 2025-03-16
- Updated error handling to address a build issue in TinyGo.
v0.2.1 — 2025-03-16
- Fixed cyclical dependency on package
encoding/jsonwhen packagecmis used in TinyGo packagesyscall. Files that importencoding/jsonwill have a_json.gosuffix and can be excluded when this package is copied intostd.
v0.2.0 — 2025-03-15
- Initial support for Component Model async types
stream,future, anderror-context. - Initial support for JSON serialization of WIT
list,enum, andrecordtypes. - Added
cm.CaseUnmarshalerhelper for text and JSON unmarshaling ofenumandvarianttypes.
- Breaking: package
cm: removedboolfromDiscriminanttype constraint. It was not used by code generation.
v0.1.0 — 2024-12-14
Initial version, extracted into module go.bytecodealliance.org/cm.