Releases: Azure/azure-sdk-for-python
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.
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.
azure-mgmt-weightsandbiases_1.0.0b1
1.0.0b1 (2025-03-31)
Other Changes
- Initial version
azure-mgmt-hybridconnectivity_2.0.0b1
2.0.0b1 (2025-04-01)
Features Added
- Client
HybridConnectivityMgmtClient
added operation groupgenerate_aws_template
- Client
HybridConnectivityMgmtClient
added operation grouppublic_cloud_connectors
- Client
HybridConnectivityMgmtClient
added operation groupsolution_configurations
- Client
HybridConnectivityMgmtClient
added operation groupinventory
- Client
HybridConnectivityMgmtClient
added operation groupsolution_types
- Model
ServiceConfigurationResource
added propertyproperties
- Added model
AADProfileProperties
- Added model
AwsCloudProfile
- Added model
AwsCloudProfileUpdate
- Added enum
CloudNativeType
- Added model
ExtensionResource
- Added model
GenerateAwsTemplateRequest
- Added enum
HostType
- Added model
IngressProfileProperties
- Added model
InventoryProperties
- Added model
InventoryResource
- Added model
OperationStatusResult
- Added model
PublicCloudConnector
- Added model
PublicCloudConnectorProperties
- Added model
PublicCloudConnectorPropertiesUpdate
- Added model
PublicCloudConnectorUpdate
- Added model
RelayNamespaceAccessProperties
- Added enum
ResourceProvisioningState
- Added model
ServiceConfigurationProperties
- Added model
ServiceConfigurationPropertiesPatch
- Added model
SolutionConfiguration
- Added model
SolutionConfigurationProperties
- Added model
SolutionConfigurationPropertiesUpdate
- Added enum
SolutionConfigurationStatus
- Added model
SolutionConfigurationUpdate
- Added model
SolutionSettings
- Added model
SolutionTypeProperties
- Added model
SolutionTypeResource
- Added model
SolutionTypeSettings
- Added model
SolutionTypeSettingsProperties
- Added model
TrackedResource
- Added model
TrackedResourceUpdate
- Added operation group
GenerateAwsTemplateOperations
- Added operation group
InventoryOperations
- Added operation group
PublicCloudConnectorsOperations
- Added operation group
SolutionConfigurationsOperations
- Added operation group
SolutionTypesOperations
Breaking Changes
- Model
EndpointAccessResource
deleted or renamed its instance variablenamespace_name
- Model
EndpointAccessResource
deleted or renamed its instance variablenamespace_name_suffix
- Model
EndpointAccessResource
deleted or renamed its instance variablehybrid_connection_name
- Model
EndpointAccessResource
deleted or renamed its instance variableaccess_key
- Model
EndpointAccessResource
deleted or renamed its instance variableexpires_on
- Model
EndpointAccessResource
deleted or renamed its instance variableservice_configuration_token
- Model
IngressGatewayResource
deleted or renamed its instance variablehostname
- Model
IngressGatewayResource
deleted or renamed its instance variableserver_id
- Model
IngressGatewayResource
deleted or renamed its instance variabletenant_id
- Model
IngressGatewayResource
deleted or renamed its instance variablenamespace_name
- Model
IngressGatewayResource
deleted or renamed its instance variablenamespace_name_suffix
- Model
IngressGatewayResource
deleted or renamed its instance variablehybrid_connection_name
- Model
IngressGatewayResource
deleted or renamed its instance variableaccess_key
- Model
IngressGatewayResource
deleted or renamed its instance variableexpires_on
- Model
IngressGatewayResource
deleted or renamed its instance variableservice_configuration_token
- Model
ServiceConfigurationResource
deleted or renamed its instance variableservice_name
- Model
ServiceConfigurationResource
deleted or renamed its instance variableresource_id
- Model
ServiceConfigurationResource
deleted or renamed its instance variableport
- Model
ServiceConfigurationResource
deleted or renamed its instance variableprovisioning_state
- Model
ServiceConfigurationResourcePatch
deleted or renamed its instance variableport
- Deleted or renamed model
EndpointsList
- Deleted or renamed model
ServiceConfigurationList
- Parameter
expiresin
of methodEndpointsOperations.list_credentials
is now required - Parameter
expiresin
of methodEndpointsOperations.list_ingress_gateway_credentials
is now required
azure-mgmt-edgezones_1.0.0b2
1.0.0b2 (2025-04-01)
Other Changes
- regular release