Skip to content

Commit 06191fa

Browse files
authored
Prepare 2.2.0-beta.4 release (Part 3) (#380)
1 parent 86407c8 commit 06191fa

File tree

2 files changed

+24
-1
lines changed

2 files changed

+24
-1
lines changed

CHANGELOG.md

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

3+
## 2.2.0-beta.4 (2025-03-18)
4+
5+
- OpenAI.Chat:
6+
- Enabled support for file inputs. When using models with vision capabilities, you can now also provide PDF files as inputs, either as a file ID or as base64-encoded data. ([aaa924e](https://github.com/openai/openai-dotnet/commit/aaa924ecde1b2281257f26824fea038a3b1efe35))
7+
- Added the `CreateFilePart(string fileId)` and `CreateFilePart(BinaryData fileBytes, string fileBytesMediaType, string filename)` factory methods to `ChatMessageContentPart`.
8+
- OpenAI.Responses:
9+
- Added the `ResponseToolChoice` class to help specify which tool the model should select when generating a response. ([aaa924e](https://github.com/openai/openai-dotnet/commit/aaa924ecde1b2281257f26824fea038a3b1efe35))
10+
11+
### Breaking changes in Preview APIs
12+
13+
- OpenAI.Assistants:
14+
- Removed the default constructor and the use of the `required` keyword from the `FileSearchRankingOptions` and `FunctionToolDefinition` classes to align with the rest of the library. ([86407c8](https://github.com/openai/openai-dotnet/commit/86407c80b35271713b2d92c87943a0c7e025d28f))
15+
- OpenAI.RealtimeConversation:
16+
- Removed the default constructor and the use of the `required` keyword from the `ConversationFunctionTool` class to align with the rest of the library. ([86407c8](https://github.com/openai/openai-dotnet/commit/86407c80b35271713b2d92c87943a0c7e025d28f))
17+
- OpenAI.Responses:
18+
- Removed the `id` parameter from the factory methods of the `ResponseItem` class.
19+
- Renamed the `AllowParallelToolCalls` property of the `ResponseCreationOptions` and `OpenAIResponse` classes to `ParallelToolCallsEnabled`. ([aaa924e](https://github.com/openai/openai-dotnet/commit/aaa924ecde1b2281257f26824fea038a3b1efe35))
20+
- Changed the type of the `ToolChoice` property of the `ResponseCreationOptions` and `OpenAIResponse`classes from `BinaryData` to `ResponseToolChoice`. ([aaa924e](https://github.com/openai/openai-dotnet/commit/aaa924ecde1b2281257f26824fea038a3b1efe35))
21+
- Changed `MessageRole` from an "extensible enum" to a regular enum. ([aaa924e](https://github.com/openai/openai-dotnet/commit/aaa924ecde1b2281257f26824fea038a3b1efe35))
22+
- Refactored the `StreamingResponse*` classes. ([aaa924e](https://github.com/openai/openai-dotnet/commit/aaa924ecde1b2281257f26824fea038a3b1efe35))
23+
- OpenAI.VectorStores:
24+
- Removed the default constructor and the use of the `required` keyword from the `VectorStoreExpirationPolicy` class to align with the rest of the library. ([86407c8](https://github.com/openai/openai-dotnet/commit/86407c80b35271713b2d92c87943a0c7e025d28f))
25+
326
## 2.2.0-beta.3 (2025-03-11)
427

528
### Features Added

src/OpenAI.csproj

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

1111
<VersionPrefix>2.2.0</VersionPrefix>
12-
<VersionSuffix>beta.3</VersionSuffix>
12+
<VersionSuffix>beta.4</VersionSuffix>
1313

1414
<TargetFrameworks>net8.0;net6.0;netstandard2.0</TargetFrameworks>
1515
<LangVersion>latest</LangVersion>

0 commit comments

Comments
 (0)