Skip to content

build(deps-dev): bump datamodel-code-generator from 0.25.9 to 0.72.2 - #282

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/uv/datamodel-code-generator-0.72.2
Open

build(deps-dev): bump datamodel-code-generator from 0.25.9 to 0.72.2#282
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/uv/datamodel-code-generator-0.72.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 11, 2026

Copy link
Copy Markdown
Contributor

Bumps datamodel-code-generator from 0.25.9 to 0.72.2.

Release notes

Sourced from datamodel-code-generator's releases.

0.72.2

What's Changed

New Contributors

Full Changelog: koxudaxi/datamodel-code-generator@0.72.1...0.72.2

0.72.1

What's Changed

New Contributors

Full Changelog: koxudaxi/datamodel-code-generator@0.72.0...0.72.1

0.71.0

Breaking Changes

Default Behavior Changes

  • New warning emitted by default for unresolved local $ref pointers - By default, an unresolved local $ref JSON pointer now emits a new DanglingRefWarning and generates a fallback Any model. Previously such refs resolved to a silent fallback, and some cases (e.g., out-of-range JSON pointer array indices) raised a hard error. Schemas that previously generated cleanly can now produce warnings, which breaks workflows that treat warnings as errors (e.g., python -W error). Use --strict-refs to fail on unresolved pointers instead, or --disable-warnings to silence them (#3639)

Error Handling Changes

  • $ref to a non-dict file now raises InvalidFileFormatError instead of TypeError - Resolving a $ref to a JSON/YAML file whose top-level value is not a mapping (e.g., a list) now raises datamodel_code_generator.InvalidFileFormatError (a subclass of Error/Exception) rather than the built-in TypeError. Programmatic callers that catch TypeError around generate() must catch InvalidFileFormatError (or Error) instead (#3639)
  • Malformed-input diagnostics reworded - Malformed inputs that previously surfaced an uncaught traceback now emit a concise message such as Invalid file format for <type> at <source>: ..., and the missing-file message changed from File not found to File not found: <path>. Tooling that matches on the exact previous strings needs updating (#3639)
  • Generation now aborts when output paths would overwrite inputs or collide - A new path-conflict validation runs before generation in both the generate() Python API and the CLI. Invocations that previously succeeded now raise an Error (CLI exits with an error code) in these cases: the output path resolves to an existing input file, the --emit-model-metadata path resolves to an existing input file, or the output and model-metadata paths resolve to the same file. Symlinks and hardlinks are resolved before the comparison. Workflows that intentionally wrote output over an input path, or that pointed the model-metadata artifact at the same path as the output, will now fail with one of:
</tr></table> 

... (truncated)

Changelog

Sourced from datamodel-code-generator's changelog.

0.72.2 - 2026-08-06

What's Changed

New Contributors

Full Changelog: koxudaxi/datamodel-code-generator@0.72.1...0.72.2


0.72.1 - 2026-08-04

What's Changed

New Contributors

Full Changelog: koxudaxi/datamodel-code-generator@0.72.0...0.72.1


0.72.0 - 2026-08-03

Breaking Changes

Code Generation Changes

  • msgspec empty object default on nested Struct now builds the model - An empty object ({}) default whose type is a nested Struct reference now renders a conversion factory instead of a plain dict factory, changing the runtime default from an empty dict to an actual model instance. No CLI flag is required to trigger this. Regenerating existing schemas that have empty-object defaults for nested Struct fields will produce different output and different default values (#3668)

... (truncated)

Commits

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code labels Aug 11, 2026
@github-actions
github-actions Bot enabled auto-merge (squash) August 11, 2026 14:15
@dependabot
dependabot Bot force-pushed the dependabot/uv/datamodel-code-generator-0.72.2 branch from a9e0729 to c814d30 Compare August 11, 2026 14:19
@dependabot
dependabot Bot force-pushed the dependabot/uv/datamodel-code-generator-0.72.2 branch from c814d30 to bbbc12e Compare August 11, 2026 14:23
Bumps [datamodel-code-generator](https://github.com/koxudaxi/datamodel-code-generator) from 0.25.9 to 0.72.2.
- [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.25.9...0.72.2)

---
updated-dependencies:
- dependency-name: datamodel-code-generator
  dependency-version: 0.72.2
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/uv/datamodel-code-generator-0.72.2 branch from bbbc12e to 53e6e36 Compare August 11, 2026 15:09
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:uv Pull requests that update python:uv code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants