# Change Log

All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [6.1.1](https://github.com/hirosystems/stacks.js/compare/v6.1.0...v6.1.1) (2023-01-30)

**Note:** Version bump only for package @stacks/encryption





## [6.1.0](https://github.com/hirosystems/stacks.js/compare/v6.0.2...v6.1.0) (2023-01-06)

**Note:** Version bump only for package @stacks/encryption





## [6.0.0](https://github.com/hirosystems/stacks.js/compare/v5.0.3...v6.0.0) (2022-11-23)

**Note:** Version bump only for package @stacks/encryption





## [5.0.3](https://github.com/hirosystems/stacks.js/compare/v5.0.2...v5.0.3) (2022-11-18)

**Note:** Version bump only for package @stacks/encryption





## [5.0.0](https://github.com/hirosystems/stacks.js/compare/v4.3.8...v5.0.0) (2022-09-30)


### ⚠ BREAKING CHANGES

* **encryption:** The message signing prefix was changed from `Stacks Message Signing` to `Stacks 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`, and `concatBytes`.


### Features

* switch from buffer to uint8array ([#1343](https://github.com/hirosystems/stacks.js/issues/1343)) ([5445b73](https://github.com/hirosystems/stacks.js/commit/5445b73e05ec0c09414395331bfd37788545f1e1))


### Bug Fixes

* **encryption:** change message signing prefix, closes [#1328](https://github.com/hirosystems/stacks.js/issues/1328) ([65ce121](https://github.com/hirosystems/stacks.js/commit/65ce1218d62a8a1a0d82599611af4b11eaaed75c))
* remove previously deprecated functions ([b2a5f96](https://github.com/hirosystems/stacks.js/commit/b2a5f96fd24e8da7cb9b4e1cf4d7b654f6e5b00c))



## [4.3.8](https://github.com/hirosystems/stacks.js/compare/v4.3.7...v4.3.8) (2022-09-29)


### Bug Fixes

* add missing customizable prefixes ([a1d385c](https://github.com/hirosystems/stacks.js/commit/a1d385c39b29ad712e61223f8473400668579035))



## [4.3.7](https://github.com/hirosystems/stacks.js/compare/v4.3.6...v4.3.7) (2022-09-28)


### Bug Fixes

* correctly verify future message signing prefix ([d27e054](https://github.com/hirosystems/stacks.js/commit/d27e054f2639fcea4c873ce942d966e2aa4ca926))



## [4.3.5](https://github.com/hirosystems/stacks.js/compare/v4.3.4...v4.3.5) (2022-08-23)

**Note:** Version bump only for package @stacks/encryption





## [4.3.4](https://github.com/hirosystems/stacks.js/compare/v4.3.3...v4.3.4) (2022-08-02)

**Note:** Version bump only for package @stacks/encryption





## [4.3.3](https://github.com/hirosystems/stacks.js/compare/v4.3.2...v4.3.3) (2022-07-19)


### Bug Fixes

* update make_keychain command ([62355bc](https://github.com/hirosystems/stacks.js/commit/62355bc69dbeddd90773ed093e634c06460e86ce))





## [4.3.2](https://github.com/hirosystems/stacks.js/compare/v4.3.1...v4.3.2) (2022-07-11)


### Bug Fixes

* convert checksum to buffer ([963b028](https://github.com/hirosystems/stacks.js/commit/963b028d0db7b1fb57fef0a68f540ec35c80743a))





## [4.3.1](https://github.com/hirosystems/stacks.js/compare/v4.3.0...v4.3.1) (2022-07-01)


### Bug Fixes

* support legacy signature verification ([8446724](https://github.com/hirosystems/stacks.js/commit/844672480c6540b65df8d793b4bac0ec7ddd9205))





# [4.3.0](https://github.com/hirosystems/stacks.js/compare/v4.2.2...v4.3.0) (2022-06-16)

**Note:** Version bump only for package @stacks/encryption





## [4.2.2](https://github.com/hirosystems/stacks.js/compare/v4.2.2-beta.0...v4.2.2) (2022-06-01)

**Note:** Version bump only for package @stacks/encryption





# [4.2.0](https://github.com/hirosystems/stacks.js/compare/v4.1.2...v4.2.0) (2022-05-25)


### Bug Fixes

* offload bitcoinjs from stacking, closes [#1259](https://github.com/hirosystems/stacks.js/issues/1259) ([8912bca](https://github.com/hirosystems/stacks.js/commit/8912bca06b1281e453ff09b3513f0e08906eeae6))


### Features

* add missing rsv functions ([4e7fcf5](https://github.com/hirosystems/stacks.js/commit/4e7fcf5b9ae2000a903d49ac31a424349f839637))





# [4.1.0](https://github.com/blockstack/blockstack.js/compare/v4.0.2...v4.1.0) (2022-05-19)

**Note:** Version bump only for package @stacks/encryption





## [4.0.2](https://github.com/blockstack/blockstack.js/compare/v4.0.2-beta.1...v4.0.2) (2022-05-19)


### Bug Fixes

* **message-signing:** add working utility fn ([20b721c](https://github.com/blockstack/blockstack.js/commit/20b721cdccc2fb73f98aad80eb6d5e8e9cb987d0))





## [4.0.1](https://github.com/blockstack/blockstack.js/compare/v4.0.1-beta.1...v4.0.1) (2022-05-09)

**Note:** Version bump only for package @stacks/encryption





# [4.0.0](https://github.com/blockstack/blockstack.js/compare/v4.0.0-beta.2...v4.0.0) (2022-04-20)

**Note:** Version bump only for package @stacks/encryption





# [3.5.0](https://github.com/blockstack/blockstack.js/compare/v3.5.0-beta.3...v3.5.0) (2022-03-30)

**Note:** Version bump only for package @stacks/encryption





# [3.3.0](https://github.com/blockstack/blockstack.js/compare/v3.2.1-beta.0...v3.3.0) (2022-02-23)

**Note:** Version bump only for package @stacks/encryption





## [3.2.1-beta.0](https://github.com/blockstack/blockstack.js/compare/v3.2.0...v3.2.1-beta.0) (2022-02-23)

**Note:** Version bump only for package @stacks/encryption





## [2.0.1](https://github.com/blockstack/blockstack.js/compare/v2.0.1-beta.2...v2.0.1) (2021-08-09)

**Note:** Version bump only for package @stacks/encryption





## [2.0.1-beta.2](https://github.com/blockstack/blockstack.js/compare/v2.0.1-beta.1...v2.0.1-beta.2) (2021-08-06)

**Note:** Version bump only for package @stacks/encryption





## [2.0.1-beta.1](https://github.com/blockstack/blockstack.js/compare/v2.0.0-beta.1...v2.0.1-beta.1) (2021-07-26)


### Bug Fixes

* remove console.log ([3e55c94](https://github.com/blockstack/blockstack.js/commit/3e55c94d1bef2417aa3f25710c3171632c1ac8f3))
* remove unused const ([e506cf3](https://github.com/blockstack/blockstack.js/commit/e506cf3b5faf2d030b4e6da82e330002783db1c0))
* verify that the public key is a secp256k1 point ([1cfef11](https://github.com/blockstack/blockstack.js/commit/1cfef115515aaa6f97fe188f29c4f66f198aefcd))





# [2.0.0-beta.2](https://github.com/blockstack/blockstack.js/compare/v2.0.0-beta.1...v2.0.0-beta.2) (2021-07-26)


### Bug Fixes

* remove console.log ([3e55c94](https://github.com/blockstack/blockstack.js/commit/3e55c94d1bef2417aa3f25710c3171632c1ac8f3))
* remove unused const ([e506cf3](https://github.com/blockstack/blockstack.js/commit/e506cf3b5faf2d030b4e6da82e330002783db1c0))
* verify that the public key is a secp256k1 point ([1cfef11](https://github.com/blockstack/blockstack.js/commit/1cfef115515aaa6f97fe188f29c4f66f198aefcd))





## [1.2.3](https://github.com/blockstack/blockstack.js/compare/v1.2.2...v1.2.3) (2021-02-25)


### Bug Fixes

* run prettier ([6a1caae](https://github.com/blockstack/blockstack.js/commit/6a1caaed6818f60a2d838c1b4dabc902d168be72))
