|
| 1 | +# 2.0.1 |
| 2 | + |
| 3 | +* Handle `expires_in` when encoded as string. |
| 4 | +* Populate the pubspec `repository` field. |
| 5 | +* Increase the minimum Dart SDK to `2.17.0`. |
| 6 | + |
| 7 | +# 2.0.0 |
| 8 | + |
| 9 | +* Migrate to null safety. |
| 10 | + |
| 11 | +# 1.6.3 |
| 12 | + |
| 13 | +* Added optional `codeVerifier` parameter to `AuthorizationCodeGrant` constructor. |
| 14 | + |
| 15 | +# 1.6.1 |
| 16 | + |
| 17 | +* Added fix to make sure that credentials are only refreshed once when multiple calls are made. |
| 18 | + |
| 19 | +# 1.6.0 |
| 20 | + |
| 21 | +* Added PKCE support to `AuthorizationCodeGrant`. |
| 22 | + |
| 23 | +# 1.5.0 |
| 24 | + |
| 25 | +* Added support for `clientCredentialsGrant`. |
| 26 | + |
| 27 | +# 1.4.0 |
| 28 | + |
| 29 | +* OpenID's id_token treated. |
| 30 | + |
| 31 | +# 1.3.0 |
| 32 | + |
| 33 | +* Added `onCredentialsRefreshed` option when creating `Client` objects. |
| 34 | + |
| 35 | +# 1.2.3 |
| 36 | + |
| 37 | +* Support the latest `package:http` release. |
| 38 | + |
| 39 | +# 1.2.2 |
| 40 | + |
| 41 | +* Allow the stable 2.0 SDK. |
| 42 | + |
| 43 | +# 1.2.1 |
| 44 | + |
| 45 | +* Updated SDK version to 2.0.0-dev.17.0 |
| 46 | + |
| 47 | +# 1.2.0 |
| 48 | + |
| 49 | +* Add a `getParameter()` parameter to `new AuthorizationCodeGrant()`, `new |
| 50 | + Credentials()`, and `resourceOwnerPasswordGrant()`. This controls how the |
| 51 | + authorization server's response is parsed for servers that don't provide the |
| 52 | + standard JSON response. |
| 53 | + |
| 54 | +# 1.1.1 |
| 55 | + |
| 56 | +* `resourceOwnerPasswordGrant()` now properly uses its HTTP client for requests |
| 57 | + made by the OAuth2 client it returns. |
| 58 | + |
| 59 | +# 1.1.0 |
| 60 | + |
| 61 | +* Add a `delimiter` parameter to `new AuthorizationCodeGrant()`, `new |
| 62 | + Credentials()`, and `resourceOwnerPasswordGrant()`. This controls the |
| 63 | + delimiter between scopes, which some authorization servers require to be |
| 64 | + different values than the specified `' '`. |
| 65 | + |
| 66 | +# 1.0.2 |
| 67 | + |
| 68 | +* Fix all strong-mode warnings. |
| 69 | + |
| 70 | +* Support `crypto` 1.0.0. |
| 71 | + |
| 72 | +* Support `http_parser` 3.0.0. |
| 73 | + |
| 74 | +# 1.0.1 |
| 75 | + |
| 76 | +* Support `http_parser` 2.0.0. |
| 77 | + |
| 78 | +# 1.0.0 |
| 79 | + |
| 80 | +## Breaking changes |
| 81 | + |
| 82 | +* Requests that use client authentication, such as the |
| 83 | + `AuthorizationCodeGrant`'s access token request and `Credentials`' refresh |
| 84 | + request, now use HTTP Basic authentication by default. This form of |
| 85 | + authentication is strongly recommended by the OAuth 2.0 spec. The new |
| 86 | + `basicAuth` parameter may be set to `false` to force form-based authentication |
| 87 | + for servers that require it. |
| 88 | + |
| 89 | +* `new AuthorizationCodeGrant()` now takes `secret` as an optional named |
| 90 | + argument rather than a required argument. This matches the OAuth 2.0 spec, |
| 91 | + which says that a client secret is only required for confidential clients. |
| 92 | + |
| 93 | +* `new Client()` and `Credentials.refresh()` now take both `identifier` and |
| 94 | + `secret` as optional named arguments rather than required arguments. This |
| 95 | + matches the OAuth 2.0 spec, which says that the server may choose not to |
| 96 | + require client authentication for some flows. |
| 97 | + |
| 98 | +* `new Credentials()` now takes named arguments rather than optional positional |
| 99 | + arguments. |
| 100 | + |
| 101 | +## Non-breaking changes |
| 102 | + |
| 103 | +* Added a `resourceOwnerPasswordGrant` method. |
| 104 | + |
| 105 | +* The `scopes` argument to `AuthorizationCodeGrant.getAuthorizationUrl()` and |
| 106 | + `new Credentials()` and the `newScopes` argument to `Credentials.refresh` now |
| 107 | + take an `Iterable` rather than just a `List`. |
| 108 | + |
| 109 | +* The `scopes` argument to `AuthorizationCodeGrant.getAuthorizationUrl()` now |
| 110 | + defaults to `null` rather than `const []`. |
| 111 | + |
| 112 | +# 0.9.3 |
| 113 | + |
| 114 | +* Update the `http` dependency. |
| 115 | + |
| 116 | +* Since `http` 0.11.0 now works in non-`dart:io` contexts, `oauth2` does as |
| 117 | + well. |
| 118 | + |
| 119 | +# 0.9.2 |
| 120 | + |
| 121 | +* Expand the dependency on the HTTP package to include 0.10.x. |
| 122 | + |
| 123 | +* Add a README file. |
0 commit comments