github koxudaxi/datamodel-code-generator 0.42.2

latest release: 0.43.0
2 days ago

What's Changed

  • Fix Python 3.9 compatibility regression in _scc.py by @koxudaxi in #2628
  • Fix Python 3.9 compatibility: CI environment names by @koxudaxi in #2630
  • Fix msgspec type hint generation for oneOf/anyOf with null type by @koxudaxi in #2629
  • Fix missing imports for nested references when using --collapse-root-models by @koxudaxi in #2631
  • [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in #2632
  • Fix unnecessary underscore suffix for field names in non-Pydantic models by @koxudaxi in #2633
  • Fix enum generation from oneOf/anyOf with const values by @koxudaxi in #2634
  • Fix "A Parser can not resolve classes" error when allOf references enum from another schema by @koxudaxi in #2636
  • Fix $ref not merging with additional schema keywords by @koxudaxi in #2635
  • Extract helper methods and reduce code duplication across parsers by @koxudaxi in #2637

Full Changelog: 0.42.1...0.42.2

Don't miss a new datamodel-code-generator release

NewReleases is sending notifications on new releases.