Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
# Release History

## 2.5.0 (2025-09-23)

### Features Added

- OpenAI.Responses:
- Added the `Model` property to `OpenAIResponseClient`.
- Added the `ServiceDescription` property to `McpTool`.
- Enabled support for connectors, which are OpenAI-maintained MCP wrappers for popular services like Microsoft Outlook or Dropbox.
- Added the `ConnectorId` property to `McpTool`.
- Enabled support for authentication with remote MCP servers.
- Added the `AuthorizationToken` property to `McpTool`.

### Bugs Fixed

- OpenAI.Responses:
- Fixed an issue with the constructor of `McpToolCallApprovalRequestItem` not taking the item ID as a parameter. MCP approval requests are correlated to MCP approval responses using this ID, which implies that this ID should be required.
- Fixed an issue with some of the MCP-related `StreamingResponseUpdate` classes missing the `ItemId` and `OutputIndex` properties.

## 2.4.0 (2025-09-05)

### Features Added
Expand Down
1 change: 1 addition & 0 deletions api/OpenAI.net8.0.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4624,6 +4624,7 @@ public class CodeInterpreterCallResponseItem : ResponseItem, IJsonModel<CodeInte
protected override ResponseItem PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options);
protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options);
}
[Experimental("OPENAI001")]
public enum CodeInterpreterCallStatus {
InProgress = 0,
Interpreting = 1,
Expand Down
2 changes: 1 addition & 1 deletion scripts/Test-ApiCompatibility.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -177,5 +177,5 @@ $experimentalNamespaces = @(
Invoke-APICompat -ProjectPath $projectPath `
-ReleasePath $releasePath `
-PackageName "OpenAI" `
-BaselineVersion "2.3.0" `
-BaselineVersion "2.4.0" `
-IgnoredNamespaces $experimentalNamespaces
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
using System.Diagnostics.CodeAnalysis;

namespace OpenAI.Responses;

// CUSTOM: Renamed and made public. Recreated as CLR enum.
// CUSTOM:
// - Added Experimental attribute.
// - Renamed.
// - Recreated as CLR enum.
[Experimental("OPENAI001")]
[CodeGenType("CodeInterpreterToolCallItemResourceStatus")]
public enum CodeInterpreterCallStatus
{
Expand Down
2 changes: 1 addition & 1 deletion src/OpenAI.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<Copyright>Copyright (c) 2024 OpenAI (https://openai.com)</Copyright>

<VersionPrefix>2.4.0</VersionPrefix>
<VersionPrefix>2.5.0</VersionPrefix>
<VersionSuffix></VersionSuffix>

<TargetFrameworks>net8.0;netstandard2.0</TargetFrameworks>
Expand Down