Skip to content

v4.0.0

Compare
Choose a tag to compare
@jpadilla jpadilla released this 05 Jun 02:13
· 232 commits to master since this release
6162068

Changelog

@fenichelar championed this major release which was tracked via #226. Thank you!


This includes changes from the following PRs:

  • #219 Add TokenAuthorizerMixin
  • #217 base64url decode jwt
  • #195 Invalidate session after token expiration

It also:

  • Simplifies environment configuration loading
  • Organizes testing
  • Stores token data in the session
  • Switches from yarn to npm
  • Switches from jquery to ember-fetch
  • Removes getAuthenticateData
  • Removes getResponseData
  • Uses eslint-plugin-ember
  • Merges ajax request function in JWT and token
  • Throws error if refreshLeeway is too large

In addition to closing the above PRs, the following PRs are no longer needed if accepted:

  • #224 deprecate getAuthenticateData
    • getAuthenticateData removed
  • #222 Update ember-cli to 3.1.2
    • ember-cli updated
  • #206 Make token data available to session
    • Token data available to the session
  • #200 fix: Use ember-fetch to avoid test failures
    • Tests fixed
  • #188 Fixes #170
    • getAuthenticateData removed
  • #187 Fixed jquery 3 promise handling to be compatible with ember promises
    • Switched to ember-fetch
  • #169 Update readme
    • Setting authorizationPrefix blank now works as expected
  • #167 Change ember-simple-auth 1.0.1 to ^1.1.0
    • ember-simple-auth updated
  • #122 Add warning when refreshLeeway is set to high
    • An error is thrown if refreshLeeway is too large