Skip to content

Releases: nearform/fast-jwt

v6.1.0

01 Dec 14:10
986a77a

Choose a tag to compare

What's Changed

  • [OPTIC-RELEASE-AUTOMATION] release/v6.0.2 by @optic-release-automation[bot] in #564
  • chore(deps-dev): bump @types/node from 22.15.32 to 24.0.3 by @dependabot[bot] in #565
  • chore(deps-dev): bump tsd from 0.32.0 to 0.33.0 by @dependabot[bot] in #567
  • chore: import crypto once by @ilteoood in #568
  • chore: migrate to OIDC publishing for npm releases by @zibs in #569
  • feat: expose TOKEN_ERROR_CODES and derive duplicated error code types from it by @wopian in #573

New Contributors

Full Changelog: v6.0.2...v6.1.0

v6.0.2

27 May 19:35

Choose a tag to compare

What's Changed

  • [OPTIC-RELEASE-AUTOMATION] release/v6.0.1 by @optic-release-automation in #557
  • chore(deps-dev): bump tsd from 0.31.2 to 0.32.0 by @dependabot in #558
  • docs: Add error handling section with examples by @simoneb in #561
  • Fix: error constructor in declaration file by @atlowChemi in #562

New Contributors

Full Changelog: v6.0.1...v6.0.2

v6.0.1

31 Mar 14:11

Choose a tag to compare

What's Changed

  • [OPTIC-RELEASE-AUTOMATION] release/v6.0.0 by @optic-release-automation in #554
  • feature: support negative expiresIn when signing tokens by @agubler in #556

Full Changelog: v6.0.0...v6.0.1

v6.0.0

20 Mar 16:37

Choose a tag to compare

BREAKING CHANGES

This is a semver major release containing breaking changes to address more thoroughly the security vulnerability fixed in v5.0.6, which only fixed the vulnerability without introducing breaking changes.

This release takes it one step further by adhering more closely to the JWT specification.

More specifically, verification now expects all claims except for the aud claim to be single values, instead of supporting arrays of values.

This is a breaking change because JWTs containing claims in array format (with the exception of aud), now cause verification errors, while they were previously allowed.

What's Changed

  • [OPTIC-RELEASE-AUTOMATION] release/v5.0.6 by @optic-release-automation in #551
  • feat!: align claim validation to specification by @agubler in #553

New Contributors

Full Changelog: v5.0.6...v6.0.0

v5.0.6

19 Mar 09:33

Choose a tag to compare

SECURITY RELEASE

This release contains a fix for GHSA-gm45-q3v2-6cf8.

Upgrading is strongly recommended.

Thanks to @tibrn for reporting, and @agubler for fixing it.

What's Changed

New Contributors

Full Changelog: v5.0.5...v5.0.6

v5.0.5

14 Jan 16:24

Choose a tag to compare

What's Changed

  • [OPTIC-RELEASE-AUTOMATION] release/v5.0.2 by @optic-release-automation in #525
  • chore: upgrade deps by @ilteoood in #526
  • Chore/types definition by @ilteoood in #527
  • chore: fake timer by @ilteoood in #528
  • Feat/generic signer verifier by @ilteoood in #529
  • [OPTIC-RELEASE-AUTOMATION] release/v5.0.3 by @optic-release-automation in #530
  • update nearform banner link by @msgadi in #533
  • chore(deps-dev): bump eslint-config-prettier from 9.1.0 to 10.0.1 by @dependabot in #538
  • [OPTIC-RELEASE-AUTOMATION] release/v5.0.4 by @optic-release-automation in #539

Full Changelog: v5.0.2...v5.0.5

v5.0.2

13 Dec 14:34

Choose a tag to compare

What's Changed

  • [OPTIC-RELEASE-AUTOMATION] release/v5.0.1 by @optic-release-automation in #523
  • chore(types): Add missing input type for DecodedJwt and Updated input field to return decoded 'input' by @msgadi in #524

New Contributors

Full Changelog: v5.0.1...v5.0.2

v5.0.1

11 Dec 16:57

Choose a tag to compare

What's Changed

  • [OPTIC-RELEASE-AUTOMATION] release/v5.0.0 by @optic-release-automation in #515
  • fix: return token as input property in verify when complete is true by @simoneb in #522

Full Changelog: v5.0.0...v5.0.1

v5.0.0

20 Nov 21:14

Choose a tag to compare

Breaking changes

This version supports Node 20 and above

What's Changed

Full Changelog: v4.0.5...v5.0.0

v4.0.5

09 Sep 14:24

Choose a tag to compare

What's Changed

  • [OPTIC-RELEASE-AUTOMATION] release/v4.0.3 by @optic-release-automation in #473
  • Extend JwtHeader to allow additional fields by @Akallabet in #476
  • [OPTIC-RELEASE-AUTOMATION] release/v4.0.4 by @optic-release-automation in #477

New Contributors

Full Changelog: v4.0.3...v4.0.5