Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump @azure/identity from 1.5.2 to 2.0.1 #86

Merged
merged 1 commit into from
Jan 1, 2022

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 29, 2021

Bumps @azure/identity from 1.5.2 to 2.0.1.

Release notes

Sourced from @​azure/identity's releases.

@​azure/identity_2.0.1

2.0.1 (2021-10-28)

Features Added

  • The ManagedIdentityCredential now supports the Service Fabric environment.

Bugs Fixed

  • Fixed a bug that caused the AzureCliCredential to fail on Windows. Issue 18268.

@​azure/identity_2.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:

  • @​azure/identity-vscode, which provides the dependencies of VisualStudioCodeCredential and enables it.
    • If the @azure/identity-vscode plugin isn't used through the useIdentityPlugin function, the VisualStudioCodeCredential exposed by Identity v2 will throw a CredentialUnavailableError.
  • @​azure/identity-cache-persistence, which provides persistent token caching.

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 with useIdentityPlugin(cachePersistencePlugin), and then passing the tokenCachePersistenceOptions through the constructor of the DeviceCodeCredential:

import { cachePersistencePlugin } from "@azure/identity-cache-persistence";
import { useIdentityPlugin, DeviceCodeCredential } from "@azure/identity";
useIdentityPlugin(cachePersistencePlugin);
async function main() {
const credential = new DeviceCodeCredential({
tokenCachePersistenceOptions: {
enabled: true
}
});
}

New credentials

Identity v2 includes two new credential types:

... (truncated)

Commits
  • 6ebc5a2 Prepare identity release 2.0.1 - update changelog date (#18408)
  • bd0bca6 [Text Analytics] Allow multiple actions of the same type (#18382)
  • 8fcdbfe [@​azure/event-hubs] Adding disableDeserialization option when subscribing (...
  • f8a3be7 [Perf Framework] Print dependencies on perf test start (#18366)
  • 31e9c3a Sync eng/common directory with azure-sdk-tools for PR 2152 (#18377)
  • 34ba544 [KeyVault] - Fix sovereign cloud tests (#18350)
  • 4386511 Post release automated changes for containerservice releases (#18393)
  • 005e39c containerservice-tack2 (#18385)
  • 518dc80 Reuse azure logger and move endpoint setting into options (#18359)
  • f2a1e38 fixed method name as per the azure board review (#18378)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Oct 29, 2021
Bumps [@azure/identity](https://github.com/Azure/azure-sdk-for-js) from 1.5.2 to 2.0.1.
- [Release notes](https://github.com/Azure/azure-sdk-for-js/releases)
- [Commits](https://github.com/Azure/azure-sdk-for-js/compare/@azure/identity_1.5.2...@azure/identity_2.0.1)

---
updated-dependencies:
- dependency-name: "@azure/identity"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/azure/identity-2.0.1 branch from 6fac3f0 to 1ab035c Compare October 31, 2021 11:44
@AlexanderYW AlexanderYW merged commit 649e239 into master Jan 1, 2022
@AlexanderYW AlexanderYW deleted the dependabot/npm_and_yarn/azure/identity-2.0.1 branch January 1, 2022 19:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant