Skip to content

Commit 8639c48

Browse files
authored
Prepare 2.8.0 release (#872)
1 parent 0e654eb commit 8639c48

File tree

3 files changed

+23
-7
lines changed

3 files changed

+23
-7
lines changed

CHANGELOG.md

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

3-
## 2.8.0 (Unreleased)
4-
5-
### Acknowledgments
3+
## 2.8.0 (2025-12-11)
64

75
### Features Added
86

9-
### Bugs Fixed
7+
- OpenAI.Chat:
8+
- Added the `SafetyIdentifier` property to `ChatCompletionOptions`, which enables users to specify a stable identifier that can be used to help detect end-users of their application that may be violating OpenAI's usage policies.
9+
- OpenAI.Responses:
10+
- Added the `SafetyIdentifier` property to `CreateResponseOptions` and `ResponseResult`, which enables users to specify a stable identifier that can be used to help detect end-users of their application that may be violating OpenAI's usage policies.
11+
- Added the `ConversationOptions` property to `CreateResponseOptions` and `ResponseResult`, which enables users to automatically manage the state of a conversation in a multi-turn interaction by persisting state and sharing context across subsequent responses, rather than having to chain multiple response items together.
12+
- Added the `MaxToolCallCount` property to `CreateResponseOptions` and `ResponseResult`, which enables users to set the maximum number of total calls to built-in tools that can be processed in a response. This maximum number applies across all built-in tool calls, not per individual tool. Any further attempts to call a tool by the model will be ignored.
13+
- Added the `TopLogProbabilityCount` property to `CreateResponseOptions` and `ResponseResult`, which enables users to specify the number of most likely tokens to return at each token position, each with an associated log probability.
14+
- Added the `IncludedProperties` property to `CreateResponseOptions`, which enables users to specify additional output data to be included in the model response.
15+
- Added a setter to the `Id` property of `ResponseItem`.
16+
- Added a setter to the `Status` property of the types derived from `ResponseItem`.
1017

11-
### Other Changes
18+
### Breaking Changes in Preview APIs
19+
20+
- OpenAI.Responses:
21+
- Until now, this feature area has been marked as experimental via the `[Experimental]` attribute. As we prepare to stabilize it and remove its experimental designation, we are cleaning up the APIs to better align them with the service REST APIs, as well as to offer more flexibility and improve usability. See our [examples](https://github.com/openai/openai-dotnet/tree/main/examples/Responses) for helpful references on how to use the updated APIs.
22+
- The `OpenAIResponseClient` class has been renamed to `ResponsesClient`.
23+
- The `ResponseCreationOptions` class has been renamedto `CreateResponseOptions`.
24+
- The `OpenAIResponse` class has been renamed to `ResponseResult`.
25+
- When calling the `CreateResponse`, `CreateResponseAsync`, `CreateResponseStreaming` and `CreateResponseStreamingAsync` methods of the `ResponsesClient` with a `CreateResponseOptions` argument, the input items must now be specified via the new `InputItems` property of `CreateResponseOptions`.
26+
- When calling the `CreateResponseStreaming` and `CreateResponseStreamingAsync` methods of the `ResponsesClient` with a `CreateResponseOptions` argument, the `StreamingEnabled` property of `CreateResponseOptions` must be set to `true`.
27+
- The `OpenAIResponsesModelFactory` class used for mocking output models (e.g., `ResponseResult`, `ResponseTokenUsage`, etc.) has been removed in favor of adding setters to the properties of these models.
1228

1329
## 2.7.0 (2025-11-13)
1430

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.6.0" `
180+
-BaselineVersion "2.7.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.7.0</VersionPrefix>
11+
<VersionPrefix>2.8.0</VersionPrefix>
1212
<VersionSuffix></VersionSuffix>
1313

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

0 commit comments

Comments
 (0)