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