Skip to content

chore(deps-dev): bump datamodel-code-generator from 0.31.2 to 0.75.1 in /sdk/python - #683

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/sdk/python/datamodel-code-generator-0.75.1
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/sdk/python/datamodel-code-generator-0.75.1

Conversation

@dependabot

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

Copy link
Copy Markdown

Bumps datamodel-code-generator from 0.31.2 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.31.2 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.31.2...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 dependencies Pull requests that update a dependency file python Pull requests that update python code labels Aug 28, 2026
@dependabot @github

dependabot Bot commented on behalf of github Sep 1, 2026

Copy link
Copy Markdown
Author

Superseded by #701.

@dependabot dependabot Bot closed this Sep 1, 2026
@dependabot
dependabot Bot deleted the dependabot/pip/sdk/python/datamodel-code-generator-0.75.1 branch September 1, 2026 03:10
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