Skip to content

Update datamodel-code-generator requirement from <0.60,>=0.59 to >=0.59,<0.62#604

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/datamodel-code-generator-gte-0.59-and-lt-0.62
Closed

Update datamodel-code-generator requirement from <0.60,>=0.59 to >=0.59,<0.62#604
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/datamodel-code-generator-gte-0.59-and-lt-0.62

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 9, 2026

Copy link
Copy Markdown
Contributor

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

Release notes

Sourced from datamodel-code-generator's releases.

0.61.0

Breaking Changes

  • HTTP(S) schema fetching now blocks localhost, loopback, private, link-local, reserved, and other non-public network targets by default. Users who intentionally fetch schemas from trusted internal/private network endpoints must pass --allow-private-network or set allow_private_network=True.
  • HTTP(S) redirects are now followed manually and each redirect target is validated before fetching. Redirects to non-public network targets are blocked unless private network access is explicitly enabled.

Security

  • Fixed SSRF protections for HTTP(S) schema fetching via --url and remote JSON Schema/OpenAPI $ref URLs. (GHSA-rfr2-mq9m-x2qx, GHSA-954p-556p-r752)
  • Remote $ref fetching remains controlled by --allow-remote-refs; non-public remote references additionally require --allow-private-network.

What's Changed

Full Changelog: koxudaxi/datamodel-code-generator@0.60.2...0.61.0

Changelog

Sourced from datamodel-code-generator's changelog.

0.61.0 - 2026-06-08

Breaking Changes

  • HTTP(S) schema fetching now blocks localhost, loopback, private, link-local, reserved, and other non-public network targets by default. Users who intentionally fetch schemas from trusted internal/private network endpoints must pass --allow-private-network or set allow_private_network=True.
  • HTTP(S) redirects are now followed manually and each redirect target is validated before fetching. Redirects to non-public network targets are blocked unless private network access is explicitly enabled.

Security

  • Fixed SSRF protections for HTTP(S) schema fetching via --url and remote JSON Schema/OpenAPI $ref URLs. (GHSA-rfr2-mq9m-x2qx, GHSA-954p-556p-r752)
  • Remote $ref fetching remains controlled by --allow-remote-refs; non-public remote references additionally require --allow-private-network.

What's Changed

Full Changelog: koxudaxi/datamodel-code-generator@0.60.2...0.61.0


0.60.2 - 2026-06-08

Security

  • Fixed code injection from schema-provided default_factory values. (GHSA-386q-5hp3-95m9)
  • Fixed code injection from JSON Schema x-python-type extension values. (GHSA-m34r-v34r-rf9q)
  • Fixed code injection from comment entries supplied through --extra-template-data. (GHSA-wjv6-jcfj-mf9r)
  • Fixed code injection from Pydantic v2 validator definitions supplied through --validators or --extra-template-data. (GHSA-8m8r-38jm-f355)

What's Changed

Full Changelog: koxudaxi/datamodel-code-generator@0.60.1...0.60.2


0.60.1 - 2026-06-07

Security

  • Fixed code injection from GraphQL union descriptions containing carriage returns. (GHSA-j884-q54q-mmx3)

What's Changed

... (truncated)

Commits

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)

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.59.0...0.61.0)

---
updated-dependencies:
- dependency-name: datamodel-code-generator
  dependency-version: 0.61.0
  dependency-type: direct:production
...

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 Jun 9, 2026
@dependabot @github

dependabot Bot commented on behalf of github Jun 11, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #605.

@dependabot dependabot Bot closed this Jun 11, 2026
@dependabot
dependabot Bot deleted the dependabot/pip/datamodel-code-generator-gte-0.59-and-lt-0.62 branch June 11, 2026 01:03
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