Skip to content

Releases: Azure/azure-sdk-for-net

Azure.AI.OpenAI_2.1.0

06 Dec 23:04
d8847b2

Choose a tag to compare

2.1.0 (2024-12-05)

This GA library release aligns functionality with the latest 2024-10-21 stable service API label.

Note

For consistency and reliability, GA releases of the Azure.AI.OpenAI library will always map to stable Azure OpenAI service API versions. Because stable service API versions omit volatile surfaces such as beta features, GA library releases will also not contain the full set of preview functionality. To use beta and preview features, please use the latest prerelease version of the library.

Features Added

Chat

  • [GA] The 2024-10-21 API version brings GA AOAI support for streaming token usage in chat completions; Usage is now automatically populated in StreamingChatCompletionUpdate instances.
    • Note 1: this feature is not yet compatible when using On Your Data features (after invoking the .AddDataSource() extension method on ChatCompletionOptions)
    • Note 2: this feature is not yet compatible when using image input (a ChatMessageContentPart of Kind Image)
  • [GA] The AllowParalllelToolCalls property on ChatCompletionOptions, which can be set to false to disable the invocation of multiple tools on a single chat completion response, is now supported.
  • [GA] Structured outputs, via the use of ChatResponseFormat.CreateJsonSchemaFormat(), is now supported.
  • When using o1-preview and o1-mini models, max_completion_tokens may now be configured by calling the [Experimental] SetNewMaxCompletionTokensPropertyEnabled() extension method on ChatCompletionOptions.
    • This extension method will be removed in a future service API version, when it becomes unnecessary once all models support the max_completion_tokens property

Batch

The 2024-10-21 service API label introduces stable support for batch chat completions to Azure OpenAI. This library release exposes low-level support for batch:

  • AzureOpenAIClient's GetOpenAIFileClient() will now return a valid, configured instance of FileClient that supports uploading files with FileUploadPurpose.Batch. This can be used to upload the contents of a valid .jsonl file for batch processing.
  • AzureOpenAIClient's GetBatchClient() will now return a valid, configured instance of BatchClient that can produce a CreateBatchOperation given an uploaded file ID using protocol methods.
  • Strongly typed convenience surfaces for BatchClient will arrive in a future update.

Breaking Changes

Note

GA library releases only permit breaking changes to items marked with an [Experimental] attribute and these changes will be minimized whenever possible.

  • [Experimental] GetBatchClient(string deploymentName) on AzureOpenAIClient is removed, as the Azure OpenAI batch API now aligns with OpenAI's in not using a deployment-based request URI path. Please use GetBatchClient(), instead.
  • [Expermental] the Uri property of type System.Uri in ChatCitation and ChatRetrivedDocument has been replaced by a Url property of type string. This contains the same information but properly handles document paths that don't conform to a valid RFC 3986 identifier.

Azure.Monitor.Query_1.6.0

03 Dec 22:42
68e212d

Choose a tag to compare

1.6.0 (2024-12-03)

Features Added

  • Add 'StartTime' and 'EndTime' parameters to 'MetricsQueryResourcesOptions' to allow for querying a specific time range

Bugs Fixed

  • Fix bug in 'MetricsClient' QueryResourceAsync method where the 'QueryTimeRange' parameter was incorrectly set

Azure.ResourceManager.NetworkCloud_1.1.0-beta.1

03 Dec 09:12
b1b1e2e

Choose a tag to compare

1.1.0-beta.1 (2024-11-06)

