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

**`(fix):`** Fix the typing of endpoints that extract a property from an optional response body. The
`HttpResponse`/`AsyncHttpResponse` generic (and the corresponding client return type) is now
wrapped in `Optional` when the underlying response body resolves to an optional type, so an
empty response (`data=None`) no longer fails type checking.

**`(fix):`** Fix the generated OAuth token provider to respect the auth scheme's `request-properties`
mapping. The token endpoint is now invoked using the actual request parameter names
(e.g. `username`/`password` or custom names) instead of always hard-coding
`client_id`/`client_secret`.

## 5.14.9

**`(fix):`** Fix generation failure in `output_directory: source-root` mode by skipping
`poetry lock` and `ruff` commands that require a pyproject.toml which is not
emitted in source-root mode.

**`(fix):`** Fix duplicate `__root__` field declaration in Pydantic v1 discriminated unions
with `include_union_utils: true`.