-
-
Notifications
You must be signed in to change notification settings - Fork 437
Comparing changes
Open a pull request
base repository: koxudaxi/datamodel-code-generator
base: 0.51.0
head repository: koxudaxi/datamodel-code-generator
compare: 0.52.0
- 18 commits
- 100 files changed
- 2 contributors
Commits on Jan 1, 2026
-
Configuration menu - View commit details
-
Copy full SHA for 636d9e8 - Browse repository at this point
Copy the full SHA 636d9e8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6ab97df - Browse repository at this point
Copy the full SHA 6ab97dfView commit details -
Add --class-name-prefix, --class-name-suffix, and --class-name-affix-…
…scope options (#2885) * Add --class-name-prefix, --class-name-suffix, and --class-name-affix-scope options * Add validation for class_name_prefix and class_name_suffix * docs: update CLI reference documentation and prompt data 🤖 Generated by GitHub Actions * Fix coverage: add skip_generator_and_affix=True to scoped resolver * Revert "Fix coverage: add skip_generator_and_affix=True to scoped resolver" This reverts commit 3ccbe07. * Remove unused skip_generator_and_affix feature * Add pragma no cover to Pydantic v2 validator * Remove line comments * Add pragma no cover to Pydantic v2 validator --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 0c3b510 - Browse repository at this point
Copy the full SHA 0c3b510View commit details -
Configuration menu - View commit details
-
Copy full SHA for 94bb621 - Browse repository at this point
Copy the full SHA 94bb621View commit details
Commits on Jan 2, 2026
-
Create type aliases for inline types with title when use-title-as-nam…
…e is enabled (#2889) When use_title_as_name is enabled and inline types (array, dict, enum as literal, oneOf/anyOf unions) have a title, type aliases are now created instead of using inline types directly. Also fixes Pydantic v2 compatibility issue where model_validate's extra='ignore' parameter requires Pydantic v2.12.5+. Fixes: #2887
Configuration menu - View commit details
-
Copy full SHA for 1d221da - Browse repository at this point
Copy the full SHA 1d221daView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5306aef - Browse repository at this point
Copy the full SHA 5306aefView commit details -
Create type aliases for nested elements with titles when use-title-as…
…-name is enabled (#2891) * Create type aliases for nested elements with titles when use-title-as-name is enabled * Add patternProperties and propertyNames support for use-title-as-name
Configuration menu - View commit details
-
Copy full SHA for debf5c8 - Browse repository at this point
Copy the full SHA debf5c8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4f26e46 - Browse repository at this point
Copy the full SHA 4f26e46View commit details -
Configuration menu - View commit details
-
Copy full SHA for f4b240a - Browse repository at this point
Copy the full SHA f4b240aView commit details -
Add documentation for reducing duplicate field types (#2896)
* Add documentation for reducing duplicate field types with --use-type-alias * docs: update CLI reference documentation and prompt data 🤖 Generated by GitHub Actions * Use heading instead of bold for Result section --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for a834e62 - Browse repository at this point
Copy the full SHA a834e62View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2b45def - Browse repository at this point
Copy the full SHA 2b45defView commit details -
Add --openapi-include-paths option for path-based model filtering (#2894
Configuration menu - View commit details
-
Copy full SHA for 87445c8 - Browse repository at this point
Copy the full SHA 87445c8View commit details -
Add --graphql-no-typename option to exclude typename field (#2899)
* Add --graphql-no-typename option to exclude typename field * docs: update CLI reference documentation and prompt data 🤖 Generated by GitHub Actions --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 99aac7b - Browse repository at this point
Copy the full SHA 99aac7bView commit details -
Add --default-values CLI option for overriding field defaults (#2897)
* Add --default-values CLI option for overriding field defaults * docs: update CLI reference documentation and prompt data 🤖 Generated by GitHub Actions * Remove line comments and add flat key test coverage * Remove line comments from parser files * Simplify resolve_default_value by removing redundant class_name check * DRY JSON config loading with _load_json_config helper * Add test for custom_formatters_kwargs validation error * Handle class_name=None edge case and add allOf inheritance test * Fix flat overrides skipped when class_name is None * Simplify resolve_default_value scoped key logic --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 689cc79 - Browse repository at this point
Copy the full SHA 689cc79View commit details -
Configuration menu - View commit details
-
Copy full SHA for a310b6f - Browse repository at this point
Copy the full SHA a310b6fView commit details -
Fix --reuse-model --collapse-reuse-models to deduplicate identical in…
…line definitions (#2903)
Configuration menu - View commit details
-
Copy full SHA for 8b7c441 - Browse repository at this point
Copy the full SHA 8b7c441View commit details -
Add --use-serialization-alias option for Pydantic v2 (#2905)
* Add --use-serialization-alias option for Pydantic v2 * docs: update CLI reference documentation and prompt data 🤖 Generated by GitHub Actions --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 3db6667 - Browse repository at this point
Copy the full SHA 3db6667View commit details -
Fix Pydantic v2 discriminated unions in array fields (#2907)
* Fix Pydantic v2 discriminated unions in array fields * Add e2e tests for discriminator in array * Remove complex runtime test that fails in CI
Configuration menu - View commit details
-
Copy full SHA for ccf8794 - Browse repository at this point
Copy the full SHA ccf8794View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff 0.51.0...0.52.0