Azure SDK for Python (February 2024)
The Azure SDK team is pleased to announce our February 2024 client library releases.
32 packages released this month.
Stable Packages (11)
-
App Configuration Provider
-
Core - Client - Core
-
Event Grid
-
Resource Management - Elastic SAN
-
Resource Management - App Platform
-
Resource Management - Backup
-
Resource Management - Compute
-
Resource Management - Container Service
-
Resource Management - Data Factory
-
Resource Management - Hybrid Container Service
-
Resource Management - Networkanalytics
Patch Updates (1)
- Monitor Query
Beta Packages (12)
-
AI Generative
-
AI Resources
-
Azure AI Search
-
Communication Phone Numbers
-
Cosmos DB
-
Identity
-
OpenTelemetry Exporter
-
Resource Management - Cosmos DB
-
Resource Management - Hardwaresecuritymodules
-
Resource Management - PostgreSQL
-
Resource Management - Springappdiscovery
-
Resource Management - Stream Analytics
Release highlights
AI Generative 1.0.0b7 Changelog
Features Added
- AzureOpenAIConnection.set_current_environment supports openai 1.0 and above.
- Use openai v1 environment variable
AI Resources 1.0.0b4 Changelog
Other Changes
- Use openai v1 environment variable
AI Resources 1.0.0b7 Changelog
Bugs Fixed
- Fix promptflow evaluation bugs
Features Added
- Support for Python 3.12
- Support custom metrics for evaluation
- Supports evaluate() on chat
App Configuration Provider 1.1.0 Changelog
Bugs Fixed
- Verifies that the
refresh_intervalis at least 1 second.
Features Added
- New API for Azure App Configuration Provider,
refresh, which can be used to refresh the configuration from the Azure App Configuration service.refreshby default can check every 30 seconds for changes to specified sentinel keys. If a change is detected then all configurations are reloaded. Sentinel keys can be set by passing a list ofSentinelKey’s torefresh_on. - Added new options
on_refresh_successandon_refresh_failurecallbacks to the load method. These callbacks are called when the refresh method successfully refreshes the configuration or fails to refresh the configuration.
Azure AI Search 11.6.0b1 Changelog
Bugs Fixed
- Fixed the issue that we added unexpected
retrievableproperty forSearchField.
Features Added
- Added back
semantic_queryforSearchmethod. - Added back alias operations to
SearchIndexClient. - Added back
AzureOpenAIEmbeddingSkill,AzureOpenAIParametersandAzureOpenAIVectorizer. - Added back
query_language,query_speller,semantic_fieldsanddebugforSearchmethod. - Added
send_requestmethod forSearchClient&SearchIndexClientto run a network request using the client’s existing pipeline.
Communication Phone Numbers 1.2.0b3 Changelog
Features Added
- Added support for API version
2023-10-01-preview, This gives us functionality for Do Not Resell Consent Changes. - Users will now be able to purchase from countries like
IT,AT,FR,NO,PT. They can do so by agreeing not to resell phone numbers by setting consentToNotResellNumbers to true. - Added support for 10DLC changes.
Core - Client - Core 1.30.0 Changelog
Features Added
- Support tuple input for file values to
azure.core.rest.HttpRequest#33948 - Support tuple input to
fileswith duplicate field namesazure.core.rest.HttpRequest#34021
Cosmos DB 4.5.2b4 Changelog
Features Added
- Added preview support for Computed Properties on Python SDK (Must be enabled on the account level before it can be used). See PR 33626.
Bugs Fixed
- Made use of
response_hookthread-safe in the sync client. See PR 33790. - Fixed bug with the session container not being properly maintained. See 33738.
Event Grid 4.17.0 Changelog
Features Added
- Added new enums values to
SystemEventNamesrelated to Azure Storage and Azure VMware Solution.
Identity 1.16.0b1 Changelog
Bugs Fixed
- Fixed the bug that
ClientAssertionCredentialconstructor fails if kwargs are provided. (#33673) ManagedIdentityCredentialis more lenient with the error message it matches when falling through to the next credential in the chain in the case that Docker Desktop returns a 403 response when attempting to access the IMDS endpoint. (#33928)
Monitor Query 1.2.1 Changelog
Bugs Fixed
- Fixed certain keyword arguments from being propagated when using
MetricsQueryClient.
OpenTelemetry Exporter 1.0.0b22 Changelog
Features Added
- Add live metrics skeleton + swagger definitions (#33983)
- Only create temporary folder if local storage is enabled without storage directory. (#34061)
Bugs Fixed
- Update exception details messsage based on
LogRecordbody (#34020)
Resource Management - Elastic SAN 1.0.0 Changelog
Resource Management - App Platform 9.0.0 Changelog
Resource Management - Backup 9.0.0 Changelog
Resource Management - Compute 30.5.0 Changelog
Resource Management - Container Service 29.0.0 Changelog
Resource Management - Cosmos DB 10.0.0b2 Changelog
Resource Management - Data Factory 5.0.0 Changelog
Resource Management - Hardwaresecuritymodules 1.0.0b1 Changelog
Resource Management - Hybrid Container Service 1.0.0 Changelog
Resource Management - Networkanalytics 1.0.0 Changelog
Resource Management - PostgreSQL 10.2.0b14 Changelog
Resource Management - Springappdiscovery 1.0.0b1 Changelog
Resource Management - Stream Analytics 2.0.0b2 Changelog
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-generative==1.0.0b7
$> pip install azure-ai-resources==1.0.0b4
$> pip install azure-ai-resources==1.0.0b7
$> pip install azure-appconfiguration-provider==1.1.0
$> pip install azure-communication-phonenumbers==1.2.0b3
$> pip install azure-core==1.30.0
$> pip install azure-cosmos==4.5.2b4
$> pip install azure-eventgrid==4.17.0
$> pip install azure-identity==1.16.0b1
$> pip install azure-mgmt-appplatform==9.0.0
$> pip install azure-mgmt-compute==30.5.0
$> pip install azure-mgmt-containerservice==29.0.0
$> pip install azure-mgmt-cosmosdb==10.0.0b2
$> pip install azure-mgmt-datafactory==5.0.0
$> pip install azure-mgmt-elasticsan==1.0.0
$> pip install azure-mgmt-hardwaresecuritymodules==1.0.0b1
$> pip install azure-mgmt-hybridcontainerservice==1.0.0
$> pip install azure-mgmt-networkanalytics==1.0.0
$> pip install azure-mgmt-rdbms==10.2.0b14
$> pip install azure-mgmt-recoveryservicesbackup==9.0.0
$> pip install azure-mgmt-springappdiscovery==1.0.0b1
$> pip install azure-mgmt-streamanalytics==2.0.0b2
$> pip install azure-monitor-opentelemetry-exporter==1.0.0b22
$> pip install azure-monitor-query==1.2.1
$> pip install azure-search-documents==11.6.0b1
Feedback
If you have a bug or feature request for one of the libraries, please post an issue to GitHub.