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 on
uri-js
andvalid-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
- Bump follow-redirects from 1.15.2 to 1.15.4 by @dependabot in #190
- Bump axios from 1.3.4 to 1.6.7 by @dependabot in #193
- Bump ip from 2.0.0 to 2.0.1 by @dependabot in #192
- Bump follow-redirects from 1.15.4 to 1.15.6 by @dependabot in #194
- Support optional scheme being provided in msg header by @NicholasEllul in #195
- Add linting to CI by @sbihel in #197
- fix: siwe-parcel-compatibility by @Harman-singh-waraich in #198
- build: npm bump update apg-js ^4.1.1 -> ^4.3.0 by @digiwand in #199
- Bump ejs from 3.1.9 to 3.1.10 by @dependabot in #201
- ABNF parser rewrite by @chunningham in #213
- Replace Object.assign by @w4ll3 in #161
- Adds type checking to EIP1271 Magic Value by @w4ll3 in #160
Full Changelog: v2.1.4...siwe-parser-v3.0.0