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

**`(fix):`** 修复动态代码片段以在生成的代码示例中包含全局标头。
之前，通过 `x-fern-global-headers` 配置的必需全局标头（例如 `X-Organization-ID`）在动态代码片段输出中缺失。还修复了标头值查找以使用线值而不是不存在的属性。

## 3.42.5

**`(fix):`** 修复 OAuth 分阶段构建器的 `custom-interceptors` 支持。当启用 `custom-interceptors: true` 时，`_Builder` 内部类现在生成 `interceptors` 字段、`addInterceptor(Interceptor)` 方法，并通过 `token()` 和 `credentials()` 方法将拦截器转发到 `_TokenAuth` 和 `_CredentialsAuth`。之前，只有根构建器接收拦截器支持，导致 OAuth 分阶段构建器丢失拦截器配置。