Azure SDK for Python (October 2024)
The Azure SDK team is pleased to announce our October 2024 client library releases.
38 packages released this month.
Stable Packages (16)
-
Communication Sms
-
Identity
-
Identity Broker
-
Machine Learning
-
Resource Management - Elastic SAN
-
Resource Management - Azure VMware Solution
-
Resource Management - Batch
-
Resource Management - Container Service
-
Resource Management - Desktop Virtualization
-
Resource Management - Mongo Cluster
-
Resource Management - Network
-
Resource Management - Postgresqlflexibleservers
-
Resource Management - Private DNS
-
Resource Management - Standby Pool
-
Resource Management - Web PubSub
-
Storage - Files Share
Patch Updates (2)
-
Event Hubs
-
Storage - Blobs
Beta Packages (17)
-
AI Evaluation
-
AI Generative
-
Azure AI Search
-
Communication Email
-
OpenTelemetry Exporter
-
Resource Management - Computeschedule
-
Resource Management - Cosmos DB
-
Resource Management - Fabric
-
Resource Management - Mongo Cluster
-
Resource Management - Mysqlflexibleservers
-
Resource Management - PostgreSQL
-
Resource Management - Service Linker
-
Resource Management - Service Networking
-
Resource Management - Trustedsigning
-
Storage - Blobs
-
Storage - Files Data Lake
-
Storage - Files Share
Release highlights
AI Evaluation 1.0.0b3 Changelog
Bugs Fixed
- Fixed issue where Entra ID authentication was not working with
AzureOpenAIModelConfiguration
Features Added
- Added
type
field toAzureOpenAIModelConfiguration
andOpenAIModelConfiguration
- The following evaluators now support
conversation
as an alternative input to their usual single-turn inputs: ViolenceEvaluator
SexualEvaluator
SelfHarmEvaluator
HateUnfairnessEvaluator
ProtectedMaterialEvaluator
IndirectAttackEvaluator
CoherenceEvaluator
RelevanceEvaluator
FluencyEvaluator
GroundednessEvaluator
- Surfaced
RetrievalScoreEvaluator
, formally an internal part ofChatEvaluator
as a standalone conversation-only evaluator.
Breaking Changes
- Removed
ContentSafetyChatEvaluator
andChatEvaluator
data
andevaluators
are now required keywords inevaluate
.- The
evaluator_config
parameter ofevaluate
now maps in evaluator name to a dictionaryEvaluatorConfig
, which is aTypedDict
. Thecolumn_mapping
betweendata
ortarget
and evaluator field names should now be specified inside this new dictionary:
Before:
evaluate(
...,
evaluator_config={
"hate_unfairness": {
"query": "${data.question}",
"response": "${data.answer}",
}
},
...
)
After
evaluate(
...,
evaluator_config={
"hate_unfairness": {
"column_mapping": {
"query": "${data.question}",
"response": "${data.answer}",
}
}
},
...
)
AI Generative 1.0.0b11 Changelog
Other Changes
- Deprecation message added.
Azure AI Search 11.6.0b6 Changelog
Bugs Fixed
- Fixed the issue that
encryptionKey
inSearchIndexer
was lost during serialization. #37521
Communication Email 1.0.1b1 Changelog
Features Added
- Consumers can now provide a value for the
contentId
property when sending emails with attachments. This allows consumers to reference attachments in the email body using thecid
scheme. ThecontentId
property can be set on theEmailAttachment
object.
Communication Sms 1.1.0 Changelog
Other Changes
- Python 2.7 is no longer supported. Please use Python version 3.7 or later. For more details, please read our page on Azure SDK for Python version support policy.
Event Hubs 5.12.2 Changelog
Bugs Fixed
- Implemented backpressure for async consumer to address a memory leak issue. (#36398)
Identity 1.19.0 Changelog
Bugs Fixed
- Fixed the request sent in
AzurePipelinesCredential
so it doesn’t result in a redirect response when an invalid system access token is provided. (#37510)
Identity Broker 1.2.0 Changelog
Other Changes
- Stable release for the Proof-of-Possession (PoP) token support to
InteractiveBrowserBrokerCredential
.
Machine Learning 1.21.0 Changelog
Bugs Fixed
- #35820 - using compute location attribute to fill compute location to align the experience with UI.
Features Added
- Cross subscription storage account support for workspace and feature store. Developer can provide a storage account from another subscription while creating a workspace or storage account.
OpenTelemetry Exporter 1.0.0b30 Changelog
Bugs Fixed
- Fix setting custom
TracerProvider
bug (#37469)
OpenTelemetry Exporter 1.0.0b31 Changelog
Features Added
- Allow tracking of whether in a Azure Functions attach scenario (#37717)
Resource Management - Elastic SAN 1.1.0 Changelog
Resource Management - Azure VMware Solution 9.0.0 Changelog
Resource Management - Batch 18.0.0 Changelog
Resource Management - Computeschedule 1.0.0b1 Changelog
Resource Management - Container Service 32.1.0 Changelog
Resource Management - Cosmos DB 10.0.0b4 Changelog
Resource Management - Desktop Virtualization 2.0.0 Changelog
Resource Management - Fabric 1.0.0b1 Changelog
Resource Management - Mongo Cluster 1.0.0b2 Changelog
Resource Management - Mongo Cluster 1.0.0 Changelog
Resource Management - Mysqlflexibleservers 1.0.0b2 Changelog
Resource Management - Network 27.0.0 Changelog
Resource Management - PostgreSQL 10.2.0b18 Changelog
Resource Management - Postgresqlflexibleservers 1.0.0 Changelog
Resource Management - Private DNS 1.2.0 Changelog
Resource Management - Service Linker 1.2.0b3 Changelog
Resource Management - Service Networking 1.1.0b1 Changelog
Resource Management - Standby Pool 1.0.0 Changelog
Resource Management - Trustedsigning 1.0.0b1 Changelog
Resource Management - Web PubSub 2.0.0 Changelog
Storage - Blobs 12.23.1 Changelog
Features Added
- Added support for decryption of Blobs encrypted using client-side encryption version 2.1.
Storage - Blobs 12.24.0b1 Changelog
Features Added
- Added support for service version 2025-01-05.
- Added support for passing metadata to
upload_blob_from_url
via the newmetadata
keyword. - Added support for
set_immutability_policy
,delete_immutability_policy
andset_legal_hold
for Blob snapshots and versions.
Storage - Files Data Lake 12.18.0b1 Changelog
Features Added
- Added support for service version 2025-01-05.
- Added support for
get_paths()
onDataLakeDirectoryClient
.
Storage - Files Share 12.19.0 Changelog
Features Added
- Updated type hints across the entire package and enabled MyPy to run during CI. Some public types may have been adjusted if they were previously erroneous or incomplete.
Storage - Files Share 12.20.0b1 Changelog
Features Added
- Added support for service version 2025-01-05.
- Added support to specify
Premium
enum value inaccess_tier
forcreate_share
andset_share_properties
APIs. - Added
file_permission_format
to specify permission format for File’scopy_file
API. - Added support for provisioned V2 billing model, including
provisioned_iops
andprovisioned_bandwidth_mibps
forShareClient
andShareServiceClient
’screate_share
APIs;provisioned_max_iops
andprovisioned_max_bandwidth_mibps
forShareClient
’sset_share_properties
API; and retrieveincluded_burst_iop
,max_burst_credits_for_iops
,next_provisioned_iops_downgrade
andnext_provisioned_bandwidth_downgrade
throughget_share_properties
API.ShareServiceClient
’slist_shares
API returns the new properties throughget_share_properties
for each share.
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-evaluation==1.0.0b3
$> pip install azure-ai-generative==1.0.0b11
$> pip install azure-ai-ml==1.21.0
$> pip install azure-communication-email==1.0.1b1
$> pip install azure-communication-sms==1.1.0
$> pip install azure-eventhub==5.12.2
$> pip install azure-identity==1.19.0
$> pip install azure-identity-broker==1.2.0
$> pip install azure-mgmt-avs==9.0.0
$> pip install azure-mgmt-batch==18.0.0
$> pip install azure-mgmt-computeschedule==1.0.0b1
$> pip install azure-mgmt-containerservice==32.1.0
$> pip install azure-mgmt-cosmosdb==10.0.0b4
$> pip install azure-mgmt-desktopvirtualization==2.0.0
$> pip install azure-mgmt-elasticsan==1.1.0
$> pip install azure-mgmt-fabric==1.0.0b1
$> pip install azure-mgmt-mongocluster==1.0.0b2
$> pip install azure-mgmt-mongocluster==1.0.0
$> pip install azure-mgmt-mysqlflexibleservers==1.0.0b2
$> pip install azure-mgmt-network==27.0.0
$> pip install azure-mgmt-postgresqlflexibleservers==1.0.0
$> pip install azure-mgmt-privatedns==1.2.0
$> pip install azure-mgmt-rdbms==10.2.0b18
$> pip install azure-mgmt-servicelinker==1.2.0b3
$> pip install azure-mgmt-servicenetworking==1.1.0b1
$> pip install azure-mgmt-standbypool==1.0.0
$> pip install azure-mgmt-trustedsigning==1.0.0b1
$> pip install azure-mgmt-webpubsub==2.0.0
$> pip install azure-monitor-opentelemetry-exporter==1.0.0b30
$> pip install azure-monitor-opentelemetry-exporter==1.0.0b31
$> pip install azure-search-documents==11.6.0b6
$> pip install azure-storage-blob==12.23.1
$> pip install azure-storage-blob==12.24.0b1
$> pip install azure-storage-file-datalake==12.18.0b1
$> pip install azure-storage-file-share==12.19.0
$> pip install azure-storage-file-share==12.20.0b1
Feedback
If you have a bug or feature request for one of the libraries, please post an issue to GitHub.