Features Added

  • This SDK version supports 2024-06-01-preview API version.
  • ClusterManager resource supports system-assigned and user-assigned identities.
  • Cluster resource supports system-assigned and user-assigned identities.
  • Cluster resource supports version update with the pause and a new command to continue the update. ClusterDetailedStatus got a new value "UpdatePaused" to represent Cluster update status being paused.
  • Cluster resource supports the new scan runtime command, and RuntimeProtectionEnforcementLevel got a new value "OnDemand".
  • ClusterConnectionStatus got a new value representing "Disconnected" status of the Cluster.
  • CommandOutputSettings is added to Cluster configuration for provisioning of a storage account used during BareMetalMachine command execution result download.
  • ClusterSecretArchive is added to configure a key vault for Cluster's secrets storage.
  • ClusterUpdateStrategy is added to support a rack pause during Cluster update.
  • KubernetesClusterFeature is added that enables managing addons for the KubernetesCluster.
  • AgentPoolUpgradeSettings is added that configures upgrade setting for the KubernetesCluster agent pool.
  • l2ServiceLoadBalancerConfiguration is added to support an alternative load balancer for the KubernetesCluster.
  • KubernetesCluster configuration is added to support additional upgrade settings drainTimeout and maxUnavailable for initial agent pools. The same configuration is added to the KubernetesCluster agentpool.
  • BareMetalMachine has new properties returned for the machine cluster version, machine roles, runtime protection status, and secret rotation status.
  • StorageAppliance has new properties returned for the appliance manifacturer, model, version, and secret rotation status.
  • KeySetUser has a new property containing a user principal name that can be set.
  • RackSkuProvisioningState got new values "Cancelled" and "Failed" to better represent its state.
  • NetworkCloudOperationStatusResult now exposes additional properties to get access for BareMetalMachine command execution result, such as, exitCode, outputHead, resultRef, and resultUri.
  • Enable the new model serialization by using the System.ClientModel, refer this document for more details.
  • Exposed JsonModelWriteCore for model serialization procedure.

Other Changes

  • A clarification is added to the descriptions throughout that memory and disk sizes are measured in gibibytes.
  • ServiceLoadBalancerBgpPeer has the following optional fields marked as deprecated: "holdTime" and "keepAliveTime". If defined, their values will be ignored.
  • For consistency with the API implementation, synchronous DELETE commands were removed and Location header is added to all PATCH update commands.

Azure.ResourceManager.HybridCompute_1.1.0-beta.1

02 Dec 07:01
ea16541

Choose a tag to compare

1.1.0-beta.1 (2024-12-02)

Features Added

Azure.ResourceManager.ServiceBus_1.1.0

29 Nov 09:19
7703a0a

Choose a tag to compare

1.1.0 (2024-11-30)

Features Added

Other Changes

  • Upgraded Azure.Core from 1.25.0 to 1.44.1
  • Upgraded Azure.ResourceManager from 1.2.0 to 1.13.0

Azure.Communication.Sms_1.1.0-beta.2

06 Dec 10:36

Choose a tag to compare

Pre-release

1.1.0-beta.2 (2024-12-10)

Features Added

  • Added support for Opt Out Management Api to:
    • Opt-out the recipient.
    • Opt-in the recipient.
    • Check if the recpient is opted-out or not.

Microsoft.Extensions.Azure_1.9.0

27 Nov 19:52
da290fa

Choose a tag to compare

1.9.0 (2024-11-26)

Other Changes

  • Updated dependency Microsoft.Extensions.DependencyInjection.Abstractions to version 8.0.2
  • Updated dependency Microsoft.Bcl.AsyncInterfaces to version 8.0.0

Azure.Extensions.AspNetCore.DataProtection.Keys_1.3.0

27 Nov 19:50
da290fa

Choose a tag to compare

1.3.0 (2024-11-26)

Other Changes

  • Updated dependency Microsoft.Extensions.DependencyInjection to version 8.0.11
  • Updated dependency Microsoft.Bcl.AsyncInterfaces to version 8.0.0

Azure.Extensions.AspNetCore.DataProtection.Blobs_1.4.0

27 Nov 19:50
da290fa

Choose a tag to compare

1.4.0 (2024-11-26)

Other Changes

  • Updated dependency Microsoft.Extensions.DependencyInjection to version 8.0.11
  • Updated dependency Microsoft.Bcl.AsyncInterfaces to version 8.0.0

Azure.ResourceManager.Maps_1.1.0

26 Nov 06:48
c2725ca

Choose a tag to compare

1.1.0 (2024-11-27)

Features Added

  • Upgrade Maps ARM API version to 2023-06-01
  • Enable the new model serialization by using the System.ClientModel, refer this document for more details.
  • Exposed JsonModelWriteCore for model serialization procedure.