Releases: Azure/azure-sdk-for-net
Azure.AI.OpenAI_2.1.0
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-21API version brings GA AOAI support for streaming token usage in chat completions;Usageis now automatically populated inStreamingChatCompletionUpdateinstances.- Note 1: this feature is not yet compatible when using On Your Data features (after invoking the
.AddDataSource()extension method onChatCompletionOptions) - Note 2: this feature is not yet compatible when using image input (a
ChatMessageContentPartofKindImage)
- Note 1: this feature is not yet compatible when using On Your Data features (after invoking the
- [GA] The
AllowParalllelToolCallsproperty onChatCompletionOptions, which can be set tofalseto 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-previewando1-minimodels,max_completion_tokensmay now be configured by calling the[Experimental] SetNewMaxCompletionTokensPropertyEnabled()extension method onChatCompletionOptions.- This extension method will be removed in a future service API version, when it becomes unnecessary once all models support the
max_completion_tokensproperty
- This extension method will be removed in a future service API version, when it becomes unnecessary once all models support the
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'sGetOpenAIFileClient()will now return a valid, configured instance ofFileClientthat supports uploading files withFileUploadPurpose.Batch. This can be used to upload the contents of a valid.jsonlfile for batch processing.AzureOpenAIClient'sGetBatchClient()will now return a valid, configured instance ofBatchClientthat can produce aCreateBatchOperationgiven an uploaded file ID using protocol methods.- Strongly typed convenience surfaces for
BatchClientwill 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)onAzureOpenAIClientis removed, as the Azure OpenAI batch API now aligns with OpenAI's in not using a deployment-based request URI path. Please useGetBatchClient(), instead.[Expermental]theUriproperty of typeSystem.UriinChatCitationandChatRetrivedDocumenthas been replaced by aUrlproperty of typestring. 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
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
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
JsonModelWriteCorefor 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
1.1.0-beta.1 (2024-12-02)
Features Added
- Upgraded api-version tag from 'package-preview-2024-05' to 'package-preview-2024-07'. Tag detail available at https://github.com/Azure/azure-rest-api-specs/blob/0f300277e21972f20b32ffbff96180217875909b/specification/hybridcompute/resource-manager/readme.md.
- Added license profile operations for hybrid machine
- Added gateway and settings operations for hybrid machine
Azure.ResourceManager.ServiceBus_1.1.0
1.1.0 (2024-11-30)
Features Added
- Upgraded api-version tag from 'package-2022-01-preview' to 'package-2024-01'. Tag detail available at https://github.com/Azure/azure-rest-api-specs/blob/cfe266748ace6a5775d0d23ecbc654741d91958b/specification/servicebus/resource-manager/readme.md.
- Exposed
JsonModelWriteCorefor model serialization procedure.
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
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
1.9.0 (2024-11-26)
Other Changes
- Updated dependency
Microsoft.Extensions.DependencyInjection.Abstractionsto version8.0.2 - Updated dependency
Microsoft.Bcl.AsyncInterfacesto version8.0.0
Azure.Extensions.AspNetCore.DataProtection.Keys_1.3.0
1.3.0 (2024-11-26)
Other Changes
- Updated dependency
Microsoft.Extensions.DependencyInjectionto version8.0.11 - Updated dependency
Microsoft.Bcl.AsyncInterfacesto version8.0.0
Azure.Extensions.AspNetCore.DataProtection.Blobs_1.4.0
1.4.0 (2024-11-26)
Other Changes
- Updated dependency
Microsoft.Extensions.DependencyInjectionto version8.0.11 - Updated dependency
Microsoft.Bcl.AsyncInterfacesto version8.0.0
Azure.ResourceManager.Maps_1.1.0
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
JsonModelWriteCorefor model serialization procedure.