github koxudaxi/datamodel-code-generator 0.64.1

4 hours ago

Breaking Changes

Code Generation Changes

  • Optional primitive const fields no longer emit the const value as an injected default - Optional primitive const properties without a schema default now render as nullable/omittable (Literal[...] | None = None) instead of being populated with the const value when the input key is omitted. Regenerated code and snapshot tests may change. (#3434)

What's Changed

New Contributors

Full Changelog: 0.64.0...0.64.1

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

NewReleases is sending notifications on new releases.