Skip to content

Latest commit

 

History

History
34 lines (26 loc) · 930 Bytes

CHANGELOG.md

File metadata and controls

34 lines (26 loc) · 930 Bytes

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.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