Releases: koxudaxi/datamodel-code-generator
Releases · koxudaxi/datamodel-code-generator
0.26.2
What's Changed
- New CLI option --output-datetime-class #1996 by @archetipo in #2100
- dataclass generator improvements by @anis-campos in #2102
New Contributors
- @archetipo made their first contribution in #2100
- @anis-campos made their first contribution in #2102
Full Changelog: 0.26.1...0.26.2
0.26.1
What's Changed
- feat: support string format: duration for pydantic/msgspec by @indrat in #2084
- Change ordering of actions by @prmshepherd in #1961
- Fix an exact import bug with deeper nesting by @AniketDas-Tekky in #2089
New Contributors
- @prmshepherd made their first contribution in #1961
- @AniketDas-Tekky made their first contribution in #2089
Full Changelog: 0.26.0...0.26.1
0.26.0
What's Changed
- Drop support python 3.7 on runtime by @koxudaxi in #2060
- Change default target python version to 3.8 by @koxudaxi in #2061
- Add command help update script by @koxudaxi in #2064
- Support union_mode by @koxudaxi in #2065
- Fix default encoding as_utf-8 on command help by @koxudaxi in #2066
- Fix --use-annotated for pydantic v2 by @bpsoos in #2033
- fix missing field descriptions in graphql by @benobytes in #2074
Breaking Changes
- Drop support python 3.7 on runtime by @koxudaxi in #2060
- Change default target python version to 3.8 by @koxudaxi in #2061
New Contributors
- @benobytes made their first contribution in #2074
Full Changelog: 0.25.9...0.26.0
0.25.9
What's Changed
- Fix merging config and args by @mahdilamb in #2015
- Fix missing imports for collapsed models by @kmichel-aiven in #2043
- Don't generate files without model by @kmichel-aiven in #2044
- Escaping apostophes in mark-down by @ben05allen in #2047
- Typo: Fix missing whitespace in CLI help by @meliache in #2053
New Contributors
- @mahdilamb made their first contribution in #2015
- @ben05allen made their first contribution in #2047
- @meliache made their first contribution in #2053
Full Changelog: 0.25.8...0.25.9
0.25.8
What's Changed
- feat: new cli option --use-exact-imports by @alpoi-x in #1983
- patch pydantic v1.10.9 conflict with py3.12 by @luca-knaack-webcom in #2014
- feature: dots in paths by @luca-knaack-webcom in #2008
- docs: Update airbyte use case + fix broken link by @natikgadzhi in #2021
- Fix Missing Imports by @luca-knaack-webcom in #2009
- 🚑 fixes graphql parser --use-standard-collections --use-union-operator --use-annotated by @bpsoos in #2016
New Contributors
- @alpoi-x made their first contribution in #1983
- @natikgadzhi made their first contribution in #2021
- @bpsoos made their first contribution in #2016
Full Changelog: 0.25.7...0.25.8
0.25.7
What's Changed
- Add from_attributes to ConfigDict by @michael2to3 in #1946
- Fix msgspec template to add field by @ianbuss in #1942
- Add regex_engine="python-re" if regex uses lookaround by @camillol in #1945
- Fix broken unittest by @koxudaxi in #1987
- fix: Fix subschema array items with oneOf showing up as Any type by @jdweav in #1962
- Fix reuse_models not using the custom_template_dir by @atti92 in #1954
- Fix alias for superclass with identical name by @kmichel-aiven in #1981
- feat: support for external referenced discriminators by @luca-knaack-webcom in #1991
- fix: external references to parent folder by @luca-knaack-webcom in #1999
New Contributors
- @michael2to3 made their first contribution in #1946
- @ianbuss made their first contribution in #1942
- @camillol made their first contribution in #1945
- @jdweav made their first contribution in #1962
- @kmichel-aiven made their first contribution in #1981
- @luca-knaack-webcom made their first contribution in #1991
Full Changelog: 0.25.6...0.25.7
0.25.6
What's Changed
- Fix missing Union by @koxudaxi in #1905
- fix(ModuleImports): This PR fixes the module import resolver for module of type
BaseClassDataType
by @rshah-evertz in #1862 - Support http query parameters by @kevin-lithic in #1911
- feat: add examples to meta fields by @nampereira in #1899
- Fix Rootmodel template with reuse-model by @atti92 in #1902
- Support pendulum by @kevin-lithic in #1914
New Contributors
- @rshah-evertz made their first contribution in #1862
- @kevin-lithic made their first contribution in #1911
- @nampereira made their first contribution in #1899
- @atti92 made their first contribution in #1902
Full Changelog: 0.25.5...0.25.6
0.25.5
What's Changed
- Fix overriden required by @fft001 in #1868
- Added support for passing pathlib.Path as a format to JSON schema by @brandonsorensen in #1879
- Make discriminators work with multiple keys pointing to the same schema by @ldej in #1885
New Contributors
- @fft001 made their first contribution in #1868
- @brandonsorensen made their first contribution in #1879
- @ldej made their first contribution in #1885
Full Changelog: 0.25.4...0.25.5
0.25.4
What's Changed
- Fix object instance comparison. Add test. by @jamesbezuk in #1849
- Added graphql to
--input-file-type
options by @JoeHCQ1 in #1846 - Add codespell configuration, workflow, pre-commit config and fix few typos by @yarikoptic in #1842
- has_constraints should return true for falsy values by @ericvandever in #1844
- Fix black module error when 19.10b0 is installed by @koxudaxi in #1855
New Contributors
- @jamesbezuk made their first contribution in #1849
- @JoeHCQ1 made their first contribution in #1846
- @yarikoptic made their first contribution in #1842
- @ericvandever made their first contribution in #1844
Full Changelog: 0.25.3...0.25.4
0.25.3
What's Changed
- Enable ability to use custom
JsonSchemaObject
inJsonSchemaParser
by @WilliamJamieson in #1783 - Stop modifying behavior of yaml on load by @gluap in #1826
- Fix bug with oneOf and const #1787 by @shadchin in #1791
- format: support black >=24 by @airwoodix in #1829
New Contributors
- @WilliamJamieson made their first contribution in #1783
- @gluap made their first contribution in #1826
- @shadchin made their first contribution in #1791
Full Changelog: 0.25.2...0.25.3