# August 5, 2024

## 3.5.1

**`(fix):`** Auto-completion for unions leveraging union utils now works as expected.

### What's been fixed

* The root type for unions with visitors now has it's parent typed correctly. This allows auto-complete to work once again on the union when it's nested within other pydantic models.

## 3.5.0

**`(chore):`** Generated code now respects the pydantic version configuration flag.

### What's changed

* Improvement: The generated SDK now respects the pydantic version flag, generating V1 only code and V2 only code if specified. If not, the SDK is generated as it is today, with compatibility for BOTH Pydantic versions. This cleans up the generated code, and brings back features liked wrapped aliases for V1-only SDKs.

## 3.4.2

**`(fix):`** The Python generator now instantiates `Any` types as `Optional[Any]` to be able to mitigate breaks in Pydantic V2.