NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI · #927 most downloaded on PyPI
AutoRest swagger generator Python client runtime. Azure-specific module.
Last release 2 years ago
no release in 18 months
Ships unpredictably
gaps range from 8 days to 3.8 years
Most releases are documented
notes for 37 of 51 stable releases
Nothing withdrawn
no release was ever pulled
11 years old
52 releases · first in 2016
Nothing published for this version
Unable to raise exception if JSON body contains UTF-8 characters on Python 2 #150
Unable to raise exception if JSON body contains UTF-8 characters #144
Thanks to Philippe Signoret (@psignoret) and Karthikeyan Singaravelan (@tirkarthi) for his contribution
One column per quarter.
Fix ARM error parsing if Type info is used #135
Add User Assigned identity support for WebApp/Functions #124
Thanks to Noel (@noelbundick) for his contribution
This version contains no direct breaking changes, but is bumped to 0.6.x since it requires a breaking change version of msrest.
This version contains no direct breaking changes, but is bumped to 0.6.x since it requires a breaking change version of msrest.
Thanks to Nicolò Giso (@gison93) for his documentation contribution
Fix CloudError if response and error message are provided at the same time #114
These breaking changes applies to ServicePrincipalCredentials, UserPassCredentials, AADTokenCredentials
These breaking changes applies to ServicePrincipalCredentials, UserPassCredentials, AADTokenCredentials
Remove "auth_uri" attribute and parameter. This was unused.
Remove "state" attribute. This was unused.
Remove "client" attribute. This was exposed by mistake and should have been internal. No replacement is possible.
Remove "token_uri" attribute and parameter. Use "cloud_environment" and "tenant" to impact the login url now.
Remove token caching based on "keyring". Token caching should be implemented using ADAL now. This implies:
MSIAuthentication should initialize the token attribute on creation #106
Fixes refreshToken in UserPassCredentials and AADTokenCredentials #103
Implement new LRO options of Autorest #101
Improve MSI for VM token polling algorithm
Allow ADAL 0.5.0 to 2.0.0 excluded as valid ADAL dependency
Fix refresh Token on AADTokenCredentials (was broken in 0.4.27)
AADTokenCredentials (was broken in 0.4.27)UserPasswordCredentials correctly uses the refreshToken, and not user/password to refresh the session (was broken in 0.4.27)keyring, with minimal dependency 12.0.2 that fixes the installation problem on old PythonDo to some stability issues with "keyring" dependency that highly change from one system to another, this package is no longer a dependency of "msrest
Do to some stability issues with "keyring" dependency that highly change from one system to another,
this package is no longer a dependency of "msrestazure".
If you were using the secured token cache of ServicePrincipalCredentials and UserPassCredentials,
the feature is still available, but you need to install manually "keyring". The functionnality will activate automatically.
Implements new features of msrest 0.4.28 on session improvement. See msrest ChangeLog for details.
Update msrest dependency to 0.4.28
IMDS/MSI: Retry on more error codes
MSIAuthentication now uses IMDS endpoint if available
Fix parse_resource_id() tool to be case-insensitive to keywords when matching #81
Fix LRO result if POST uses AsyncOperation header (Autorest.Python 3.0 only) #79
Remove a possible infinite loop with MSIAuthentication #77
From this version, MSIAuthentication will fail instantly if you try to get MSI token from a VM where the extension is not installed, or not yet ready. You need to do your own retry mechanism if you think the extension is provisioning and the call might succeed later. This behavior is consistent with other Azure SDK implementation of MSI scenarios.
Update allowed ADAL dependency to 0.5.x
CloudError now includes the "innererror" attribute to match OData v4 #73
Thank you to demyanenko for his contribution.
Improve MSIAuthentication to support User Assigned Identity #70
get_cloud_from_metadata_endpoint incorrect on AzureStack #62
Fix AttributeError if error JSON from ARM does not follow ODatav4 (as it should)
Fix AttributeError if input JSON is not a dict
Add support for WebApp/Functions in MSIAuthentication classes
Add Managed Service Integrated (MSI) authentication
Thank you to Hexadite-Omer for his contribution
"keyring" is now completely optional
Remove InteractiveCredentials. This class was deprecated and unusable. Use ADAL device code instead.
This deprecates "china=True", to be replaced by "cloud_environment=AZURE_CHINA_CLOUD"
cloud_environment to all Credentials objects (except AdalAuthentication)Example:
from msrestazure.azure_cloud import AZURE_CHINA_CLOUD
from msrestazure.azure_active_directory import UserPassCredentials
credentials = UserPassCredentials(
login,
password,
cloud_environment=AZURE_CHINA_CLOUD
)
base_url of SDK client can be pointed to "cloud_environment.endpoints.resource_manager" for basic scenario:
Example:
from msrestazure.azure_cloud import AZURE_CHINA_CLOUD
from msrestazure.azure_active_directory import UserPassCredentials
from azure.mgmt.resource import ResourceManagementClient
credentials = UserPassCredentials(
login,
password,
cloud_environment=AZURE_CHINA_CLOUD
)
client = ResourceManagementClient(
credentials,
subscription_id,
base_url=AZURE_CHINA_CLOUD.endpoints.resource_manager
)
Azure Stack connection can be done:
from msrestazure.azure_cloud import get_cloud_from_metadata_endpoint
from msrestazure.azure_active_directory import UserPassCredentials
from azure.mgmt.resource import ResourceManagementClient
mystack_cloud = get_cloud_from_metadata_endpoint("https://myazurestack-arm-endpoint.com")
credentials = UserPassCredentials(
login,
password,
cloud_environment=mystack_cloud
)
client = ResourceManagementClient(
credentials,
subscription_id,
base_url=mystack_cloud.endpoints.resource_manager
)
Accept PATCH/201 as LRO valid state
Add proxies parameters to ServicePrincipal and UserPassword credentials class #29
Thank you to likel for his contribution
Fix LRO if first call never returns 200, but ends on 201
Bugfixes
Features
Adding accept_language and generate_client_request_id default values
Bugfixes
accept_language and generate_client_request_id default valuesThere is no breaking changes, however you might need to record again your offline HTTP records if you use unittests with VCRpy.
Bugfixes
Refactor Long Running Operation algorithm.
Add AdalAuthentification class to wrap ADAL library
New features
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →