Skip to content

9.0.0

Latest

Choose a tag to compare

@github-actions github-actions released this 26 Aug 12:49
5a89b8b

Changed

  • BREAKING: Drop support for Node.js versions 18 and 20 (#422)
    • The minimum supported Node.js version is now 22.
  • BREAKING: Reject ambiguous bool values in signTypedData (all versions) instead of coercing them (#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'.
  • Add additional validation to EIP7702 methods (#410)