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

## 3.19.0

**`(feat):`** 为 OAuth API 和多 URL 环境添加线路测试支持。线路测试现在：

* 通过每个测试的令牌排队正确模拟 OAuth 令牌端点
* 对 OAuth 认证的 API 使用 `.clientId()/.clientSecret()`
* 支持令牌端点所需的自定义 OAuth 头部（例如 `apiKey`）
* 为多 URL 环境 API 配置 `Environment.custom()` 构建器
* 处理允许响应中额外默认字段的灵活 JSON 比较

## 3.18.13

**`(fix):`** 暂时跳过 OAuth 和多 URL 环境 API 的线路测试生成。

## 3.18.12

**`(fix):`** 修复带有 `allow-multiple: true` 和可选类型的查询参数的 Java 动态代码片段。代码片段现在生成 `List<T>` 而不是 `List<Optional<T>>`，这与 SDK 构建器的便利重载匹配。

## 3.18.11

**`(fix):`** 修复动态代码片段以保持分阶段构建器的模式参数顺序。