Skip to content

v3.0.0

Choose a tag to compare

@github-actions github-actions released this 06 Sep 12:34
· 3 commits to main since this release
c1805dd

Major Changes

  • e0ab92a: Typescript refactor and replace jsonwebtoken and jwks-rsa in favor of jose

    The biggest change on this version is the replacement of jsonwebtoken and jwks-rsa in favor of jose. jose exports the same features the other two libraries offer, without adding the extra dependencies previously required (it has zero dependencies!). This change significantly decreases @authentic final bundle size, allowing it to also be used in Lambdas.

    Also, this new version doesn't export authentic as a default export anymore, apps using this new version will to import/require { authentic } from "@articulate/authentic" instead.

    Before upgrading make sure your app uses the new expected jwks and verify options (which differ from the old ones).

    Dual Export of ESM and CJS Bundles

    Starting with this new version, Authentic started exporting both an ECMAScript Module (ESM) bundle and a CommonJS (CJS) bundle. This means that applications utilizing either of these architectures can now choose the bundle that best suits their specific use case.