Azure/azure-sdk-for-python (azure-core)
### [`v1.32.0`](https://redirect.github.com/Azure/azure-sdk-for-python/releases/tag/azure-core_1.32.0)
[Compare Source](https://redirect.github.com/Azure/azure-sdk-for-python/compare/azure-core_1.31.0...azure-core_1.32.0)
#### 1.32.0 (2024-10-31)
##### Features Added
- Added a default implementation to handle token challenges in `BearerTokenCredentialPolicy` and `AsyncBearerTokenCredentialPolicy`.
##### Bugs Fixed
- Fixed an issue where the `tracing_attributes` keyword argument wasn't being handled at the request/method level. [#38164](https://redirect.github.com/Azure/azure-sdk-for-python/issues/38164)
##### Other Changes
- Log "x-vss-e2eid" and "x-msedge-ref" headers in `HttpLoggingPolicy`.
### [`v1.31.0`](https://redirect.github.com/Azure/azure-sdk-for-python/releases/tag/azure-core_1.31.0)
[Compare Source](https://redirect.github.com/Azure/azure-sdk-for-python/compare/azure-core_1.30.2...azure-core_1.31.0)
#### 1.31.0 (2024-09-12)
##### Features Added
- Added azure.core.AzureClouds enum to represent the different Azure clouds.
- Added two new credential protocol classes, `SupportsTokenInfo` and `AsyncSupportsTokenInfo`, to offer more extensibility in supporting various token acquisition scenarios. [#36565](https://redirect.github.com/Azure/azure-sdk-for-python/issues/36565)
- Each new protocol class defines a `get_token_info` method that returns an `AccessTokenInfo` object.
- Added a new `TokenRequestOptions` class, which is a `TypedDict` with optional parameters, that can be used to define options for token requests through the `get_token_info` method. [#36565](https://redirect.github.com/Azure/azure-sdk-for-python/issues/36565)
- Added a new `AccessTokenInfo` class, which is returned by `get_token_info` implementations. This class contains the token, its expiration time, and optional additional information like when a token should be refreshed. [#36565](https://redirect.github.com/Azure/azure-sdk-for-python/issues/36565)
- `BearerTokenCredentialPolicy` and `AsyncBearerTokenCredentialPolicy` now first check if a credential has the `get_token_info` method defined. If so, the `get_token_info` method is used to acquire a token. Otherwise, the `get_token` method is used. [#36565](https://redirect.github.com/Azure/azure-sdk-for-python/issues/36565)
- These policies now also check the `refresh_on` attribute when determining if a new token request should be made.
##### Other Changes
- The Azure Core OpenTelemetry tracing plugin will now be the preferred tracing plugin over the OpenCensus plugin. If both plugins are installed and `opentelemetry` is imported, then OpenTelemetry will be used to trace Azure SDK operations. [#35050](https://redirect.github.com/Azure/azure-sdk-for-python/issues/35050)
### [`v1.30.2`](https://redirect.github.com/Azure/azure-sdk-for-python/releases/tag/azure-core_1.30.2)
[Compare Source](https://redirect.github.com/Azure/azure-sdk-for-python/compare/azure-core_1.30.1...azure-core_1.30.2)
#### 1.30.2 (2024-06-06)
##### Features Added
- Tracing: `DistributedTracingPolicy` will now set an attribute, `http.request.resend_count`, on HTTP spans for resent requests to indicate the resend attempt number. [#35069](https://redirect.github.com/Azure/azure-sdk-for-python/issues/35069)
##### Bugs Fixed
- Raise correct exception if transport is used while already closed [#35559](https://redirect.github.com/Azure/azure-sdk-for-python/issues/35559)
##### Other Changes
- HTTP tracing spans will now include an `error.type` attribute if an error status code is returned. [#34619](https://redirect.github.com/Azure/azure-sdk-for-python/issues/34619)
- Minimum required Python version is now 3.8
### [`v1.30.1`](https://redirect.github.com/Azure/azure-sdk-for-python/releases/tag/azure-core_1.30.1)
[Compare Source](https://redirect.github.com/Azure/azure-sdk-for-python/compare/azure-core_1.30.0...azure-core_1.30.1)
#### 1.30.1 (2024-02-29)
##### Other Changes
- Accept float for `retry_after` header. [#34203](https://redirect.github.com/Azure/azure-sdk-for-python/issues/34203)
### [`v1.30.0`](https://redirect.github.com/Azure/azure-sdk-for-python/releases/tag/azure-core_1.30.0)
[Compare Source](https://redirect.github.com/Azure/azure-sdk-for-python/compare/azure-core_1.29.7...azure-core_1.30.0)
#### 1.30.0 (2024-02-01)
##### Features Added
- Support tuple input for file values to `azure.core.rest.HttpRequest` [#33948](https://redirect.github.com/Azure/azure-sdk-for-python/issues/33948)
- Support tuple input to `files` with duplicate field names `azure.core.rest.HttpRequest` [#34021](https://redirect.github.com/Azure/azure-sdk-for-python/issues/34021)
### [`v1.29.7`](https://redirect.github.com/Azure/azure-sdk-for-python/releases/tag/azure-core_1.29.7)
[Compare Source](https://redirect.github.com/Azure/azure-sdk-for-python/compare/azure-core_1.29.6...azure-core_1.29.7)
#### 1.29.7 (2024-01-18)
##### Other Changes
- Removed dependency on `anyio`. [#33282](https://redirect.github.com/Azure/azure-sdk-for-python/issues/33282)
### [`v1.29.6`](https://redirect.github.com/Azure/azure-sdk-for-python/releases/tag/azure-core_1.29.6)
[Compare Source](https://redirect.github.com/Azure/azure-sdk-for-python/compare/azure-core_1.29.5...azure-core_1.29.6)
#### 1.29.6 (2023-12-14)
##### Bugs Fixed
- Adjusted `AsyncBearerTokenCredentialPolicy` to work properly with `trio` concurrency mechanisms. ([#33307](https://redirect.github.com/Azure/azure-sdk-for-python/pull/33307))
##### Other Changes
- Added dependency on `anyio` >=3.0,<5.0
- Bumped minimum dependency on `requests` to 2.21.0.
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
==1.29.5
->==1.32.0
Release Notes
Azure/azure-sdk-for-python (azure-core)
### [`v1.32.0`](https://redirect.github.com/Azure/azure-sdk-for-python/releases/tag/azure-core_1.32.0) [Compare Source](https://redirect.github.com/Azure/azure-sdk-for-python/compare/azure-core_1.31.0...azure-core_1.32.0) #### 1.32.0 (2024-10-31) ##### Features Added - Added a default implementation to handle token challenges in `BearerTokenCredentialPolicy` and `AsyncBearerTokenCredentialPolicy`. ##### Bugs Fixed - Fixed an issue where the `tracing_attributes` keyword argument wasn't being handled at the request/method level. [#38164](https://redirect.github.com/Azure/azure-sdk-for-python/issues/38164) ##### Other Changes - Log "x-vss-e2eid" and "x-msedge-ref" headers in `HttpLoggingPolicy`. ### [`v1.31.0`](https://redirect.github.com/Azure/azure-sdk-for-python/releases/tag/azure-core_1.31.0) [Compare Source](https://redirect.github.com/Azure/azure-sdk-for-python/compare/azure-core_1.30.2...azure-core_1.31.0) #### 1.31.0 (2024-09-12) ##### Features Added - Added azure.core.AzureClouds enum to represent the different Azure clouds. - Added two new credential protocol classes, `SupportsTokenInfo` and `AsyncSupportsTokenInfo`, to offer more extensibility in supporting various token acquisition scenarios. [#36565](https://redirect.github.com/Azure/azure-sdk-for-python/issues/36565) - Each new protocol class defines a `get_token_info` method that returns an `AccessTokenInfo` object. - Added a new `TokenRequestOptions` class, which is a `TypedDict` with optional parameters, that can be used to define options for token requests through the `get_token_info` method. [#36565](https://redirect.github.com/Azure/azure-sdk-for-python/issues/36565) - Added a new `AccessTokenInfo` class, which is returned by `get_token_info` implementations. This class contains the token, its expiration time, and optional additional information like when a token should be refreshed. [#36565](https://redirect.github.com/Azure/azure-sdk-for-python/issues/36565) - `BearerTokenCredentialPolicy` and `AsyncBearerTokenCredentialPolicy` now first check if a credential has the `get_token_info` method defined. If so, the `get_token_info` method is used to acquire a token. Otherwise, the `get_token` method is used. [#36565](https://redirect.github.com/Azure/azure-sdk-for-python/issues/36565) - These policies now also check the `refresh_on` attribute when determining if a new token request should be made. ##### Other Changes - The Azure Core OpenTelemetry tracing plugin will now be the preferred tracing plugin over the OpenCensus plugin. If both plugins are installed and `opentelemetry` is imported, then OpenTelemetry will be used to trace Azure SDK operations. [#35050](https://redirect.github.com/Azure/azure-sdk-for-python/issues/35050) ### [`v1.30.2`](https://redirect.github.com/Azure/azure-sdk-for-python/releases/tag/azure-core_1.30.2) [Compare Source](https://redirect.github.com/Azure/azure-sdk-for-python/compare/azure-core_1.30.1...azure-core_1.30.2) #### 1.30.2 (2024-06-06) ##### Features Added - Tracing: `DistributedTracingPolicy` will now set an attribute, `http.request.resend_count`, on HTTP spans for resent requests to indicate the resend attempt number. [#35069](https://redirect.github.com/Azure/azure-sdk-for-python/issues/35069) ##### Bugs Fixed - Raise correct exception if transport is used while already closed [#35559](https://redirect.github.com/Azure/azure-sdk-for-python/issues/35559) ##### Other Changes - HTTP tracing spans will now include an `error.type` attribute if an error status code is returned. [#34619](https://redirect.github.com/Azure/azure-sdk-for-python/issues/34619) - Minimum required Python version is now 3.8 ### [`v1.30.1`](https://redirect.github.com/Azure/azure-sdk-for-python/releases/tag/azure-core_1.30.1) [Compare Source](https://redirect.github.com/Azure/azure-sdk-for-python/compare/azure-core_1.30.0...azure-core_1.30.1) #### 1.30.1 (2024-02-29) ##### Other Changes - Accept float for `retry_after` header. [#34203](https://redirect.github.com/Azure/azure-sdk-for-python/issues/34203) ### [`v1.30.0`](https://redirect.github.com/Azure/azure-sdk-for-python/releases/tag/azure-core_1.30.0) [Compare Source](https://redirect.github.com/Azure/azure-sdk-for-python/compare/azure-core_1.29.7...azure-core_1.30.0) #### 1.30.0 (2024-02-01) ##### Features Added - Support tuple input for file values to `azure.core.rest.HttpRequest` [#33948](https://redirect.github.com/Azure/azure-sdk-for-python/issues/33948) - Support tuple input to `files` with duplicate field names `azure.core.rest.HttpRequest` [#34021](https://redirect.github.com/Azure/azure-sdk-for-python/issues/34021) ### [`v1.29.7`](https://redirect.github.com/Azure/azure-sdk-for-python/releases/tag/azure-core_1.29.7) [Compare Source](https://redirect.github.com/Azure/azure-sdk-for-python/compare/azure-core_1.29.6...azure-core_1.29.7) #### 1.29.7 (2024-01-18) ##### Other Changes - Removed dependency on `anyio`. [#33282](https://redirect.github.com/Azure/azure-sdk-for-python/issues/33282) ### [`v1.29.6`](https://redirect.github.com/Azure/azure-sdk-for-python/releases/tag/azure-core_1.29.6) [Compare Source](https://redirect.github.com/Azure/azure-sdk-for-python/compare/azure-core_1.29.5...azure-core_1.29.6) #### 1.29.6 (2023-12-14) ##### Bugs Fixed - Adjusted `AsyncBearerTokenCredentialPolicy` to work properly with `trio` concurrency mechanisms. ([#33307](https://redirect.github.com/Azure/azure-sdk-for-python/pull/33307)) ##### Other Changes - Added dependency on `anyio` >=3.0,<5.0 - Bumped minimum dependency on `requests` to 2.21.0.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.