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_highlight
andsemantic_fields
.
Breaking Changes
- Renamed
SearchClient.speller
toSearchClient.query_speller
. - Renamed model
Speller
toQuerySpellerType
. - Renamed model
Answers
toQueryAnswerType
. - Removed keyword arguments from
SearchClient
:answers
andcaptions
. SentimentSkill
,EntityRecognitionSkill
: added client-side validation to prevent sending unsupported parameters.- Renamed property
ignore_reset_requirements
toskip_indexer_reset_requirement_for_cache
.
Communication Chat 1.1.0 Changelog
- Updated
azure-communication-chat
version.
Core 1.19.0 Changelog
Breaking Changes in the Provisional azure.core.rest
package
azure.core.rest.HttpResponse
andazure.core.rest.AsyncHttpResponse
are 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.rest
responses 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.AmqpMessageHeader
andazure.eventhub.amqp.AmqpMessageProperties
contain specific properties using thein
keyword.
Form Recognizer 3.2.0b1 Changelog
Features Added
- Added new
DocumentAnalysisClient
withbegin_analyze_document
andbegin_analyze_document_from_url
methods. 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
DocumentModelAdministrationClient
with 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
DocumentAnalysisClient
andDocumentModelAdministrationClient
under/samples/v3.2-beta
. - Added
DocumentAnalysisApiVersion
to be used withDocumentAnalysisClient
andDocumentModelAdministrationClient
.
Key Vault - Keys 4.5.0b4 Changelog
Features Added
- Added
KeyClient.get_cryptography_client
, which provides a simple way to create aCryptographyClient
for 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_key
to rotate a key on-demand - Added
KeyClient.update_key_rotation_policy
to 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
LogsQueryPartialResult
andLogsQueryError
to handle errors. - Added
status
attribute toLogsQueryResult
. - Added
LogsQueryStatus
Enum to describe the status of a result. - Added a new
LogsTableRow
type that represents a single row in a table. - Items in
metrics
list inMetricsQueryResult
can now be accessed by metric names.
Breaking Changes
LogsQueryResult
now iterates over the tables directly as a convinience.query
API in logs is renamed toquery_workspace
query
API in metrics is renamed toquery_resource
query_workspace
API now returns a union ofLogsQueryPartialResult
andLogsQueryResult
.query_batch
API now returns a union ofLogsQueryPartialResult
,LogsQueryError
andLogsQueryResult
.metric_namespace
is renamed tonamespace
and is a keyword-only argument inlist_metric_definitions
API.MetricsResult
is renamed toMetricsQueryResult
.
Question Answering 1.0.0b2 Changelog
Features Added
- The method
QuestionAnsweringClient.query_text
now supports a list of records as strings, where the ID value will be automatically populated. - Added keyword argument
default_language
ontoQuestionAnsweringClient
, which has default value'en'
. The default language for any operation call will be this default language value.
Breaking changes
- The method
QuestionAnsweringClient.query_knowledgebase
has been renamed toquery_knowledge_base
. - Options bag model
KnowledgeBaseQueryOptions
forquery_knowledge_base
is renamed toQueryKnowledgeBaseOptions
- Options bag model
TextQueryOptions
forquery_text
is renamed toQueryTextOptions
- The filters model
StrictFilters
is renamed toQueryFilters
- Enum
CompoundOperationKind
is renamed toLogicalOperationKind
- We have removed the
string_index_type
input to all models and operations. We have also removed theStringIndexType
enum. - The type of input
metadata
toMetadataFilter
has 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_base
andquery_text
overloads 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_id
method on sync and asyncSchemaRegistryClient
has been renamedget_schema_properties
.schema_id
parameter inget_schema
method on sync and asyncSchemaRegistryClient
has been renamedid
.register_schema
andget_schema_properties
methods on sync and asyncSchemaRegistryClient
now take in the following parameters in the given order:group_name
, which has been renamed fromschema_group
name
, which has been renamed fromschema_name
schema_definition
, which has been renamed fromschema_content
format
, which has been renamed fromserialization_type
endpoint
parameter inSchemaRegistryClient
constructor has been renamedfully_qualified_namespace
location
instance variable inSchemaProperties
has been removed.Schema
andSchemaProperties
no longer have positional parameters, as they will not be constructed by the user.
Schema Registry - Avro 1.0.0b3 Changelog
Breaking Changes
SchemaRegistryAvroSerializer
has been renamedAvroSerializer
.schema_registry
parameter in theAvroSerializer
constructor has been renamedclient
.schema_group
parameter in theAvroSerializer
constructor has been renamedgroup_name
.data
parameter in theserialize
anddeserialize
methods onAvroSerializer
has been renamedvalue
.schema
parameter in theserialize
method onAvroSerializer
no longer accepts argument of typebytes
.AvroSerializer
constructor no longer takes in thecodec
keyword argument.- The following positional arguments are now required keyword arguments:
client
andgroup_name
inAvroSerializer
constructorschema
inserialize
onAvroSerializer
Features Added
auto_register_schemas
keyword argument has been added toAvroSerializer
, which will allow for automatically registering schemas passed in to theserialize
, when set toTrue
, otherwiseFalse
by default.value
parameter inserialize
onAvroSerializer
takes typeMapping
rather 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_topic
onServiceBusAdministrationClient
now take a new keyword argumentmax_message_size_in_kilobytes
. QueueProperties
andTopicProperties
now 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
LivyStatementStates
andLivyStates
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.