Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 5, 2026

Updates the requirements on datamodel-code-generator to permit the latest version.

Release notes

Sourced from datamodel-code-generator's releases.

0.52.2

What's Changed

Full Changelog: koxudaxi/datamodel-code-generator@0.52.1...0.52.2

Changelog

Sourced from datamodel-code-generator's changelog.

0.52.2 - 2026-01-05

What's Changed

Full Changelog: koxudaxi/datamodel-code-generator@0.52.1...0.52.2


0.52.1 - 2026-01-03

What's Changed

Full Changelog: koxudaxi/datamodel-code-generator@0.52.0...0.52.1


0.52.0 - 2026-01-02

Breaking Changes

Code Generation Changes

  • Union fields with titles now wrapped in named models when --use-title-as-name is enabled - Previously, union-typed fields with a title were generated as inline union types (e.g., TypeA | TypeB | TypeC | None). Now they generate a separate wrapper model using the title name, and the field references this wrapper type (e.g., ProcessingStatusUnionTitle | None). This affects code that directly accesses union field values, as they now need to access the .root attribute (Pydantic v2) or .__root__ (Pydantic v1) of the wrapper model. (#2889) Before:
    class ProcessingTaskTitle(BaseModel):
        processing_status_union: (
            ProcessingStatusDetail | ExtendedProcessingTask | ProcessingStatusTitle | None
        ) = Field('COMPLETED', title='Processing Status Union Title')

... (truncated)

Commits
  • 794e02b Fix URL port handling in get_url_path_parts (#2933)
  • 61c08d6 Migrate from pyright to ty type checker (#2928)
  • ee08fff Fix release-draft workflow to use pull_request_target and increase max_turns ...
  • 5acb178 Add TypedDict closed and extra_items support (PEP 728) (#2922)
  • 54c3ed9 fix: Handle class name prefix correctly in GraphQL parser (#2926)
  • 58e73ed Add hash to Pydantic v2 models used in sets (#2918)
  • 960f7f9 Add support for multiple base classes in base_class_map and customBasePath (#...
  • 1b931d5 docs: update CHANGELOG.md for 0.52.1
  • 361fb5a Add deprecation warning for Pydantic v2 without --use-annotated (#2914)
  • 69c51fd Add deprecated field support for Pydantic v2 (#2915)
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [datamodel-code-generator](https://github.com/koxudaxi/datamodel-code-generator) to permit the latest version.
- [Release notes](https://github.com/koxudaxi/datamodel-code-generator/releases)
- [Changelog](https://github.com/koxudaxi/datamodel-code-generator/blob/main/CHANGELOG.md)
- [Commits](koxudaxi/datamodel-code-generator@0.44.0...0.52.2)

---
updated-dependencies:
- dependency-name: datamodel-code-generator
  dependency-version: 0.52.2
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Jan 5, 2026
@dependabot dependabot bot requested a review from a team as a code owner January 5, 2026 19:10
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Jan 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants