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

## 1.1.8

**`(fix):`** 支持使用 `AuthSchemesRequirement.Any` 的多个 Basic Auth 方案。当 API 定义多个基本认证方案时（例如 accountId/authToken 和 apiKey/apiKeySecret），生成的客户端现在产生条件 if/elsif 块，检查提供了哪个凭据对并相应地设置 Authorization 请求头。以前只使用第一个基本认证方案。

## 1.1.7

**`(fix):`** 为使用 Basic Auth 的 API 添加显式的 `base64` gem 依赖。当 API 定义包含基本认证方案时，gemspec 现在条件性地包含 `spec.add_dependency "base64"`，确保生成的客户端中的 `Base64.strict_encode64` 调用在所有 `base64` 为捆绑 gem 的 Ruby 版本上都能工作。