Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^1.1.0
->^4.0.0
5.0.1
->5.12.0
7.12.10
->7.24.7
7.12.10
->7.24.7
7.12.1
->7.24.7
7.12.1
->7.24.7
7.12.10
->7.24.7
7.12.11
->7.24.7
7.12.5
->7.24.7
26.0.20
->29.5.12
1.2.1
->1.4.0
1.1.2
->2.4.6
9.1.0
->11.0.1
1.11.0
->1.16.5
26.6.3
->29.7.0
8.2.2
->9.1.3
1.19.0
->1.20.2
^0.11.4
->^1.0.0
5.0.1
->7.1.2
4.3.2
->4.3.5
^8.1.0
->^16.0.0
7.19.0
->9.4.0
7.5.0
->9.26.0
1.0.5
->1.0.6
4.3.8
->9.0.11
26.6.3
->29.7.0
4.1.0
->9.0.0
^0.15.0
->^0.16.0
10.19.0-alpine
->20.14.0-alpine
2.0.7
->3.1.3
4.1.5
->5.0.0
^1.0.0
->^3.0.0
^3.0.0
->^4.0.0
2.0.0
->4.0.0
6.1.3
->7.0.0
^2.6.12
->^3.0.0
^0.5.2
->^1.0.0
^1.1.2
->^5.0.0
4.0.0-rc.1
->4.0.1
15.9.6
->17.4.2
2.6.12
->2.7.16
4.4.0
->5.1.4
3.5.0
->3.6.20
This is a special PR that replaces
npm-run-all
with the community suggested minimal stable replacement version.Release Notes
Azure/azure-sdk-for-js (@azure/core-amqp)
v4.0.0
4.0.0 (2023-09-12)
Features Added
ErrorResponse, BulkOperationResponse. #21177
and handles HTTP timeouts more effectively, enhancing the SDK's reliability. #23475
Bugs Fixed
/id
and/id
is missing in the document. #21383Breaking Changes
v3.1.0
3.1.0 (2023-10-18)
Features
v3.0.0
3.0.0 (2021-06-09)
Breaking changes
rhea-promise
andrhea
dependencies to version 2.x.rhea
contains a breaking change that changes deserialization of timestamps from numbers to Date objects.AsyncLock
anddefaultLock
exports.defaultCancellableLock
should be used instead.v2.3.0
2.3.0 (2021-04-29)
Updates
AmqpAnnotatedMessage
to identify the AMQP section where body data was decoded from. PR 14703.Adds
CancellableAsyncLock
as an alternative toAsyncLock
that supports cancellation via the abort signal. PR 14844.v2.2.0
2.2.0 (2021-03-30)
Updates
translateError
to convert non-object type parameters to errors.The parameter will be part of the error's
message
property unless the parameter is null or undefined.Fixes issue 14499.
Addresses issue 9988
by updating the following operations to accept an
abortSignal
to allow cancellation:Exporting
StandardAbortMessage
that is the standard error message accompanying theAbortError
.v2.1.0
2.1.0 (2021-02-08)
Now an informative error is thrown describing the circumstance that led to the error.
amqpHostname
andport
that aConnectionContextBase
will use when connecting to a service.The
host
field refers to the DNS host or IP address of the service, whereas theamqpHostname
is the fully qualified host name of the service. Normally
host
andamqpHostname
will be the same.However if your network does not allow connecting to the service via the public host,
you can specify a custom host (e.g. an application gateway) via the
host
field and continueusing the public host as the
amqpHostname
.v2.0.1
2.0.1 (2021-10-28)
Features Added
ManagedIdentityCredential
now supports the Service Fabric environment.Bugs Fixed
AzureCliCredential
to fail on Windows. Issue 18268.v2.0.0
2.0.0 (2021-10-15)
After multiple beta releases over the past year, we're proud to announce the general availability of version 2 of the
@azure/identity
package. This version includes the best parts of v1, plus several improvements.This changelog entry showcases the changes that have been made from version 1 of this package. See the v1-to-v2 migration guide for details on how to upgrade your application to use the version 2 of
@azure/identity
. For information on troubleshooting the Identity package, see the troubleshooting guide.Features Added
Plugin API
Identity v2 provides a top-level
useIdentityPlugin
function, which allows using two new plugin packages:VisualStudioCodeCredential
and enables it.@azure/identity-vscode
plugin isn't used through theuseIdentityPlugin
function, theVisualStudioCodeCredential
exposed by Identity v2 will throw aCredentialUnavailableError
.Most credentials on Identity v2 now support the persistent token caching feature. Such credentials include the property tokenCachePersistenceOptions in the constructor options which can be used to enable this feature.
The following example showcases how to enable persistence caching by first enabling the
@azure/identity-cache-persistence
plugin withuseIdentityPlugin(cachePersistencePlugin)
, and then passing thetokenCachePersistenceOptions
through the constructor of theDeviceCodeCredential
:New credentials
Identity v2 includes two new credential types:
AzurePowerShellCredential
, which re-uses any account previously authenticated with theAz.Account
PowerShell module.OnBehalfOfCredential
, which enables the On-Behalf-Of authentication flow.New features in all credentials
Identity v2 enables:
AZURE_IDENTITY_DISABLE_CP1
to any value. For more about claims challenges, see Claims challenges, claims requests, and client capabilities.ManagedIdentityCredential
.getToken
directly, sending the newtenantId
property.AZURE_IDENTITY_DISABLE_MULTITENANTAUTH
. For more about multitenancy, see Identity management in multitenant apps.New features in InteractiveBrowserCredential and DeviceCodeCredential
You can now control when the credential requests user input with the new
disableAutomaticAuthentication
option added to the options you pass to the credential constructors.getToken()
method from requesting user input in case the credential is unable to authenticate silently.getToken()
fails to authenticate without user interaction, anddisableAutomaticAuthentication
has been set to true, a new error will be thrown:AuthenticationRequired
. You may use this error to identify scenarios when manual authentication needs to be triggered (withauthenticate()
, as described in the next point).A new method
authenticate()
is added to these credentials which is similar togetToken()
, but it does not read thedisableAutomaticAuthentication
option described above.AuthenticationRecord
which you can then use to create new credentials that will re-use the token information.AuthenticationRecord
object has aserialize()
method that allows an authenticated account to be stored as a string and re-used in another credential at any time. Use the new helper functiondeserializeAuthenticationRecord
to de-serialize this string.authenticate()
might succeed and still returnundefined
if we're unable to pick just one account record from the cache. This might happen if the cache is being used by more than one credential, or if multiple users have authenticated using the same Client ID and Tenant ID. To ensure consistency on a program with many users, please keep track of theAuthenticationRecord
and provide them in the constructors of the credentials on initialization.Learn more via the below samples
New features in ManagedIdentityCredential
In Identity v2, the
ManagedIdentityCredential
retries with exponential back-off when a request for a token fails with a 404 status code. This change only applies to environments with available IMDS endpoints.Azure Service Fabric support hasn't been added on the initial version 2 of Identity. Subscribe to issue #12420 for updates on this feature.
Other features
ClientCertificateCredential
now optionally accepts a configuration object as its third constructor parameter, instead of the PEM certificate path. This new object, calledClientCertificateCredentialPEMConfiguration
, can contain either the PEM certificate path with thecertificatePath
property, or the contents of the PEM certificate with thecertificate
property..InteractiveBrowserCredential
has Proof Key for Code Exchange (PKCE) enabled by default.InteractiveBrowserCredential
has a newloginHint
constructor option, which allows a username to be pre-selected for interactive logins.AzureCliCredential
, we allow specifying atenantId
in the parameters through theAzureCliCredentialOptions
.AuthenticationRequiredError
, has been added. This error shows up when a credential fails to authenticate silently.Breaking changes
Breaking changes from v1
For
ClientCertificateCredential
specifically, the validity of the PEM certificate is evaluated ongetToken
and not on the constructor.We have also renamed the error
CredentialUnavailable
toCredentialUnavailableError
, to align with the naming convention used for error classes in the Azure SDKs in JavaScript.In v1 of Identity some
getToken
calls could resolve withnull
in the case the authentication request succeeded with a malformed output. In v2, issues with thegetToken
method will always throw errors.Breaking changes to InteractiveBrowserCredential
InteractiveBrowserCredential
will use the Auth Code Flow with PKCE rather than Implicit Grant Flow to better support browsers with enhanced security restrictions. Learn how to migrate in the migration guide. Read more about the latestInteractiveBrowserCredential
here.InteractiveBrowserCredential
was viable only in Node.js and not for the browser. Therefore, on v2 client ID is a required parameter when using this credential in browser apps.postLogoutRedirectUri
from the options to the constructor forInteractiveBrowserCredential
. This option wasn't being used. Instead of using this option, use MSAL directly. For more information, see Authenticating with the @azure/msal-browser Public Client.VisualStudioCodeCredential
throws aCredentialUnavailableError
unless the new @azure/identity-vscode plugin is used.Standardizing the tracing span names to be
<className>.<operationName>
over<className>-<operationName>
Breaking Changes from 2.0.0-beta.4
allowMultiTenantAuthentication
option from all of the credentials. Multi-tenant authentication is now enabled by default. On Node.js, it can be disabled with theAZURE_IDENTITY_DISABLE_MULTITENANTAUTH
environment variable.ClientSecretCredential
and `ClientCertificateCredential. This feature will be added back on the next beta.Breaking Changes from 2.0.0-beta.6
ApplicationCredential
from the package. This will be re-introduced in the future.CredentialPersistenceOptions
fromDefaultAzureCredential
andEnvironmentCredential
.OnBehalfOfCredential
into a single options bag.AuthenticationRequiredError
(introduced in 2.0.0-beta.1) now has its parameters into a single options bag.AuthenticationRequiredError
(introduced in 2.0.0-beta.1) now has its parameters in a single options bag,AuthenticationRequiredErrorOptions
.InteractiveBrowserCredentialOptions
has been renamed toInteractiveBrowserCredentialNodeOptions
, andInteractiveBrowserCredentialBrowserOptions
has been namedInteractiveBrowserCredentialInBrowserOptions
.Bugs Fixed
ClientSecretCredential
,ClientCertificateCredential
, andUsernamePasswordCredential
throw if the required parameters aren't provided (even in JavaScript).AzureCliCredential
to fail when a custom tenant ID was provided.Other Changes
Identity v2 no longer includes native dependencies (neither ordinary, peer, nor optional dependencies). Previous distributions of
@azure/identity
included an optional dependency onkeytar
, which caused issues for some users in restrictive environments.Identity v2 for JavaScript now also depends on the latest available versions of
@azure/msal-common
,@azure/msal-node
, and@azure/msal-browser
. Our goal is to always be up-to-date with the MSAL versions.v1.1.7
1.1.7 (2020-10-29)
RequestResponseLink.sendRequest
call adds an "onMessage" listener to theReceiverEvents.message
event and keeps discarding the responses that did not match the request-id and returns the response if matched. Adding many listeners would also result in a warning such asMaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 message listeners added to [Receiver]. Use emittr.setMaxListeners() to increase limit
.This has been improved to reuse a single listener for all the requests by maintaining a map of deferred promises that would be resolved(or rejected) upon receiving a message event.
PR 11749
v1.1.6
1.1.6 (2020-09-08)
(PR 10951).
v1.1.5
1.1.5 (2020-08-04)
where closing the
RequestResponseLink
session before closing the receivercould cause the service to report a missing session channel.
v1.1.4
1.1.4 (2020-06-30)
where operations that used the
RequestResponseLink
and encountered an errorwould fail to cleanup their internal timer.
This caused exiting the process to be delayed until the timer reached its timeout.
message_id
on the request to be sent when using theRequestResponseLink
. This helps in determining the right response for the request when multiple send requests are made in parallel.PR 9503
v1.1.3
1.1.3 (2020-06-02)
rhea
package.This update fixes an issue where an uncaught exception could be thrown some time after a connection was disconnected.
PR 8758
v1.1.2
1.1.2 (2020-04-28)
PR 8540
refreshConnection()
on theConnectionContextBase
to replace theconnection
property on it with a new rhea-promiseConnection
object.PR 8563
v1.1.1
1.1.1 (2020-03-31)
@azure/identity
as it is not used directly by this package.PR 7669
babel/babel (@babel/cli)
v7.24.7
Compare Source
🐛 Bug Fix
babel-node
babel-traverse
constantViolations
with destructuring (@liuxingbaoyu)babel-helper-transform-fixture-test-runner
,babel-plugin-proposal-explicit-resource-management
using
inswitch
correctly (@liuxingbaoyu)🏠 Internal
babel-helpers
,babel-runtime-corejs2
,babel-runtime-corejs3
,babel-runtime
v7.24.6
Compare Source
🐛 Bug Fix
babel-helper-create-class-features-plugin
,babel-plugin-transform-class-properties
babel-core
,babel-generator
,babel-plugin-transform-modules-commonjs
babel-helper-create-class-features-plugin
,babel-plugin-proposal-decorators
babel-helpers
,babel-plugin-proposal-decorators
,babel-runtime-corejs3
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.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Mend Renovate. View repository job log here.