diff --git a/CHANGELOG.md b/CHANGELOG.md index 0ae76ba..ff96738 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,17 +1,40 @@ -# Motoko `bitcoin` changelog +# Changelog -## Next +All notable changes to this project will be documented in this file. -* Optimize (de)serializations in Bech32, Base58, Segwit -* Bugfix: Taproot sighash now uses actual transaction values instead of hardcoded locktime=0 and version=2 (#14) -* *Breaking:* Reject BIP32 paths with double-slashes in `Bip32.mo` (bugfix) -* *Breaking:* Remove `toBytes` function in `bitcoin/TxOutput.mo` (use class method instead) -* *Breaking:* Add length assertions inside `Bech32.encode()` -* *Breaking*: Lowercase character range in `Bech32.mo` was incorrect (bugfix) -* Migrate code from `base` to `core` +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## 0.1.1 +## [Unreleased] -* Fix tests and formatting. -* Add `CODEOWNERS`. -* Update dependencies: `base`. \ No newline at end of file +## [0.2.0] - 2026-04-22 + +### Changed + +- Optimize (de)serializations in `Bech32`, `Base58`, `Segwit`. +- **Breaking:** Add length assertions inside `Bech32.encode()`. +- Migrate code from `base` to `core`. + +### Removed + +- **Breaking:** Remove redundant `toBytes` function in `bitcoin/TxOutput.mo` (use class method instead). + +### Fixed + +- Taproot sighash now uses actual transaction values instead of hardcoded `locktime=0` and `version=2` ([#14](https://github.com/dfinity/motoko-bitcoin/issues/14)). +- **Breaking:** Lowercase character range in `Bech32.mo` was incorrect ([#13](https://github.com/dfinity/motoko-bitcoin/issues/13)). +- **Breaking:** Reject BIP32 paths with double-slashes in `Bip32.mo`. + +## [0.1.1] + +### Added + +- Add `CODEOWNERS`. + +### Changed + +- Update dependencies: `base`. + +### Fixed + +- Fix tests and formatting. diff --git a/mops.toml b/mops.toml index 5523847..1887ef7 100644 --- a/mops.toml +++ b/mops.toml @@ -1,6 +1,6 @@ [package] name = "bitcoin" -version = "0.1.1" +version = "0.2.0" description = "Algorithms for bitcoin integration" repository = "https://github.com/dfinity/motoko-bitcoin" keywords = [ "bitcoin" ]