github koxudaxi/datamodel-code-generator 0.34.0

6 hours ago

What's Changed

  • TypedDict: Add support for const fields using Literal by @erandagan in #2475
  • Correct custom CodeFormatter error message by @MrSnapperVibes in #2489
  • dataclass: Add support for const fields using Literal[T] by @ysndr in #2486
  • feat: Add argument to disable the future annotations import by @daviddmd in #2498
  • Fix: Objects with additionalProperties shouldn't be unioned with None by default by @erandagan in #2493

New Contributors

Full Changelog: 0.33.0...0.34.0

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

NewReleases is sending notifications on new releases.