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

## 4.42.1

**`(fix):`** 修复 OAuth 流程回归问题，其中 `SyncClientWrapper` 和 `AsyncClientWrapper` 需要 `token` 参数。
token 参数现在仅对 OAuth 流程可选（与 TypeScript 行为匹配），而纯 bearer 认证在 `isAuthMandatory` 为 true 时继续需要令牌。