Skip to content

Commit e78c603

Browse files
authored
Update CHANGELOGs for next release (#5911)
* Update CHANGELOGs for next release * Apply suggestions from code review
1 parent 06c431c commit e78c603

File tree

5 files changed

+39
-0
lines changed

5 files changed

+39
-0
lines changed

src/Libraries/Microsoft.Extensions.AI.Abstractions/CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,25 @@
11
# Release History
22

3+
## 9.3.0-preview.1.25114.11
4+
5+
- Renamed `IChatClient.Complete{Streaming}Async` to `IChatClient.Get{Streaming}ResponseAsync`. This is to avoid confusion with "Complete" being about stopping an operation, as well as to avoid tying the methods to a particular implementation detail of how responses are generated. Along with this, renamed `ChatCompletion` to `ChatResponse`, `StreamingChatCompletionUpdate` to `ChatResponseUpdate`, `CompletionId` to `ResponseId`, `ToStreamingChatCompletionUpdates` to `ToChatResponseUpdates`, and `ToChatCompletion{Async}` to `ToChatResponse{Async}`.
6+
- Removed `IChatClient.Metadata` and `IEmbeddingGenerator.Metadata`. The `GetService` method may be used to retrieve `ChatClientMetadata` and `EmbeddingGeneratorMetadata`, respectively.
7+
- Added overloads of `Get{Streaming}ResponseAsync` that accept a single `ChatMessage` (in addition to the other overloads that accept a `List<ChatMessage>` or a `string`).
8+
- Added `ChatThreadId` properties to `ChatOptions`, `ChatResponse`, and `ChatResponseUpdate`. `IChatClient` can now be used in both stateful and stateless modes of operation, such as with agents that maintain server-side chat history.
9+
- Made `ChatOptions.ToolMode` nullable and added a `None` option.
10+
- Changed `UsageDetails`'s properties from `int?` to `long?`.
11+
- Removed `DataContent.ContainsData`; `DataContent.Data.HasValue` may be used instead.
12+
- Removed `ImageContent` and `AudioContent`; the base `DataContent` should now be used instead, with a new `DataContent.MediaTypeStartsWith` helper for routing based on media type.
13+
- Removed setters on `FunctionCallContent` and `FunctionResultContent` properties where the value is supplied to the constructor.
14+
- Removed `FunctionResultContent.Name`.
15+
- Augmented the base `AITool` with `Name`, `Description`, and `AdditionalProperties` virtual properties.
16+
- Added a `CodeInterpreterTool` for use with services that support server-side code execution.
17+
- Changed `AIFunction`'s schema representation to be for the whole function rather than per parameter, and exposed corresponding methods on `AIJsonUtilities`, e.g. `CreateFunctionJsonSchema`.
18+
- Removed `AIFunctionParameterMetadata` and `AIFunctionReturnParameterMetadata` classes and corresponding properties on `AIFunction` and `AIFunctionFactoryCreateOptions`, replacing them with a `MethodInfo?`. All relevant metadata, such as the JSON schema for the function, are moved to properties directly on `AIFunction`.
19+
- Renamed `AIFunctionFactoryCreateOptions` to `AIFunctionFactoryOptions` and made all its properties nullable.
20+
- Changed `AIJsonUtilities.DefaultOptions` to use relaxed JSON escaping.
21+
- Made `IEmbeddingGenerator<TInput, TEmbedding>` contravariant on `TInput`.
22+
323
## 9.1.0-preview.1.25064.3
424

525
- Added `AdditionalPropertiesDictionary<TValue>` and changed `UsageDetails.AdditionalProperties` to be named `AdditionalCounts` and to be of type `AdditionalPropertiesDictionary<long>`.

src/Libraries/Microsoft.Extensions.AI.AzureAIInference/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release History
22

3+
## 9.3.0-preview.1.25114.11
4+
5+
- Updated to use Azure.AI.Inference 1.0.0-beta.3, adding support for structured output and audio input.
6+
37
## 9.1.0-preview.1.25064.3
48

59
- Fixed handling of text-only user messages.

src/Libraries/Microsoft.Extensions.AI.Ollama/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Release History
22

3+
## 9.3.0-preview.1.25114.11
4+
5+
- Ensures that all yielded `ChatResponseUpdates` include a `ResponseId`.
6+
- Ensures that error HTTP status codes are correctly propagated as exceptions.
7+
38
## 9.1.0-preview.1.25064.3
49

510
- Added support for function calling when doing streaming operations.

src/Libraries/Microsoft.Extensions.AI.OpenAI/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Release History
22

3+
## 9.3.0-preview.1.25114.11
4+
5+
- Updated to depend on OpenAI 2.2.0-beta.1, updating with support for the Developer role, audio input and output, and additional options like output prediction. It is now also compatible with NativeAOT.
6+
- Added an `AsChatClient` extension method for OpenAI's `AssistantClient`, enabling `IChatClient` to be used with OpenAI Assistants.
7+
- Improved the OpenAI serialization helpers, including a custom converter for the `OpenAIChatCompletionRequest` envelope type.
8+
39
## 9.1.0-preview.1.25064.3
410

511
- Updated to depend on OpenAI 2.1.0.

src/Libraries/Microsoft.Extensions.AI/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release History
22

3+
## 9.3.0-preview.1.25114.11
4+
5+
- Updated `OpenTelemetryChatClient`/`OpenTelemetryEmbeddingGenerator` to conform to the latest 1.30.0 draft specification of the Semantic Conventions for Generative AI systems.
6+
37
## 9.1.0-preview.1.25064.3
48

59
- Added `FunctionInvokingChatClient.CurrentContext` to give functions access to detailed function invocation information.

0 commit comments

Comments
 (0)