commit 65a561493940b59c5415b4b1409b4e32dae5c08f
parent 0654d3f60af6e63109bf05224d15905fc5b70fc1
Author: Jared Tobin <jared@jtobin.io>
Date: Sat, 10 Oct 2026 13:24:23 +0400
Merge meta/0.2.0: prepare the 0.2.0 release
Bump the version to 0.2.0 and record the changes since the 0.1.0
Hackage release (2026-04-18): the widened 32-bit sighash API (a
breaking change), OP_CODESEPARATOR stripping in legacy sighashes,
BIP341 taproot sighashes, and NFData instances.
Diffstat:
2 files changed, 13 insertions(+), 2 deletions(-)
diff --git a/CHANGELOG b/CHANGELOG
@@ -1,4 +1,15 @@
# Changelog
-- 0.1.0 (UNRELEASED)
+- 0.2.0 (UNRELEASED)
+ * Widens sighash_legacy and sighash_segwit to take a raw 32-bit
+ hashType, matching consensus (the full value is committed to the
+ preimage; only the low byte determines behaviour). The SighashType
+ ADT remains, as the canonical-byte enum, via encode_sighash. This
+ is a breaking change.
+ * Strips OP_CODESEPARATOR from the script code in legacy sighashes.
+ * Adds BIP341 taproot sighashes (sighash_taproot_keypath,
+ sighash_taproot_scriptpath).
+ * Adds NFData instances for all transaction types.
+
+- 0.1.0 (2026-04-18)
* Initial release.
diff --git a/ppad-tx.cabal b/ppad-tx.cabal
@@ -1,6 +1,6 @@
cabal-version: 3.0
name: ppad-tx
-version: 0.1.0
+version: 0.2.0
synopsis: Minimal Bitcoin transaction primitives.
license: MIT
license-file: LICENSE