From b44f51e38f2023268525a22dc44b842528b123f7 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 14 Sep 2023 21:57:02 +0000 Subject: [PATCH] 5.1.0 (#151) * 5.1.0 * fix incorrect changelog entry for 5.0.0 --------- This was originally merged as d0d5c9750286b624a01dc48fe25d52858a5810f4 but rebased on top of #157 to retrigger the publish. --------- Co-authored-by: github-actions Co-authored-by: legobt <6wbvkn0j@anonaddy.me> --- CHANGELOG.md | 15 ++++++++++++--- package.json | 4 ++-- 2 files changed, 14 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c51bc8c..958aaa2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [5.1.0] +### Changed +- Export TypeScript interfaces ([#140](https://github.com/MetaMask/eth-simple-keyring/pull/140)) +- Update all dependencies ([#140](https://github.com/MetaMask/eth-simple-keyring/pull/140)) ([#149](https://github.com/MetaMask/eth-simple-keyring/pull/149)) + +### Fixed +- Add `validateMessage` option to `signMessage` to configure if runtime-validation should be done that input string is hex (default: `true`) ([#148](https://github.com/MetaMask/eth-simple-keyring/pull/148)) + ## [5.0.0] ### Changed - **BREAKING:** Makes version-specific `signTypedData` methods private ([#84](https://github.com/MetaMask/eth-simple-keyring/pull/84)) @@ -14,12 +22,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Consumers should not use this property as it is intended for internal use only. - **BREAKING:** Makes `getPrivateKeyFor` a private method ([#83](https://github.com/MetaMask/eth-simple-keyring/pull/83)) - Consumers who wish to get the private key for a given account should use the `exportAccount` method. -- **BREAKING:** Set the minimum Node.js version to 12 ([#68](https://github.com/MetaMask/eth-simple-keyring/pull/68)) +- **BREAKING:** Set the minimum Node.js version to 14 ([#68](https://github.com/MetaMask/eth-simple-keyring/pull/68)) ([#109](https://github.com/MetaMask/eth-simple-keyring/pull/109)) - Always return rejected Promise upon failure ([#85](https://github.com/MetaMask/eth-simple-keyring/pull/85)) ### Removed - **BREAKING:** Remove redundant `newGethSignMessage` method ([#72](https://github.com/MetaMask/eth-simple-keyring/pull/72)) - - Consumers can use `signPersonalMessage` method as a replacement for `newGethSignMessage`. + - Consumers can use `signPersonalMessage` method as a replacement for `newGethSignMessage`. -[Unreleased]: https://github.com/MetaMask/eth-simple-keyring/compare/v5.0.0...HEAD +[Unreleased]: https://github.com/MetaMask/eth-simple-keyring/compare/v5.1.0...HEAD +[5.1.0]: https://github.com/MetaMask/eth-simple-keyring/compare/v5.0.0...v5.1.0 [5.0.0]: https://github.com/MetaMask/eth-simple-keyring/releases/tag/v5.0.0 diff --git a/package.json b/package.json index f3dcad8..de0f110 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@metamask/eth-simple-keyring", - "version": "5.0.0", - "description": "A simple standard interface for a series of Ethereum private keys.", + "version": "5.1.0", + "description": "A simple standard interface for a series of Ethereum private keys", "keywords": [ "ethereum", "keyring"