Skip to content

v0.6.0

Latest
Compare
Choose a tag to compare
@jhnnsrs jhnnsrs released this 20 Sep 09:26
fec428d

Breaking: Pydantic V2 Transition

This is a long pull-request coming and finally updates turms to pydantic version v2 and beyond, with this update
turms itself will depend on pydantic v2 and will generate pydantic v2 compliant code (no more Config class but ConfigDict).
Additional thanks to @rnovacek the optional types have now default values, which also complies with pydantic v2.

You can still generate pydantic_v1 code by setting the:

pydantic_version: v1

However this is deprecated and will be replaced in future versions.
Thanks everyone for waiting for this release. Its been a busy year :D

What's Changed

  • Set default values for optional field in input types by @rnovacek in #75
  • Add Pydantic v2 support by @jhnnsrs in #77

New Contributors

Full Changelog: v0.5.0...v0.6.0