diff --git a/CHANGELOG.md b/CHANGELOG.md index 8eaa1141..f08ca951 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [6.0.0] +### Changed +- **BREAKING**: Fix `normalize` for empty strings and `0` ([#315](https://github.com/MetaMask/eth-sig-util/pull/315)) + - This is breaking as it changes the behavior of the function with an empty string or `0` as input: it will now return `0x` for an empty string and `0x00` for `0`, instead of `undefined` + ## [5.1.0] ### Changed - rawEncode: fix broken BigNumber negativity check ([#307](https://github.com/MetaMask/eth-sig-util/pull/307)) @@ -114,7 +119,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Fix package metadata ([#81](https://github.com/MetaMask/eth-sig-util/pull/81) - Switch from Node.js v8 to Node.js v10 ([#76](https://github.com/MetaMask/eth-sig-util/pull/77) and [#80](https://github.com/MetaMask/eth-sig-util/pull/80)) -[Unreleased]: https://github.com/MetaMask/eth-sig-util/compare/v5.1.0...HEAD +[Unreleased]: https://github.com/MetaMask/eth-sig-util/compare/v6.0.0...HEAD +[6.0.0]: https://github.com/MetaMask/eth-sig-util/compare/v5.1.0...v6.0.0 [5.1.0]: https://github.com/MetaMask/eth-sig-util/compare/v5.0.3...v5.1.0 [5.0.3]: https://github.com/MetaMask/eth-sig-util/compare/v5.0.2...v5.0.3 [5.0.2]: https://github.com/MetaMask/eth-sig-util/compare/v5.0.1...v5.0.2 diff --git a/package.json b/package.json index 8e0be67b..0a4e604e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/eth-sig-util", - "version": "5.1.0", + "version": "6.0.0", "description": "A few useful functions for signing ethereum data", "keywords": [ "ethereum",