Skip to content

Releases: koxudaxi/datamodel-code-generator

0.24.1

16 Nov 10:19
65edaef
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 0.24.0...0.24.1

0.24.0

16 Nov 01:36
97b23f0
Compare
Choose a tag to compare

What's Changed

Breaking Changes

  • The version drop pysnooper, prance, openapi-spec-validator from the default dependencies list.
    If you want to use --debug and --validation, please add the extra option when you install packages datamodel-code-generator[debug] and datamodel-code-generator[validation]

Depreacated

  • --validation option will be removed in the new future. please use other tools to validate OpenAPI Schema.

New Contributors

Full Changelog: 0.23.0...0.24.0

0.23.0

08 Nov 16:34
979444c
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 0.22.1...0.23.0

0.22.1

08 Oct 01:56
339f6c6
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.22.0...0.22.1

0.22.0

23 Sep 16:40
739b050
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 0.21.5...0.22.0

0.21.5

06 Sep 16:35
04c8b68
Compare
Choose a tag to compare

What's Changed

  • Added protect namespace to Pydantic v2 ConfigDict by @willarmiros in #1489
  • Fix pydantic 2.2.1 RootModel cannot have extra_fields error by @i404788 in #1497
  • Add missing default=None by @twoodwark in #1515
  • Fix class Field generated when array with name fields with oneOf inside by @mjperrone in #1516

New Contributors

Full Changelog: 0.21.4...0.21.5

0.21.4

09 Aug 18:39
de82679
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 0.21.3...0.21.4

0.21.3

03 Aug 17:47
0deef65
Compare
Choose a tag to compare

What's Changed

  • Give Pydantic V2 its own dump_resolve_reference_action to use model_rebuild not update_forward_refs by @lmmx in #1468
  • fix: Fix regex expression of hostname in pydantic v2 by @xu-cheng in #1449
  • Add base_class validation similar to _validate_base_class to bare generate calls by @kylebebak in #1453
  • Fix issue #1461: Open API parameter models use base class if set by @piercsi in #1462
  • Issues 1454 typeddict not required optional bug fix by @kylebebak in #1457

New Contributors

Full Changelog: 0.21.2...0.21.3

0.21.2

20 Jul 15:59
b63693a
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 0.21.1...0.21.2

0.21.1

06 Jul 07:24
f172a5a
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 0.21.0...0.21.1