Azure SDK for Python (October 2022)
The Azure SDK team is pleased to announce our October 2022 client library releases.
59 packages released this month.
Stable Packages (29)
-
Administration
-
Blobs
-
Certificates
-
Communication Identity
-
Core - Client - Core
-
Files Data Lake
-
Files Shares
-
Identity
-
Keys
-
Machine Learning
-
Question Answering
-
Queues
-
Resource Management - Authorization
-
Resource Management - Compute
-
Resource Management - Container Service
-
Resource Management - DNS Resolver
-
Resource Management - Data Factory
-
Resource Management - Dynatrace
-
Resource Management - Kusto
-
Resource Management - Media Services
-
Resource Management - Monitor
-
Resource Management - NetApp
-
Resource Management - Network
-
Resource Management - Nginx
-
Resource Management - Reservations
-
Resource Management - Resources
-
Resource Management - Security
-
Schema Registry
-
Secrets
Patch Updates (4)
-
Resource Management - Compute
-
Resource Management - Monitor
-
Service Bus
-
Tables
Beta Packages (21)
-
App Configuration Provider
-
Core - Client - Experimental
-
Cosmos DB
-
Event Hubs
-
Identity
-
Keys
-
Machine Learning
-
Maps Geolocation
-
Maps Render
-
Maps Route
-
Maps Search
-
Monitor OpenTelemetry Exporter
-
Resource Management - App Containers
-
Resource Management - Cosmos DB
-
Resource Management - Data Protection
-
Resource Management - Policy Insights
-
Resource Management - SQL
-
Resource Management - Security Insight
-
Resource Management - Service Fabric Managed Clusters
-
Service Bus
-
Synapse - Artifacts
Release highlights
Administration 4.2.0 Changelog
Breaking Changes
- Clients verify the challenge resource matches the vault domain. This should affect few customers,
who can provide
verify_challenge_resource=False
to client constructors to disable. See https://aka.ms/azsdk/blog/vault-uri for more information.
App Configuration Provider 1.0.0b1 Changelog
New Azure App Configuration Provider
Provides additional support above the Azure App Configuration SDK. Enables:
- Connecting to an Azure App Configuration store
- Selecting multiple keys using Setting Selector
- Resolve Key Vault References when supplied AzureAppConfigurationKeyVaultOptions
The Azure App Configuration Provider once loaded returns a dictionary of key/value pairs to use in configuration.
endpoint = "https://<your-store>.azconfig.io"
default_credential = DefaultAzureCredential()
config = AzureAppConfigurationProvider.load(
endpoint=endpoint, credential=default_credential)
print(config["message"])
Blobs 12.14.0 Changelog
Features Added
- Stable release of features from 12.14.0b1 and 12.14.0b2.
Bugs Fixed
- Fixed an issue where calling
download_blob
with an invalid base64-encoded account key would cause anAttributeError
rather than the properAzureSigningError
.
Certificates 4.6.0 Changelog
Breaking Changes
- Clients verify the challenge resource matches the vault domain. This should affect few customers,
who can provide
verify_challenge_resource=False
to client constructors to disable. See https://aka.ms/azsdk/blog/vault-uri for more information.
Communication Identity 1.3.0 Changelog
Features Added
- Added support to customize the Communication Identity access token’s validity period:
create_user_and_token
andget_token
methods in both sync and async clients can now accept keyword argumenttoken_expires_in: ~datetime.timedelta
that provides the ability to create a Communication Identity access token with custom expiration.- Added a new API version
ApiVersion.V2022_10_01
that is now the default API version.
Core - Client - Core 1.26.0 Changelog
Other Changes
- LRO polling will not wait anymore before doing the first status check #26376
- Added extra dependency for [aio]. pip install azure-core[aio] installs aiohttp too.
Core - Client - Experimental 1.0.0b1 Changelog
Features Added
- pyodide implementation of azure-core transport protocol
Cosmos DB 4.3.1b1 Changelog
Bugs Fixed
- Fixed parsing of args for overloaded
container.read()
method. - Fixed
validate_cache_staleness_value()
method to allow max_integrated_cache_staleness to be an integer greater than or equal to 0. - Fixed
__aiter__()
method by removing the async keyword.
Features Added
- GA release of integrated cache functionality. For more information on integrated cache please see Azure Cosmos DB integrated cache.
- Added ability to replace analytical ttl on containers. For more information on analytical ttl please see Azure Cosmos DB analytical store.
- Added
CosmosHttpLoggingPolicy
to replaceHttpLoggingPolicy
for logging HTTP sessions. - Added the ability to create containers and databases with autoscale properties for the sync and async clients.
- Added the ability to update autoscale throughput properties.
Event Hubs 5.8.0b1 Changelog
This version and all future versions will require Python 3.7+. Python 3.6 is no longer supported.
Other Changes
- Added the
uamqp_transport
optional parameter to the clients, to allow switching to theuamqp
library as the transport.
Event Hubs 5.8.0b2 Changelog
Features Added
- Updated the optional dependency for async transport using AMQP over WebSocket from
websocket-client
toaiohttp
(Issue #24315, thanks @hansmbakker for the suggestion).
Files Data Lake 12.9.0 Changelog
Features Added
- Stable release of features from 12.9.0b1.
Files Shares 12.10.0 Changelog
Features Added
- Stable release of features from 12.10.0b1.
Bugs Fixed
- Fixed an issue where calling
download_file
with an invalid base64-encoded account key would raise anAttributeError
rather than the properAzureSigningError
.
Identity 1.11.0 Changelog
Breaking Changes
- Credential types supporting multi-tenant authentication will now throw
ClientAuthenticationError
if the requested tenant ID doesn’t match the credential’s tenant ID, and is not included inadditionally_allowed_tenants
. Applications must now explicitly add additional tenants to theadditionally_allowed_tenants
list, or add ‘*’ to list, to enable acquiring tokens from tenants other than the originally specified tenant ID.
More information on this change and the consideration behind it can be found here.
- These beta features in 1.11.0b3 have been removed from this release and will be added back in 1.12.0b1
tenant_id
forAzureCliCredential
- removed
VisualStudioCodeCredential
fromDefaultAzureCredential
token chain AZURE_CLIENT_CERTIFICATE_PASSWORD
support forEnvironmentCredential
validate_authority
support
Features Added
- Added
additionally_allowed_tenants
to the following credential options to force explicit opt-in behavior for multi-tenant authentication: AuthorizationCodeCredential
AzureCliCredential
AzurePowerShellCredential
CertificateCredential
ClientAssertionCredential
ClientSecretCredential
DefaultAzureCredential
OnBehalfOfCredential
UsernamePasswordCredential
VisualStudioCodeCredential
Identity 1.12.0b1 Changelog
Features Added
- Added ability to specify
tenant_id
forAzureCliCredential
&AzurePowerShellCredential
(thanks @tikicoder) (#25207) - Removed
VisualStudioCodeCredential
fromDefaultAzureCredential
token chain. (#23249) EnvironmentCredential
addedAZURE_CLIENT_CERTIFICATE_PASSWORD
support for the cert password (#24652)- Added
validate_authority
support for msal client (#22625)
Identity 1.12.0b2 Changelog
1.12.0 release candidate
Keys 4.7.0 Changelog
Breaking Changes
- Clients verify the challenge resource matches the vault domain. This should affect few customers,
who can provide
verify_challenge_resource=False
to client constructors to disable. See https://aka.ms/azsdk/blog/vault-uri for more information.
Keys 4.8.0b1 Changelog
Features Added
- An attempt will be made to generate an IV if one isn’t provided for local encryption (#25380)
Machine Learning 0.1.0b8 Changelog
Features Added
- Support passing JobService as argument to Command()
- Added support for custom setup scripts on compute instances.
- Added a
show_progress
parameter to MLClient for enable/disable progress bars of long running operations. - Support
month_days
inRecurrencePattern
when usingRecurrenceSchedule
. - Support
ml_client.schedules.list
withlist_view_type
, default toENABLED_ONLY
.
Bugs Fixed
- Fix identity passthrough job with single file code
Breaking Changes
- ComputeOperations.attach has been renamed to begin_attach.
- Deprecated parameter path has been removed from load and dump methods.
- JobOperations.cancel() is renamed to JobOperations.begin_cancel() and it returns LROPoller
- Workspace.list_keys renamed to Workspace.get_keys.
Machine Learning 0.1.0b7 Changelog
Features Added
- Support for AutoML Component
- Added skip_validation for Job/Component create_or_update
Bugs Fixed
- Fixed mismatch errors when updating scale_settings for KubernetesOnlineDeployment.
- Removed az CLI command that was printed when deleting OnlineEndpoint
Breaking Changes
- Dataset removed from public interface.
Machine Learning 1.0.0 Changelog
- GA release
- Dropped support for Python 3.6. The Python versions supported for this release are 3.7-3.10.
Features Added
Breaking Changes
- OnlineDeploymentOperations.delete has been renamed to begin_delete.
- Datastore credentials are switched to use unified credential configuration classes.
- UserAssignedIdentity is replaced by ManagedIdentityConfiguration
- Endpoint and Job use unified identity classes.
- Workspace ManagedServiceIdentity has been replaced by IdentityConfiguration.
Bugs Fixed
Other Changes
- Switched Compute operations to use Oct preview API version.
- Updated batch deployment/endpoint invoke and list-jobs function signatures with curated BatchJob class.
Maps Geolocation 1.0.0b1 Changelog
Features Added
- Initial release
Maps Render 1.0.0b1 Changelog
Features Added
- Initial release
Maps Route 1.0.0b1 Changelog
- Initial Release
Maps Search 1.0.0b2 Changelog
Other Changes
- Update the tests using new test proxy
- Update Doc strings
Monitor OpenTelemetry Exporter 1.0.0b8 Changelog
Features Added
- Implement success count network statsbeat (#25752)
- Implement all network statsbeat (#25845)
- Implement attach statsbeat (#25956)
- Implement feature statsbeat (#26009)
- Implement instrumentation statsbeat (#26023)
- Implement statsbeat shutdown (#26077)
- Add ApplicationInsightsSampler (#26224)
- Implement truncation logic for telemetry payload (#26257)
- Populate metric namespace with meter instrumentation scope name (#26257)
Question Answering 1.1.0 Changelog
Breaking Changes
These changes do not impact the API of stable versions such as 1.0.0. Only code written against a beta version such as 1.1.0b2 may be affected
QuestionAnsweringProjectsClient
was renamed toAuthoringClient
.- The
azure.ai.language.questionanswering.projects
namespace was renamed toazure.ai.language.questionanswering.authoring
- Authoring client methods:
begin_deploy_project
,begin_import_assets
,begin_update_sources
andbegin_update_qnas
now return a response upon completion of the long-running operation. - Keyword argument
format
renamed tofile_format
forbegin_export
andbegin_import_assets
.
Bugs Fixed
- Fixed a bug where the client-level keyword argument
default_language
was not being honored forget_answers_from_text
.
Queues 12.5.0 Changelog
Features Added
- Stable release of features from 12.5.0b1.
Resource Management - App Containers 2.0.0b1 Changelog
Resource Management - Authorization 3.0.0 Changelog
Resource Management - Compute 28.0.0 Changelog
Resource Management - Compute 28.0.1 Changelog
Resource Management - Compute 29.0.0 Changelog
Resource Management - Container Service 20.4.0 Changelog
Resource Management - Cosmos DB 9.0.0b1 Changelog
Resource Management - DNS Resolver 1.0.0 Changelog
Resource Management - Data Factory 2.8.0 Changelog
Resource Management - Data Protection 1.0.0b2 Changelog
Resource Management - Dynatrace 1.0.0 Changelog
Resource Management - Kusto 3.0.0 Changelog
Resource Management - Media Services 10.1.0 Changelog
Resource Management - Monitor 5.0.0 Changelog
Resource Management - Monitor 5.0.1 Changelog
Resource Management - NetApp 9.0.0 Changelog
Resource Management - Network 22.0.0 Changelog
Resource Management - Nginx 1.1.0 Changelog
Resource Management - Policy Insights 1.1.0b3 Changelog
Resource Management - Reservations 2.1.0 Changelog
Resource Management - Resources 21.2.0 Changelog
Resource Management - SQL 4.0.0b4 Changelog
Resource Management - Security 2.0.0 Changelog
Resource Management - Security Insight 2.0.0b1 Changelog
Resource Management - Service Fabric Managed Clusters 2.0.0b2 Changelog
Schema Registry 1.2.0 Changelog
Features Added
group_name
,name
, andversion
have been added as optional parameters to theget_schema
method on the sync and asyncSchemaRegistryClient
.version
has been added toSchemaProperties
.
Secrets 4.6.0 Changelog
Breaking Changes
- Clients verify the challenge resource matches the vault domain. This should affect few customers,
who can provide
verify_challenge_resource=False
to client constructors to disable. See https://aka.ms/azsdk/blog/vault-uri for more information.
Service Bus 7.9.0a1 Changelog
Breaking changes
- The following features have been temporarily pulled out which will be added back in future previews as we work towards a stable release:
- Iterator receiving from Service Bus entities.
Service Bus 7.8.1 Changelog
Bugs Fixed
- Fixed bug on async
ServiceBusClient
wherecustom_endpoint_address
andconnection_verify
kwargs were not being passed through correctly. (Issue #26015)
Synapse - Artifacts 0.14.0 Changelog
Features Added
- Upgraded api-version for some operation group
Tables 12.4.1 Changelog
Bugs Fixed
- Fix handling of client-side exceptions that get raised during service requests (such as #21416) (#24788)
Latest Releases
View all the latest versions of Python packages here.
Installation Instructions
To install the latest beta version of the packages, copy and paste the following commands into a terminal:
$> pip install azure-ai-language-questionanswering==1.1.0
$> pip install azure-ai-ml==0.1.0b8
$> pip install azure-ai-ml==0.1.0b7
$> pip install azure-ai-ml==1.0.0
$> pip install azure-appconfiguration-provider==1.0.0b1
$> pip install azure-communication-identity==1.3.0
$> pip install azure-core==1.26.0
$> pip install azure-core-experimental==1.0.0b1
$> pip install azure-cosmos==4.3.1b1
$> pip install azure-data-tables==12.4.1
$> pip install azure-eventhub==5.8.0b1
$> pip install azure-eventhub==5.8.0b2
$> pip install azure-identity==1.11.0
$> pip install azure-identity==1.12.0b1
$> pip install azure-identity==1.12.0b2
$> pip install azure-keyvault-administration==4.2.0
$> pip install azure-keyvault-certificates==4.6.0
$> pip install azure-keyvault-keys==4.7.0
$> pip install azure-keyvault-keys==4.8.0b1
$> pip install azure-keyvault-secrets==4.6.0
$> pip install azure-maps-geolocation==1.0.0b1
$> pip install azure-maps-render==1.0.0b1
$> pip install azure-maps-route==1.0.0b1
$> pip install azure-maps-search==1.0.0b2
$> pip install azure-mgmt-appcontainers==2.0.0b1
$> pip install azure-mgmt-authorization==3.0.0
$> pip install azure-mgmt-compute==28.0.0
$> pip install azure-mgmt-compute==28.0.1
$> pip install azure-mgmt-compute==29.0.0
$> pip install azure-mgmt-containerservice==20.4.0
$> pip install azure-mgmt-cosmosdb==9.0.0b1
$> pip install azure-mgmt-datafactory==2.8.0
$> pip install azure-mgmt-dataprotection==1.0.0b2
$> pip install azure-mgmt-dnsresolver==1.0.0
$> pip install azure-mgmt-dynatrace==1.0.0
$> pip install azure-mgmt-kusto==3.0.0
$> pip install azure-mgmt-media==10.1.0
$> pip install azure-mgmt-monitor==5.0.0
$> pip install azure-mgmt-monitor==5.0.1
$> pip install azure-mgmt-netapp==9.0.0
$> pip install azure-mgmt-network==22.0.0
$> pip install azure-mgmt-nginx==1.1.0
$> pip install azure-mgmt-policyinsights==1.1.0b3
$> pip install azure-mgmt-reservations==2.1.0
$> pip install azure-mgmt-resource==21.2.0
$> pip install azure-mgmt-security==2.0.0
$> pip install azure-mgmt-securityinsight==2.0.0b1
$> pip install azure-mgmt-servicefabricmanagedclusters==2.0.0b2
$> pip install azure-mgmt-sql==4.0.0b4
$> pip install azure-monitor-opentelemetry-exporter==1.0.0b8
$> pip install azure-schemaregistry==1.2.0
$> pip install azure-servicebus==7.9.0a1
$> pip install azure-servicebus==7.8.1
$> pip install azure-storage-blob==12.14.0
$> pip install azure-storage-file-datalake==12.9.0
$> pip install azure-storage-file-share==12.10.0
$> pip install azure-storage-queue==12.5.0
$> pip install azure-synapse-artifacts==0.14.0
Feedback
If you have a bug or feature request for one of the libraries, please post an issue to GitHub.