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 5 of 31

0.17.1

What's Changed
* Change custom template dir structure by koxudaxi in https://github.com/koxudaxi/datamodel-code-generator/pull/1070
* Support enum as literal in root model by koxudaxi in https://github.com/koxudaxi/datamodel-code-generator/pull/1073
* Improve duplicate model detection by koxudaxi in https://github.com/koxudaxi/datamodel-code-generator/pull/1076
* Fix reference same hierarchy directory by koxudaxi in https://github.com/koxudaxi/datamodel-code-generator/pull/1082
* Fix wrong overwrite field default by koxudaxi in https://github.com/koxudaxi/datamodel-code-generator/pull/1085
* Fix mro field name on enum by koxudaxi in https://github.com/koxudaxi/datamodel-code-generator/pull/1069
* OpenAPI - Add support for query parameter model generation by hambrosia in https://github.com/koxudaxi/datamodel-code-generator/pull/1083
* Support dataclasses.dataclass by koxudaxi in https://github.com/koxudaxi/datamodel-code-generator/pull/1068

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

**Full Changelog**: https://github.com/koxudaxi/datamodel-code-generator/compare/0.17.0...0.17.1

0.17.0

What's Changed
* Add `--keep-model-order` by koxudaxi in https://github.com/koxudaxi/datamodel-code-generator/pull/1043
* Support openapi `discriminator` by koxudaxi in https://github.com/koxudaxi/datamodel-code-generator/pull/1045
* Fix referenced `patternProperties` by koxudaxi in https://github.com/koxudaxi/datamodel-code-generator/pull/1046
* Support `default_factory` by koxudaxi in https://github.com/koxudaxi/datamodel-code-generator/pull/1047
* Remove duplicate model by koxudaxi in https://github.com/koxudaxi/datamodel-code-generator/pull/1048
* Fix naming logic for duplicate name model by koxudaxi in https://github.com/koxudaxi/datamodel-code-generator/pull/1049
* Proposal for adding version metadata to header section by ghandic in https://github.com/koxudaxi/datamodel-code-generator/pull/1053
* Refactor set-default-enum-member by koxudaxi in https://github.com/koxudaxi/datamodel-code-generator/pull/1057
* Support list default enum member by koxudaxi in https://github.com/koxudaxi/datamodel-code-generator/pull/1058
* Support default object value by koxudaxi in https://github.com/koxudaxi/datamodel-code-generator/pull/1060
* Fix cli option name --use_non_positive_negative_number_constrained_types by koxudaxi in https://github.com/koxudaxi/datamodel-code-generator/pull/1064
* Add `--field-extra-keys-without-x-prefix` by koxudaxi in https://github.com/koxudaxi/datamodel-code-generator/pull/1066

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

**Full Changelog**: https://github.com/koxudaxi/datamodel-code-generator/compare/0.16.1...0.17.0

0.16.1

What's Changed
* Change default value to None by JensHeinrich in https://github.com/koxudaxi/datamodel-code-generator/pull/1028
* Support json pointer to array by koxudaxi in https://github.com/koxudaxi/datamodel-code-generator/pull/1030
* Fix/remove not none arg parse defaults by JensHeinrich in https://github.com/koxudaxi/datamodel-code-generator/pull/1029
* Add --use-default-kwarg option for better type checker compatibility by zackyancey in https://github.com/koxudaxi/datamodel-code-generator/pull/1034
* add --remove-special-field-name-prefix by koxudaxi in https://github.com/koxudaxi/datamodel-code-generator/pull/1033
* Fix snake_case generation by koxudaxi in https://github.com/koxudaxi/datamodel-code-generator/pull/1037
* Add --disable-warnings by koxudaxi in https://github.com/koxudaxi/datamodel-code-generator/pull/1038
* Remove dummy field by koxudaxi in https://github.com/koxudaxi/datamodel-code-generator/pull/1039

New Contributors
* JensHeinrich made their first contribution in https://github.com/koxudaxi/datamodel-code-generator/pull/1028
* zackyancey made their first contribution in https://github.com/koxudaxi/datamodel-code-generator/pull/1034

**Full Changelog**: https://github.com/koxudaxi/datamodel-code-generator/compare/0.16.0...0.16.1

0.16.0

What's Changed
* Fix the order of the model having multiple base_class by koxudaxi in https://github.com/koxudaxi/datamodel-code-generator/pull/995
* Fix incorrect remove model action by koxudaxi in https://github.com/koxudaxi/datamodel-code-generator/pull/997
* Support reference to object properties by koxudaxi in https://github.com/koxudaxi/datamodel-code-generator/pull/998
* Fix field constraint number coersion bug by ninowalker in https://github.com/koxudaxi/datamodel-code-generator/pull/1003
* Fix --collapse-root-models by koxudaxi in https://github.com/koxudaxi/datamodel-code-generator/pull/1002
* Fix --capitalise-enum-members by koxudaxi in https://github.com/koxudaxi/datamodel-code-generator/pull/1011
* Override optional all_of field with required by koxudaxi in https://github.com/koxudaxi/datamodel-code-generator/pull/1012
* Improve anyOf and oneOf detection when anyOf and oneOf parent has proprerties by koxudaxi in https://github.com/koxudaxi/datamodel-code-generator/pull/1013

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

