Releases: Azure/azure-sdk-for-net
Azure.ResourceManager.Redis_1.5.0
1.5.0 (2024-12-18)
Features Added
- Exposed
JsonModelWriteCore
for model serialization procedure. - Adds support for choosing ZonalAllocationPolicy for your Azure Cache for Redis instance.
Azure.ResourceManager.PlaywrightTesting_1.0.0
1.0.0 (2024-12-18)
Features Added
- Upgraded api-version from '2023-10-01-preview' to '2024-12-01'. Spec detail available at https://github.com/Azure/azure-rest-api-specs/tree/c39acac0b3b7ceeee03b594a7b49c9bad6b8e9f2/specification/playwrighttesting/PlaywrightTesting.Management.
- Exposed
JsonModelWriteCore
for model serialization procedure.
Azure.AI.DocumentIntelligence_1.0.0
1.0.0 (2024-12-16)
Features Added
- Added methods
GetAnalyzeBatchResult
,GetAnalyzeBatchResults
,DeleteAnalyzeBatchResult
, andDeleteAnalyzeResult
toDocumentIntelligenceClient
. - Added class
AnalyzeBatchOperationDetails
to be used as the output of theGetAnalyzeBatchResult
andGetAnalyzeBatchResults
APIs. - Added overloads for the
AnalyzeDocument
API that take only required parameters. - Added property
ModifiedOn
toDocumentModelDetails
and toDocumentClassifierDetails
. - Added member
Skipped
toDocumentIntelligenceOperationStatus
(formerOperationStatus
). - Exposed
JsonModelWriteCore
for model serialization procedure.
Breaking Changes
- Replaced the following
Content
classes with new correspondingOptions
classes:AnalyzeBatchDocumentsContent
toAnalyzeBatchDocumentsOptions
.AnalyzeDocumentContent
toAnalyzeDocumentOptions
.AuthorizeClassifierCopyContent
toAuthorizeClassifierCopyOptions
.AuthorizeCopyContent
toAuthorizeModelCopyOptions
.BuildDocumentClassifierContent
toBuildClassifierOptions
.BuildDocumentModelContent
toBuildDocumentModelOptions
.ClassifyDocumentContent
toClassifyDocumentOptions
.ComposeDocumentModelContent
toComposeModelOptions
.- Parameters of the
AnalyzeBatchDocuments
,AnalyzeDocument
, andClassifyDocument
methods have been moved into their correspondingOptions
class.
- Updated parameter
resultId
of methodsGetAnalyzeResultPdf
andGetAnalyzeResultFigure
to take astring
instead of aGuid
. - Renamed all occurrences of property
UrlSource
toUriSource
. - Renamed all occurrences of properties
DocType
andDocTypes
toDocumentType
andDocumentTypes
, respectively. - In
DocumentField
, renamed propertiesType
andValueLong
toFieldType
andValueInt64
, respectively. - Renamed property
Type
toFieldType
inDocumentFieldSchema
. - Renamed class
AzureBlobContentSource
toBlobContentSource
. - Renamed class
AzureBlobFileListContentSource
toBlobFileListContentSource
. - Renamed all occurrences of properties
AzureBlobSource
andAzureBlobFileListSource
toBlobSource
andBlobFileListSource
, respectively. - Renamed all occurrences of property
ContainerUrl
toContainerUri
. - Renamed property
ResultContainerUrl
toResultContainerUri
inAnalyzeBatchDocumentsContent
. - Renamed class
AnalyzeBatchOperationDetail
toAnalyzeBatchResultDetails
. - In
AnalyzeBatchResultDetails
(formerAnalyzeBatchOperationDetail
), renamed propertiesSourceUrl
andResultUrl
toSourceUri
andResultUri
, respectively. - Removed member
Generative
fromDocumentBuildMode
. - Renamed member
StyleFonts
toFontStyling
inDocumentAnalysisFeature
. - In
ContentSourceKind
, renamed membersUrl
,Base64
,AzureBlob
, andAzureBlobFileList
toUri
,Bytes
,Blob
, andBlobFileList
, respectively. - Renamed all occurrences of property
ExpirationDateTime
toExpiresOn
. - Renamed method
GetResourceInfo
toGetResourceDetails
inDocumentIntelligenceAdministrationClient
. - Renamed class
ResourceDetails
toDocumentIntelligenceResourceDetails
. - Renamed type
ContentFormat
toDocumentContentFormat
. - Renamed class
OperationDetails
toDocumentIntelligenceOperationDetails
. - Renamed class
InnerError
toDocumentIntelligenceInnerError
. - Renamed class
CopyAuthorization
toModelCopyAuthorization
. - Renamed type
OperationStatus
toDocumentIntelligenceOperationStatus
. - Renamed property
Innererror
toInnerError
inDocumentIntelligenceError
. - Renamed property
InnerErrorObject
toInnerError
inDocumentIntelligenceInnerError
(former classInnerError
). - Removed member
Completed
fromDocumentIntelligenceOperationStatus
(formerOperationStatus
). - Removed type
StringIndexType
. - Removed property
StringIndexType
inAnalyzeResult
. - Updated property
Fields
inAnalyzedDocument
to be aDocumentFieldDictionary
instead of anIReadOnly<string, DocumentField>
. - Updated property
ValueDictionary
inDocumentField
to be aDocumentFieldDictionary
instead of anIReadOnly<string, DocumentField>
. - Made type
BoundingRegion
astruct
. - Made type
DocumentSpan
astruct
.
Bugs Fixed
- Fixed a bug where calling
Operation.Id
would sometimes return anInvalidOperationException
with message "The operation ID was not present in the service response.". - Calling
Operation.Id
in an operation returned from theAnalyzeBatchDocuments
andClassifyDocument
APIs won't throw aNotSupportedException
anymore.
Azure.AI.Projects_1.0.0-beta.2
1.0.0-beta.2 (2024-12-13)
Features Added
- Added
AzureFunctionToolDefinition
support to inform Agents about Azure Functions. - Added
OpenApiTool
for Agents, which creates and executes a REST function defined by an OpenAPI spec. - Add
parallelToolCalls
parameter toCreateRunRequest
,CreateRunAsync
,CreateRunStreaming
andCreateRunStreamingAsync
, which allows parallel tool execution for Agents.
Bugs Fixed
Azure.ResourceManager.Network_1.10.0-beta.1
1.10.0-beta.1 (2024-12-11)
Features Added
- Exposed
JsonModelWriteCore
for model serialization procedure. - Please use the properties in
LoadBalancingRuleData.Properties
to set the properties of the LoadBalancingRule, instead of using those properties at the root level ofLoadBalancingRuleData
class. - Please use the properties in
LoadBalancerInboundNatPool.Properties
to set the properties of the LoadBalancerInboundNatPool, instead of using those properties at the root level ofLoadBalancerInboundNatPool
class. - Added
LoadBalancingRuleProperties
which supportsAdditionalProperties
to send and receive private/internal properties supported by the service. - Added
LoadBalancerInboundNatPoolProperties
which supportsAdditionalProperties
to send and receive private/internal properties supported by the service.
Azure.ResourceManager.Compute_1.7.0-beta.2
1.7.0-beta.2 (2024-12-11)
Features Added
- Please use the properties in
VirtualMachineScaleSetData.Properties
to set the properties of the VMSS, instead of using those properties at the root level ofVirtualMachineScaleSetData
class. - Please use the properties in
VirtualMachineScaleSetPatch.Properties
to set the properties of the VMSS, instead of using those properties at the root level ofVirtualMachineScaleSetPatch
class. - Added
VirtualMachineScaleSetProperties
which supportsAdditionalProperties
to send and receive private/internal properties supported by the service. - Added
AdditionalProperties
toVirtualMachineSizeProperties
andVirtualMachineScaleSetUpgradePolicy
classes to support private/internal properties supported by the service.
Azure.Maps.TimeZones_1.0.0-beta.1
1.0.0-beta.1 (2024-12-10)
Features Added
- Initial release
Azure.Maps.Routing_1.0.0-beta.4
1.0.0-beta.4 (2024-12-10)
Bugs Fixed
- Fix deserialization error in
RouteMatrixResultResponse
when POST route matrix returns errors.
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-21
API version brings GA AOAI support for streaming token usage in chat completions;Usage
is now automatically populated inStreamingChatCompletionUpdate
instances.- 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
ChatMessageContentPart
ofKind
Image
)
- Note 1: this feature is not yet compatible when using On Your Data features (after invoking the
- [GA] The
AllowParalllelToolCalls
property onChatCompletionOptions
, which can be set tofalse
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
ando1-mini
models,max_completion_tokens
may 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_tokens
property
- 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 ofFileClient
that supports uploading files withFileUploadPurpose.Batch
. This can be used to upload the contents of a valid.jsonl
file for batch processing.AzureOpenAIClient
'sGetBatchClient()
will now return a valid, configured instance ofBatchClient
that can produce aCreateBatchOperation
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)
onAzureOpenAIClient
is 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]
theUri
property of typeSystem.Uri
inChatCitation
andChatRetrivedDocument
has been replaced by aUrl
property 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