Skip to content

Latest commit

 

History

History
69 lines (36 loc) · 3.36 KB

CHANGELOG.md

File metadata and controls

69 lines (36 loc) · 3.36 KB

2.3.0 (2019-06-07)

Features

  • build module to commonjs (a548656)

2.2.0 (2019-03-12)

Features

  • allow for tokenSources in middleware options (01197c1)
  • get token via tokenSource if it is set in the options (dc28c2d)
  • set default tokenSources (e2d5593)

2.1.1 (2019-02-16)

Bug Fixes

  • stringify JWTAuthMiddleware options in error (2f09634)

2.1.0 (2019-02-16)

Bug Fixes

  • standardize date format in TokenExpired error message (8ac46c9)

Features

  • add logging of encryption algorithm in debug mode (d4854b1)
  • allow to check token payload with a type guard (842232b)
  • throw more explicit error if token expired (50896bd)
  • throw more explicit error if token isn't valid yet (3cb1c33)

2.0.0 (2019-02-16)

Features

  • accept lower case authorization header (86d9aaa)
  • add source maps to output (74d7aab)

BREAKING CHANGES

  • Previously lowercase authorization headers were ignored. Now if both a lower case authorization and an upper case Authorization header are present, an error is thrown. Currently the middleware does not support use cases where both headers are present.

1.1.0 (2019-02-16)

Features

  • accept multivalue header format (7d30dd1)

1.0.0 (2019-02-15)

Features

  • add IAuthOptions interface (05968f2)
  • add IAuthorizedEvent type (91e785e)
  • add types to errors (af89543)
  • check if token is valid (76bd162)
  • improve error message for wrong auth format (7f40831)
  • save auth data to event.auth (48d7646)