> 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. 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):`** Pydantic models that call `update_forward_refs` on non-union circular reference dependencies now pass in `localns` for
the current member, a field in Pydantic V1 that provides object contexts to models in the event objects are not fully rebuilt.

## 4.0.0-rc7

**`(fix):`** The generator now respects the old use_str_enums flag again, a regression was introduced where only the new flag `enum_type`
was respected.

## 4.0.0-rc6

**`(fix):`** Pydantic models now call update forward refs on non-union circular references. This
prevents runtime errors in certain cases where types self reference itself through
a union.