Skip to content

Releases: MetaMask/eth-sig-util

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: bn.js@4.11.8->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)

5.0.2

10 Nov 21:54
31c4539
Compare
Choose a tag to compare

Changed

  • allow bn.js to resolve any minor/patch version above 4.11.8 (#280)

5.0.1

09 Nov 22:41
f62368d
Compare
Choose a tag to compare

Fixed

  • Fix issue introduced in v5.0.0 where the method encodeField encoded fields typed as bytes and passed as hexstrings were encoded differently than previous versions (#271, #274)