Skip to content

Bump datamodel-code-generator from 0.71.0 to 0.75.1 in /sdk-python - #389

Merged
etbyrd merged 1 commit into
mainfrom
dependabot/uv/sdk-python/datamodel-code-generator-0.75.1
Sep 10, 2026
Merged

Bump datamodel-code-generator from 0.71.0 to 0.75.1 in /sdk-python#389
etbyrd merged 1 commit into
mainfrom
dependabot/uv/sdk-python/datamodel-code-generator-0.75.1

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Bumps datamodel-code-generator from 0.71.0 to 0.75.1.

Release notes

Sourced from datamodel-code-generator's releases.

0.75.1

What's Changed

New Contributors

Full Changelog: datamodel-code-generator/datamodel-code-generator@0.75.0...0.75.1

0.75.0

Breaking Changes

  • minProperties/maxProperties now generate runtime validators - When using the experimental --generate-schema-validators option, minProperties/maxProperties constraints on named object models are now emitted as Pydantic v2 model validators. Previously these constraints were ignored. Data that omits or exceeds the allowed property count will now be rejected at validation time, and generated models gain a new __json_schema_property_count_rule__ class variable (#3780)
  • Runtime-validation helper base class renamed in mixed modules - When a module contains both core validators (patternProperties / required groups / conditional required) and the new property-count validators, the shared helper base class previously named _JsonSchemaRuntimeValidationBase is now split: the core helper is renamed to _JsonSchemaRuntimeValidationBaseCore and a new _JsonSchemaRuntimeValidationBase subclass is inserted. Code that references the generated helper class name by hand will need to be updated (#3780)
# Before (--generate-schema-validators)
class _JsonSchemaRuntimeValidationBase(BaseModel):
    __json_schema_conditional_required__: ClassVar[tuple[Any, ...]] = ()
    ...
class ApiConditionalEnvelopeRequestModel(_JsonSchemaRuntimeValidationBase):
json_schema_conditional_required: ClassVar[tuple[Any, ...]] = (...)
After
class _JsonSchemaRuntimeValidationBaseCore(BaseModel):
json_schema_conditional_required: ClassVar[tuple[Any, ...]] = ()
...
class _JsonSchemaRuntimeValidationBase(_JsonSchemaRuntimeValidationBaseCore):
json_schema_property_count_rule: ClassVar[tuple[Any, ...]] = ()
...
class ApiConditionalEnvelopeRequestModel(_JsonSchemaRuntimeValidationBase):
json_schema_property_count_rule: ClassVar[tuple[Any, ...]] = (2, 2)
json_schema_conditional_required: ClassVar[tuple[Any, ...]] = (...)

What's Changed

... (truncated)

Changelog

Sourced from datamodel-code-generator's changelog.

0.75.1 - 2026-08-24

What's Changed

New Contributors

Full Changelog: datamodel-code-generator/datamodel-code-generator@0.75.0...0.75.1


0.75.0 - 2026-08-24

Breaking Changes

  • minProperties/maxProperties now generate runtime validators - When using the experimental --generate-schema-validators option, minProperties/maxProperties constraints on named object models are now emitted as Pydantic v2 model validators. Previously these constraints were ignored. Data that omits or exceeds the allowed property count will now be rejected at validation time, and generated models gain a new __json_schema_property_count_rule__ class variable (#3780)
  • Runtime-validation helper base class renamed in mixed modules - When a module contains both core validators (patternProperties / required groups / conditional required) and the new property-count validators, the shared helper base class previously named _JsonSchemaRuntimeValidationBase is now split: the core helper is renamed to _JsonSchemaRuntimeValidationBaseCore and a new _JsonSchemaRuntimeValidationBase subclass is inserted. Code that references the generated helper class name by hand will need to be updated (#3780)
# Before (--generate-schema-validators)
class _JsonSchemaRuntimeValidationBase(BaseModel):
    __json_schema_conditional_required__: ClassVar[tuple[Any, ...]] = ()
    ...
class ApiConditionalEnvelopeRequestModel(_JsonSchemaRuntimeValidationBase):
json_schema_conditional_required: ClassVar[tuple[Any, ...]] = (...)
After
class _JsonSchemaRuntimeValidationBaseCore(BaseModel):
json_schema_conditional_required: ClassVar[tuple[Any, ...]] = ()
...
class _JsonSchemaRuntimeValidationBase(_JsonSchemaRuntimeValidationBaseCore):
json_schema_property_count_rule: ClassVar[tuple[Any, ...]] = ()
...
class ApiConditionalEnvelopeRequestModel(_JsonSchemaRuntimeValidationBase):
json_schema_property_count_rule: ClassVar[tuple[Any, ...]] = (2, 2)
json_schema_conditional_required: ClassVar[tuple[Any, ...]] = (...)

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.71.0 to 0.75.1.
- [Release notes](https://github.com/koxudaxi/datamodel-code-generator/releases)
- [Changelog](https://github.com/koxudaxi/datamodel-code-generator/blob/main/CHANGELOG.md)
- [Commits](datamodel-code-generator/datamodel-code-generator@0.71.0...0.75.1)

---
updated-dependencies:
- dependency-name: datamodel-code-generator
  dependency-version: 0.75.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 Aug 31, 2026
@greptile-apps

greptile-apps Bot commented Aug 31, 2026

Copy link
Copy Markdown

No reviewable files after applying ignore patterns.

@etbyrd etbyrd left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dependency bump reviewed: lockfile/manifest version update only, CI green.

@etbyrd
etbyrd added this pull request to the merge queue Sep 10, 2026
Merged via the queue into main with commit 86ac02c Sep 10, 2026
11 checks passed
@etbyrd
etbyrd deleted the dependabot/uv/sdk-python/datamodel-code-generator-0.75.1 branch September 10, 2026 16:19
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.

1 participant