Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 36 additions & 13 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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`.
## [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.
2 changes: 1 addition & 1 deletion mops.toml
Original file line number Diff line number Diff line change
@@ -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" ]
Expand Down
Loading