Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Releases: koxudaxi/datamodel-code-generator

0.33.0

14 Aug 13:49
33f13cf
Compare
Choose a tag to compare

What's Changed

  • Use Pytest tmp_path fixture instead of TemporaryDirectory by @ilovelinux in #2463
  • Revert default date-time behaviour to respect OpenAPI/JSON Schema specifications by @mueslo in #2442
  • Avoid mixing up configurations of different objects with the same name by @ilovelinux in #2461
  • Fix Pydantic @model_validator() usage for Pydantic 2.12 by @ilovelinux in #2472
  • Run the test suite daily to check breaking changes by @gaborbernat in #2479
  • Automatically infer CSV file type by @ilovelinux in #2467
  • Avoid collapsing models when referencing a forwarding reference by @ilovelinux in #2465

New Contributors

Full Changelog: 0.32.0...0.33.0

0.32.0

25 Jul 14:11
0070c1c
Compare
Choose a tag to compare

What's Changed

  • modify __typename field to honor --use-default-kwarg flag by @rpmcginty in #2420
  • Fix typo in variable name by @eltoder in #2439
  • Send use_non_positive_negative_number_constrained_types to the data type manager by @torarvid in #2425
  • Allow parsing non-string lists for required fields by @HeroGamers in #2446
  • Allow including path parameters in generated models by @MrLoh in #2445
  • Passing in treat_dot_as_module bool to Enum init function by @LukeAtThat in #2456
  • fix: correctly handle multiline comments in Unions by @anor4k in #2454
  • Return Parameter and RequestBody DataTypesare by @MrLoh in #2444

New Contributors

Full Changelog: 0.31.2...0.32.0

0.31.2

22 Jun 17:40
5553dd2
Compare
Choose a tag to compare

What's Changed

  • fix: prevent code injection through filename in generated headers by @koxudaxi in #2428

Full Changelog: 0.31.1...0.31.2

0.31.1

17 Jun 15:23
cb7ee07
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.31.0...0.31.1

0.31.0

12 Jun 16:19
edc9ee7
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.30.2...0.31.0

0.30.2

07 Jun 02:41
0f0d547
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 0.30.1...0.30.2

0.30.1

28 Apr 13:57
dd44480
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 0.30.0...0.30.1

0.30.0

17 Apr 15:23
e771ada
Compare
Choose a tag to compare

What's Changed

  • feat: add new option --parent-scoped-naming to avoid name collisions by @gjcarneiro in #2373

Full Changelog: 0.29.0...0.30.0

0.29.0

17 Apr 15:05
b0d9109
Compare
Choose a tag to compare

What's Changed

  • Fix shadowed import errors by aliasing conflicting symbols in generated models by @sternakt in #2379
  • fix: Pass encoding parameter to parser in init.generate() by @koxudaxi in #2367
  • Bump upper version limit on the inflect library from 6 to 8 by @gothicVI in #2375
  • feat: save memory in pydantic2 by avoiding simple aliasing empty classes by @gjcarneiro in #2376
  • [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #2372
  • fix: capitalize_enum_members not recognized in pyproject.toml by @LordFckHelmchen in #2363
  • fix(parser): ignore discriminator in collapsed list fields by @rcarriga in #2378

New Contributors

Full Changelog: 0.28.5...0.29.0

0.28.5

24 Mar 17:35
117a31d
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 0.28.4...0.28.5