Skip to content

Release 0.3.0

Compare
Choose a tag to compare
@ss2165 ss2165 released this 19 Dec 15:26
· 57 commits to main since this release

Support wider range of python types automatically:

  • Union handled by converting to Variant with tags autogenerated from type names. If unique names for all the variants cannot be generated, will fail.
  • Tuple handled as special Struct with numbered fields, PairType is deprecated.
  • Literals
  • Enums, mapped to variants tagged by enum name, with empty struct values.
  • Pydantic wrapped dataclasses
  • Pydantic constrained numeric types and string
  • Pydantic discriminated unions - mapped to Variant with discriminant set as tag

Full changelog: v0.2.1...v0.3.0