All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
6.16.1 (2024-07-02)
- update multi-sig signer state (2b9f288)
6.16.0 (2024-06-30)
- Add
Cl.parse
Clarity value parser (#1681) (b9f8775) - Add non-sequential multi-sig support (and fix legacy multi-sig bugs) (#1710) (879263c)
- add serialization helpers for transaction (#1706) (2c57ea4)
- Allow
0x
prefix in hexToBytes helper (#1690) (33ca645) - Use API for nonce detection if available (#1704) (855ca69)
6.15.0 (2024-05-03)
- add encodeAbiClarityValue method for better encoding (2885813)
6.14.0 (2024-04-19)
- add verifySignerKeySignature read-only to StackingClient (9ddbf9b)
6.13.2 (2024-04-11)
6.13.1 (2024-04-04)
- consolidate authId types (7e0fdc6)
- remove empty signer_key from stacker info response type (f700a7f)
- update buffer max size to correct 1MB limit (#1665) (91b5dab)
6.13.0 (2024-03-22)
- nakamoto: add nakamoto coinbase payload (85daaff)
- nakamoto: add pox-4 signer-key to StackingClient methods (#1614) (bf48df5)
- nakamoto: add tenure change payload (b341b5a)
6.12.1 (2024-03-18)
- add stacks transaction memo equality by auto-removing trailing null bytes (#1630) (bb0b85d)
- add test to retrieve public key from StructuredDataSignature (20c1aaf)
- allow StructuredDataSignature type in publicKeyFromSignature* (92c9f6c)
6.12.0 (2024-02-23)
- sort tuple properties in cl pretty print (6ab94c4)
6.11.3 (2024-01-24)
6.11.2 (2024-01-03)
- add error throwing on too large fungible post-condition (d0a1a32)
6.11.1 (2023-12-21)
6.11.0 (2023-12-18)
- add rate limit logic to gaia dump and restore via CLI (#1607) (445a420)
- implement isClarityType (6eb1319)
6.10.0 (2023-11-28)
6.9.0 (2023-09-20)
6.8.1 (2023-09-18)
6.8.0 (2023-09-04)
6.7.0 (2023-07-24)
6.6.0 (2023-07-24)
6.5.5 (2023-07-14)
- add missing none type for delegation without until_burn_ht (b9cf9ef)
- remove post-conditions from stx transfer (679a93a)
- throw error if the number type used in the bigint constructor is not a safe integer value (d6a6fcc)
- update AccountExtendedBalances interface (89dc787)
- update pc types to allow strict type checking (#1494) (b916ef0)
6.5.4 (2023-05-17)
6.5.3 (2023-05-11)
- add missing fields from
PoxInfo
(acb7d78) - pox-3: include pox-3 error codes (c72d82a)
- pox-3: update stacking lib to always use the latest activated / current pox contract (a2aac09)
6.5.2 (2023-04-28)
6.5.1 (2023-04-19)
- add StacksDevnet constructor, closes #1470 (5789937)
- migrate explorer domains from stacks.co to hiro.so (0370bf6)
- update cli url (fcd6065)
6.5.0 (2023-03-26)
- allow contract principals in stackingclient (ade6345)
6.4.0 (2023-03-19)
- switch makeContractDeploy and makeUnsignedContractDeploy to use clarity 2 by default (244636f)
6.3.0 (2023-03-17)
6.2.1 (2023-03-04)
- revert ajv update to fix broken cli argparse (d29754d)
6.2.0 (2023-02-22)
- a few Clarity value construction functions were not being exported (f0ba4a2)
- add missing fee and nonce to all stacking methods (d81cfd1)
6.1.1 (2023-01-30)
- export unexported methods (0406085)
6.1.0 (2023-01-06)
- add estimation fallback (782a3c3)
6.0.2 (2022-11-30)
6.0.1 (2022-11-24)
- remove hard-coded fee for
stackAggregationCommitIndexed
(1edb181)
6.0.0 (2022-11-23)
- Removes the getBTCAddress method, since it does not work with modern BTC addresses.
- A StackingClient will now automatically detect which PoX version to use for Stacking.
- Adds the following PoX Stacking methods to the StackingClient:
stackExtend
,stackIncrease
,delegateStackExtend
,delegateStackIncrease
,stackAggregationCommitIndexed
,stackAggregationIncrease
. - Adds the following helper methods to the StackingClient:
getAccountExtendedBalances
,getAccountBalanceLocked
,getDelegationStatus
,getRewardSet
. - add coinbase-to-alt-recipient payload type (836b181)
- add payload type assertions (#1395) (cdd32e9)
- Add PoX-2 methods to @stacks/stacking client (#1354) (25e326a)
- Add types for profiles (#1383) (872478c)
- support
versioned-smart-contract
tx types introduced in Stacks 2.1 (#1341) (0062a45)
5.0.3 (2022-11-18)
5.0.2 (2022-10-19)
- rename incorrect nft post-condition codes (9fed6a4)
5.0.1 (2022-10-04)
- rename incorrect nft post-condition codes (dddeb68)
5.0.0 (2022-09-30)
- Post-conditions for NFTs were renamed to be more clear:
Owns
toDoesNotSend
,DoesNotOwn
toSends
. - encryption: The message signing prefix was changed from
Stacks Message Signing
toStacks Signed Message
. - remove previously deprecated functions
- Removes compatibility with
bip32
package from @stacks/wallet-sdk. Now all derivation methods only rely on HDKey from @scure/bip32. - To reduce the bundle sizes of applications using Stacks.js we are moving away from Buffer (a polyfill to match Node.js APIs) to Uint8Arrays (which Buffers use in the background anyway). To make the switch easier we have introduced a variety of methods for converting between strings and Uint8Arrays:
hexToBytes
,bytesToHex
,utf8ToBytes
,bytesToUtf8
,asciiToBytes
,bytesToAscii
, andconcatBytes
.
- encryption: change message signing prefix, closes #1328 (65ce121)
- remove duplicate helper method (f57bbef)
- remove previously deprecated functions (b2a5f96)
- update post-condition names for non-fungible tokens (9fbdcea)
4.3.8 (2022-09-29)
- add missing customizable prefixes (a1d385c)
4.3.7 (2022-09-28)
- correctly verify future message signing prefix (d27e054)
4.3.6 (2022-09-23)
- add deprecation notices for upcoming major release (9341e20)
- export profile functions for wallet-sdk (7426add)
4.3.5 (2022-08-24)
- offload bip39 from keychain (132e0c5)
4.3.4 (2022-08-02)
4.3.3 (2022-07-19)
4.3.2 (2022-07-12)
- convert checksum to buffer (963b028)
4.3.1 (2022-07-05)
- support legacy signature verification (8446724)
- use correct buffer size for hashmode in stacking (ca51914)
4.3.0 (2022-06-16)
4.2.2 (2022-06-01)
- update jsontokens lib (462f5e2)
4.2.1 (2022-05-28)
- revert polyfill removal (695ceb9)
4.2.0 (2022-05-25)
- add missing rsv functions (4e7fcf5)
4.1.2 (2022-05-23)
- update api client (f8cd319)
4.1.1 (2022-05-19)
- add blockstack dependency (79152d3)
4.1.0 (2022-05-19)
- add fetch middleware for api keys and request init (ef45632)
4.0.2 (2022-05-19)
- message-signing: add working utility fn (20b721c)
- offload bitcoinjs dependency from storage (78d2050)
- offload bn.js dependency (91b511b)
- update get btc address (8ad4d83)
4.0.1 (2022-05-09)
- allow referrer header in request options (70ea915)
- offload bip39 from wallet-sdk (701416a)
- support length estimation in fee estimate interface (194442c)
4.0.0 (2022-04-20)
- This change REMOVES the
username
attribute from auth token payloads and therefore also from userData in @stacks/connect. Hence, there is NO MORE username verification done by @stacks/connect automatically.
- Add encode / decode messages to support (ad300fb), closes #1231
- remove username from payload and userdata (926c549)
- deserialize partially signed multisig transaction (52d4045)
- offload bip32 dependency from wallet-sdk (c729006)
- offload bip39 dependency from encryption (7973100)
- private key compression (cf0a3ab)
- remove doPublicKeysMatchUsername (e2f3cf9)
- remove username checking (e32781b)
3.5.0 (2022-03-30)
- offload ramdombytes library from encryption (fe3f30e)
- offload ramdombytes library from transactions (c06e5b8)
- remove unused dependency ramdombytes from wallet-sdk (61eeb57)
- use noble-secp256k1 in encryption to replace elliptic dependency (8cc1774)
- use noble-secp256k1 in encryption to replace elliptic dependency (ca778e4)
3.4.0 (2022-03-02)
3.3.0 (2022-02-23)
- add preorder name command in cli (ca76f06)
- add register command in cli (85c7dd9)
- use noble-secp256k1 in transaction to replace elliptic dependency (534f1b8)
3.2.0 (2022-02-02)
- reduce reliance on network package (422fda3)
- remove lodash dependency (96b3064)
3.1.1 (2021-12-20)
3.1.0 (2021-12-16)
- update default core node url (1208996)
3.0.0 (2021-11-30)
- use new /v2/fees/transaction endpoint for fee estimation
- address Matt's comment and add type guard
- avoid mutating Auth
- change Authorization from a class to functional interface
- add address/signer verification to verifySingleSig() (589b14d)
- add more spending condition tests (930f34d)
- add unsigned equivalent of make contract deploy (792c2ae)
- add verifyMultiSig() (0378747)
- bring back cli command get_app_keys (f7d2c6c)
- ci job to list circular dependencies (9816b3c)
- cli add custom derivation path option (9ba53be)
- construct TransactionSigner with partially signed multi-sig transaction (0ada72a)
- construct TransactionSigner with partially signed multi-sig transaction (c0ae13f)
- export user app file url from storage (28d5187)
- multisig spending condition tests use integers, not BigNums (e34ba2e)
- add custom bigint pow to prevent transpilers incorrect conversion (f0334cf)
- avoid use of getters to enable safer serialization (6f626a1)
- bigint -> number (78c7960)
- check if spending condition has too many sigs (6ad03fd)
- cli add missing clarity types in contract call (a02665a)
- endpoint response type (647833a)
- fix etags deletion from localstorage on parallel calls to delete file (1af7a18)
- github action for generating updated docs on release (6d9ff4d)
- improve signOrigin oversign check; fields which are not a MessageSignature don't count in overlap check (abe2909)
- jsdom failing with init bigint (ba4d351)
- network: upgrade and republish (f061612)
- remove circular dependencies form keychain package (140f62d)
- remove circular dependencies from cli (4a29e42)
- remove circular dependencies from transactions (0d0b5fb)
- remove circular dependencies from wallet-sdk (e9e626d)
- return correct signature in sponsored spending conditions (e83cdc6)
- review and update bns readme (3d36f8e)
- review and update cli readme (ae8c7f7)
- review and update encryption readme (79735f4)
- review and update keychain readme (a834742)
- review and update profile readme (227b25a)
- review and update stacking readme (d4bc99e)
- review and update storage readme (d9df8f5)
- review and update transactions readme (0421590)
- throw error if authType not set (8ae3f34)
- trigger workflows on external pull requests #1114 (8b4fdb5)
- update getFee usage in stacking lib (34dab52)
- update readme for broadcastTransaction (c575ee9)
- update test and fix oversign check (a26898e)
- use new /v2/fees/transaction endpoint for fee estimation (888e8fa)
- address Matt's comment and add type guard (642f281)
- avoid mutating Auth (c91decb)
- change Authorization from a class to functional interface (327a153)
2.0.1 (2021-08-09)
- add @stacks/wallet-sdk package (49783f9)
- add regtest to list of available networks (f572477), closes #1041
- add reward methods for set address in stacking package (2676d71)
- allow nested concrete ClarityValue types to be specified (da68307)
- function to convert pox address details to a btc address (b6ae9ef)
- refactor all js
number
andbn.js
usages in Clarity integer values to native bigint (1f78339) - remove default anchormode from tx builders (768cc57)
- support parsing btc address from a Clarity tuple value (cb06f12)
- use lerna hoisting for fast monorepo bootstrapping (cfd76ab)
- add missing stx burn and NFT post conditions (7e0fcba)
- always return string quoted integer rather than
number | string
depending on bit size (6af4abe) - bn.js lib accepts strings containing non-integer values and results in weird behavior (da07f10)
- BREAKING CHANGE: make coreApiUrl readonly for stacks network and initialize in constructor (5d8cf6d)
- BREAKING CHANGE: make the broadcastTransaction response type consistent and always return an object (3e4c197)
- broken types following diverged network config changes (1cd9612)
- debugging jest tests from any cwd (626c5fc)
- fix coreNode error when fetching public data with no user session (144754b)
- fix optional argument encoding and update test cases in bns transferName, renewName calls (6f4f8fa)
- fix stx balance command crash if address not valid (8cc69df)
- fixed lint issue (1dab3a9)
- generated explorer URL for faucet command (38540a9)
- handle empty list in getCVTypeString (#1033) (1ff5b03)
- keychain: do not use default import (3528b65)
- make
lookupProfile
work with newest stacks API (598ce15) - prettify (b471de9)
- remove console.log (3e55c94)
- remove unused const (e506cf3)
- removeread only and add private field to prevent run time assignment (62709aa)
- The transaction ABI validation should accept lists that are less than or equal to the max size specified in the arguments type (53dd641)
- updated downstream dependencies (c636819)
- use stacks.js repo url (cd2a684)
- verify that the public key is a secp256k1 point (1cfef11)
1.4.1 (2021-04-20)
Note: Version bump only for package stacks.js
1.4.1-alpha.0 (2021-04-15)
- git rid of unnecessary 0x prefix when hashing + salting (afd9058)
1.4.0-alpha.0 (2021-04-12)
- cli: add typescript as dependency (2bec5d4), closes #964
- cli: support testnet address in convert_address (aa338c3)
- price functions (a79c5e8)
- promise resolve type (403b14e)
- remove .toString() (0fa14e2)
- throw error if unexpected chainID (e164ae3)
- typos (011f379)
- typos (cea7aac)
- update BNS contract address (ca5e5bf)
- update BNS contract call functions (bf855e7)
- validate with abi, hash zonfiles (bccd9b5)
- add BNS package (6eb16cc)
- cli: add WIF format to make_keychain (73fea0d), closes #938
- get name and namespace price in bns lib (e5f53b0)
- update rest of functions that expect attachment (d6f64b3)
- util for zonefile hash (eaa1fce)
1.3.5 (2021-03-26)
- use spending conditions key encoding to properly recover public key (a0dbba8)
1.3.4 (2021-03-18)
- export stacking/utils functions (24c7314)
- Revert "v1.4.0" (4356ddb)
1.3.3 (2021-03-18)
- #973 stacking lib only allow p2pkh and p2sh btc addresses (af00bd5)
- export cvToValue function (42c138b)
- package.json to reduce vulnerabilities (48a72fb)
1.3.2 (2021-03-11)
Note: Version bump only for package stacks.js
1.3.1 (2021-03-10)
Note: Version bump only for package stacks.js
1.3.0 (2021-03-08)
- add hex string and Buffer support to
deserializedTransaction
(be379b2) - properly serialize uncompressed auth fields (e259fe1)
1.2.4 (2021-02-26)
Note: Version bump only for package stacks.js
1.2.3 (2021-02-25)
- don't multiply with cycleDuration (a6fab4e)
- export cvToValue function (835e68e)
- getDelegateStxOptions (42eea7e)
- ignore .html files (e2d5810)
- prettier (f09f446)
- prettier in tx lib (404d917)
- run prettier (857e342)
- run prettier (6a1caae)
1.2.2 (2021-02-16)
Note: Version bump only for package stacks.js
1.2.2-alpha.0 (2021-02-16)
Note: Version bump only for package stacks.js
1.2.1-alpha.0 (2021-02-16)
Note: Version bump only for package stacks.js
1.2.0 (2021-02-15)
- export postcondition serialize (39bc470)
- make_keychain help description (edd0551)
- versions out of sync with lerna (56e6438)
1.1.0 (2021-01-29)
- lint, docs, and updates after merging master (1206ab5)
- set node version in master CI checks (a7e2ec6)
- updates based on feedback (ba15c2f)
- add delegate methods (5b9a3ed)
1.0.2 (2021-01-28)
- check okay before parsing result (952a60d)
- CLI reference syntax error (868ae4d)
- CLI tx response explorer URL and update reference doc (535c683)
- lint (cd90d8c)
- name lookup url not working on mainnet, fixes #916 (fc554cd)
- remove unused imports (aeb10b2)
- stacking: fix "Assertion failed" error when calling
.stack
and.canStack
(9093ce5) - throw error on error response (0a9a1ee)
- update explorer URLs (d691c09)
- add stale bot config (2045dc7)
- improve
StackerInfo
type (98e43fe) - move CI tests to github actions (18a8674)
1.0.1 (2021-01-15)
1.0.0 (2021-01-14)
- keychain: typing reference (251383a)
- package.json to reduce vulnerabilities (26af134)
- unit test urls (2faebb7)
- update axios dependency version (5c67546)
- update cross-fetch to v3.0.6 (50e4292)
1.0.0-beta.20 (2020-12-10)
- add handling of trait_reference (b404135)
- export cvToJSON (28c91f8)
- include yarn.lock (23e1dfa)
- re-add ignore etag bool (c29e68d)
- remove duplicate text, add helper function docs (b9856f6)
- remove extra comma (84d09f6)
- return object instead of array (1901505)
- use correct response type (b5bd3da)
1.0.0-beta.18 (2020-12-03)
- cli stacking status response (b5175ac)
- correct tsconfig for dev (737154f)
- lint (a3a1abd)
- lint (427f3a7)
- merge artifact (a6b7da0)
- missing stacking lib dep (0027f7e)
- missing stacks-blockchain-api dependency for cli (d4e01e0)
- remove ts-ignore (48d2109)
- remove typing path to non-existant directory (55157cc)
- stacking lib minimum balance check (7909d2f)
- add unlock block to stacking status CLI command (ae3bbc0)
- stacking support in CLI (5398b8f)
- stacking support in CLI (120f3e3)
- update for stacking lib (9462d7e)
1.0.0-beta.13 (2020-11-25)
- update stacking status response (3dc086b)
1.0.0-beta.12 (2020-11-20)
- export transactions/authorization (8e55e7a)
- export transactions/utils (c9fabc4)
- expose readBigUInt64BE (395bcd9)
- more BufferReader passthroughs (ff4204f)
1.0.0-beta.11 (2020-11-20)
- address stacking lib feedback (61f5bb8)
- build docs (ad5b344)
- stacking status unlock height calculation (ccf795a)
- update readme (78ec72d)
- use https for default testnet node (43b2886)
- additional info API for stacking (da50fa0)
- improve stacking getStatus response (b2e0a37)
- improved stacking lib API and unit tests (7ec3f06)
- stacking lib (665a024)
- stacking lib readme (83c78f4)
- unlock block in stacking status func (c3b97a7)
- update testnet node URL (ef54dff)
1.0.0-beta.10 (2020-11-17)
- change readme links to absolute (b149074)
- export NoneCV and SomeCV (974b0c7)
- remove class extension of smartbuffer to fix build issues (9ccb417)
1.0.0-beta.9 (2020-11-06)
- clean up package.json (0559d3e)
- missing keychain dep (329fdac)
- remove blockstack.js and legacy transaction lib dependency from keychain (c9c4f77)
- switch to @stacks/connect (eca6f4c)
1.0.0-beta.8 (2020-10-27)
- change default buffer encoding to hex in cvToString() function (92af5b5)
- CLI unable to specify node URL (f8403f0)
- no clone on tx broadcast result (c12e369)
- add mocknet network config (fca6bb5)
- enable creation of unsigned contract calls (ba2243e)
- transactions: export cvToHex, hexToCV, parseReadOnlyResponse (1c0f0e3)
1.0.0-beta.7 (2020-10-15)
1.0.0-beta.6 (2020-10-15)
- clean up dependencies (442bc3d)
- prepend txid with 0x in CLI (6c85a52)
- remove unused bitcoinjs-lib dependency from common lib (9899890)
1.0.0-beta.5 (2020-10-15)
- add entries in package.json (12eaf53)
- cli build errors (9cdf5e2)
- cli build fixes (65f71ac)
- cli error with extending BlockstackNetwork class (ad13e46)
- cli running (b2bfe1c)
- keychain tests failing in ci (1cfe263)
- keychain tests failing in ci (0bc9d38)
- package-lock conflicts (e1e1300)
- syntax in migration guide (d75429f)
- tx broadcast error msgs (df60924)
1.0.0-beta.2 (2020-10-06)
1.0.0-beta.4 (2020-10-09)
- issue with jest version (ccd5f00)
- package.json files (0f607c9)
- restore protocolEchoDetection (c48d118)
1.0.0-beta.3 (2020-10-09)
- auth package tests (59f17de)
- eslint, yarn workspaces (9a6ad14)
- lint prettier all packages (17fc891)
- transaction lib build (86829fe)
- transactions package tests (da29e8e)
- build update for common, encryption and storage packages (fd71e71)
1.0.0-beta.2 (2020-10-06)
1.0.0-beta.1 (2020-09-28)
- add tsdx to packages (fbb4281)
- allow force option in putFile (0797a5d)
- ci config (3812c3f)
- ci config (9d5d3f1)
- ci config (77758cd)
- ci config (1eb00ec)
- cli build config (2959c20)
- cli global install (b088271)
- lint (269bff4)
- lookup profile args in storage (e60cf32)
- merge conflict mistake (3124e05)
- missing optional argument for input 'triplesecDecrypt' (3aaf773)
- more circular dependencies removed from auth package (3a1dfba)
- prettier formatting (0069bd7)
- profile package circular dependency (c749612)
- remove cache files from git (9fc294e)
- remove old tests and data from auth package (30e446f)
- remove transaction package prepare script (f62f500)
- remove unused auth.ts (9ce79f6)
- tests and ci (c05e353)
- update ci config (a63528e)
- update transactions package readme (ac9b3a5)
- add cli bin.js (6781230)
- add cli src files (e3fbb0a)
- add keychain package (5fbe772)
- add network package (da8ec58)
- add profile package (d27a657)
- blockstack.js to stacks.js migration guide (3760bf2)
- clean up legacy code (faa3620)
- create random private key with optional entropy (dc192d4)
- create storage package (c99680b)
- create storage package (1867afe)
- move CLI package (1608d7c)
- move encryption functions out of storage package (cb7b293)
- move transactions package from @blockstack/stacks-transactions (d31cf3c)
- persist etags in UserSession (66ab8f1)
- refactor tests to use jest and move into respective packages (e35e57e)
- remove references to GaiaHubConfig in auth package (f0f97de)
- remove storage functions from user session (c27d948)
- setup monorepo structure and refactor auth (03c7c92)
- switch cli to @stacks/transactions (833b748)
- update common package (2132b08)
- update tsconfig and use tsdx (a82dd0c)
- update tsconfig and use tsdx (01c8f82)