Skip to content

SIWE PARSER 3.0.0 Release

Latest
Compare
Choose a tag to compare
@w4ll3 w4ll3 released this 21 Jan 20:13
cfe87ba

Breaking Changes

  • validate(…) was removed and replaced by verify(…). This will impact SIWE 1.0 and those at 2.0 that did not migrate when the method was deprecated. See SIWE Release 2.0 for more details on this change.

Relevant changes

  • Removes dependencies onuri-js and valid-url (#213)
  • Re-writes ABNF parser in favor of a pre-generated grammar object for improved performance (#213)
  • Added script to re-generated the grammar (#213)
  • Added more unit tests (#213)

Addressed Issues

Closes issues:

  • #177: uses a pre-generated parser for improved performance, see #200 for full reasoning
  • #202: fixes invalid opts check
  • #210: the nonce check is now handled by the ABNF parser

CONTRIBUTORS

@ldthomas (#213)
@chunningham (#213)
@w4ll3 (#213)

Complete changes

Full Changelog: https://github.com/spruceid/siwe/compare/[email protected]