1.7.0b3 (2021-08-10)
Breaking Changes
These changes do not impact the API of stable versions such as 1.6.0.
Only code written against a beta version such as 1.7.0b1 may be affected.
- Renamed
AZURE_POD_IDENTITY_TOKEN_URL
toAZURE_POD_IDENTITY_AUTHORITY_HOST
.
The value should now be a host, for example "http://169.254.169.254" (the
default).
Bugs Fixed
- Fixed import of
azure.identity.aio.AzureApplicationCredential
(#19943)
Other Changes
- Added
CustomHookPolicy
to credential HTTP pipelines. This allows applications
to initialize credentials withraw_request_hook
andraw_response_hook
keyword arguments. The value of these arguments should be a callback taking a
PipelineRequest
andPipelineResponse
, respectively. For example:
ManagedIdentityCredential(raw_request_hook=lambda request: print(request.http_request.url))
- Reduced redundant
ChainedTokenCredential
andDefaultAzureCredential
logging. On Python 3.7+, credentials invoked by these classes now log debug
rather than info messages.
(#18972) - Persistent cache implementations are now loaded on demand, enabling
workarounds when importing transitive dependencies such as pywin32
fails
(#19989)