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

## 5.5.0

**`(feat):`** Add `use_request_defaults` top-level config option with three modes: `"none"`,
`"parameters"` (query params and headers only), and `"all"` (query params, headers,
request body params, and pydantic model fields). This takes precedence over the
existing `pydantic_config.use_provided_defaults` boolean, which will be deprecated
in a future release.

**`(fix):`** Fix `mypy` error in generated client wrapper when a non-string global header is
declared (e.g. `Request-Timeout: integer`). The generator emits `headers: Dict[str, str]`
but previously assigned the raw typed member (e.g. `int`) directly, causing
`Incompatible types in assignment`. Non-string global header values are now wrapped
with `str(...)` when assigned. String-typed headers are unchanged.

## 5.4.0

**`(chore):`** Bump @fern-api/generator-cli to 0.9.8. Changelog URLs in generated PRs
now use the commit SHA instead of the PR branch name, keeping the link
valid after the branch is deleted or squash-merged.