Azure SDK for Python (August 2021)
The Azure SDK team is pleased to announce our August 2021 client library releases.
39 packages released this month.
Stable Packages (16)
-
Core
-
Event Grid
-
Resource Management - API Management
-
Resource Management - App Platform
-
Resource Management - Compute
-
Resource Management - Container Instances
-
Resource Management - Container Service
-
Resource Management - Log Analytics
-
Resource Management - Media Services
-
Resource Management - Recovery Services
-
Resource Management - Redis
-
Resource Management - Resources
-
Synapse - AccessControl
-
Synapse - Artifacts
-
Synapse - Managed Private Endpoints
-
Synapse - Spark
Patch Updates (3)
-
Form Recognizer
-
Resource Management - SQL
-
Service Bus
Beta Packages (14)
-
Cognitive Search
-
Container Registry
-
Document Translation
-
Identity
-
Key Vault - Keys
-
Monitor Query
-
Question Answering
-
Resource Management - Databricks
-
Resource Management - Rdbms
-
Resource Management - Security
-
Storage - Blobs
-
Storage - Files Data Lake
-
Storage - Files Shares
-
Text Analytics
Release highlights
Cognitive Search 11.3.0b2 Changelog
Features Added
- Added new skills:
SentimentSkillV3
,EntityLinkingSkill
,EntityRecognitionSkillV3
Container Registry 1.0.0b5 Changelog
Bugs Fixed
- Close session of
ChallengePolicyClient
in context manager #20000
Core 1.17.0 Changelog
Features Added
- Cut hard dependency on requests library
- Added a
from_json
method which now accepts storage QueueMessage, eventhub’s EventData or ServiceBusMessage or simply json bytes to return aCloudEvent
Document Translation 1.0.0b4 Changelog
Breaking Changes
- Changed: renamed kwargs
translated_before
andtranslated_after
tocreated_before
andcreated_after
, respectively, forlist_all_document_statuses
. - Changed: renamed
order_by
sorting query optioncreatedDateTimeUtc
tocreated_on
forlist_all_translation_statuses
andlist_all_document_statuses
.
Features Added
- The single translation input version of
begin_translation(source, target, target_language_code)
now accepts keyword argumentsstorage_type
,glossaries
,category_id
,prefix
,suffix
, andsource_language_code
.
Event Grid 4.5.0 Changelog
Features Added
- Added a new enum value
Microsoft.ContainerService.NewKubernetesVersionAvailable
toSystemEvents
. - Added a
from_json
method which now accepts storage QueueMessage, eventhub’s EventData or ServiceBusMessage or simply json bytes to return anEventGridEvent
Form Recognizer 3.1.2 Changelog
Bugs Fixed
- A
HttpResponseError
will be immediately raised when the call quota volume is exceeded in aF0
tier Form Recognizer resource.
Identity 1.7.0b3 Changelog
Breaking Changes
These changes do not impact the API of stable versions such as 1.6.0. Only code written against a beta version such as 1.7.0b1 may be affected.
- Renamed
AZURE_POD_IDENTITY_TOKEN_URL
toAZURE_POD_IDENTITY_AUTHORITY_HOST
. The value should now be a host, for examplehttp://169.254.169.254
(the default).
Bugs Fixed
- Fixed import of
azure.identity.aio.AzureApplicationCredential
(#19943)
Key Vault - Keys 4.5.0b2 Changelog
Breaking Changes
These changes do not impact the API of stable versions such as 4.4.0. Only code written against a beta version such as 4.5.0b1 may be affected.
KeyClient.get_random_bytes
now returns aRandomBytes
model with bytes in avalue
property, rather than returning the bytes directly (#19895)
Features Added
- Added support for secure key release from a Managed HSM (#19588)
- Added
release_key
method toKeyClient
for releasing the private component of a key - Added
exportable
andrelease_policy
keyword-only arguments to key creation and import methods - Added
KeyExportEncryptionAlgorithm
enum for specifying an encryption algorithm to be used in key release
Monitor Query 1.0.0b3 Changelog
Breaking Changes
aggregation
param in the query API is renamed toaggregations
batch_query
API now returns a list of responses.LogsBatchResults
model is now removed.LogsQueryRequest
is renamed toLogsBatchQueryRequest
LogsQueryResults
is now renamed toLogsQueryResult
LogsBatchQueryResult
now has 4 additional attributes -tables
,error
,statistics
andrender
instead ofbody
attribute.
Features Added
- Added enum
AggregationType
which can be used to specify aggregations in the query API. - Added
LogsBatchQueryResult
model that is returned for a logs batch query. - Added
error
attribute toLogsQueryResult
.
Question Answering 1.0.0b1 Changelog
Features Added
- Initial release - supports querying from text records and knowledge bases.
Resource Management - API Management 2.1.0 Changelog
Features
- Model OperationResultContract has a new parameter id_properties_id
- Model OperationResultContract has a new parameter name
- Model OperationResultContract has a new parameter type
- Model TenantConfigurationSyncStateContract has a new parameter last_operation_id
Resource Management - App Platform 6.1.0 Changelog
Features
- Model UserSourceInfo has a new parameter custom_container
- Model MetricDimension has a new parameter to_be_exported_for_shoebox
- Model DeploymentSettings has a new parameter resource_requests
Resource Management - Compute 22.1.0 Changelog
Features
- Model VirtualMachineUpdate has a new parameter capacity_reservation
- Model VirtualMachine has a new parameter capacity_reservation
- Model VirtualMachineScaleSet has a new parameter spot_restore_policy
- Model VirtualMachineScaleSetVMProfile has a new parameter capacity_reservation
- Added operation group CapacityReservationsOperations
- Added operation group CapacityReservationGroupsOperations
Resource Management - Container Instances 8.0.0 Changelog
Features
- Model LogAnalytics has a new parameter workspace_resource_id
- Model ContainerHttpGet has a new parameter http_headers
- Added operation ContainersOperations.attach
Breaking changes
- Operation ContainersOperations.list_logs has a new signature
Resource Management - Container Service 16.1.0 Changelog
Resource Management - Databricks 1.1.0b1 Changelog
Resource Management - Log Analytics 11.0.0 Changelog
Features
- Model ClusterPatch has a new parameter billing_type
- Model Workspace has a new parameter features
- Model WorkspacePatch has a new parameter features
- Model WorkspaceFeatures has a new parameter disable_local_auth
Breaking changes
- Model Workspace no longer has parameter immediate_purge_data_on30_days
- Model Workspace no longer has parameter enable_log_access_using_only_resource_permissions
- Model Workspace no longer has parameter cluster_resource_id
- Model Workspace no longer has parameter enable_data_export
- Model WorkspacePatch no longer has parameter immediate_purge_data_on30_days
- Model WorkspacePatch no longer has parameter enable_log_access_using_only_resource_permissions
- Model WorkspacePatch no longer has parameter cluster_resource_id
- Model WorkspacePatch no longer has parameter enable_data_export
- Model CapacityReservationProperties no longer has parameter max_capacity
Resource Management - Media Services 8.0.0 Changelog
Features
- Model JobOutput has a new parameter preset_override
- Model BuiltInStandardEncoderPreset has a new parameter configurations
- Model MediaServiceIdentity has a new parameter user_assigned_identities
- Model JobOutputAsset has a new parameter preset_override
- Model MediaService has a new parameter public_network_access
- Model MediaServiceUpdate has a new parameter public_network_access
- Model StorageAccount has a new parameter status
- Model StorageAccount has a new parameter identity
- Model AccountEncryption has a new parameter status
- Model AccountEncryption has a new parameter identity
- Model LiveOutput has a new parameter system_data
Breaking changes
- Model OperationCollection no longer has parameter odata_next_link
Resource Management - Rdbms 9.1.0b1 Changelog
Features
- Added operation group BackupsOperations
Resource Management - Recovery Services 2.0.0 Changelog
Features
- Model PatchTrackedResource has a new parameter etag
- Model Resource has a new parameter etag
- Model VaultProperties has a new parameter encryption
- Model PatchVault has a new parameter etag
- Model Sku has a new parameter tier
- Model VaultExtendedInfoResource has a new parameter etag
- Model ResourceCertificateAndAadDetails has a new parameter service_resource_id
- Model Vault has a new parameter system_data
- Model Vault has a new parameter etag
- Model IdentityData has a new parameter user_assigned_identities
- Model TrackedResource has a new parameter etag
- Added operation VaultsOperations.begin_update
- Added operation VaultsOperations.begin_create_or_update
- Added operation group RecoveryServicesClientOperationsMixin
Breaking changes
- Model PatchTrackedResource no longer has parameter e_tag
- Model Resource no longer has parameter e_tag
- Model PatchVault no longer has parameter e_tag
- Model VaultExtendedInfoResource no longer has parameter e_tag
- Model Vault no longer has parameter e_tag
- Model TrackedResource no longer has parameter e_tag
- Removed operation VaultsOperations.create_or_update
- Removed operation VaultsOperations.update
Resource Management - Redis 13.0.0 Changelog
Resource Management - Resources 18.1.0 Changelog
Features
- Added operation group SubscriptionFeatureRegistrationsOperations
Resource Management - Resources 19.0.0 Changelog
Breaking changes
- Operation SubscriptionFeatureRegistrationsOperations.create_or_update has a new signature
- Operation SubscriptionFeatureRegistrationsOperations.delete has a new signature
- Operation SubscriptionFeatureRegistrationsOperations.get has a new signature
- Operation SubscriptionFeatureRegistrationsOperations.list_by_subscription has a new signature
Resource Management - SQL 3.0.1 Changelog
Bugfixes
- Fix default setting for blob_auditing_policy_name
Resource Management - Security 2.0.0b1 Changelog
Service Bus 7.3.2 Changelog
Bugs Fixed
- Fixed a bug that
azure.servicebus.aio.AutoLockRenewer
crashes on disposal if no messages have been registered (#19642). - Fixed a bug that
azure.servicebus.AutoLockRenewer
only supports auto lock renewal formax_workers
amount of messages/sessions at a time (#19362).
Storage - Blobs 12.9.0b1 Changelog
New Features
- Added support for object level immutability policy with versioning (Version Level WORM).
- Added support for listing deleted root blobs that have versions.
- Added OAuth support for sync copy blob source.
Fixes
- Fixed a bug for get_block_list (#16314)
- Ensured that download fails if blob modified mid download
- Enabled exists() for CPK encrypted blobs (#18041)
Notes
- Deprecated new_name in for undelete container operation
Storage - Files Data Lake 12.5.0b1 Changelog
New features
- Added support for quick query parquet
Fixes
- Fixed PathProperties class init issue (#18490)
Notes
- Deprecated new_name in for undelete filesystem operation
Storage - Files Shares 12.6.0b1 Changelog
New features
- Added OAuth support for file copy source.
Fixes
- Ensured that download fails if file modified mid download
Synapse - AccessControl 0.7.0 Changelog
- Updated API version to “2020-12-01”
Synapse - Artifacts 0.8.0 Changelog
- Updated API version to “2020-12-01” which is the default API version
- Added
NotebookOperationResultOperations
,OperationResultOperations
,OperationStatusOperations
- Added API version “2021-06-01-preview” support
Synapse - Managed Private Endpoints 0.4.0 Changelog
- Updated API version to “2020-12-01” which is the default API version
- Added API version “2021-06-01-preview” support
ManagedPrivateEndpointsClient
is renamed toVnetClient
Synapse - Spark 0.6.0 Changelog
- Updated API version to “2020-12-01”
Text Analytics 5.2.0b1 Changelog
Features Added
- Added support for Extractive Summarization actions through the
ExtractSummaryAction
type.
Bugs Fixed
RecognizePiiEntitiesAction
optiondisable_service_logs
now correctly defaults toTrue
.
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-formrecognizer==3.1.2
$> pip install azure-ai-language-questionanswering==1.0.0b1
$> pip install azure-ai-textanalytics==5.2.0b1
$> pip install azure-ai-translation-document==1.0.0b4
$> pip install azure-containerregistry==1.0.0b5
$> pip install azure-core==1.17.0
$> pip install azure-eventgrid==4.5.0
$> pip install azure-identity==1.7.0b3
$> pip install azure-keyvault-keys==4.5.0b2
$> pip install azure-mgmt-apimanagement==2.1.0
$> pip install azure-mgmt-appplatform==6.1.0
$> pip install azure-mgmt-compute==22.1.0
$> pip install azure-mgmt-containerinstance==8.0.0
$> pip install azure-mgmt-containerservice==16.1.0
$> pip install azure-mgmt-databricks==1.1.0b1
$> pip install azure-mgmt-loganalytics==11.0.0
$> pip install azure-mgmt-media==8.0.0
$> pip install azure-mgmt-rdbms==9.1.0b1
$> pip install azure-mgmt-recoveryservices==2.0.0
$> pip install azure-mgmt-redis==13.0.0
$> pip install azure-mgmt-resource==18.1.0
$> pip install azure-mgmt-resource==19.0.0
$> pip install azure-mgmt-security==2.0.0b1
$> pip install azure-mgmt-sql==3.0.1
$> pip install azure-monitor-query==1.0.0b3
$> pip install azure-search-documents==11.3.0b2
$> pip install azure-servicebus==7.3.2
$> pip install azure-storage-blob==12.9.0b1
$> pip install azure-storage-file-datalake==12.5.0b1
$> pip install azure-storage-file-share==12.6.0b1
$> pip install azure-synapse-accesscontrol==0.7.0
$> pip install azure-synapse-artifacts==0.8.0
$> pip install azure-synapse-managedprivateendpoints==0.4.0
$> pip install azure-synapse-spark==0.6.0
Feedback
If you have a bug or feature request for one of the libraries, please post an issue to GitHub.