> This page is for SDKs, 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):`** Fix dynamic snippets to include global headers in generated code examples.
Previously, required global headers (e.g., `X-Organization-ID`) configured via
`x-fern-global-headers` were missing from dynamic snippet output. Also fixes
header value lookup to use wire values instead of a non-existent property.

## 3.42.5

**`(fix):`** Fix `custom-interceptors` support for OAuth staged builders. When
`custom-interceptors: true` is enabled, the `_Builder` inner class now
generates an `interceptors` field, `addInterceptor(Interceptor)` method,
and forwards interceptors to `_TokenAuth` and `_CredentialsAuth` via
`token()` and `credentials()` methods. Previously, only the root builder
received interceptor support, causing OAuth staged builders to lose
interceptor configuration.