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

## 5.22.1

**`(fix):`** Loosen the generated `httpx-aiohttp` optional dependency constraint from an exact
pin (`0.1.8`) to a caret range (`^0.1.8`, i.e. `>=0.1.8,<0.2.0`). This lets the
aiohttp extra coexist with other packages that require a newer 0.1.x of
`httpx-aiohttp` (e.g. `>0.1.9`) without introducing a breaking major bump.

## 5.22.0

**`(feat):`** Add support for per-endpoint auth routing. When the API-level auth requirement is
`ENDPOINT_SECURITY`, each endpoint now applies only the auth scheme(s) it declares in
its IR `security` field (OR across the list of requirements, AND within a requirement,
and no auth when `security` is empty), instead of applying every configured credential
to every request. Behavior for the `ALL` and `ANY` auth requirements (the common cases)
is unchanged.
Inferred (token-endpoint) auth is now also wired under `ENDPOINT_SECURITY` when other
schemes are present, and generated wire tests assert per endpoint that only the declared
scheme's header is sent.