OLD | NEW |
| 1 # 1.0.0 |
| 2 |
| 3 ## Breaking changes |
| 4 |
| 5 * Requests that use client authentication, such as the |
| 6 `AuthorizationCodeGrant`'s access token request and `Credentials`' refresh |
| 7 request, now use HTTP Basic authentication by default. This form of |
| 8 authentication is strongly recommended by the OAuth 2.0 spec. The new |
| 9 `basicAuth` parameter may be set to `false` to force form-based authentication |
| 10 for servers that require it. |
| 11 |
| 12 * `new AuthorizationCodeGrant()` now takes `secret` as an optional named |
| 13 argument rather than a required argument. This matches the OAuth 2.0 spec, |
| 14 which says that a client secret is only required for confidential clients. |
| 15 |
| 16 * `new Client()` and `Credentials.refresh()` now take both `identifier` and |
| 17 `secret` as optional named arguments rather than required arguments. This |
| 18 matches the OAuth 2.0 spec, which says that the server may choose not to |
| 19 require client authentication for some flows. |
| 20 |
| 21 * `new Credentials()` now takes named arguments rather than optional positional |
| 22 arguments. |
| 23 |
| 24 ## Non-breaking changes |
| 25 |
| 26 * The `scopes` argument to `AuthorizationCodeGrant.getAuthorizationUrl()` and |
| 27 `new Credentials()` and the `newScopes` argument to `Credentials.refresh` now |
| 28 take an `Iterable` rather than just a `List`. |
| 29 |
| 30 * The `scopes` argument to `AuthorizationCodeGrant.getAuthorizationUrl()` now |
| 31 defaults to `null` rather than `const []`. |
| 32 |
1 # 0.9.3 | 33 # 0.9.3 |
2 | 34 |
3 * Update the `http` dependency. | 35 * Update the `http` dependency. |
4 | 36 |
5 * Since `http` 0.11.0 now works in non-`dart:io` contexts, `oauth2` does as | 37 * Since `http` 0.11.0 now works in non-`dart:io` contexts, `oauth2` does as |
6 well. | 38 well. |
7 | 39 |
8 # 0.9.2 | 40 # 0.9.2 |
9 | 41 |
10 * Expand the dependency on the HTTP package to include 0.10.x. | 42 * Expand the dependency on the HTTP package to include 0.10.x. |
11 | 43 |
12 * Add a README file. | 44 * Add a README file. |
OLD | NEW |