Skip to content

Releases: MetaMask/eth-sig-util

8.1.1

06 Dec 16:12
c149827
Compare
Choose a tag to compare

Fixed

  • Revert "fix: Add Permit type schema" (#401)

8.1.0

03 Dec 14:20
1a02afc
Compare
Choose a tag to compare

Added

  • Add Permit type to signTypedData schema (#399)

8.0.0

18 Oct 11:13
66a8c09
Compare
Choose a tag to compare

Changed

  • BREAKING: Values of type number are not accepted as address parameter anymore. Valid values are string and Uint8Array. (#391)
  • BREAKING: Drop support for Node.js versions 16, 21. (#390)

7.0.3

15 Jul 20:35
7a81b23
Compare
Choose a tag to compare

Changed

  • Bump @metamask/abi-utils to ^2.0.4 (#381)
  • Bump @metamask/utils from ^9.0.0 (#381)

7.0.2

01 May 07:18
712d9fb
Compare
Choose a tag to compare

Fixed

  • Replace dependency tweetnacl-util with @scure/base (#358)

7.0.1

21 Nov 21:50
f8e84ea
Compare
Choose a tag to compare

Changed

  • Remove dependency ethjs-util (#349)

Fixed

  • BREAKING: fix: interpret 0x as hex in bytes encodeField (#354)
    • This fixes a regression introduced in 6.0.1 which caused inconsistent signatures when data was supplied as literal 0x.
  • fix: Exclude test files from published release (#350)
  • fix: Bump @babel/traverse from 7.21.5 to 7.23.2 (#341)

6.0.2

21 Nov 22:55
82e25fb
Compare
Choose a tag to compare

Fixed

  • BREAKING: fix: interpret 0x as hex in bytes encodeField (#356)
    • This fixes a regression introduced in 6.0.1 which caused inconsistent signatures when data was supplied as literal 0x.

7.0.0

12 Sep 11:44
a6e969a
Compare
Choose a tag to compare

Changed

  • BREAKING: Increase minimum Node.js version to v16 (#332)
  • BREAKING: Bump @metamask/abi-utils from ^1.0.2 to ^2.0.2 (#326)
  • Bump @metamask/utils from ^5.0.2 to ^8.1.0 (#333)

6.0.1

11 Sep 09:09
9282e95
Compare
Choose a tag to compare

Changed

  • Swap out legacy ethereumjs-abi for @metamask/abi-utils (#319)

Fixed

  • Bump ethereum-cryptography from ^2.0.0 to ^2.1.2 (#302)
  • Bump ethereumjs/util from ^8.0.6 to ^8.1.0 (#302)
  • Remove unused dependency bn.js (#334) (#302)

6.0.0

30 Jun 08:04
1f8be1e
Compare
Choose a tag to compare

Changed

  • BREAKING: Fix normalize for empty strings and 0 (#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