Azure SDK for Python (March 2022)
The Azure SDK team is pleased to announce our March 2022 client library releases.
34 packages released this month.
Stable Packages (15)
-
Core
-
Identity
-
Resource Management - App Platform
-
Resource Management - Compute
-
Resource Management - Container Service
-
Resource Management - Data Factory
-
Resource Management - Kusto
-
Resource Management - Rdbms
-
Resource Management - Storage
-
Service Bus
-
Storage - Blobs
-
Storage - Files Data Lake
-
Storage - Files Shares
-
Storage - Queues
-
Tables
Patch Updates (2)
-
Resource Management - Data Factory
-
Web PubSub
Beta Packages (14)
-
Cognitive Search
-
Cosmos DB
-
Event Hubs
-
Identity
-
Question Answering
-
Resource Management - App Configuration
-
Resource Management - Cosmos DB
-
Resource Management - Log Analytics
-
Resource Management - SQL
-
Resource Management - Service Linker
-
Schema Registry - Avro
-
Storage - Blobs
-
Synapse - Artifacts
-
Text Analytics
Release highlights
Cognitive Search 11.3.0b8 Changelog
Features Added
- Added support to create, update and delete aliases via the
SearchIndexClient
.
Core 1.23.0 Changelog
Bugs Fixed
- Use “\n” rather than “/n” for new line in log. #23261
Features Added
-
Improve intellisense type hinting for service client methods. #22891
-
Add a case insensitive dict
case_insensitive_dict
inazure.core.utils
. #23206
Cosmos DB 4.3.0b3 Changelog
Features Added
- Added new provisional
max_integrated_cache_staleness_in_ms
parameter to read item and query items APIs in order to make use of the preview CosmosDB integrated cache functionality. Please see Azure Cosmos DB integrated cache for more details. - Added support for split-proof queries for the async client
Bugs fixed
- Default consistency level for the sync and async clients is no longer
Session
and will instead be set to the consistency level of the user’s cosmos account setting on initialization if not passed during client initialization. This change will impact client application in terms of RUs and latency. Users relying on defaultSession
consistency will need to pass it explicitly if their account consistency is different thanSession
. Please see Consistency Levels in Azure Cosmos DB for more details. - Fixed invalid request body being sent when passing in
serverScript
body parameter to replace operations for trigger, sproc and udf resources. - Moved
is_system_key
logic in async client. - Fixed TypeErrors not being thrown when passing in invalid connection retry policies to the client.
Event Hubs 5.8.0a3 Changelog
Other Changes
- Improved the performance of async sending and receiving.
Event Hubs 5.9.0b2 Changelog
Breaking Changes
from_message_data
onEventData
has been renamedfrom_message_content
for interoperability with the Schema Registry Avro Encoder library. Thedata
parameter has been renamed tocontent
.
Identity 1.8.0 Changelog
Bugs Fixed
- Handle injected “tenant_id” and “claims” (#23138)
“tenant_id” argument in get_token() method is only supported by:
AuthorizationCodeCredential
AzureCliCredential
AzurePowerShellCredential
InteractiveBrowserCredential
DeviceCodeCredential
EnvironmentCredential
UsernamePasswordCredential
it is ignored by other types of credentials.
Identity 1.9.0b1 Changelog
Features Added
- Added
validate_authority
support for msal client (#22625) - Added
resource_id
support for user-assigned managed identity (#22329) - Added
ClientAssertionCredential
support (#22328) - Updated App service API version to “2019-08-01” (#23034)
Question Answering 1.1.0b1 Changelog
Features Added
- Added
QuestionAnsweringProjectsClient
for managing Qna projects. Performing project operations such as create, delete, export, and import project, as well as knowledge sources operations such as adding or listing knowledge sources, Qnas, and synonyms.
Resource Management - App Configuration 2.1.0b1 Changelog
Resource Management - App Configuration 2.1.0b2 Changelog
Resource Management - App Platform 7.0.0 Changelog
Resource Management - Compute 26.0.0 Changelog
Resource Management - Compute 26.1.0 Changelog
Resource Management - Container Service 17.0.0 Changelog
Resource Management - Cosmos DB 7.0.0b3 Changelog
Resource Management - Data Factory 2.2.1 Changelog
Resource Management - Data Factory 2.3.0 Changelog
Resource Management - Kusto 2.2.0 Changelog
Resource Management - Log Analytics 13.0.0b2 Changelog
Resource Management - Rdbms 10.1.0 Changelog
Resource Management - SQL 4.0.0b2 Changelog
Resource Management - Service Linker 1.0.0b2 Changelog
Resource Management - Storage 19.1.0 Changelog
Schema Registry - Avro 1.0.0b2 Changelog
Breaking Changes
MessageMetadataDict
has been renamedMessageContent
.data
inMessageContent
has been renamedcontent
.- The
data
parameter inencode
anddecode
on the sync and asyncAvroEncoder
has been renamedcontent
. - The
from_message_data
method in theMessageType
protocol has been renamedfrom_message_content
. Thedata
parameter infrom_message_content
has been renamedcontent
. - The
__message_data__
method in theMessageType
protocol has been renamed__message_content__
.
Features Added
request_options
has been added toencode
anddecode
onAvroEncoder
as an optional parameter to be passed into client requests.- The size of the current schema/schema ID caches will be logged at an info level when a new entry has been added.
Service Bus 7.6.0 Changelog
Features Added
- Introduce
ServiceBusMessageState
enum that can assume the values ofactive
,scheduled
ordeferred
. - Add
state
property inServiceBusReceivedMessage
.
Storage - Blobs 12.10.0b4 Changelog
Bugs Fixed
- Addressed a few
mypy
typing hint errors.
Features Added
- Updated clients to support both SAS and OAuth together.
- Updated OAuth implementation to use the AAD scope returned in a Bearer challenge.
Storage - Blobs 12.10.0 Changelog
Bugs Fixed
- Added all missing Service SAS permissions.
- Fixed a bug that prevented
upload_blob()
from working with an OS pipe reader stream on Linux. (#23131)
Storage - Files Data Lake 12.6.0 Changelog
Bugs Fixed
- Update
azure-core
dependency to avoid inconsistent dependencies from being installed. - Added all missing Service SAS permissions.
Storage - Files Shares 12.7.0 Changelog
Bugs Fixed
- Fixed a bug where
start_copy_from_url()
was not sending theignore_read_only
parameter correctly.
Storage - Queues 12.2.0 Changelog
Bugs Fixed
- Update
azure-core
dependency to avoid inconsistent dependencies from being installed.
Synapse - Artifacts 0.12.0 Changelog
Features Added
- re-generated based on tag package-artifacts-composite-v3
Tables 12.3.0 Changelog
Bugs Fixed
- Validation of the table name has been removed from the constructor of the TableClient. Instead individual APIs will validate the table name and raise a ValueError only if the service rejects the request due to the table name not being valid (#23106)
- Fixed hard-coded URL scheme in batch requests (#21953)
- Improved documentation for query formatting in
query_entities
APIs (#23235) - Removed unsecure debug logging
Text Analytics 5.2.0b3 Changelog
Bugs Fixed
string_index_type
now correctly defaults to the Python defaultUnicodeCodePoint
forAnalyzeSentimentAction
andRecognizeCustomEntitiesAction
.- Fixed a bug in
begin_analyze_actions
where incorrect action types were being sent in the request if targeting the older API versionv3.1
in the beta version of the client library. string_index_type
optionUtf16CodePoint
is corrected toUtf16CodeUnit
.
Web PubSub 1.0.1 Changelog
Bugs Fixed
- fix authentication who use a
reverse_proxy_endpoint
with eitherWebPubSubServiceClient.from_connection_string
or pass in anAzureKeyCredential
for authentication #22587
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.0b1
$> pip install azure-ai-textanalytics==5.2.0b3
$> pip install azure-core==1.23.0
$> pip install azure-cosmos==4.3.0b3
$> pip install azure-data-tables==12.3.0
$> pip install azure-eventhub==5.8.0a3
$> pip install azure-eventhub==5.9.0b2
$> pip install azure-identity==1.8.0
$> pip install azure-identity==1.9.0b1
$> pip install azure-messaging-webpubsubservice==1.0.1
$> pip install azure-mgmt-appconfiguration==2.1.0b1
$> pip install azure-mgmt-appconfiguration==2.1.0b2
$> pip install azure-mgmt-appplatform==7.0.0
$> pip install azure-mgmt-compute==26.0.0
$> pip install azure-mgmt-compute==26.1.0
$> pip install azure-mgmt-containerservice==17.0.0
$> pip install azure-mgmt-cosmosdb==7.0.0b3
$> pip install azure-mgmt-datafactory==2.2.1
$> pip install azure-mgmt-datafactory==2.3.0
$> pip install azure-mgmt-kusto==2.2.0
$> pip install azure-mgmt-loganalytics==13.0.0b2
$> pip install azure-mgmt-rdbms==10.1.0
$> pip install azure-mgmt-servicelinker==1.0.0b2
$> pip install azure-mgmt-sql==4.0.0b2
$> pip install azure-mgmt-storage==19.1.0
$> pip install azure-schemaregistry-avroencoder==1.0.0b2
$> pip install azure-search-documents==11.3.0b8
$> pip install azure-servicebus==7.6.0
$> pip install azure-storage-blob==12.10.0b4
$> pip install azure-storage-blob==12.10.0
$> pip install azure-storage-file-datalake==12.6.0
$> pip install azure-storage-file-share==12.7.0
$> pip install azure-storage-queue==12.2.0
$> pip install azure-synapse-artifacts==0.12.0
Feedback
If you have a bug or feature request for one of the libraries, please post an issue to GitHub.