Releases: awslabs/aws-jwt-verify
Releases · awslabs/aws-jwt-verify
v2.1.1
v2.1.0
What's Changed
- Specify node engines by @ottokruse in #37
- Mention Node.js 14 and TypeScript 4.0.0 more clearly in docs by @ottokruse in #41
- Include RS384 and RS512 support for JWT signing algorithms by @leelalagudu in #43
- Add exports of important types by @ottokruse in #42
- 2.1.0 by @leelalagudu in #44
Full Changelog: v2.0.0...v2.1.0
v2.0.0
Noteworthy changes
- It's now possible to include the raw JWT in verification errors (#27)
- Enable tsdoc hints when creating the verifier, to help the user understand the configuration options (#11) :
These changes are BREAKING changes for some usage patterns, therefore this release increments the major version number to 2.0.0:
- To enable tsdoc hints in #11 we refactored various TypeScript types. You'll only notice that, if you were explicitly importing the now refactored types. If you don't know if you did, you probably didn't, in which case this change isn't breaking for you. (All example code from README.md remains valid without any change).
- As part of #27 we've split out the errors that my be thrown when checking claims. Instead of a generic
AssertionError
more specific errors are now thrown (e.g.JwtInvalidScopeError
). If you weren't explicitly testing for error type (e.g. doingerr instance of AssertionError
) this change isn't breaking for you.
Full Changelog: v1.0.3...v2.0.0
v1.0.3
What's Changed
- Add basic usage to top of README by @ottokruse in #18
- Update jwk validation logic by @leelalagudu in #19
- Added quick link to verify parameters by @ottokruse in #20
- 1.0.3 by @leelalagudu in #21
Full Changelog: v1.0.2...v1.0.3
v1.0.2
Functional changes (all non-breaking):
Allow "aud" claim to be an array of strings (#14)
This makes the library compatible with JWTs from Auth0
Expose error module so it may be imported (#12)
If you want to catch this library's exceptions, you may want to import them (and use instanceof
), this is now possible.