microsoftgraph / msgraph-beta-sdk-python

MIT License
26 stars 6 forks source link

chore(deps-dev): bump azure-core from 1.30.2 to 1.31.0 #536

Closed dependabot[bot] closed 5 days ago

dependabot[bot] commented 5 days ago

Bumps azure-core from 1.30.2 to 1.31.0.

Release notes

Sourced from azure-core's releases.

azure-core_1.31.0

1.31.0 (2024-09-12)

Features Added

  • Added azure.core.AzureClouds enum to represent the different Azure clouds.
  • Added two new credential protocol classes, SupportsTokenInfo and AsyncSupportsTokenInfo, to offer more extensibility in supporting various token acquisition scenarios. #36565
    • Each new protocol class defines a get_token_info method that returns an AccessTokenInfo object.
  • Added a new TokenRequestOptions class, which is a TypedDict with optional parameters, that can be used to define options for token requests through the get_token_info method. #36565
  • Added a new AccessTokenInfo class, which is returned by get_token_info implementations. This class contains the token, its expiration time, and optional additional information like when a token should be refreshed. #36565
  • BearerTokenCredentialPolicy and AsyncBearerTokenCredentialPolicy now first check if a credential has the get_token_info method defined. If so, the get_token_info method is used to acquire a token. Otherwise, the get_token method is used. #36565
    • These policies now also check the refresh_on attribute when determining if a new token request should be made.

Other Changes

  • The Azure Core OpenTelemetry tracing plugin will now be the preferred tracing plugin over the OpenCensus plugin. If both plugins are installed and opentelemetry is imported, then OpenTelemetry will be used to trace Azure SDK operations. #35050
Commits


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 show ignore conditions` will show all of the ignore conditions of the specified dependency - `@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)