Skip to content

Latest commit

 

History

History
41 lines (31 loc) · 1.2 KB

CHANGELOG.md

File metadata and controls

41 lines (31 loc) · 1.2 KB

Change Log

This project adheres to Semantic Versioning.
Every release, along with the migration instructions (where necessary), is documented on the Github Releases page.

If anything is unclear in the project documentation, please raise an issue: https://github.com/dwyl/hapi-auth-jwt2/issues (we are here to help!)

Version 10.3.0 - Security Update to jsonwebtoken Dependency

Update version of jsonwebtoken dependency to latest to avoid security issues. See: #374 thanks @AntoineAA More detail in: #373 thanks Snyk.

Version 10.0.0

Version 10.0.0 introduces a breaking change where the returned payload Object now contains an artifacts Object of the form:

return {
  payload: {
    credentials: credentials
    artifacts: {
      token,
      decoded,
    },
  },
};

Previously the value of artifacts was just the token. Anyone using version 9.0.0 will need to make the minor update to use payload.artifacts.token as opposed to payload.artifacts.

Version 9.0.0

Version 9.0.0 is compatible with Hapi 19.x.x