Skip to content

Bump datamodel-code-generator from 0.66.0 to 0.68.1 in /sdk-python#303

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

Bump datamodel-code-generator from 0.66.0 to 0.68.1 in /sdk-python#303
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/uv/sdk-python/datamodel-code-generator-0.68.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 13, 2026

Copy link
Copy Markdown
Contributor

Bumps datamodel-code-generator from 0.66.0 to 0.68.1.

Release notes

Sourced from datamodel-code-generator's releases.

0.68.1

What's Changed

Full Changelog: koxudaxi/datamodel-code-generator@0.68.0...0.68.1

0.68.0

Breaking Changes

Error Handling Changes

  • Ruff formatting failures now raise instead of being ignored - Ruff subprocess calls previously ran with check=False and used their stdout regardless of exit code, so a failed ruff run silently produced (possibly empty or partial) output. _run_ruff_command now raises RuntimeError when ruff exits non-zero (except the allowed check-with-remaining-diagnostics case), and _find_ruff_path raises a RuntimeError with an install hint when ruff is missing instead of falling back to "ruff". Workflows that relied on generation silently succeeding despite a ruff error will now fail with an exception. (#3561)

Code Generation Changes

  • --enable-command-header now redacts sensitive HTTP options - When --enable-command-header is combined with --http-headers or --http-query-parameters, the reproducibility command line embedded in generated files now writes <redacted> in place of those values instead of the literal arguments. Generated file headers change for these flag combinations, so committed output or snapshot tests will differ. (#3561)
  • RootModel config rendering for config objects - Pydantic v2 RootModel now synchronizes and renders model_config derived from config objects (e.g. regex_engine, frozen) that were previously dropped, and non-dict config objects are now applied in the base model. Generated output for affected pydantic v2 root models may now include a model_config = ConfigDict(...) that was not emitted before. (#3561)

Bug Fixes

  • generate() keeps str inputs as inline source text. Pass a Path to input_ for local file input; if a failed string input resolves to an existing path, generate() warns and recommends using Path. (#3573)

What's Changed

... (truncated)

Changelog

Sourced from datamodel-code-generator's changelog.

0.68.1 - 2026-07-08

What's Changed

Full Changelog: koxudaxi/datamodel-code-generator@0.68.0...0.68.1


0.68.0 - 2026-07-06

Breaking Changes

Error Handling Changes

  • Ruff formatting failures now raise instead of being ignored - Ruff subprocess calls previously ran with check=False and used their stdout regardless of exit code, so a failed ruff run silently produced (possibly empty or partial) output. _run_ruff_command now raises RuntimeError when ruff exits non-zero (except the allowed check-with-remaining-diagnostics case), and _find_ruff_path raises a RuntimeError with an install hint when ruff is missing instead of falling back to "ruff". Workflows that relied on generation silently succeeding despite a ruff error will now fail with an exception. (#3561)

Code Generation Changes

  • --enable-command-header now redacts sensitive HTTP options - When --enable-command-header is combined with --http-headers or --http-query-parameters, the reproducibility command line embedded in generated files now writes <redacted> in place of those values instead of the literal arguments. Generated file headers change for these flag combinations, so committed output or snapshot tests will differ. (#3561)
  • RootModel config rendering for config objects - Pydantic v2 RootModel now synchronizes and renders model_config derived from config objects (e.g. regex_engine, frozen) that were previously dropped, and non-dict config objects are now applied in the base model. Generated output for affected pydantic v2 root models may now include a model_config = ConfigDict(...) that was not emitted before. (#3561)

Bug Fixes

  • generate() keeps str inputs as inline source text. Pass a Path to input_ for local file input; if a failed string input resolves to an existing path, generate() warns and recommends using Path. (#3573)

What's Changed

... (truncated)

Commits

Dependabot compatibility score

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 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)

Bumps [datamodel-code-generator](https://github.com/koxudaxi/datamodel-code-generator) from 0.66.0 to 0.68.1.
- [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.66.0...0.68.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Jul 13, 2026
@greptile-apps

greptile-apps Bot commented Jul 13, 2026

Copy link
Copy Markdown

No reviewable files after applying ignore patterns.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants