> 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.58.0

**`(feat):`** 支持通过 IR 中的 `usernameOmit` 或 `passwordOmit` 配置，从基础身份验证中省略用户名或密码。省略的字段将从 SDK 的公共 API 中移除，并在内部视为空字符串处理（例如，省略密码编码为 `username:`，省略用户名编码为 `:password`）。当两者都省略时，Authorization 头将完全跳过。

## 2.56.6

**`(fix):`** 确保额外依赖项覆盖优先于捆绑的依赖项版本，防止在生成的 .csproj 文件中出现重复的 PackageReference 条目。

## 2.56.5

**`(fix):`** 修复模拟服务器测试生成，对于内联请求体中的非可空属性，省略 null 值，以匹配 SDK 的 JsonIgnoreCondition.WhenWritingNull 序列化行为。当 enableExplicitNullableOptional 被禁用时（默认），所有 null 值现在都会无条件地从预期的请求 JSON 中省略。

**`(fix):`** 修复当 generatePaginatedClients 被禁用时，分页测试构建错误 (CS8411)。测试生成器现在在发出 `await foreach` 代码之前检查配置标志，防止尝试迭代不实现 IAsyncEnumerable 的普通响应类型。