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 depencies 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)
  • Adds type checking to EIP1271 Magic Value (#160)
  • Replace Object.assign (#161)
  • Support optional scheme being provided in msg header (#195)
  • Add linting to CI (#197)
  • fix: siwe-parcel-compatibility (#198)
  • ABNF parser rewrite by @chunningham in #213

Adressed 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)
@NicholasEllul (#195)
@sbihel (#197)
@Harman-singh-waraich (#198)
@digiwand (#199)

Complete changes

Full Changelog: v2.1.4...siwe-parser-v3.0.0