Skip to content

Commit a7f40d9

Browse files
committed
Prepare 2.6.0 release
1 parent b1ad4b1 commit a7f40d9

File tree

3 files changed

+56
-6
lines changed

3 files changed

+56
-6
lines changed

CHANGELOG.md

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

3-
## 2.6.0-beta.1 (Unreleased)
3+
## 2.6.0 (2025-10-31)
44

55
### Acknowledgments
66

@@ -12,11 +12,61 @@ Thank you to our developer community members who helped to make the OpenAI clien
1212
### Features Added
1313

1414
- OpenAI.Chat:
15-
- Added the `Minimal` property to `ChatReasoningEffortLevel`_(A community contribution, courtesy of [kurnakovv](https://github.com/kurnakovv))_
15+
- Added the `Minimal` property to `ChatReasoningEffortLevel`. _(A community contribution, courtesy of [kurnakovv](https://github.com/kurnakovv))_
16+
- Added support for System.Client.Model's `JsonPatch`, which enables users to get and set additional properties in response and request payloads.
17+
- See the following examples for more information:
18+
- [AdditionalProperties](https://github.com/openai/openai-dotnet/blob/main/examples/Chat/Example10_AdditionalProperties.cs)
19+
- [AdditionalPropertiesAsync](https://github.com/openai/openai-dotnet/blob/main/examples/Chat/Example10_AdditionalPropertiesAsync.cs)
20+
- Go to the OpenAI.Responses section in this changelog for more examples that can be extrapolated to Chat.
21+
- OpenAI.Conversations:
22+
- Introduced the new `ConversationClient` to support the Conversations API with protocol methods for the following operations:
23+
- `CreateConversation` and `CreateConversationAsync`
24+
- `CreateConversationItems` and `CreateConversationItemsAsync`
25+
- `DeleteConversation` and `DeleteConversationAsync`
26+
- `DeleteConversationItem` and `DeleteConversationItemAsync`
27+
- `GetConversation` and `GetConversationAsync`
28+
- `GetConversationItems` and `GetConversationItemsAsync`
29+
- `UpdateConversation` and `UpdateConversationAsync`
30+
- OpenAI.Embeddings:
31+
- Added support for System.Client.Model's `JsonPatch`, which enables users to get and set additional properties in response and request payloads.
32+
- Go to the OpenAI.Chat and OpenAI.Responses section in this changelog for examples that can be extrapolated to Embeddings.
33+
- OpenAI.Responses:
34+
- Added the `Minimal` property to `ResponseReasoningEffortLevel`. _(A community contribution, courtesy of [kurnakovv](https://github.com/kurnakovv))_
35+
- Added the `Model` property to `OpenAIResponseClient`. _(A community contribution, courtesy of [BenjaminDavidPinter](https://github.com/BenjaminDavidPinter))_
36+
- Added the `ContainerFileCitationMessageAnnotation` class which is derived from `ResponseMessageAnnotation` and is used to cite files in the container of the Code Interpreter tool.
37+
- Enabled support for the Image Generation tool, which can be used to generate images using models like `gpt-image-1`.
38+
- Users can add the new `ImageGenerationTool` to the `Tools` property of their `ResponseCreationOptions` and configure it using properties such as `Background`, `Quality`, `Size`, and more.
39+
- Added support for System.Client.Model's `JsonPatch`, which enables users to get and set additional properties in response and request payloads.
40+
- See the following examples for more information:
41+
- [InputAdditionalProperties](https://github.com/openai/openai-dotnet/blob/main/examples/Responses/Example07_InputAdditionalProperties.cs)
42+
- [InputAdditionalPropertiesAsync](https://github.com/openai/openai-dotnet/blob/main/examples/Responses/Example07_InputAdditionalPropertiesAsync.cs)
43+
- [OutputAdditionalProperties](https://github.com/openai/openai-dotnet/blob/main/examples/Responses/Example08_OutputAdditionalProperties.cs)
44+
- [OutputAdditionalPropertiesAsync](https://github.com/openai/openai-dotnet/blob/main/examples/Responses/Example08_OutputAdditionalPropertiesAsync.cs)
45+
- [ModelOverridePerRequest](https://github.com/openai/openai-dotnet/blob/main/examples/Responses/Example09_ModelOverridePerRequest.cs)
46+
- [ModelOverridePerRequestAsync](https://github.com/openai/openai-dotnet/blob/main/examples/Responses/Example09_ModelOverridePerRequestAsync.cs)
47+
- Go to the OpenAI.Chat section for more examples that can be extrapolated to Responses.
48+
- OpenAI.Videos:
49+
- Introduced the new `VideoClient` to support the Videos API with protocol methods for the following operations:
50+
- `CreateVideo` and `CreateVideoAsync`
51+
- `CreateVideoRemix` and `GetVideoRemixAsync`
52+
- `DeleteVideo` and `DeleteVideoAsync`
53+
- `DownloadVideo` and `DownloadVideoAsync`
54+
- `GetVideo` and `GetVideoAsync`
55+
- `GetVideos` and `GetVideosAsync`
56+
57+
### Bugs Fixed
58+
59+
- OpenAI.Audio:
60+
- Added the explicit conversion operators from `ClientResult` that were missing in the `AudioTranscription` and `AudioTranslation` classes.
61+
- OpenAI.Chat:
62+
- Added the `ContentParts` property that was missing in the `ChatCompletionMessageListDatum` class.
1663

64+
### Breaking Changes in Preview APIs
65+
66+
- OpenAI.Containers:
67+
- Renamed the `GetContainerFileContent` and `GetContainerFileContentAsync` methods of `ContainerClient` to `DownloadContainerFile` and `DownloadContainerFileAsync`.
1768
- OpenAI.Responses:
18-
- Added the `Minimal` property to `ResponseReasoningEffortLevel` _(A community contribution, courtesy of [kurnakovv](https://github.com/kurnakovv))_
19-
- Added the `Model` property to `OpenAIResponseClient` _(A community contribution, courtesy of [BenjaminDavidPinter](https://github.com/BenjaminDavidPinter))_
69+
- Removed the duplicated `GetInputItems` and `GetInputItemsAsync` methods of the `OpenAIResponseClient` in favor of the existing `GetResponseInputItems` and `GetResponseInputItemsAsync` methods.
2070

2171
## 2.5.0 (2025-09-23)
2272

scripts/Test-ApiCompatibility.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,5 +177,5 @@ $experimentalNamespaces = @(
177177
Invoke-APICompat -ProjectPath $projectPath `
178178
-ReleasePath $releasePath `
179179
-PackageName "OpenAI" `
180-
-BaselineVersion "2.4.0" `
180+
-BaselineVersion "2.5.0" `
181181
-IgnoredNamespaces $experimentalNamespaces

src/OpenAI.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<PackageLicenseExpression>MIT</PackageLicenseExpression>
99
<Copyright>Copyright (c) 2024 OpenAI (https://openai.com)</Copyright>
1010

11-
<VersionPrefix>2.5.0</VersionPrefix>
11+
<VersionPrefix>2.6.0</VersionPrefix>
1212
<VersionSuffix></VersionSuffix>
1313

1414
<TargetFrameworks>net8.0;netstandard2.0</TargetFrameworks>

0 commit comments

Comments
 (0)