Releases: nearform/fast-jwt
Releases · nearform/fast-jwt
v3.3.2
What's Changed
- [OPTIC-RELEASE-AUTOMATION] release/v3.3.1 by @optic-release-automation in #390
- fix: add missingRequiredClaim to TokenValidationErrorCode by @TimLehner in #403
- fix(typescript): fix typescript type DecodedJwt by @qoomon in #407
New Contributors
- @TimLehner made their first contribution in #403
- @qoomon made their first contribution in #407
Full Changelog: v3.3.1...v3.3.2
v3.3.1
What's Changed
- [OPTIC-RELEASE-AUTOMATION] release/v3.3.0 by @optic-release-automation in #382
- fix: removed pre publish step by @williamlines in #385
Full Changelog: v3.3.0...v3.3.1
v3.3.0
What's Changed
- [OPTIC-RELEASE-AUTOMATION] release/v3.2.0 by @optic-release-automation in #367
- chore(deps-dev): bump tsd from 0.28.1 to 0.29.0 by @dependabot in #371
- chore: drop support for Node 14 by @simoneb in #378
- perf: use
node:
prefix to bypass require.cache call for builtins by @Fdawgs in #375 - Allow expiresIn to be a string by @felixmosh in #376
New Contributors
- @Fdawgs made their first contribution in #375
- @felixmosh made their first contribution in #376
Full Changelog: v3.2.0...v3.3.0
v3.2.0
What's Changed
- [OPTIC-RELEASE-AUTOMATION] release/v3.1.1 by @optic-release-automation in #345
- chore(deps-dev): bump @sinonjs/fake-timers from 10.2.0 to 11.0.0 by @dependabot in #346
- chore: update dependabot config by @williamlines in #349
- chore(deps-dev): bump prettier from 2.8.8 to 3.0.0 by @dependabot in #353
- support notBefore and expiresIn as strings by @relvao in #364
New Contributors
- @williamlines made their first contribution in #349
- @relvao made their first contribution in #364
Full Changelog: v3.1.1...v3.2.0
v3.1.1
v3.1.0
What's Changed
- [OPTIC-RELEASE-AUTOMATION] release/v3.0.0 by @optic-release-automation in #337
- feat: additional tool in sign benchmark by @ilteoood in #338
- chore(deps-dev): bump eslint-plugin-n from 15.7.0 to 16.0.0 by @dependabot in #340
Full Changelog: v3.0.0...v3.1.0
v3.0.0
Breaking changes
This change will only affect users who are passing a callback in the key
property of createVerifier
or createSigner
.
Previously the first parameter would be only the header of the JWT:
createVerifier({
key: async function (header) {
console.log(header.alg, header.kid)
return "key"
},
})
Now the first parameter is the whole JWT object (Except for createSigner which doesn't have the signature
option).
If your code was using the header before you can just destructure it from the object and it will maintain the same behavior:
createVerifier({
key: async function ({ header, payload, signature }) {
console.log(header.alg, header.kid)
return "key"
},
})
What's Changed
- [OPTIC-RELEASE-AUTOMATION] release/v2.2.3 by @optic-release-automation in #334
- chore: use set to check supported algorithms by @ilteoood in #336
- feat!: provide fully decoded jwt object to key callback by @guilhermelimak in #335
Full Changelog: v2.2.3...v3.0.0
v2.2.3
What's Changed
- [OPTIC-RELEASE-AUTOMATION] release/v2.2.2 by @optic-release-automation in #326
- fix: copyright year by @ilteoood in #327
- fix: optic release action permissions by @grantmorrison in #328
- chore(deps-dev): bump @types/node from 18.16.4 to 20.0.0 by @dependabot in #329
- chore: enabling npm provenance integration by @mahenrique94 in #333
New Contributors
- @grantmorrison made their first contribution in #328
- @mahenrique94 made their first contribution in #333
Full Changelog: v2.2.2...v2.2.3
v2.2.2
What's Changed
- [OPTIC-RELEASE-AUTOMATION] release/v2.2.1 by @optic-release-automation in #313
- switch the org for optic-release-automation-action by @bredikhin in #314
- ci: update check-linked-issues job permissions by @MelkorNemesis in #315
- switch the org and fix permissions for github-action-notify-release by @bredikhin in #317
- switch the org for github-action-notify-release by @bredikhin in #318
- ci: update notify-release action permissions by @MelkorNemesis in #319
- chore: extend engines field to node <22 by @toomuchdesign in #322
New Contributors
- @bredikhin made their first contribution in #314
- @MelkorNemesis made their first contribution in #315
- @toomuchdesign made their first contribution in #322
Full Changelog: v2.2.1...v2.2.2
v2.2.1
What's Changed
- [OPTIC-RELEASE-AUTOMATION] release/v2.2.0 by @optic-release-automation in #304
- chore(deps-dev): bump tsd from 0.25.0 to 0.26.0 by @dependabot in #306
- chore(deps-dev): bump tsd from 0.26.1 to 0.27.0 by @dependabot in #307
- chore(deps-dev): bump typescript from 4.9.5 to 5.0.2 by @dependabot in #309
- chore(deps-dev): bump tsd from 0.27.0 to 0.28.0 by @dependabot in #310
Full Changelog: v2.2.0...v2.2.1