diff --git a/sdk/identity/azure-identity/CHANGELOG.md b/sdk/identity/azure-identity/CHANGELOG.md index 78b3c3b0b6cd..6c128ba50189 100644 --- a/sdk/identity/azure-identity/CHANGELOG.md +++ b/sdk/identity/azure-identity/CHANGELOG.md @@ -1,12 +1,12 @@ # Release History -## 1.10.0b2 (Unreleased) - -### Features Added +## 1.10.0 (2022-04-21) ### Breaking Changes -### Bugs Fixed +> These changes do not impact the API of stable versions such as 1.9.0. +> Only code written against a beta version such as 1.10.0b1 may be affected. +- `validate_authority` support is not available in 1.10.0. ### Other Changes @@ -26,6 +26,8 @@ ### Breaking Changes +> These changes do not impact the API of stable versions such as 1.8.0. +> Only code written against a beta version such as 1.9.0b1 may be affected. - `validate_authority` support is not available in 1.9.0. ### Bugs Fixed diff --git a/sdk/identity/azure-identity/azure/identity/_internal/msal_credentials.py b/sdk/identity/azure-identity/azure/identity/_internal/msal_credentials.py index a0c9780e1eea..5c9b247aeb22 100644 --- a/sdk/identity/azure-identity/azure/identity/_internal/msal_credentials.py +++ b/sdk/identity/azure-identity/azure/identity/_internal/msal_credentials.py @@ -27,7 +27,7 @@ class MsalCredential(object): def __init__(self, client_id, client_credential=None, **kwargs): # type: (str, Optional[Union[str, Dict]], **Any) -> None authority = kwargs.pop("authority", None) - self._validate_authority = kwargs.pop("validate_authority", True) + # self._validate_authority = kwargs.pop("validate_authority", True) self._authority = normalize_authority(authority) if authority else get_default_authority() self._regional_authority = os.environ.get(EnvironmentVariables.AZURE_REGIONAL_AUTHORITY_NAME) self._tenant_id = kwargs.pop("tenant_id", None) or "organizations" @@ -73,7 +73,7 @@ def _get_app(self, **kwargs): azure_region=self._regional_authority, token_cache=self._cache, http_client=self._client, - validate_authority=self._validate_authority + # validate_authority=self._validate_authority ) return self._client_applications[tenant_id] diff --git a/sdk/identity/azure-identity/azure/identity/_version.py b/sdk/identity/azure-identity/azure/identity/_version.py index 2eee951b42c6..bb55d3375050 100644 --- a/sdk/identity/azure-identity/azure/identity/_version.py +++ b/sdk/identity/azure-identity/azure/identity/_version.py @@ -2,4 +2,4 @@ # Copyright (c) Microsoft Corporation. # Licensed under the MIT License. # ------------------------------------ -VERSION = "1.10.0b2" +VERSION = "1.10.0" diff --git a/sdk/identity/azure-identity/setup.py b/sdk/identity/azure-identity/setup.py index 3e14f65f384d..e11baf9c0483 100644 --- a/sdk/identity/azure-identity/setup.py +++ b/sdk/identity/azure-identity/setup.py @@ -52,7 +52,7 @@ author_email="azpysdkhelp@microsoft.com", url="https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/identity/azure-identity", classifiers=[ - "Development Status :: 4 - Beta", + "Development Status :: 5 - Production/Stable", "Programming Language :: Python", "Programming Language :: Python :: 3 :: Only", "Programming Language :: Python :: 3", @@ -76,7 +76,7 @@ "azure-core<2.0.0,>=1.11.0", "cryptography>=2.5", "msal<2.0.0,>=1.12.0", - "msal-extensions~=1.0.0", + "msal-extensions<2.0.0,>=1.0.0", "six>=1.12.0", ], ) diff --git a/shared_requirements.txt b/shared_requirements.txt index dc270432d1ce..c2aba233ca33 100644 --- a/shared_requirements.txt +++ b/shared_requirements.txt @@ -113,7 +113,7 @@ mock typing typing-extensions msal<2.0.0,>=1.12.0 -msal-extensions~=1.0.0 +msal-extensions<2.0.0,>=1.0.0 msrest>=0.6.21 msrestazure<2.0.0,>=0.4.32 azure-mgmt-core<2.0.0,>=1.3.0