Releases: Azure/azure-sdk-for-python
Releases · Azure/azure-sdk-for-python
azure-appconfiguration-provider_2.1.0b1
2.1.0b1 (2025-04-10)
Bugs Fixed
- Updates the feature flag telemetry to use the provided endpoint instead of the endpoint of the store the feature flag was loaded from.
- Removes Feature Id from feature flag telemetry.
azure-servicebus_7.14.2
7.14.2 (2025-04-09)
Bugs Fixed
- Fixed a bug where max number of messages was not being requested when receiving from the service due to an incorrect link credit calculation. (#40156)
Other Changes
- Added support for handling a C# DateTime.MinValue timestamp, which is returned by the service as a sentinel for time which is not set.
- Deprecating
uamqp_transport
in favor of pyAMQP transport. Theuamqp_transport
will be removed in the next minor release. - Fixed aiohttp websocket library showing a deprecation warning due to an incorrect timeout type (#40429)
- Dropped support for Python 3.8
azure-mgmt-iothub_4.0.0
4.0.0 (2025-04-09)
Breaking Changes
- Removed subfolders of some unused Api-Versions for smaller package size. If your application requires a specific and non-latest Api-Version, it's recommended to pin this package to the previous released version; If your application always only use latest Api-Version, please ignore this change.
azure-ai-ml_1.26.2
1.26.2 (2025-04-08)
Bugs Fixed
- Made AI Search connections property optional while creating capability host.
azure-monitor-opentelemetry_1.6.6
azure-monitor-opentelemetry-exporter_1.0.0b36
1.0.0b36 (2025-04-07)
Features Added
- Support
syntheticSource
fromuser_agent.synthetic.type
semantic convention
(#40004) - Support
server.address
attributes when converting Azure SDK messaging spans to envelopes
(#40059) - Update AKS check to use KUBERNETES_SERVICE_HOST
(#39941) - Enabled Entra ID Credential configuration via env var
(#40237)
azure-batch_15.0.0b2
15.0.0b2 (2025-03-01)
Features Added
-
Force delete/terminate job or job schedule:
- Added
force
parameter of type Boolean todelete_job
,terminate_job
,delete_job_schedule
, andterminate_job_schedule
- Added
-
Support for compute node start/deallocate operations:
- Added
start_node
,deallocate_node
methods toBatchClient
andAsyncBatchClient
- Added
-
Container task data mount isolation:
- Added
containerHostBatchBindMounts
of typeList<ContainerHostBatchBindMountEntry>
toBatchTaskContainerSettings
- Added
-
Patch improvements for pool and job:
- Added
displayName
,vmSize
,taskSlotsPerNode
,taskSchedulingPolicy
,enableInterNodeCommunication
,virtualMachineConfiguration
,networkConfiguration
,userAccounts
,mountConfiguration
,upgradePolicy
, andresourceTags
toBatchPoolUpdateContent
- Added
networkConfiguration
toBatchJobUpdateContent
- Added
-
Confidential VM support:
- Added
confidentialVM
toSecurityTypes
. - Added
securityProfile
of typeVMDiskSecurityProfile
toManagedDisk
- Added
-
Support for shared and community gallery images:
- Added
sharedGalleryImageId
andcommunityGalleryImageId
toImageReference
- Added
-
Re-add support for
BatchCertificate
(temporary since this feature is deprecated):- Added
create_certificate
,list_certificates
,cancel_certificate_deletion
,delete_certificate
, andget_certificate
methods toBatchClient
andAsyncBatchClient
- Added
Breaking Changes
- Removed
get_remote_desktop
method fromBatchClient
. Useget_node_remote_login_settings
instead to remotely login to a compute node - Removed
CloudServiceConfiguration
from pool models and operations. UseVirtualMachineConfiguration
when creating pools - Removed
ApplicationLicenses
from pool models and operations
azure-ai-evaluation_1.5.0
1.5.0 (2025-04-04)
Features Added
- New
RedTeam
agent functionality to assess the safety and resilience of AI systems against adversarial prompt attacks
azure-core_1.33.0
1.33.0 (2025-04-03)
Features Added
- Added native OpenTelemetry tracing to Azure Core which enables users to use OpenTelemetry to trace Azure SDK operations without needing to install a plugin. #39563
- To enable native OpenTelemetry tracing, users need to:
- Have
opentelemetry-api
installed. - Ensure that
settings.tracing_implementation
is not set. - Ensure that
settings.tracing_enabled
is set toTrue
.
- Have
- If
setting.tracing_implementation
is set, the tracing plugin will be used instead of the native tracing. - If
settings.tracing_enabled
is set toFalse
, tracing will be disabled. - The
OpenTelemetryTracer
class was added to theazure.core.tracing.opentelemetry
module. This is a wrapper around the OpenTelemetry tracer that is used to create spans for Azure SDK operations. - Added a
get_tracer
method to the newazure.core.instrumentation
module. This method returns an instance of theOpenTelemetryTracer
class if OpenTelemetry is available. - A
TracingOptions
TypedDict class was added to define the options that SDK users can use to configure tracing per-operation. These options include the ability to enable or disable tracing and set additional attributes on spans.- Example usage:
client.method(tracing_options={"enabled": True, "attributes": {"foo": "bar"}})
- Example usage:
- The
DistributedTracingPolicy
anddistributed_trace
/distributed_trace_async
decorators now uses the OpenTelemetry tracer if it is available and native tracing is enabled.- SDK clients can define an
_instrumentation_config
class variable to configure the OpenTelemetry tracer used in method span creation. Possible configuration options arelibrary_name
,library_version
,schema_url
, andattributes
. DistributedTracingPolicy
now accepts ainstrumentation_config
keyword argument to configure the OpenTelemetry tracer used in HTTP span creation.
- SDK clients can define an
- To enable native OpenTelemetry tracing, users need to:
Breaking Changes
- Removed automatic tracing enablement for the OpenTelemetry plugin if
opentelemetry
was imported. To enable tracing with the plugin, please importazure.core.settings.settings
and setsettings.tracing_implementation
to"opentelemetry"
. #39563 - In
DistributedTracingPolicy
, the default span name is now just the HTTP method (e.g., "GET", "POST") and no longer includes the URL path. This change was made to converge with the OpenTelemetry HTTP semantic conventions. The full URL is still included in the span attributes. - Renamed span attributes in
DistributedTracingPolicy
:- "x-ms-client-request-id" is now "az.client_request_id"
- "x-ms-request-id" is now "az.service_request_id"
Bugs Fixed
- Fixed an issue where the
traceparent
header was not being set correctly in theDistributedTracingPolicy
. Thetraceparent
header will now set based on the context of the HTTP client span. #40074
Other Changes
- Added
opentelemetry-api
as an optional dependency for tracing. This can be installed withpip install azure-core[tracing]
. #39563
azure-purview-datamap_1.0.0b2
1.0.0b2 (2025-04-08)
Bugs Fixed
- Updated type of endorsements from str to list[str] in SuggestResultValue and SuggestResultValue models.