Skip to content

Releases: MetaMask/eth-sig-util

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

5.1.0

01 May 02:06
fb40290
Compare
Choose a tag to compare

Changed

  • rawEncode: fix broken BigNumber negativity check (#307)
  • Specify type interface for multiple functions (#307)
  • Improve type parameter input validation (#307)
  • deps: [email protected]>4.12.0 (#309)
  • devDeps: Support TypeScript version ~4.8.4 (#307)

5.0.3

27 Apr 12:45
2cc2327
Compare
Choose a tag to compare

Changed

  • Bump ethereum-cryptography, @ethereumjs/util (#302)