Skip to content

Releases: nearform/fast-jwt

v3.3.2

20 Nov 14:33
Compare
Choose a tag to compare

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

Full Changelog: v3.3.1...v3.3.2

v3.3.1

05 Oct 09:34
Compare
Choose a tag to compare

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

21 Sep 11:26
Compare
Choose a tag to compare

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

Full Changelog: v3.2.0...v3.3.0

v3.2.0

18 Aug 11:13
Compare
Choose a tag to compare

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

Full Changelog: v3.1.1...v3.2.0

v3.1.1

08 Jun 15:44
Compare
Choose a tag to compare

What's Changed

  • [OPTIC-RELEASE-AUTOMATION] release/v3.1.0 by @optic-release-automation in #342
  • Make fields of signerOptions and verifierOptions optional by @rubiin in #339

New Contributors

Full Changelog: v3.1.0...v3.1.1

v3.1.0

30 May 10:57
Compare
Choose a tag to compare

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

19 May 10:43
Compare
Choose a tag to compare

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

11 May 12:35
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.2.2...v2.2.3

v2.2.2

27 Apr 09:03
Compare
Choose a tag to compare

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

Full Changelog: v2.2.1...v2.2.2

v2.2.1

30 Mar 09:35
Compare
Choose a tag to compare

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