From fc2d24ffff3787688c1b9583b78b33a57064ad72 Mon Sep 17 00:00:00 2001 From: Repro Date: Wed, 26 Aug 2026 13:38:02 +0300 Subject: [PATCH] revert: un-release 9.0.0 The 9.0.0 release (#420) was never published to npm because the team decided to migrate publishing to OIDC trusted publishing first. Revert the version bump so 9.0.0 can be re-cut cleanly after the OIDC migration. - package.json: 9.0.0 -> 8.2.0 - CHANGELOG.md: remove the [9.0.0] section heading and fold its entries (#419, #410) back under [Unreleased]; reset the [Unreleased] compare link to v8.2.0...HEAD and drop the [9.0.0] link. The Node.js 18/20 drop entry (#422), added after 9.0.0 was cut, is kept under [Unreleased]. --- CHANGELOG.md | 6 +----- package.json | 2 +- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2572b94f..4c3ae969 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,9 +8,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed - **BREAKING**: Drop support for Node.js versions 18 and 20 ([#422](https://github.com/MetaMask/eth-sig-util/pull/422)) - The minimum supported Node.js version is now 22. - -## [9.0.0] -### Changed - **BREAKING**: Reject ambiguous `bool` values in `signTypedData` (all versions) instead of coercing them ([#419](https://github.com/MetaMask/eth-sig-util/pull/419)) - `bool` fields now only accept the boolean values `true`/`false` or the exact strings `'true'`/`'false'`. Any other value (e.g. `0`, `1`, `'0'`, `''`, or an arbitrary string) now throws instead of being coerced via `Boolean(value)`. - This fixes a signing footgun where a `bool` field supplied as the string `'false'` was encoded and signed as `true` (every non-empty string is truthy in JavaScript), while interfaces displaying the raw value showed `'false'`. @@ -185,8 +182,7 @@ 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/v9.0.0...HEAD -[9.0.0]: https://github.com/MetaMask/eth-sig-util/compare/v8.2.0...v9.0.0 +[Unreleased]: https://github.com/MetaMask/eth-sig-util/compare/v8.2.0...HEAD [8.2.0]: https://github.com/MetaMask/eth-sig-util/compare/v8.1.2...v8.2.0 [8.1.2]: https://github.com/MetaMask/eth-sig-util/compare/v8.1.1...v8.1.2 [8.1.1]: https://github.com/MetaMask/eth-sig-util/compare/v8.1.0...v8.1.1 diff --git a/package.json b/package.json index 5068d9a5..11e4eb1f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/eth-sig-util", - "version": "9.0.0", + "version": "8.2.0", "description": "A few useful functions for signing ethereum data", "keywords": [ "ethereum",