Skip to content

Latest commit

 

History

History
128 lines (75 loc) · 3.07 KB

CHANGELOG.md

File metadata and controls

128 lines (75 loc) · 3.07 KB

6.2.0

  • Empty functions function () {} replaced by angular.noop
  • Fixed comment examples referencing old service names
  • Store AUTH_HEADER_PREFIX prefix with auth token to facilitate different authentication backends

6.1.0

  • Redirect user to logged out page when their session expires.

6.0.0

  • BREAKING CHANGE: Seperate the code from the angular_token_auth into seperate files.
  • Add Angular-route dependency 1.2 - 1.5.
  • Add Angular-mocks dependency 1.2 - 1.5.
  • Add build task to create a minified file and a concatenated file.
  • Add file linting using eslint version 18.1.0. https://github.com/sindresorhus/grunt-eslint.

5.9.0

  • Upgrade Angular compatibility to include 1.3, 1.4, and 1.5

5.8.0

  • Add errors to login directive scope.

5.7.0

  • Add authRouteChangeStartFactory so on $routeChangeStart can be changed.
  • Use 'authModuleSettings' where possible.

5.6.0

  • Add STORAGE_METHOD option which overrides the token storage type

5.5.0

  • Send a DELETE request to the auth endpoint when logging out to clear the session.

5.4.0

  • Add LOGOUT_REDIRECT_URL

5.3.1

  • Fix issue with host / hostname not being detected in IE for local paths.
  • Add error log when ALLOWED_HOSTS is empty.

5.3.0

  • Added support for setting the cookie's path using COOKIE_PATH.

5.2.0

  • Added anonymous only flag to routes.

5.1.0

  • Login form directive split into separate services and returned as constructor object which allows it to be extended using prototype inheritance in projects.

5.0.1

  • Fixed issue where the module would throw an error if route.$$next was undefined.

5.0.0

  • Renamed all of the services to fit the data they return.
  • Added getAuth method to the authFactory which returns all the data stored from the auth response.

4.2.0

  • Add STORAGE_METHOD option which overrides the token storage type (Backport from 5.6.0)

4.1.0

  • Save token to local storage as well as cookies to support cordova

4.0.0

  • Only transform request headers for hosts defined in the ALLOWED_HOSTS config list.

3.0.3

  • Add option for authorisation header prefix to allow oAuth 2.0 bearer authorisation

3.0.2

  • Only broadcast tokenAuth events after cookie manipulation.

3.0.1

  • Removed redirect of URLs containing next parameter in the run method. As it caused an infinite loop in some situations.

3.0.0

  • The tokenAuth factory has been removed and replaced with authenticationFactory which now has only 2 methods, login and logout.
  • tokenFactory has been added with 3 methods to get, set and clear tokens.
  • HTTP inteceptor has been added to the package to set appropriate headers on all HTTP requests.
  • No more boilerplate required in your app to use angular-token-auth.

2.0.0

  • All routes are now anonymous by default. This seems like the best default going forwards.

1.2.0

  • Updated naming conventions to be consistent with other angular projects.

1.1.1

  • Login directive now inherits parent's scope rather than using it.

1.1.0

  • Login directive now requires a template to render.

1.0.0

  • Initial release å