Skip to content

Releases: articulate/authentic

v4.0.0

27 Dec 15:52
ebd4e7c
Compare
Choose a tag to compare

Major Changes

  • 5056bad: Allows a generic type, which must extend JWT, to be defined on Authentic's signature for automatic type casting.

    Breaking changes:

    Bumps jose to V5. This upgrade includes a breaking change, now only LTS Node versions will be supported by @articulate/authentic, so the minimum supported version now is v18.

v3.0.0

06 Sep 12:34
c1805dd
Compare
Choose a tag to compare

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.

v2.0.5

18 Jul 13:56
908f3db
Compare
Choose a tag to compare

Patch Changes

  • 03e1107: Allow cid claim to be a string

v1.3.1: Add https:// if iss doesn't include it in JWT (#24)

21 Jan 19:09
97ac795
Compare
Choose a tag to compare
* add https to iss url if not already present

* use assignment operator in rename helper function

* v1.3.1

* add test coverage for branch in addHttps function