7.0.0 (2024-10-25)
⚠ BREAKING CHANGES
See full list of changes at MIGRATION.md
- Update Cl.serialize to return string instead of bytes (3d4052b)
- Rename StacksTransaction to StacksTransactionWire (fe74e87)
- Update StacksTransaction constructor to options object (2b15209)
- Make StacksTransaction.serialize() return a hex-string instead of bytes (b563a2d)
- Rename message types (3d8b2dc)
- Remove BN.js compatibility (ddd8dde)
- Rename more types to use "Wire" suffix (221633a)
- Remove wrapper type for message signatures (bf08b46)
- Rename networking/fetch methods to include
fetch
prefix (463176a) - Update post-condition representation to human readable types (a7cff36)
- Remove optional anchor mode from transaction options (2bec7ae)
- Remove wrapped private key type (a4e86ce)
- Change clarity types to be human readable (edad3b4)
- Update to new network object (57369cc)
Features
- Add origin post-condition principals (ccc79b3)
- Add
Address
namespace (1291687) - Add STX unit helper methods (94f6c6b)
- Add postConditionToHex helper (e224b0e)
- Add
Cl.parse
Clarity value parser (b9f8775) - Add non-sequential multi-sig support (and fix legacy multi-sig bugs) (879263c)
- Add serialization helpers for transaction (2c57ea4)
- Allow
0x
prefix in hexToBytes helper (33ca645) - Use API for nonce detection if available (855ca69)
- Add new api package (9cf8a75)
- Cleanup common files (8316766)
Bug Fixes
- Update post conditions input in transactions (d005d19)
- Switch to a network and client param solution (e7370a0)
- Fix string parsing in structured signature decode (9760497)
- Remove legacy methods (6cece09)
- Generate compressed private keys by default (badc4bf)
- Compressing private key should ensure string format (350e1fa)
- Move more helper functions to take network parameter (b8cbde2)
- Remove signed option for intToBigInt (1a3cc2f)
- Allow .appendOrigin to be used with unwrapped public key (9c4a951)
- Improve address helper functions (e53528b)
- Allow network name in more helper functions (3d92cc7)
- Add
.bootAddress
to network objects (9993519) - Disable legacy triplesec support for mnemonic encryption (9b98e44)
- Remove legacy CLI methods (3c373e1)
- Update remaining packages for api (2378096)
- Consolidate poxaddress return types (0dbe0db)