platform/packages/auth/CHANGELOG.md

175 lines
3 KiB
Markdown
Raw Normal View History

2021-07-08 01:20:21 +00:00
# Change Log
2021-06-07 00:50:39 +00:00
2023-05-21 09:29:15 +00:00
## 8.0.0
* Require Dart >= 3.0
2022-11-18 13:52:12 +00:00
## 7.0.1
* Fixed linter warnings
2022-08-16 11:19:04 +00:00
## 7.0.0
* Require Dart >= 2.17
## 6.0.0
2022-08-16 11:19:04 +00:00
* Require Dart >= 2.16
## 5.0.0
2022-04-23 04:21:39 +00:00
* Skipped release
2021-10-04 05:13:56 +00:00
## 4.1.2
* Fixed `requireAuthentication` to work correctly with null-safety type
2021-09-29 07:40:27 +00:00
## 4.1.1
* Changed `userId` field of `AuthToken` to String type
* Changed `serializer` return value to String type
* Changed `deserializer` input parameter to String type
## 4.1.0
* Updated linter to `package:lints`
2021-07-15 07:57:47 +00:00
## 4.0.5
* Added support for verifier function to return an empty Map instead of null
2021-07-15 08:04:32 +00:00
* Fixed `canRespondWithJson` option to return data in the response body when set to true
2021-07-15 07:57:47 +00:00
2021-07-08 01:20:21 +00:00
## 4.0.4
2021-06-01 01:01:01 +00:00
2021-07-08 01:20:21 +00:00
* Changed `serializer` and `deserializer` parameters to be required
* Fixed HTTP basic authentication
2021-07-15 07:57:47 +00:00
* All 31 unit tests passed
2021-07-08 01:20:21 +00:00
## 4.0.3
* Fixed "failureRedirect" unit test
## 4.0.2
* Added MirrorsReflector to unit test
## 4.0.1
2021-05-29 01:48:33 +00:00
2021-05-15 06:32:25 +00:00
* Updated README
2021-07-08 01:20:21 +00:00
## 4.0.0
2022-08-16 11:19:04 +00:00
* Migrated to support Dart >= 2.12 NNBD
2021-05-02 04:12:43 +00:00
2021-07-08 01:20:21 +00:00
## 3.0.0
2022-08-16 11:19:04 +00:00
* Migrated to work with Dart >= 2.12 Non NNBD
2021-05-02 04:12:43 +00:00
2021-07-08 01:20:21 +00:00
## 2.1.5+1
2019-05-03 06:27:42 +00:00
* Fix error in popup page.
2021-07-08 01:20:21 +00:00
## 2.1.5
2019-04-20 00:08:05 +00:00
* Modify `_apply` to honor an existing `User` over `Future<User>`.
2021-07-08 01:20:21 +00:00
## 2.1.4
* Deprecate `decodeJwt`, in favor of asynchronous injections.
2021-07-08 01:20:21 +00:00
## 2.1.3
2019-04-19 07:50:04 +00:00
* Use `await` on redirects, etc.
2021-07-08 01:20:21 +00:00
## 2.1.2
2019-04-11 14:00:34 +00:00
* Change empty cookie string to have double quotes (thanks @korsvanloon).
2021-07-08 01:20:21 +00:00
## 2.1.1
2019-01-05 23:54:48 +00:00
* Added `scopes` to `ExternalAuthOptions`.
2021-07-08 01:20:21 +00:00
## 2.1.0
2019-01-04 15:47:01 +00:00
* Added `ExternalAuthOptions`.
2021-07-08 01:20:21 +00:00
## 2.0.4
2018-12-31 15:00:17 +00:00
* `successRedirect` was previously explicitly returning a `200`; remove this and allow the default `302`.
2021-07-08 01:20:21 +00:00
## 2.0.3
2018-12-09 16:29:15 +00:00
* Updates for streaming parse of request bodies.
2021-07-08 01:20:21 +00:00
## 2.0.2
2018-11-09 18:01:37 +00:00
* Handle `null` return in `authenticate` + `failureRedirect`.
2021-07-08 01:20:21 +00:00
## 2.0.1
2018-09-12 03:16:17 +00:00
* Add generic parameter to `options` on `AuthStrategy.authenticate`.
2021-07-08 01:20:21 +00:00
## 2.0.0+1
2018-09-12 00:51:59 +00:00
* Meta update to improve Pub score.
2021-07-08 01:20:21 +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
2021-07-08 01:20:21 +00:00
## 2.0.0-alpha
2018-08-26 23:11:37 +00:00
* Depend on Dart 2 and Angel 2.
* Remove `dart2_constant`.
* Remove `requireAuth`.
* Remove `userKey`, instead favoring generic parameters.
2021-07-08 01:20:21 +00:00
## 1.2.0
2018-07-12 17:11:54 +00:00
* Deprecate `requireAuth`, in favor of `requireAuthentication`.
* Allow configuring of the `userKey`.
* Deprecate `middlewareName`.
2021-07-08 01:20:21 +00:00
## 1.1.1+6
2018-07-10 23:31:50 +00:00
* Fix a small logic bug that prevented `LocalAuthStrategy`
from correctly propagating the authenticated user when
using `Basic` auth.
2021-07-08 01:20:21 +00:00
## 1.1.1+5
2018-06-27 18:10:56 +00:00
* Prevent duplication of cookies.
* Regenerate the JWT if `tokenCallback` is called.
2021-07-08 01:20:21 +00:00
## 1.1.1+4
2018-06-27 17:43:46 +00:00
* Patched `logout` to properly erase cookies
* Fixed checking of expired tokens.
2021-07-08 01:20:21 +00:00
## 1.1.1+3
2018-06-27 17:17:44 +00:00
* `authenticate` returns the current user, if one is present.
2021-07-08 01:20:21 +00:00
## 1.1.1+2
2018-06-27 16:59:40 +00:00
* `_apply` now always sends a `token` cookie.
2021-07-08 01:20:21 +00:00
## 1.1.1+1
2018-06-27 16:42:43 +00:00
* Update `protectCookie` to only send `maxAge` when it is not `-1`.
2021-07-08 01:20:21 +00:00
## 1.1.1
2018-06-27 16:36:31 +00:00
* Added `protectCookie`, to better protect data sent in cookies.
2021-07-08 01:20:21 +00:00
## 1.1.0+2
2017-12-21 09:12:52 +00:00
* `LocalAuthStrategy` returns `true` on `Basic` authentication.
2021-07-08 01:20:21 +00:00
## 1.1.0+1
2017-12-21 06:32:16 +00:00
* Modified `LocalAuthStrategy`'s handling of `Basic` authentication.