2.0.0-beta.5 (2021-08-10)
Features Added
- This release adds support by default for CP1 client capabilities, enabling all credentials to respond to claims challenges that occur due to insufficient claims. Claims challenges, for example, can occur due to requirements of Continuous Access Enforcement (CAE) and Conditional Access authentication context. You may optionally disable this behavior by setting the environment variable
AZURE_IDENTITY_DISABLE_CP1
(to any value). You can read more about client capabilities, CAE, and Conditional Access on the Microsoft Documentation. ChainedTokenCredential
andDefaultAzureCredential
now expose a property namedselectedCredential
, which will store the selected credential once any of the available credentials succeeds.- Implementation of
ApplicationCredential
for use by applications which call into Microsoft Graph APIs and which have issues usingDefaultAzureCredential
. This credential is based onEnvironmentCredential
andManagedIdentityCredential
.
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
.
Bugs Fixed
- With this release, we've migrated from using
@azure/core-http
to@azure/core-rest-pipeline
for the handling of HTTP requests. See Azure Core v1 vs v2 for more on the difference and benefits of the move. This removes our dependency onnode-fetch
and along with it issues we have seen in using this dependency in specific environments like Kubernetes pods.