|
1 | 1 | ## Release (2024-02-27) |
2 | 2 |
|
3 | 3 | - `core`: [v0.10.0](core/CHANGELOG.md#v0100-2024-02-27) |
4 | | -- **Feature:** Add package `runtime`, which implements methods to be used when performing API requests. |
5 | | -- **Feature:** Add method `WithCaptureHTTPResponse` to package `runtime`, which does the same as `config.WithCaptureHTTPResponse`. Method was moved to avoid confusion due to it not being a configuration option, and will be removed in a later release. |
6 | | -- **Feature:** Add configuration option that, for the key flow, enables a goroutine to be spawned that will refresh the access token when it's close to expiring |
7 | | -- **Deprecation:** Mark method `config.WithCaptureHTTPResponse` as deprecated, to avoid confusion due to it not being a configuration option. Use `runtime.WithCaptureHTTPResponse` instead. |
8 | | -- **Deprecation:** Mark method `config.WithJWKSEndpoint` and field `config.Configuration.JWKSCustomUrl` as deprecated. Validation using JWKS was removed, for being redundant with token validation done in the APIs. These have no effect. |
9 | | -- **Deprecation:** |
10 | | - - Methods: |
11 | | - - `config.WithMaxRetries` |
12 | | - - `config.WithWaitBetweenCalls` |
13 | | - - `config.WithRetryTimeout` |
14 | | - - `clients.NewRetryConfig` |
15 | | - - Fields: |
16 | | - - `clients.KeyFlowConfig.ClientRetry` |
17 | | - - `clients.TokenFlowConfig.ClientRetry` |
18 | | - - `clients.NoAuthFlowConfig.ClientRetry` |
19 | | - - `clients.RetryConfig` |
20 | | - - Retry options removed to reduce complexity of the clients. If this functionality is needed, you can provide your own custom HTTP client. |
21 | | -- **Breaking Change:** Change signature of `auth.NoAuth`, which no longer takes `clients.RetryConfig` as argument. |
22 | | -- **Breaking Change:** |
23 | | - - Methods: |
24 | | - - `clients.KeyFlow.Clone` |
25 | | - - `clients.TokenFlow.Clone` |
26 | | - - `clients.NoAuthFlow.Clone` |
27 | | - - `clients.Do` |
28 | | - - Fields: |
29 | | - - `clients.DefaultRetryMaxRetries` |
30 | | - - `clients.DefaultRetryWaitBetweenCalls` |
31 | | - - `clients.DefaultRetryTimeout` |
32 | | - - Constants: |
33 | | - - `clients.ClientTimeoutErr` |
34 | | - - `clients.ClientContextDeadlineErr` |
35 | | - - `clients.ClientConnectionRefusedErr` |
36 | | - - `clients.ClientEOFError` |
37 | | - - `clients.Environment` |
38 | | - - Removed to reduce complexity of the clients, they were no longer being used. |
| 4 | + - **Feature:** Add package `runtime`, which implements methods to be used when performing API requests. |
| 5 | + - **Feature:** Add method `WithCaptureHTTPResponse` to package `runtime`, which does the same as `config.WithCaptureHTTPResponse`. Method was moved to avoid confusion due to it not being a configuration option, and will be removed in a later release. |
| 6 | + - **Feature:** Add configuration option that, for the key flow, enables a goroutine to be spawned that will refresh the access token when it's close to expiring |
| 7 | + - **Deprecation:** Mark method `config.WithCaptureHTTPResponse` as deprecated, to avoid confusion due to it not being a configuration option. Use `runtime.WithCaptureHTTPResponse` instead. |
| 8 | + - **Deprecation:** Mark method `config.WithJWKSEndpoint` and field `config.Configuration.JWKSCustomUrl` as deprecated. Validation using JWKS was removed, for being redundant with token validation done in the APIs. These have no effect. |
| 9 | + - **Deprecation:** |
| 10 | + - Methods: |
| 11 | + - `config.WithMaxRetries` |
| 12 | + - `config.WithWaitBetweenCalls` |
| 13 | + - `config.WithRetryTimeout` |
| 14 | + - `clients.NewRetryConfig` |
| 15 | + - Fields: |
| 16 | + - `clients.KeyFlowConfig.ClientRetry` |
| 17 | + - `clients.TokenFlowConfig.ClientRetry` |
| 18 | + - `clients.NoAuthFlowConfig.ClientRetry` |
| 19 | + - `clients.RetryConfig` |
| 20 | + - Retry options removed to reduce complexity of the clients. If this functionality is needed, you can provide your own custom HTTP client. |
| 21 | + - **Breaking Change:** Change signature of `auth.NoAuth`, which no longer takes `clients.RetryConfig` as argument. |
| 22 | + - **Breaking Change:** |
| 23 | + - Methods: |
| 24 | + - `clients.KeyFlow.Clone` |
| 25 | + - `clients.TokenFlow.Clone` |
| 26 | + - `clients.NoAuthFlow.Clone` |
| 27 | + - `clients.Do` |
| 28 | + - Fields: |
| 29 | + - `clients.DefaultRetryMaxRetries` |
| 30 | + - `clients.DefaultRetryWaitBetweenCalls` |
| 31 | + - `clients.DefaultRetryTimeout` |
| 32 | + - Constants: |
| 33 | + - `clients.ClientTimeoutErr` |
| 34 | + - `clients.ClientContextDeadlineErr` |
| 35 | + - `clients.ClientConnectionRefusedErr` |
| 36 | + - `clients.ClientEOFError` |
| 37 | + - `clients.Environment` |
| 38 | + - Removed to reduce complexity of the clients, they were no longer being used. |
39 | 39 |
|
40 | 40 | ## Release (2024-02-07) |
41 | 41 |
|
|
0 commit comments