> 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. For task-scoped instructions for coding agents working in a Fern project, run `fern instructions` (or `npx fern-api@latest instructions` if the Fern CLI isn't installed or doesn't recognize `instructions`), or see https://buildwithfern.com/learn/home/fern-instructions.md.

## 4.0.0-rc8

**`(fix):`** 在非联合循环引用依赖上调用 `update_forward_refs` 的 Pydantic 模型现在会为当前成员传入 `localns`，这是 Pydantic V1 中的一个字段，在对象未完全重建的情况下为模型提供对象上下文。

## 4.0.0-rc7

**`(fix):`** 生成器现在再次遵循旧的 use_str_enums 标志，之前引入了一个回归，只有新标志 `enum_type` 被遵循。

## 4.0.0-rc6

**`(fix):`** Pydantic 模型现在会在非联合循环引用上调用 update forward refs。这可以防止在某些情况下类型通过联合自引用时出现运行时错误。