Skip to content

Releases: Azure/azure-sdk-for-python

azure-monitor-opentelemetry-exporter_1.0.0b36

07 Apr 18:20
dd390a4
Compare
Choose a tag to compare

1.0.0b36 (2025-04-07)

Features Added

  • Support syntheticSource from user_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

07 Apr 21:38
f1eef4b
Compare
Choose a tag to compare
azure-batch_15.0.0b2 Pre-release
Pre-release

15.0.0b2 (2025-03-01)

Features Added

  • Force delete/terminate job or job schedule:

    • Added force parameter of type Boolean to delete_job, terminate_job, delete_job_schedule, and terminate_job_schedule
  • Support for compute node start/deallocate operations:

    • Added start_node, deallocate_node methods to BatchClient and AsyncBatchClient
  • Container task data mount isolation:

    • Added containerHostBatchBindMounts of type List<ContainerHostBatchBindMountEntry> to BatchTaskContainerSettings
  • Patch improvements for pool and job:

    • Added displayName, vmSize, taskSlotsPerNode, taskSchedulingPolicy, enableInterNodeCommunication, virtualMachineConfiguration, networkConfiguration, userAccounts, mountConfiguration, upgradePolicy, and resourceTags to BatchPoolUpdateContent
    • Added networkConfiguration to BatchJobUpdateContent
  • Confidential VM support:

    • Added confidentialVM to SecurityTypes.
    • Added securityProfile of type VMDiskSecurityProfile to ManagedDisk
  • Support for shared and community gallery images:

    • Added sharedGalleryImageId and communityGalleryImageId to ImageReference
  • Re-add support for BatchCertificate (temporary since this feature is deprecated):

    • Added create_certificate, list_certificates, cancel_certificate_deletion, delete_certificate, andget_certificate methods to BatchClient and AsyncBatchClient

Breaking Changes

  • Removed get_remote_desktop method from BatchClient. Use get_node_remote_login_settings instead to remotely login to a compute node
  • Removed CloudServiceConfiguration from pool models and operations. Use VirtualMachineConfiguration when creating pools
  • Removed ApplicationLicenses from pool models and operations

azure-ai-evaluation_1.5.0

07 Apr 13:05
73071dc
Compare
Choose a tag to compare

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

03 Apr 23:48
b41d8e7
Compare
Choose a tag to compare

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:
      1. Have opentelemetry-api installed.
      2. Ensure that settings.tracing_implementation is not set.
      3. Ensure that settings.tracing_enabled is set to True.
    • If setting.tracing_implementation is set, the tracing plugin will be used instead of the native tracing.
    • If settings.tracing_enabled is set to False, tracing will be disabled.
    • The OpenTelemetryTracer class was added to the azure.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 new azure.core.instrumentation module. This method returns an instance of the OpenTelemetryTracer 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"}})
    • The DistributedTracingPolicy and distributed_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 are library_name, library_version, schema_url, and attributes.
      • DistributedTracingPolicy now accepts a instrumentation_config keyword argument to configure the OpenTelemetry tracer used in HTTP span creation.

Breaking Changes

  • Removed automatic tracing enablement for the OpenTelemetry plugin if opentelemetry was imported. To enable tracing with the plugin, please import azure.core.settings.settings and set settings.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 the DistributedTracingPolicy. The traceparent 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 with pip install azure-core[tracing]. #39563

azure-purview-datamap_1.0.0b2

12 Apr 05:31
ddd7941
Compare
Choose a tag to compare
Pre-release

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

02 Apr 09:21
bc0faa3
Compare
Choose a tag to compare
Pre-release

9.2.0b3 (2025-04-02)

Features Added

  • Client SearchManagementClient added operation group offerings
  • Model SearchService added property system_data
  • Model SearchService added property endpoint
  • Model SearchService added property compute_type
  • Model SearchService added property upgrade_available
  • Model SearchService added property service_upgrade_date
  • Model SearchServiceUpdate added property system_data
  • Model SearchServiceUpdate added property endpoint
  • Model SearchServiceUpdate added property compute_type
  • Model SearchServiceUpdate added property upgrade_available
  • Model SearchServiceUpdate added property service_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 method begin_upgrade
  • Added operation group OfferingsOperations

azure-ai-evaluation_1.4.0

01 Apr 23:09
21d868d
Compare
Choose a tag to compare

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)
  • 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

02 Apr 01:52
a31440d
Compare
Choose a tag to compare
Pre-release

1.0.0b1 (2025-03-31)

Other Changes

  • Initial version

azure-mgmt-hybridconnectivity_2.0.0b1

01 Apr 09:39
0c603b1
Compare
Choose a tag to compare
Pre-release

2.0.0b1 (2025-04-01)

Features Added

  • Client HybridConnectivityMgmtClient added operation group generate_aws_template
  • Client HybridConnectivityMgmtClient added operation group public_cloud_connectors
  • Client HybridConnectivityMgmtClient added operation group solution_configurations
  • Client HybridConnectivityMgmtClient added operation group inventory
  • Client HybridConnectivityMgmtClient added operation group solution_types
  • Model ServiceConfigurationResource added property properties
  • 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 variable namespace_name
  • Model EndpointAccessResource deleted or renamed its instance variable namespace_name_suffix
  • Model EndpointAccessResource deleted or renamed its instance variable hybrid_connection_name
  • Model EndpointAccessResource deleted or renamed its instance variable access_key
  • Model EndpointAccessResource deleted or renamed its instance variable expires_on
  • Model EndpointAccessResource deleted or renamed its instance variable service_configuration_token
  • Model IngressGatewayResource deleted or renamed its instance variable hostname
  • Model IngressGatewayResource deleted or renamed its instance variable server_id
  • Model IngressGatewayResource deleted or renamed its instance variable tenant_id
  • Model IngressGatewayResource deleted or renamed its instance variable namespace_name
  • Model IngressGatewayResource deleted or renamed its instance variable namespace_name_suffix
  • Model IngressGatewayResource deleted or renamed its instance variable hybrid_connection_name
  • Model IngressGatewayResource deleted or renamed its instance variable access_key
  • Model IngressGatewayResource deleted or renamed its instance variable expires_on
  • Model IngressGatewayResource deleted or renamed its instance variable service_configuration_token
  • Model ServiceConfigurationResource deleted or renamed its instance variable service_name
  • Model ServiceConfigurationResource deleted or renamed its instance variable resource_id
  • Model ServiceConfigurationResource deleted or renamed its instance variable port
  • Model ServiceConfigurationResource deleted or renamed its instance variable provisioning_state
  • Model ServiceConfigurationResourcePatch deleted or renamed its instance variable port
  • Deleted or renamed model EndpointsList
  • Deleted or renamed model ServiceConfigurationList
  • Parameter expiresin of method EndpointsOperations.list_credentials is now required
  • Parameter expiresinof method EndpointsOperations.list_ingress_gateway_credentials is now required

azure-mgmt-edgezones_1.0.0b2

01 Apr 09:43
b87fc53
Compare
Choose a tag to compare
Pre-release

1.0.0b2 (2025-04-01)

Other Changes

  • regular release