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

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

## 2.3.1

**`(chore):`** 将模板引擎从 lodash 迁移到 Eta，以与其他生成器保持一致。

## 2.3.0

**`(feat):`** 添加 `maxRetries` 自定义配置选项，以覆盖失败请求的默认最大重试次数。
未指定时默认值仍为 2。