- This release marks the general availability of the
@azure/identity
package. EnvironmentCredential
now looks for additional environment variables: (PR #5743)AZURE_CLIENT_CERTIFICATE_PATH
to configureClientCertificateCredential
AZURE_USERNAME
andAZURE_PASSWORD
to configureUsernamePasswordCredential
GetTokenOptions
now extends the interfaceOperationOptions
(PR #5899)TokenCredentialOptions
now extends the interfacePipelineOptions
(PR #5711)- Renamed
IdentityClientOptions
toTokenCredentialOptions
(PR #5797) - Removed the browser bundle. A browser-compatible library can still be created through the use of a bundler such as Rollup, Webpack, or Parcel (PR #5863)
- Renamed
DeviceCodeDetails
toDeviceCodeInfo
and improved casing of the fields in theErrorResponse
type (PR #5662) - Improved the constructor signatures for
AuthorizationCodeCredential
,DeviceCodeCredential
,InteractiveBrowserCredential
andmanagedIdentityCredential
so that it's clearer which parameters are optional and what additional values they accept (PR #5668) - Added logging for authentication flows via the new
@azure/logger
package (PR #5611) - Fixed an issue in
DeviceCodeCredential
where an unexpected authentication error could cause an infinite polling loop (PR #5430) - Improved the details that appear in the
AggregateAuthenticationError
(PR #5409)
- Update
@azure/core-tracing
dependency to resolve an issue when running in Internet Explorer 11 (PR #5472)
- Introduced the
AuthorizationCodeCredential
for performing the authorization code flow with AAD (PR #5356) - Fixed an issue preventing the
ManagedIdentityCredential
from working inside of Azure Function Apps (PR #5144) - Added tracing to
IdentityClient
and credential implementations (PR #5283) - Improved the exception message for
AggregateAuthenticationError
so that errors thrown fromDefaultAzureCredential
are now more actionable (PR #5409)
- Fixed a ping timeout issue. The timeout is now configurable. (PR #4941)
- Fixed IMDS endpoint detection false positive (PR #4909)
- Introduced the following credential types:
- This library can now be used in the browser! The following credential types supported in browser builds:
ClientSecretCredential
UsernamePasswordCredential
InteractiveBrowserCredential
For release notes and more information please visit https://aka.ms/azure-sdk-preview1-js
- Introduced the following credential types: