> This page is for SDK, version Legacy.
> For other versions, use one of these documentation indexes:
> - Current (default): https://buildwithfern.com/learn/sdks/current/llms.txt
> - Legacy: https://buildwithfern.com/learn/sdks/legacy/llms.txt

> For clean Markdown content of this page, append .md to this URL. For the complete documentation index, see https://buildwithfern.com/learn/llms.txt.

## 2.54.6

**`(chore):`** 升级生成的 C# SDK 测试项目中的测试基础设施 NuGet 包。这些是仅测试依赖项，不影响发布的 SDK。

* Microsoft.NET.Test.Sdk: 17.13.0 → 18.3.0
* NUnit: 4.3.2 → 4.5.1
* NUnit3TestAdapter: 5.0.0 → 6.2.0
* NUnit.Analyzers: 4.6.0 → 4.12.0
* coverlet.collector: 6.0.4 → 8.0.1
* WireMock.Net: 1.7.4 → 1.25.0

## 2.54.5

**`(chore):`** 升级生成的 C# SDK 中的 BCL/运行时 NuGet 包版本。所有包都保持在 9.x 系列中以兼容 net8.0。

* Portable.System.DateTimeOnly: 8.0.2 → 9.0.1
* System.Text.Json: 8.0.5 → 9.0.9 (传统 TFM 条件)
* Microsoft.Extensions.Logging.Abstractions: 8.0.2 → 9.0.13 (WebSocket)
* System.Threading.Channels: 8.0.0 → 9.0.13 (WebSocket)
* System.Net.ServerSentEvents: 9.0.9 → 9.0.14 (SSE)

## 2.54.4

**`(fix):`** 通过动态代码片段生成器传递端点 ID，以按端点区分生成的代码片段。

## 2.54.3

**`(fix):`** 修复 C# 动态代码片段使用内部客户端类名（`client-class-name`）而非导出的客户端类名（`exported-client-class-name`）的问题。当设置两个配置选项时（例如，`client-class-name: BasePayrocClient` 和 `exported-client-class-name: PayrocClient`），生成的代码片段现在在面向用户的代码中正确使用 `PayrocClient`。