Azure SDK for Python (February 2023)
The Azure SDK team is pleased to announce our February 2023 client library releases.
30 packages released this month.
Stable Packages (11)
-
Event Hubs
-
Machine Learning
-
Monitor Query
-
Resource Management - Bot Service
-
Resource Management - Compute
-
Resource Management - Load Testing
-
Resource Management - Managed Service Identity
-
Resource Management - Media Services
-
Resource Management - Mobile Network
-
Resource Management - Recovery Services Backup
-
Resource Management - Red Hat OpenShift
Patch Updates (3)
-
Core - Client - Core
-
Event Hubs
-
Tables
Beta Packages (15)
-
App Configuration
-
Blobs
-
Cognitive Search
-
Dev Center
-
Files Shares
-
Identity
-
Load Testing
-
OpenTelemetry Exporter
-
Queues
-
Resource Management - Commerce
-
Resource Management - Data Protection
-
Resource Management - SQL
-
Resource Management - SQL Virtual Machine
-
Resource Management - Servicenetworking
-
Storage - Files Data Lake
Release highlights
App Configuration 1.4.0b1 Changelog
Other Changes
- Python 2.7 is no longer supported. Please use Python version 3.7 or later.
- Bumped minimum dependency on
azure-core
to>=1.24.0
. - Changed the default async transport from
AsyncioRequestsTransport
to the one used in currentazure-core
(AioHttpTransport
). (#26427) - Dropped
msrest
requirement. - Added dependency
isodate
with version range>=0.6.0
.
Blobs 12.15.0b1 Changelog
Bugs Fixed
- Changed how async streams are detected on async
upload_blob
to increase compatiblity with different types.
Features Added
- Added support for service version 2021-12-02.
- Added support for new blob tier,
Cold
. - Added support for
AsyncIterable
as data type for async blob upload.
Cognitive Search 11.4.0b3 Changelog
Features Added
- Added the semantic reranker score and captions on
SearchResult
.(thanks to @LucasVascovici for the contribution)
Core - Client - Core 1.26.3 Changelog
Bugs Fixed
- Fixed deflate decompression for aiohttp #28483
Dev Center 1.0.0b2 Changelog
Features Added
- Added upcoming actions APIs to dev boxes.
delay_upcoming_action
get_upcoming_action
list_upcoming_actions
skip_upcoming_action
Bugs Fixed
- Invalid response types removed from
begin_delete_dev_box
,begin_start_dev_box
, andbegin_stop_dev_box
APIs. - Invalid
begin_delete_environment_action
API removed fromDevCenterClient
. - Unimplemented artifacts APIs removed from
DevCenterClient
.
Breaking Changes
DevCenterClient
now accepts an endpoint URI on construction rather than tenant ID + dev center name.
Event Hubs 5.11.0 Changelog
Features Added
- A new boolean keyword argument
uamqp_transport
has been added to sync and asyncEventHubProducerClient
/EventHubConsumerClient
constructors which indicates whether to use theuamqp
library or the default pure Python AMQP library as the underlying transport.
Bugs Fixed
- Fixed a bug that caused an error when sending batches with tracing enabled (issue #27986).
- Fixed a bug where
EventHubSharedKeyCredential
returned anAccessToken.token
of typebytes
and notstr
, now matching the documentation.
Event Hubs 5.11.1 Changelog
Bugs Fixed
- Fixed a bug where, when
websocket-client
was not installed, the error was not caught/raised properly (issue #28453).
Files Shares 12.11.0b1 Changelog
Bugs Fixed
- Fixed an issue where keyword
name_starts_with
was not being passed to the service properly for thelist_shares
async API
Features Added
- Added support for service version 2021-12-02.
- Added support for file and directory paths that contain invalid XML characters. When listing or fetching properties, the service will encode illegal characters and the SDK will now automatically decode them.
- Added support for
AsyncIterable
as data type for async file upload.
Identity 1.13.0b2 Changelog
Features Added
- Added
AzureDeveloperCredential
for Azure Developer CLI. (#27916) - Added
WorkloadIdentityCredential
for Workload Identity Federation on Kubernetes (#28536) - Added support to use “TryAutoDetect” as the value for
AZURE_REGIONAL_AUTHORITY_NAME
to enable auto detecting the appropriate authority (#526)
Load Testing 1.0.0b3 Changelog
Features Added
- Method added
azure.developer.loadtesting.LoadTestingClient.test_run.list_metric_namespaces
- Method added
azure.developer.loadtesting.LoadTestingClient.test_run.list_metric_definitions
- Method added
azure.developer.loadtesting.LoadTestingClient.test_run.list_metrics
- Method added
azure.developer.loadtesting.LoadTestingClient.test_run.create_or_update_app_components
- Method added
azure.developer.loadtesting.LoadTestingClient.test_run.get_app_components
- Method added
azure.developer.loadtesting.LoadTestingClient.test_run.create_or_update_server_metrics_config
- Method added
azure.developer.loadtesting.LoadTestingClient.test_run.get_server_metrics_config
- Method added
azure.developer.loadtesting.LoadTestingClient.administration.begin_upload_test_file
- Method added
azure.developer.loadtesting.LoadTestingClient.test_run.begin_test_run
- Method added
azure.developer.loadtesting.LoadTestingClient.test_run.begin_test_run_status
- Method added
azure.developer.loadtesting.aio.LoadTestingClient.test_run.list_metric_namespaces
- Method added
azure.developer.loadtesting.aio.LoadTestingClient.test_run.list_metric_definitions
- Method added
azure.developer.loadtesting.aio.LoadTestingClient.test_run.list_metrics
- Method added
azure.developer.loadtesting.aio.LoadTestingClient.test_run.create_or_update_app_components
- Method added
azure.developer.loadtesting.aio.LoadTestingClient.test_run.get_app_components
- Method added
azure.developer.loadtesting.aio.LoadTestingClient.test_run.create_or_update_server_metrics_config
- Method added
azure.developer.loadtesting.aio.LoadTestingClient.test_run.get_server_metrics_config
- Method added
azure.developer.loadtesting.aio.LoadTestingClient.administration.begin_upload_test_file
- Method added
azure.developer.loadtesting.aio.LoadTestingClient.test_run.begin_test_run_status
- Method added
azure.developer.loadtesting.aio.LoadTestingClient.test_run.get_metric_dimension_values
- Method added
azure.developer.loadtesting.aio.LoadTestingClient.test_run.begin_test_run
Breaking Changes
- Changed subclients
load_test_runs
andload_test_adminsitration
totest_run
andadminsitrative
respectively - Removed
continuation_token
as a parameter for methodazure.developer.loadtesting.aio.LoadTestingClient.test_run.list_test_runs
- Removed
continuation_token
as a parameter for methodazure.developer.loadtesting.LoadTestingClient.test_run.list_test_runs
, - Removed
continuation_token
as a parameter for methodazure.developer.loadtesting.aio.LoadTestingClient.administration.list_test_files
- Removed
continuation_token
as a parameter for methodazure.developer.loadtesting.LoadTestingClient.administration.list_test_files
- Removed
continuation_token
as a parameter for methodazure.developer.loadtesting.aio.LoadTestingClient.administration.list_tests
- Removed
continuation_token
as a parameter for methodazure.developer.loadtesting.LoadTestingClient.administration.list_tests
Machine Learning 1.3.0 Changelog
Features Added
- Change print behavior of entity classes to show object yaml in notebooks, can be configured on in other contexts.
- Added property to enable/disable public ip addresses to Compute Instances and AML Computes.
Deployment
andScheduleOperations
added to public interface.
Bugs Fixed
- Fixed issue with date-time format for utc_time_created field when creating models.
- Added stricter behavior for ArmStr schemas when parsing ‘azureml:’ prefix.
- Fixed issue where AmlComputes could only be created in a workspace’s default region.
- Improved intellisense with VS Code for fields supporting local paths and datastores.
- Added validation for token generation with aml scope when user_identity is used in job definition aka OBO flow.
- Fixed duplicate node name error in pipeline when two node names assigned to the same node and get renamed by node.name=’xx’.
- Resolve the cross references for MLClient, Resource and OnlineDeployment.
- Explicit use of Optional (or a Union with None), as per PEP 484.
- Fixed print on Command objects when job id is empty.
- Fixed issue where
SasTokenConfiguration
cannot be used as credential forWorkspaceConnection
.
Machine Learning 1.4.0 Changelog
Features Added
- Added dedicated classes for each type of job service and updated the docstrings. The classes added are
JupyterLabJobService, SshJobService, TensorBoardJobService, VsCodeJobService
with a few properties specific to the type. - Added Custom Applications Support to Compute Instances.
Bugs Fixed
- Fixed an issue where the ordering of
.amlignore
and.gitignore
files are not respected. - Fixed an issue that attributes with a value of
False
inPipelineJobSettings
are not respected. - Fixed an issue where ignore files weren’t considered during upload directory size calculations.
- Fixed an issue where symlinks crashed upload directory size calculations.
- Fixes a bug where enable_node_public_ip returned an improper value when fetching a Compute.
Monitor Query 1.1.0 Changelog
Bugs Fixed
- Error details are now propagated inside the
LogsQueryError
object. (#25137)
OpenTelemetry Exporter 1.0.0b12 Changelog
Features Added
- Add sdkVersion prefix during App Service attach (#28637)
Bugs Fixed
- Update success criteria for requests (#28486)
Queues 12.6.0b1 Changelog
Other Changes
- Removed
msrest
dependency. - Added
typing-extensions>=4.0.1
as a dependency. - Added
isodate>=0.6.1
as a dependency. - Added extra dependency
aio
for installing optional async dependencies. Usepip install azure-storage-queue[aio]
to install.
Resource Management - Bot Service 2.0.0 Changelog
Resource Management - Commerce 6.1.0b1 Changelog
Resource Management - Compute 29.1.0 Changelog
Resource Management - Data Protection 1.0.0b4 Changelog
Resource Management - Load Testing 1.0.0 Changelog
Resource Management - Managed Service Identity 7.0.0 Changelog
Resource Management - Media Services 10.2.0 Changelog
Resource Management - Mobile Network 2.0.0 Changelog
Resource Management - Recovery Services Backup 5.1.0 Changelog
Resource Management - Red Hat OpenShift 1.2.0 Changelog
Resource Management - SQL 4.0.0b7 Changelog
Resource Management - SQL Virtual Machine 1.0.0b5 Changelog
Resource Management - Servicenetworking 1.0.0b1 Changelog
Storage - Files Data Lake 12.10.0b1 Changelog
Bugs Fixed
- Fixed an issue where
rename_file
andrename_directory
would not work correctly if the new file/directory name contained a?
character.
Features Added
- Added support for service version 2021-12-02.
- Added ability to perform leasing actions on file append and flush. See new keyword
lease_action
for details. - Added support for
AsyncIterable
as data type for async file upload.
Tables 12.4.2 Changelog
Bugs Fixed
- Fixed a bug when deleting an entity with partition key or row key in empty string.(#24480)
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-ml==1.3.0
$> pip install azure-ai-ml==1.4.0
$> pip install azure-appconfiguration==1.4.0b1
$> pip install azure-core==1.26.3
$> pip install azure-data-tables==12.4.2
$> pip install azure-developer-devcenter==1.0.0b2
$> pip install azure-developer-loadtesting==1.0.0b3
$> pip install azure-eventhub==5.11.0
$> pip install azure-eventhub==5.11.1
$> pip install azure-identity==1.13.0b2
$> pip install azure-mgmt-botservice==2.0.0
$> pip install azure-mgmt-commerce==6.1.0b1
$> pip install azure-mgmt-compute==29.1.0
$> pip install azure-mgmt-dataprotection==1.0.0b4
$> pip install azure-mgmt-loadtesting==1.0.0
$> pip install azure-mgmt-media==10.2.0
$> pip install azure-mgmt-mobilenetwork==2.0.0
$> pip install azure-mgmt-msi==7.0.0
$> pip install azure-mgmt-recoveryservicesbackup==5.1.0
$> pip install azure-mgmt-redhatopenshift==1.2.0
$> pip install azure-mgmt-servicenetworking==1.0.0b1
$> pip install azure-mgmt-sql==4.0.0b7
$> pip install azure-mgmt-sqlvirtualmachine==1.0.0b5
$> pip install azure-monitor-opentelemetry-exporter==1.0.0b12
$> pip install azure-monitor-query==1.1.0
$> pip install azure-search-documents==11.4.0b3
$> pip install azure-storage-blob==12.15.0b1
$> pip install azure-storage-file-datalake==12.10.0b1
$> pip install azure-storage-file-share==12.11.0b1
$> pip install azure-storage-queue==12.6.0b1
Feedback
If you have a bug or feature request for one of the libraries, please post an issue to GitHub.