**Full Changelog**: https://github.com/koxudaxi/datamodel-code-generator/compare/0.15.0...0.16.0

0.15.0

Notice
The release has some improvements in model generation.
**The generated model names or the structure will be changed.**

What's Changed
* Remove unneeded number suffix when the same name model exists in another module by koxudaxi in https://github.com/koxudaxi/datamodel-code-generator/pull/973
* Ignore duplicate name field on allOf by koxudaxi in https://github.com/koxudaxi/datamodel-code-generator/pull/974
* Improve model deletion by koxudaxi in https://github.com/koxudaxi/datamodel-code-generator/pull/976
* Refactor process after parse by koxudaxi in https://github.com/koxudaxi/datamodel-code-generator/pull/977
* Support JSONSchema items is boolean by koxudaxi in https://github.com/koxudaxi/datamodel-code-generator/pull/979
* Support required in allof item by koxudaxi in https://github.com/koxudaxi/datamodel-code-generator/pull/981
* Improve detection additionalProperties in JSONSchema Object by koxudaxi in https://github.com/koxudaxi/datamodel-code-generator/pull/982
* Fix nullable object by koxudaxi in https://github.com/koxudaxi/datamodel-code-generator/pull/987
* Support const by koxudaxi in https://github.com/koxudaxi/datamodel-code-generator/pull/989
* Fix duplicated nested optional by koxudaxi in https://github.com/koxudaxi/datamodel-code-generator/pull/990

**Full Changelog**: https://github.com/koxudaxi/datamodel-code-generator/compare/0.14.1...0.15.0

0.14.1

What's Changed
* Fix deprecation warnings around "copy_on_model_validation" by Dominic-Walther in https://github.com/koxudaxi/datamodel-code-generator/pull/927
* Fix dev black version for macos by koxudaxi in https://github.com/koxudaxi/datamodel-code-generator/pull/941
* Add support for tags and include responses without content by Aedial in https://github.com/koxudaxi/datamodel-code-generator/pull/924
* Fix indents for multi-line docstrings by Dominic-Walther in https://github.com/koxudaxi/datamodel-code-generator/pull/938
* Allow to pass extra fields using `--allow-extra-fields` by fgebhart in https://github.com/koxudaxi/datamodel-code-generator/pull/949
* Fix resolving id by koxudaxi in https://github.com/koxudaxi/datamodel-code-generator/pull/963
* fix: template handling of extra template data by auphofBSF in https://github.com/koxudaxi/datamodel-code-generator/pull/861
* Avoid field name beginning with an underscore by ronlib in https://github.com/koxudaxi/datamodel-code-generator/pull/962
* Support --special-field-name-prefix option by koxudaxi in https://github.com/koxudaxi/datamodel-code-generator/pull/966
* Fix allOf with common prefix and $ref by azatoth in https://github.com/koxudaxi/datamodel-code-generator/pull/968
* Update poetry.lock by fsecada01 in https://github.com/koxudaxi/datamodel-code-generator/pull/936
* Add collapse root model feature by i404788 in https://github.com/koxudaxi/datamodel-code-generator/pull/933
* add --capitalise-enum-members option by koxudaxi in https://github.com/koxudaxi/datamodel-code-generator/pull/970
* Fix no generated enum in array by koxudaxi in https://github.com/koxudaxi/datamodel-code-generator/pull/971

New Contributors
* Aedial made their first contribution in https://github.com/koxudaxi/datamodel-code-generator/pull/924
* fgebhart made their first contribution in https://github.com/koxudaxi/datamodel-code-generator/pull/949
* lgtm-com made their first contribution in https://github.com/koxudaxi/datamodel-code-generator/pull/908
* auphofBSF made their first contribution in https://github.com/koxudaxi/datamodel-code-generator/pull/861
* ronlib made their first contribution in https://github.com/koxudaxi/datamodel-code-generator/pull/962
* azatoth made their first contribution in https://github.com/koxudaxi/datamodel-code-generator/pull/968
* fsecada01 made their first contribution in https://github.com/koxudaxi/datamodel-code-generator/pull/936
* i404788 made their first contribution in https://github.com/koxudaxi/datamodel-code-generator/pull/933

**Full Changelog**: https://github.com/koxudaxi/datamodel-code-generator/compare/0.14.0...0.14.1

Page 5 of 31

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.