platform/packages/auth/CHANGELOG.md

84 lines
2 KiB
Markdown
Raw Normal View History

2019-05-03 06:27:42 +00:00
# 2.1.5+1
* Fix error in popup page.
2019-04-20 00:08:05 +00:00
# 2.1.5
* Modify `_apply` to honor an existing `User` over `Future<User>`.
# 2.1.4
* Deprecate `decodeJwt`, in favor of asynchronous injections.
2019-04-19 07:50:04 +00:00
# 2.1.3
* Use `await` on redirects, etc.
2019-04-11 14:00:34 +00:00
# 2.1.2
* Change empty cookie string to have double quotes (thanks @korsvanloon).
2019-01-05 23:54:48 +00:00
# 2.1.1
* Added `scopes` to `ExternalAuthOptions`.
2019-01-04 15:47:01 +00:00
# 2.1.0
* Added `ExternalAuthOptions`.
2018-12-31 15:00:17 +00:00
# 2.0.4
* `successRedirect` was previously explicitly returning a `200`; remove this and allow the default `302`.
2018-12-09 16:29:15 +00:00
# 2.0.3
* Updates for streaming parse of request bodies.
2018-11-09 18:01:37 +00:00
# 2.0.2
* Handle `null` return in `authenticate` + `failureRedirect`.
2018-09-12 03:16:17 +00:00
# 2.0.1
* Add generic parameter to `options` on `AuthStrategy.authenticate`.
2018-09-12 00:51:59 +00:00
# 2.0.0+1
* Meta update to improve Pub score.
2018-09-11 22:11:44 +00:00
# 2.0.0
2018-09-11 22:03:35 +00:00
* Made `AuthStrategy` generic.
* `AngelAuth.strategies` is now a `Map<String, AuthStrategy<User>>`.
* Removed `AuthStrategy.canLogout`.
2018-09-11 22:11:44 +00:00
* Made `AngelAuthTokenCallback` generic.
2018-09-11 22:03:35 +00:00
2018-08-26 23:11:37 +00:00
# 2.0.0-alpha
* Depend on Dart 2 and Angel 2.
* Remove `dart2_constant`.
* Remove `requireAuth`.
* Remove `userKey`, instead favoring generic parameters.
2018-07-12 17:11:54 +00:00
# 1.2.0
* Deprecate `requireAuth`, in favor of `requireAuthentication`.
* Allow configuring of the `userKey`.
* Deprecate `middlewareName`.
2018-07-10 23:31:50 +00:00
# 1.1.1+6
* Fix a small logic bug that prevented `LocalAuthStrategy`
from correctly propagating the authenticated user when
using `Basic` auth.
2018-06-27 18:10:56 +00:00
# 1.1.1+5
* Prevent duplication of cookies.
* Regenerate the JWT if `tokenCallback` is called.
2018-06-27 17:43:46 +00:00
# 1.1.1+4
* Patched `logout` to properly erase cookies
* Fixed checking of expired tokens.
2018-06-27 17:17:44 +00:00
# 1.1.1+3
* `authenticate` returns the current user, if one is present.
2018-06-27 16:59:40 +00:00
# 1.1.1+2
* `_apply` now always sends a `token` cookie.
2018-06-27 16:42:43 +00:00
# 1.1.1+1
* Update `protectCookie` to only send `maxAge` when it is not `-1`.
2018-06-27 16:36:31 +00:00
# 1.1.1
* Added `protectCookie`, to better protect data sent in cookies.
2017-12-21 09:12:52 +00:00
# 1.1.0+2
* `LocalAuthStrategy` returns `true` on `Basic` authentication.
2017-12-21 06:32:16 +00:00
# 1.1.0+1
* Modified `LocalAuthStrategy`'s handling of `Basic` authentication.