Azure SDK for Python (October 2021)
The Azure SDK team is pleased to announce our October 2021 client library releases.
28 packages released this month.
Stable Packages (15)
-
Communication Chat
-
Core
-
Event Grid
-
Monitor Query
-
Resource Management - Authorization
-
Resource Management - Container Instances
-
Resource Management - Container Service
-
Resource Management - Event Hubs
-
Resource Management - Kusto
-
Resource Management - NetApp
-
Resource Management - Service Bus
-
Resource Management - Storage
-
Storage - Blobs
-
Storage - Files Data Lake
-
Storage - Files Shares
Patch Updates (2)
-
Event Hubs
-
Service Bus
Beta Packages (11)
-
Cognitive Search
-
Form Recognizer
-
Key Vault - Keys
-
Monitor OpenTelemetry Exporter
-
Question Answering
-
Resource Management - Cosmos DB
-
Schema Registry
-
Schema Registry - Avro
-
Service Bus
-
Synapse - Artifacts
-
Synapse - Spark
Release highlights
Cognitive Search 11.3.0b4 Changelog
Features Added
- Added properties to
SearchClient:query_answer,query_answer_count,query_caption,query_caption_highlightandsemantic_fields.
Breaking Changes
- Renamed
SearchClient.spellertoSearchClient.query_speller. - Renamed model
SpellertoQuerySpellerType. - Renamed model
AnswerstoQueryAnswerType. - Removed keyword arguments from
SearchClient:answersandcaptions. SentimentSkill,EntityRecognitionSkill: added client-side validation to prevent sending unsupported parameters.- Renamed property
ignore_reset_requirementstoskip_indexer_reset_requirement_for_cache.
Communication Chat 1.1.0 Changelog
- Updated
azure-communication-chatversion.
Core 1.19.0 Changelog
Breaking Changes in the Provisional azure.core.rest package
azure.core.rest.HttpResponseandazure.core.rest.AsyncHttpResponseare now abstract base classes. They should not be initialized directly, instead your transport responses should inherit from them and implement them.-
The properties of the
azure.core.restresponses are now all read-only - HttpLoggingPolicy integrates logs into one record #19925
Event Grid 4.6.0 Changelog
Features Added
- Added new enum values to
SystemEvents.
Event Hubs 5.6.1 Changelog
Bugs Fixed
- Fixed a bug for checking that
azure.eventhub.amqp.AmqpMessageHeaderandazure.eventhub.amqp.AmqpMessagePropertiescontain specific properties using theinkeyword.
Form Recognizer 3.2.0b1 Changelog
Features Added
- Added new
DocumentAnalysisClientwithbegin_analyze_documentandbegin_analyze_document_from_urlmethods. Use these methods with the latest Form Recognizer API version to analyze documents, with prebuilt and custom models. - Added new models to use with the new
DocumentAnalysisClient:AnalyzeResult,AnalyzedDocument,BoundingRegion,DocumentElement,DocumentEntity,DocumentField,DocumentKeyValuePair,DocumentKeyValueElement,DocumentLine,DocumentPage,DocumentSelectionMark,DocumentSpan,DocumentStyle,DocumentTable,DocumentTableCell,DocumentWord. - Added new
DocumentModelAdministrationClientwith methods:begin_build_model,begin_create_composed_model,begin_copy_model,get_copy_authorization,get_model,delete_model,list_models,get_operation,list_operations,get_account_info,get_document_analysis_client. - Added new models to use with the new
DocumentModelAdministrationClient:DocumentModel,DocumentModelInfo,DocTypeInfo,ModelOperation,ModelOperationInfo,AccountInfo,DocumentAnalysisError,DocumentAnalysisInnerError. - Added samples using the
DocumentAnalysisClientandDocumentModelAdministrationClientunder/samples/v3.2-beta. - Added
DocumentAnalysisApiVersionto be used withDocumentAnalysisClientandDocumentModelAdministrationClient.
Key Vault - Keys 4.5.0b4 Changelog
Features Added
- Added
KeyClient.get_cryptography_client, which provides a simple way to create aCryptographyClientfor a key, given its name and optionally a version (#20621) - Added support for automated and on-demand key rotation in Azure Key Vault (#19840)
- Added
KeyClient.rotate_keyto rotate a key on-demand - Added
KeyClient.update_key_rotation_policyto update a key’s automated rotation policy
Monitor OpenTelemetry Exporter 1.0.0b5 Changelog
Features Added
- Support stamp specific redirect in exporters (#20489)
Breaking Changes
- Change exporter OT to AI mapping fields following common schema (#20445)
Monitor Query 1.0.0 Changelog
Features Added
- Added
LogsQueryPartialResultandLogsQueryErrorto handle errors. - Added
statusattribute toLogsQueryResult. - Added
LogsQueryStatusEnum to describe the status of a result. - Added a new
LogsTableRowtype that represents a single row in a table. - Items in
metricslist inMetricsQueryResultcan now be accessed by metric names.
Breaking Changes
LogsQueryResultnow iterates over the tables directly as a convinience.queryAPI in logs is renamed toquery_workspacequeryAPI in metrics is renamed toquery_resourcequery_workspaceAPI now returns a union ofLogsQueryPartialResultandLogsQueryResult.query_batchAPI now returns a union ofLogsQueryPartialResult,LogsQueryErrorandLogsQueryResult.metric_namespaceis renamed tonamespaceand is a keyword-only argument inlist_metric_definitionsAPI.MetricsResultis renamed toMetricsQueryResult.
Question Answering 1.0.0b2 Changelog
Features Added
- The method
QuestionAnsweringClient.query_textnow supports a list of records as strings, where the ID value will be automatically populated. - Added keyword argument
default_languageontoQuestionAnsweringClient, which has default value'en'. The default language for any operation call will be this default language value.
Breaking changes
- The method
QuestionAnsweringClient.query_knowledgebasehas been renamed toquery_knowledge_base. - Options bag model
KnowledgeBaseQueryOptionsforquery_knowledge_baseis renamed toQueryKnowledgeBaseOptions - Options bag model
TextQueryOptionsforquery_textis renamed toQueryTextOptions - The filters model
StrictFiltersis renamed toQueryFilters - Enum
CompoundOperationKindis renamed toLogicalOperationKind - We have removed the
string_index_typeinput to all models and operations. We have also removed theStringIndexTypeenum. - The type of input
metadatatoMetadataFilterhas changed from a dictionary of strings to a list of key-value tuples. For example, the input has changed from{"key": "value"}to[("key", "value")]. - The input to the
query_knowledge_baseandquery_textoverloads that take in a positional model for the body should be considered positional only.
Resource Management - Authorization 2.0.0 Changelog
Resource Management - Container Instances 9.0.0 Changelog
Resource Management - Container Service 16.2.0 Changelog
Resource Management - Cosmos DB 7.0.0b1 Changelog
Resource Management - Event Hubs 9.1.0 Changelog
Resource Management - Kusto 2.1.0 Changelog
Resource Management - NetApp 5.1.0 Changelog
Resource Management - Service Bus 7.1.0 Changelog
Resource Management - Storage 19.0.0 Changelog
Schema Registry 1.0.0b3 Changelog
Breaking Changes
get_schema_idmethod on sync and asyncSchemaRegistryClienthas been renamedget_schema_properties.schema_idparameter inget_schemamethod on sync and asyncSchemaRegistryClienthas been renamedid.register_schemaandget_schema_propertiesmethods on sync and asyncSchemaRegistryClientnow take in the following parameters in the given order:group_name, which has been renamed fromschema_groupname, which has been renamed fromschema_nameschema_definition, which has been renamed fromschema_contentformat, which has been renamed fromserialization_typeendpointparameter inSchemaRegistryClientconstructor has been renamedfully_qualified_namespacelocationinstance variable inSchemaPropertieshas been removed.SchemaandSchemaPropertiesno longer have positional parameters, as they will not be constructed by the user.
Schema Registry - Avro 1.0.0b3 Changelog
Breaking Changes
SchemaRegistryAvroSerializerhas been renamedAvroSerializer.schema_registryparameter in theAvroSerializerconstructor has been renamedclient.schema_groupparameter in theAvroSerializerconstructor has been renamedgroup_name.dataparameter in theserializeanddeserializemethods onAvroSerializerhas been renamedvalue.schemaparameter in theserializemethod onAvroSerializerno longer accepts argument of typebytes.AvroSerializerconstructor no longer takes in thecodeckeyword argument.- The following positional arguments are now required keyword arguments:
clientandgroup_nameinAvroSerializerconstructorschemainserializeonAvroSerializer
Features Added
auto_register_schemaskeyword argument has been added toAvroSerializer, which will allow for automatically registering schemas passed in to theserialize, when set toTrue, otherwiseFalseby default.valueparameter inserializeonAvroSerializertakes typeMappingrather thanDict.- Depends on
azure-schemaregistry==1.0.0b3.
Service Bus 7.3.4 Changelog
Other Changes
- Updated uAMQP dependency to 1.4.3.
- Added support for Python 3.10.
- Fixed memory leak in win32 socketio and tlsio (issue #19777).
- Fixed memory leak in the process of converting AMQPValue into string (issue #19777).
Service Bus 7.4.0b1 Changelog
Features Added
- Added support to create and update queues and topics of large message size to
ServiceBusAdministrationClient. This feature is only available for Service Bus of Premium Tier. - Methods
create_queue,create_topic,update_queue,update_topiconServiceBusAdministrationClientnow take a new keyword argumentmax_message_size_in_kilobytes. QueuePropertiesandTopicPropertiesnow have a new instance variablemax_message_size_in_kilobytes.
Storage - Blobs 12.9.0 Changelog
Stable release of preview features
- Added support for service version 2020-10-02 (STG78)
- 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.
Storage - Files Data Lake 12.5.0 Changelog
Stable release of preview features
- Added support for service version 2020-10-02 (STG78)
- Added support for quick query parquet
Storage - Files Shares 12.6.0 Changelog
Stable release of preview features
- Added support for service version 2020-10-02 (STG78)
- Added OAuth support for file copy source.
Synapse - Artifacts 0.9.0 Changelog
Features Added
- re-generated based on tag package-artifacts-composite-v1
Synapse - Spark 0.7.0 Changelog
Features Added
- Added
LivyStatementStatesandLivyStates
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.2.0b1
$> pip install azure-ai-language-questionanswering==1.0.0b2
$> pip install azure-communication-chat==1.1.0
$> pip install azure-core==1.19.0
$> pip install azure-eventgrid==4.6.0
$> pip install azure-eventhub==5.6.1
$> pip install azure-keyvault-keys==4.5.0b4
$> pip install azure-mgmt-authorization==2.0.0
$> pip install azure-mgmt-containerinstance==9.0.0
$> pip install azure-mgmt-containerservice==16.2.0
$> pip install azure-mgmt-cosmosdb==7.0.0b1
$> pip install azure-mgmt-eventhub==9.1.0
$> pip install azure-mgmt-kusto==2.1.0
$> pip install azure-mgmt-netapp==5.1.0
$> pip install azure-mgmt-servicebus==7.1.0
$> pip install azure-mgmt-storage==19.0.0
$> pip install azure-monitor-opentelemetry-exporter==1.0.0b5
$> pip install azure-monitor-query==1.0.0
$> pip install azure-schemaregistry==1.0.0b3
$> pip install azure-schemaregistry-avroserializer==1.0.0b3
$> pip install azure-search-documents==11.3.0b4
$> pip install azure-servicebus==7.3.4
$> pip install azure-servicebus==7.4.0b1
$> pip install azure-storage-blob==12.9.0
$> pip install azure-storage-file-datalake==12.5.0
$> pip install azure-storage-file-share==12.6.0
$> pip install azure-synapse-artifacts==0.9.0
$> pip install azure-synapse-spark==0.7.0
Feedback
If you have a bug or feature request for one of the libraries, please post an issue to GitHub.