Releases: Azure/azure-sdk-for-python
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-mgmt-search_9.2.0b3
9.2.0b3 (2025-04-02)
Features Added
- Client
SearchManagementClient
added operation groupofferings
- Model
SearchService
added propertysystem_data
- Model
SearchService
added propertyendpoint
- Model
SearchService
added propertycompute_type
- Model
SearchService
added propertyupgrade_available
- Model
SearchService
added propertyservice_upgrade_date
- Model
SearchServiceUpdate
added propertysystem_data
- Model
SearchServiceUpdate
added propertyendpoint
- Model
SearchServiceUpdate
added propertycompute_type
- Model
SearchServiceUpdate
added propertyupgrade_available
- Model
SearchServiceUpdate
added propertyservice_upgrade_date
- Added enum
ComputeType
- Added enum
CreatedByType
- Added enum
FeatureName
- Added model
FeatureOffering
- Added model
OfferingsByRegion
- Added model
OfferingsListResult
- Added model
SkuOffering
- Added model
SkuOfferingLimits
- Added model
SystemData
- Operation group
ServicesOperations
added methodbegin_upgrade
- Added operation group
OfferingsOperations
azure-ai-evaluation_1.4.0
1.4.0 (2025-03-27)
Features Added
-
Enhanced binary evaluation results with customizable thresholds
- Added threshold support for QA and ContentSafety evaluators
- Evaluation results now include both the score and threshold values
- Configurable threshold parameter allows custom binary classification boundaries
- Default thresholds provided for backward compatibility
- Quality evaluators use "higher is better" scoring (score ≥ threshold is positive)
- Content safety evaluators use "lower is better" scoring (score ≤ threshold is positive)
-
New Built-in evaluator called CodeVulnerabilityEvaluator is added.
- It provides capabilities to identify the following code vulnerabilities.
- path-injection
- sql-injection
- code-injection
- stack-trace-exposure
- incomplete-url-substring-sanitization
- flask-debug
- clear-text-logging-sensitive-data
- incomplete-hostname-regexp
- server-side-unvalidated-url-redirection
- weak-cryptographic-algorithm
- full-ssrf
- bind-socket-all-network-interfaces
- client-side-unvalidated-url-redirection
- likely-bugs
- reflected-xss
- clear-text-storage-sensitive-data
- tarslip
- hardcoded-credentials
- insecure-randomness
- It also supports multiple coding languages such as (Python, Java, C++, C#, Go, Javascript, SQL)
- It provides capabilities to identify the following code vulnerabilities.
-
New Built-in evaluator called UngroundedAttributesEvaluator is added.
-
It evaluates ungrounded inference of human attributes for a given query, response, and context for a single-turn evaluation only,
-
where query represents the user query and response represents the AI system response given the provided context.
-
Ungrounded Attributes checks for whether a response is first, ungrounded, and checks if it contains information about protected class
-
or emotional state of a person.
-
It identifies the following attributes:
- emotional_state
- protected_class
- groundedness
-
-
New Built-in evaluators for Agent Evaluation (Preview)
- IntentResolutionEvaluator - Evaluates the intent resolution of an agent's response to a user query.
- ResponseCompletenessEvaluator - Evaluates the response completeness of an agent's response to a user query.
- TaskAdherenceEvaluator - Evaluates the task adherence of an agent's response to a user query.
- ToolCallAccuracyEvaluator - Evaluates the accuracy of tool calls made by an agent in response to a user query.
Bugs Fixed
- Fixed error in
GroundednessProEvaluator
when handling non-numeric values like "n/a" returned from the service. - Uploading local evaluation results from
evaluate
with the same run name will no longer result in each online run sharing (and bashing) result files.