Datamodel-code-generator

Latest version: v0.25.6

Safety actively analyzes 630360 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 31

0.22.0

What's Changed
* Organize help options by howardj99 in https://github.com/koxudaxi/datamodel-code-generator/pull/1540
* fix: add type parameters to generic RootModel by tcrasset in https://github.com/koxudaxi/datamodel-code-generator/pull/1560
* chore: link to contributing guidelines from README.md by tcrasset in https://github.com/koxudaxi/datamodel-code-generator/pull/1561
* Fix base path to avoid duplicate parts in path when deleting reference by pedrosmr in https://github.com/koxudaxi/datamodel-code-generator/pull/1550
* Support msgspec output by indrat in https://github.com/koxudaxi/datamodel-code-generator/pull/1551

New Contributors
* howardj99 made their first contribution in https://github.com/koxudaxi/datamodel-code-generator/pull/1540
* tcrasset made their first contribution in https://github.com/koxudaxi/datamodel-code-generator/pull/1560
* pedrosmr made their first contribution in https://github.com/koxudaxi/datamodel-code-generator/pull/1550
* indrat made their first contribution in https://github.com/koxudaxi/datamodel-code-generator/pull/1551

**Full Changelog**: https://github.com/koxudaxi/datamodel-code-generator/compare/0.21.5...0.22.0

0.21.5

What's Changed
* Added protect namespace to Pydantic v2 ConfigDict by willarmiros in https://github.com/koxudaxi/datamodel-code-generator/pull/1489
* Fix pydantic 2.2.1 RootModel cannot have extra_fields error by i404788 in https://github.com/koxudaxi/datamodel-code-generator/pull/1497
* Add missing default=None by twoodwark in https://github.com/koxudaxi/datamodel-code-generator/pull/1515
* Fix class Field generated when array with name fields with oneOf inside by mjperrone in https://github.com/koxudaxi/datamodel-code-generator/pull/1516

New Contributors
* willarmiros made their first contribution in https://github.com/koxudaxi/datamodel-code-generator/pull/1489
* twoodwark made their first contribution in https://github.com/koxudaxi/datamodel-code-generator/pull/1515
* mjperrone made their first contribution in https://github.com/koxudaxi/datamodel-code-generator/pull/1516

**Full Changelog**: https://github.com/koxudaxi/datamodel-code-generator/compare/0.21.4...0.21.5

0.21.4

What's Changed
* Update openapi-spec-validator to 0.5.7 by der-eismann in https://github.com/koxudaxi/datamodel-code-generator/pull/1475
* Fix Pydantic V2 RootModel inheritance by barreeeiroo in https://github.com/koxudaxi/datamodel-code-generator/pull/1477
* main: fix configuration model validation after CLI args merge by airwoodix in https://github.com/koxudaxi/datamodel-code-generator/pull/1448
* Fix const for pydantic_v2 by koxudaxi in https://github.com/koxudaxi/datamodel-code-generator/pull/1482
* Unique list is defined as list by koxudaxi in https://github.com/koxudaxi/datamodel-code-generator/pull/1484
* switch away from deprecated pydantic method by iliakur in https://github.com/koxudaxi/datamodel-code-generator/pull/1485
* Fix condecimal by koxudaxi in https://github.com/koxudaxi/datamodel-code-generator/pull/1487
* Add unittest for discriminator by koxudaxi in https://github.com/koxudaxi/datamodel-code-generator/pull/1488

New Contributors
* der-eismann made their first contribution in https://github.com/koxudaxi/datamodel-code-generator/pull/1475
* barreeeiroo made their first contribution in https://github.com/koxudaxi/datamodel-code-generator/pull/1477
* iliakur made their first contribution in https://github.com/koxudaxi/datamodel-code-generator/pull/1485

**Full Changelog**: https://github.com/koxudaxi/datamodel-code-generator/compare/0.21.3...0.21.4

0.21.3

What's Changed
* Give Pydantic V2 its own `dump_resolve_reference_action` to use `model_rebuild` not `update_forward_refs` by lmmx in https://github.com/koxudaxi/datamodel-code-generator/pull/1468
* fix: Fix regex expression of hostname in pydantic v2 by xu-cheng in https://github.com/koxudaxi/datamodel-code-generator/pull/1449
* Add `base_class` validation similar to `_validate_base_class` to bare `generate` calls by kylebebak in https://github.com/koxudaxi/datamodel-code-generator/pull/1453
* Fix issue 1461: Open API parameter models use base class if set by piercsi in https://github.com/koxudaxi/datamodel-code-generator/pull/1462
* Issues 1454 typeddict not required optional bug fix by kylebebak in https://github.com/koxudaxi/datamodel-code-generator/pull/1457

New Contributors
* lmmx made their first contribution in https://github.com/koxudaxi/datamodel-code-generator/pull/1468
* xu-cheng made their first contribution in https://github.com/koxudaxi/datamodel-code-generator/pull/1449
* kylebebak made their first contribution in https://github.com/koxudaxi/datamodel-code-generator/pull/1453
* piercsi made their first contribution in https://github.com/koxudaxi/datamodel-code-generator/pull/1462

**Full Changelog**: https://github.com/koxudaxi/datamodel-code-generator/compare/0.21.2...0.21.3

0.21.2

What's Changed
* Pre-commit-hooks by yehoshuadimarsky in https://github.com/koxudaxi/datamodel-code-generator/pull/1416
* feat: add additional imports by skonik in https://github.com/koxudaxi/datamodel-code-generator/pull/1422
* Add orm_mode to Config(BaseModel) by Beaueve in https://github.com/koxudaxi/datamodel-code-generator/pull/1425
* Fix "parent" AttributeError when calling --collapse-root-models by imankulov in https://github.com/koxudaxi/datamodel-code-generator/pull/1432

New Contributors
* yehoshuadimarsky made their first contribution in https://github.com/koxudaxi/datamodel-code-generator/pull/1416
* skonik made their first contribution in https://github.com/koxudaxi/datamodel-code-generator/pull/1422
* Beaueve made their first contribution in https://github.com/koxudaxi/datamodel-code-generator/pull/1425
* imankulov made their first contribution in https://github.com/koxudaxi/datamodel-code-generator/pull/1432

**Full Changelog**: https://github.com/koxudaxi/datamodel-code-generator/compare/0.21.1...0.21.2

0.21.1

What's Changed
* Relax version constraint of prance by tetsuok in https://github.com/koxudaxi/datamodel-code-generator/pull/1409
* Fix optional field doesn't include `None` by koxudaxi in https://github.com/koxudaxi/datamodel-code-generator/pull/1411

New Contributors
* tetsuok made their first contribution in https://github.com/koxudaxi/datamodel-code-generator/pull/1409

**Full Changelog**: https://github.com/koxudaxi/datamodel-code-generator/compare/0.21.0...0.21.1

Page 3 of 31

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.