Azure SDK for .NET (February 2024)
The Azure SDK team is pleased to announce our February 2024 client library releases.
29 packages released this month.
Stable Packages (9)
-
Confidential Ledger
-
OpenTelemetry AspNetCore
-
OpenTelemetry Exporter
-
Resource Management - App Configuration
-
Resource Management - Azure VMware Solution
-
Resource Management - ElasticSan
-
Resource Management - Hybrid Container Service
-
Resource Management - Networkanalytics
-
Resource Management - Redis
Patch Updates (2)
-
Resource Management - Resource Manager
-
Tables
Beta Packages (17)
-
Azure AI Search
-
AzureMonitor OpenTelemetry LiveMetrics
-
Communication Phone Numbers
-
Identity
-
Identity Broker
-
OpenAI Assistants
-
OpenAI Inference
-
OpenTelemetry Exporter
-
Resource Management - Compute
-
Resource Management - Data Factory
-
Resource Management - Largeinstance
-
Resource Management - Purview
-
Resource Management - SQL
-
Resource Management - Service Fabric
-
Resource Management - Service Fabric Managed Clusters
-
Resource Management - Storage Cache
-
System.ClientModel
Release highlights
Azure AI Search 11.6.0-beta.2 Changelog
Features Added
- Publicly exposed HttpPipeline for all search clients.
Bugs Fixed
- Removed the unintentional addition of the abstract keyword to the
KnowledgeStoreProjectionSelector
andKnowledgeStoreStorageProjectionSelector
types.
AzureMonitor OpenTelemetry LiveMetrics 1.0.0-beta.1 Changelog
- Initial release of Azure Monitor Live Metrics Exporter for OpenTelemetry .NET. This version includes metrics, performance counters, and Sample Telemetry. This version does not include Filtering.
This is a beta version, so breaking changes are possible in subsequent releases as we improve the product. To provide feedback, please submit an issue in our Azure SDK for .NET GitHub repo.
Communication Phone Numbers 1.3.0-beta.3 Changelog
Features Added
- Added support for API version
2023-10-01-preview
, This gives us functionality for Do Not Resell Consent Changes. - Users will now be able to purchase from countries like
IT
,AT
,FR
,NO
,PT
. They can do so by agreeing not to resell phone numbers by setting consentToNotResellNumbers to true. - Added support for 10DLC changes.
Confidential Ledger 1.3.0 Changelog
Features Added
- Added
VerifyConnection
property toConfidentialLedgerClientOptions
to allow the option to have a client connection without validating the service certificate.
Identity 1.11.0-beta.1 Changelog
Bugs Fixed
- Claims from the
TokenRequestContext
are now correctly sent through to MSAL inConfidentialClient
credentials. #40451. ManagedIdentityCredential
is more lenient with the error message it matches when falling through to the next credential in the chain in the case that Docker Desktop returns a 403 response when attempting to access the IMDS endpoint. #38218
Identity Broker 1.1.0-beta.1 Changelog
Features Added
InteractiveBrowserCredentialBrokerOptions
andSharedTokenCacheCredentialBrokerOptions
now support aUseOperatingSystemAccount
property to enable the use of the currently logged in operating system account for authentication rather than prompting for a credential.- Preview support for Proof of Possession (PoP) tokens for
InteractiveBrowserCredential
. This feature is enabled via theIsProofOfPossessionRequired
property onInteractiveBrowserCredentialBrokerOptions
.
OpenAI Assistants 1.0.0-beta.1 Changelog
Features Added
- This is the initial release of
Azure.AI.OpenAI.Assistants
. - Full support for OpenAI’s beta Assistants features is included; see OpenAI’s documentation for more: https://platform.openai.com/docs/assistants/overview
- Azure OpenAI does not yet feature an
/assistants
endpoint and this library will thus currently only work with theapi.openapi.com
endpoint. Stay tuned!
OpenAI Assistants 1.0.0-beta.2 Changelog
Breaking Changes
- Addressing a related bug,
RequiredFunctionToolCall
has a property replacement: - REMOVED:
Parameters
of typeBinaryData
- ADDED:
Arguments
of typestring
- For improved clarity, several types specific to the representation of tool call information in run steps have been renamed with a
RunStep
prefix, better differentiating from request-time tool definitions and model-provided required tool calls: ToolCall
is nowRunStepToolCall
FunctionToolCall
is nowRunStepFunctionToolCall
CodeInterpreterToolCall
is nowRunStepCodeInterpreterToolCall
CodeInterpreterToolCallOutput
is nowRunStepCodeInterpreterToolCallOutput
CodeInterpreterLogOutput
is nowRunStepCodeInterpreterToolCallOutput
CodeInterpreterImageOutput
is nowRunStepCodeInterpreterImageOutput
CodeInterpreterImageReference
is nowRunStepCodeInterpreterImageReference
RetrievalToolCall
is nowRunStepRetrievalToolCall
Bugs Fixed
- Function calls initiated by the model (when a run enters a RequiresAction status involving function tools) will now provide the intended JSON
Arguments
string corresponding to the earlierFunctionDefinition
’sParameters
. The latterParameters
was previously reused within the required action flow, effectively ignoring the properArguments
.
OpenAI Inference 1.0.0-beta.13 Changelog
Bugs Fixed
- Addressed an issue with the public constructor for
ChatCompletionsFunctionToolCall
that failed to set the tool call type in the corresponding request.
Breaking Changes
- Removed the setter of the
Functions
property of theChatCompletionsOptions
class as per the guidelines for collection properties.
OpenTelemetry AspNetCore 1.1.0 Changelog
Other Changes
- Removed the code of internal vendored instrumentation libraries
OpenTelemetry.Instrumentation.AspNetCore
andOpenTelemetry.Instrumentation.Http
. Previously users needed to manually add package references to these instrumentation libraries to apply any customizations. This will no longer be necessary. Now that these packages have released stable versions, we will directly reference those and users will be able to apply any customizations using the publicly available APIs. (#41395) - Update OpenTelemetry dependencies (41398)
- OpenTelemetry 1.7.0
- OpenTelemetry.Extensions.Hosting 1.7.0
- NEW: OpenTelemetry.Instrumentation.AspNetCore 1.7.0
- NEW: OpenTelemetry.Instrumentation.Http 1.7.0
OpenTelemetry Exporter 1.2.0 Changelog
Other Changes
- Update OpenTelemetry dependencies (41398)
- OpenTelemetry 1.7.0
OpenTelemetry Exporter 1.3.0-beta.1 Changelog
Bugs Fixed
-
Fixed an issue where
_OTELRESOURCE_
metrics were emitted with duplicated timestamps. This fix ensures accurate and distinct timestamping for all_OTELRESOURCE_
metrics. (#41761) -
Fixed an issue where tags associated with Exceptions were not being included. Now, tags linked to an
ActivityEvent
following the otel convention for storing exception are correctly exported as Custom Properties. (#41767)
Resource Management - App Configuration 1.2.0 Changelog
Resource Management - Azure VMware Solution 1.3.0 Changelog
Resource Management - Compute 1.4.0-beta.1 Changelog
Resource Management - Data Factory 1.0.0-beta.6 Changelog
Resource Management - ElasticSan 1.0.0 Changelog
Resource Management - Hybrid Container Service 1.0.0 Changelog
Resource Management - Largeinstance 1.0.0-beta.1 Changelog
Resource Management - Networkanalytics 1.0.0 Changelog
Resource Management - Purview 1.2.0-beta.1 Changelog
Resource Management - Redis 1.3.0 Changelog
Resource Management - Resource Manager 1.10.1 Changelog
Resource Management - SQL 1.3.0-beta.5 Changelog
Resource Management - Service Fabric 1.2.0-beta.1 Changelog
Resource Management - Service Fabric Managed Clusters 1.1.0-beta.4 Changelog
Resource Management - Storage Cache 1.3.0-beta.1 Changelog
System.ClientModel 1.1.0-beta.1 Changelog
Features Added
- Initial preview release of convenience types in the System.ClientModel namespace, including
ClientResult<T>
,KeyCredential
, andClientResultException
. - Initial preview release of pipeline types, including
ClientPipeline
,PipelinePolicy
, andPipelineMessage
.
Tables 12.8.3 Changelog
Bugs Fixed
TableEntity
string properties will correctly handle type coercion fromDateTime
andDateTimeOffset
types. (#40775)- Fixed an error handling bug that could result in an
ArgumentNullException
when callingCreateIfNotExistsAsync
. (#41463)
Latest Releases
View all the latest versions of .NET packages here.
Installation Instructions
To install any of our packages, please search for them via Manage NuGet Packages...
in Visual Studio (with Include prerelease
checked) or copy these commands into your terminal:
$> dotnet add package Azure.AI.OpenAI --version 1.0.0-beta.13
$> dotnet add package Azure.AI.OpenAI.Assistants --version 1.0.0-beta.1
$> dotnet add package Azure.AI.OpenAI.Assistants --version 1.0.0-beta.2
$> dotnet add package Azure.Communication.PhoneNumbers --version 1.3.0-beta.3
$> dotnet add package Azure.Data.Tables --version 12.8.3
$> dotnet add package Azure.Identity --version 1.11.0-beta.1
$> dotnet add package Azure.Identity.Broker --version 1.1.0-beta.1
$> dotnet add package Azure.Monitor.OpenTelemetry.AspNetCore --version 1.1.0
$> dotnet add package Azure.Monitor.OpenTelemetry.Exporter --version 1.2.0
$> dotnet add package Azure.Monitor.OpenTelemetry.Exporter --version 1.3.0-beta.1
$> dotnet add package Azure.Monitor.OpenTelemetry.LiveMetrics --version 1.0.0-beta.1
$> dotnet add package Azure.ResourceManager --version 1.10.1
$> dotnet add package Azure.ResourceManager.AppConfiguration --version 1.2.0
$> dotnet add package Azure.ResourceManager.Avs --version 1.3.0
$> dotnet add package Azure.ResourceManager.Compute --version 1.4.0-beta.1
$> dotnet add package Azure.ResourceManager.DataFactory --version 1.0.0-beta.6
$> dotnet add package Azure.ResourceManager.ElasticSan --version 1.0.0
$> dotnet add package Azure.ResourceManager.HybridContainerService --version 1.0.0
$> dotnet add package Azure.ResourceManager.LargeInstance --version 1.0.0-beta.1
$> dotnet add package Azure.ResourceManager.NetworkAnalytics --version 1.0.0
$> dotnet add package Azure.ResourceManager.Purview --version 1.2.0-beta.1
$> dotnet add package Azure.ResourceManager.Redis --version 1.3.0
$> dotnet add package Azure.ResourceManager.ServiceFabric --version 1.2.0-beta.1
$> dotnet add package Azure.ResourceManager.ServiceFabricManagedClusters --version 1.1.0-beta.4
$> dotnet add package Azure.ResourceManager.Sql --version 1.3.0-beta.5
$> dotnet add package Azure.ResourceManager.StorageCache --version 1.3.0-beta.1
$> dotnet add package Azure.Search.Documents --version 11.6.0-beta.2
$> dotnet add package Azure.Security.ConfidentialLedger --version 1.3.0
$> dotnet add package System.ClientModel --version 1.1.0-beta.1
Feedback
If you have a bug or feature request for one of the libraries, please file an issue in our repo.