NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI, #972 most downloaded on PyPI
Datamodel Code Generator
Latest stable
0.92.0
Last release 9 days ago
10 Nov 2026
Ships fairly regularly
a new release about every 2 weeks
Nearly every release is documented
notes for 60 of the last 60 stable releases
1 version withdrawn
withdrawn after publishing
7 years old
296 releases · first in 2019
Drag across the ruler to compare, or tap a release to open it.
support standard collections for type hinting (list, dict) [#263]
- support $id [#260] - support root $id [#259]
support custom class name [#257]
Your coding agent can read these notes before it upgrades. Set up the MCP server →
update isort and black [#251] by @Chilipp
Thanks to @Chilipp
change use_default_on_required_field to apply_default_values_for_required_fields [#249 ]
--force-optional [#250]use_default_on_required_field to apply_default_values_for_required_fields [#249 ]- support input_filename [#248] - support unix-time [#247]
fix handling field constraints [#240]
Fix arrays in additional properties [#234]
Fix exclusiveMaximum and exclusiveMinimum [#233]
support null and array in type [#226]
Fixes typo in import name of condecimal [#230] by @kriberg Thanks to @kriberg
Fixes typo in import name of condecimal [#230] by @kriberg Thanks to @kriberg
Use default value even if a field is required [#228]
fix external root jsonschema [#221]
add a option to disable timestamp on file headers [#219]
Fix additional properties [#218]
Fix additional properties [#214]
- support any [#208] - support example [#207]
change dependency versions [#202]
change argcomplete lowest version [#201]
Added support of integer in string [#199] by @Forden Thanks to @Forden
update requirement versions [#198]
Add uri-reference [#194] by @drsm79 Thanks to @drsm79
improve merge of CLI arguments and pyproject options [#191] by @joshbode Thanks to @joshbode
improve merge of CLI arguments and pyproject options [#191] by @joshbode Thanks to @joshbode
ignore type and sort arguments of Field [#192]
Support options on pyproject.toml [#190]
add strip-default-none option [#186]
add snake case field option [#185]
Fix: #182. Fix yaml support. Improve OAS3 [#183] by @ioggstream
Fix: #182. Fix yaml support. Improve OAS3 [#183] by @ioggstream
Thanks to @ioggstream
- Support remote ref [#179] ---
Add aliases option to map reserved fields [#181] by @joshbode
Thanks to @joshbode
Fix model names( include fixing duplicate enum names) [#180]
- add model resolver [#172] ---
Implements -Handle double __ in snake to camel function- [#175] by @skrawcz
Thanks to @skrawcz
Add option to convert all con* annotations to Field constraint options [#173] by @joshbode
Thanks to @joshbode
Fix incorrect optional type on the aliased field [#167]
Space and special characters in keys [#166]
- support nested array [#165] ---
- fix default [#161] ---
fix condition for typed_default [#155]
Support typed default value [#154]
- add __str__ on Imports [#152]
- support one_of [#147] ---
Fix multiple sub-type in List [#150]
fix anyof in array fields [#146]
anyof in array fields [#146]dynamic field serialization [#141] by @FlorianLudwig
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
One column per quarter.