NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI · #1056 most downloaded on PyPI
Datamodel Code Generator
Last release 4 days ago
16 Sep 2026
Ships fairly regularly
a new release about every 9 days
Nearly every release is documented
notes for 60 of the last 60 stable releases
1 version withdrawn
withdrawn after publishing
7 years old
286 releases · first in 2019
Fix multiple sub-type in List [#150]
fix anyof in array fields [#146]
anyof in array fields [#146]dynamic field serialization [#141] by @FlorianLudwig
One column per quarter.
Thanks to @FlorianLudwig
- support decimal [#137] ---
support empty dict on items [#135]
Breaking Change: Fix invalid python name [#132] The fixes change the class name of non-Upper Camel to Upper Camel
Fix args of conint and confloat [#128]
conint and confloat [#128]Fix parse errors when property pattern is explicit. [#125] by @mgonzalezperna
Thanks to @mgonzalezperna
Fixed problems, if a name starts with a underscore [#120] by @julian-r
Thanks to @julian-r
create generate function [#118]
generate function [#118]- Support json and yaml [#115]
fix as a statement on import [#114]
support as on import statement [#112]
handle edge-case where models map to the __init__.py level of a module [#110] by @joshbode Thanks to @joshbode
import version to get full 100% coverage [#109] by @joshbode Thanks to @joshbode
Correct population of modular structure [#96] by @joshbode
Thanks to @joshbode
support empty object as any root object [#106]
support array of type attribute on jsonschema [#103]
Field [#99]Thanks to @joshbode
Change numeric constraints to correct mapping [#94] by @surajbarkale
Thanks to @surajbarkale
add support for arrays of simple primities to anyOf [#92] by @joshbode
add support for arrays of simple primities to anyOf [#92] by @joshbode
Thanks to @joshbode
Move logic for anyOf/allOf to higher priority [#91] by @joshbode
Thanks to @joshbode
- Support JsonSchema [#89] - Support Remote reference [#87]
Fix types requiring imports in alloff, conint, confloat [#84] by @krezac
Thanks to @krezac
Support additionalProperties as Extra.allow [#83]
additionalProperties as Extra.allow [#83]add support for pyproject.toml if present [#80]by @joshbode Thanks to @joshbode
Support for Primitve union properties [#79] by @joshbode
Thanks to @joshbode
update dependency versions [#78]
- add version option [#75] ---
- support enum alias [#74] ---
Fix some edge-cases with module references [#73] by @joshbode
Add support for custom templates and extra template data [#71] by @joshbode Thanks to @joshbode
add support for object arrays [#70] by @joshbode Thanks to @joshbode
Add missing imports for constr and Dict[str, Any] [#69] by @joshbode
constr and Dict[str, Any] [#69] by @joshbodeadd scripts for a test, lint, and format [#68] by @koxudaxi
add debug mode as --debug ---
add debug mode as --debug
fix to add List on an import statement
List on an import statement- fix classes order ---
- support anyOf - support allOf
- support enum - support forward refs - support stdin as input file - target python version - support duplicate models - improve to parse array object
## add features - custom base model - null - create import statements - string pattern - Minimum - Maximum - exclusiveMinimum - exclusiveMaximum - mul
## add supported formats - email - uri - ipv4 - ipv6 - time
- refactor a parser - support custom_root_type - add unittest
convert plurals name to singular name for array items
- fix parsing objects ---
Nothing published for this version
Support generate pydantic models from openapi models
Thanks to @joshbode
Your coding agent can read these notes before it upgrades. Set up the MCP server →