Skip to content

Latest commit

 

History

History
40 lines (25 loc) · 1.26 KB

CHANGELOG.md

File metadata and controls

40 lines (25 loc) · 1.26 KB

Changelog

2.1.1 - 2020-04-20

Updated

  • bump deps
  • remove unused typings in TypeScript definitions

Fixed

  • update package entrypoint to index.js (from non-existent src/index.js)

2.1.0 - 2020-01-30

Added

  • isUnsigned() method on a token instance to determine whether a token is unsigned
  • bringing back the 'none' algorithm (the jose package added support in version 1.21.0)

2.0.0 - 2020-01-10

Added

  • checks to ensure a token when decoding a JWT
  • checks to ensure a payload when creating a JWT

Updated

  • moved TypeScript definitions file to typings/index.d.ts
  • switch packages from jws to jose (jose comes with JWE support for encrypted tokens)

Breaking Changes

  • require Node.js v12
    • this change aligns with the hapi ecosystem requiring Node.js v12 with the release of hapi 19
  • remove 'none' algorithm in favor of increased security (and because jose doesn’t support unsigned tokens :))

1.0.0 - 2019-11-20

Added

  • 1.0.0 release 🚀 🎉