dependabot[bot] opened a new pull request, #14716: URL: https://github.com/apache/iceberg/pull/14716
Bumps [datamodel-code-generator](https://github.com/koxudaxi/datamodel-code-generator) from 0.35.0 to 0.36.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/koxudaxi/datamodel-code-generator/releases">datamodel-code-generator's releases</a>.</em></p> <blockquote> <h2>0.36.0</h2> <h2>Breaking Changes</h2> <ul> <li> <p>OpenAPI <code>byte</code>-formatted string properties for Pydantic v2 are now generated as <code>bytes</code> fields that Pydantic automatically decodes from base64-encoded strings at runtime. Code that relied on these fields being plain <code>str</code> values (the encoded representation) may need to be updated. by <a href="https://github.com/ilovelinux"><code>@ilovelinux</code></a> in <a href="https://redirect.github.com/koxudaxi/datamodel-code-generator/pull/2511">koxudaxi/datamodel-code-generator#2511</a> (closes <a href="https://redirect.github.com/koxudaxi/datamodel-code-generator/issues/189">koxudaxi/datamodel-code-generator#189</a>)</p> </li> <li> <p>Enums inferred from OpenAPI / JSON Schema string or integer enums are now generated as specialized <code>StrEnum</code> / <code>IntEnum</code> subclasses by default when supported by the target Python version. This changes the base class of existing generated enums and can affect comparisons, JSON encoding, and downstream type checks. You can opt out using the <code>--no-use-specialized-enum</code> CLI flag or <code>use_specialized_enum = false</code> in the configuration file. by <a href="https://github.com/ilovelinux"><code>@ilovelinux</code></a> in <a href="https://redirect.github.com/koxudaxi/datamodel-code-generator/pull/2512">koxudaxi/datamodel-code-generator#2512</a> (closes <a href="https://redirect.github.com/koxudaxi/datamodel-code-generator/issues/1313">koxudaxi/datamodel-code-generator#1313</a> and <a href="https://redirect.github.com/koxudaxi/datamodel-code-generator/issues/2534">koxudaxi/datamodel-code-generator#2534</a>)</p> </li> <li> <p>For some Pydantic v2 collection schemas that previously generated a <code>RootModel</code> wrapper (for example the <code>MyArray</code> case described in <a href="https://redirect.github.com/koxudaxi/datamodel-code-generator/issues/1830">koxudaxi/datamodel-code-generator#1830</a>), the generated code now uses a <code>TypeAlias</code> instead of a dedicated model class. Projects that import or subclass such wrapper models may need to adjust to use the alias instead. by <a href="https://github.com/butvinm"><code>@butvinm</code></a> in <a href="https://redirect.github.com/koxudaxi/datamodel-code-generator/pull/2505">koxudaxi/datamodel-code-generator#2505</a> (closes <a href="https://redirect.github.com/koxudaxi/datamodel-code-generator/issues/1848">koxudaxi/datamodel-code-generator#1848</a>, <a href="https://redirect.github.com/koxudaxi/datamodel-code-generator/issues/2018">koxudaxi/datamodel-code-generator#2018</a>, <a href="https://redirect.github.com/koxudaxi/datamodel-code -generator/issues/2427">koxudaxi/datamodel-code-generator#2427</a>, and <a href="https://redirect.github.com/koxudaxi/datamodel-code-generator/issues/2487">koxudaxi/datamodel-code-generator#2487</a>)</p> </li> </ul> <h2>What's Changed</h2> <ul> <li>Add --use-type-alias flag to generate TypeAlias instead of root models by <a href="https://github.com/butvinm"><code>@butvinm</code></a> in <a href="https://redirect.github.com/koxudaxi/datamodel-code-generator/pull/2505">koxudaxi/datamodel-code-generator#2505</a></li> <li>Fix Pydantic v1 runtime support by <a href="https://github.com/ilovelinux"><code>@ilovelinux</code></a> in <a href="https://redirect.github.com/koxudaxi/datamodel-code-generator/pull/2538">koxudaxi/datamodel-code-generator#2538</a></li> <li>Use subclass enum for GraphQL enums when the relative flag is used by <a href="https://github.com/ilovelinux"><code>@ilovelinux</code></a> in <a href="https://redirect.github.com/koxudaxi/datamodel-code-generator/pull/2514">koxudaxi/datamodel-code-generator#2514</a></li> <li>Add support for OpenAPI <code>byte</code> in Pydantic v2 by <a href="https://github.com/ilovelinux"><code>@ilovelinux</code></a> in <a href="https://redirect.github.com/koxudaxi/datamodel-code-generator/pull/2511">koxudaxi/datamodel-code-generator#2511</a></li> <li>Add support for specialized enums as StrEnum and IntEnum by <a href="https://github.com/ilovelinux"><code>@ilovelinux</code></a> in <a href="https://redirect.github.com/koxudaxi/datamodel-code-generator/pull/2512">koxudaxi/datamodel-code-generator#2512</a></li> <li>[Chore] Clean-up <code>TYPE_CHECKING</code> blocks by <a href="https://github.com/ilovelinux"><code>@ilovelinux</code></a> in <a href="https://redirect.github.com/koxudaxi/datamodel-code-generator/pull/2539">koxudaxi/datamodel-code-generator#2539</a></li> <li>Add support for unquoted <code>null</code> type by <a href="https://github.com/ilovelinux"><code>@ilovelinux</code></a> in <a href="https://redirect.github.com/koxudaxi/datamodel-code-generator/pull/2542">koxudaxi/datamodel-code-generator#2542</a></li> <li>Add inline-snapshot test dependency by <a href="https://github.com/koxudaxi"><code>@koxudaxi</code></a> in <a href="https://redirect.github.com/koxudaxi/datamodel-code-generator/pull/2546">koxudaxi/datamodel-code-generator#2546</a></li> <li>Support isort 7 by <a href="https://github.com/jas4711"><code>@jas4711</code></a> in <a href="https://redirect.github.com/koxudaxi/datamodel-code-generator/pull/2521">koxudaxi/datamodel-code-generator#2521</a></li> <li>Add inline-snapshot for test expected value management by <a href="https://github.com/koxudaxi"><code>@koxudaxi</code></a> in <a href="https://redirect.github.com/koxudaxi/datamodel-code-generator/pull/2544">koxudaxi/datamodel-code-generator#2544</a></li> <li>Add --use-inline-field-description option for inline docstring format by <a href="https://github.com/koxudaxi"><code>@koxudaxi</code></a> in <a href="https://redirect.github.com/koxudaxi/datamodel-code-generator/pull/2547">koxudaxi/datamodel-code-generator#2547</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/koxudaxi/datamodel-code-generator/compare/0.35.0...0.36.0">https://github.com/koxudaxi/datamodel-code-generator/compare/0.35.0...0.36.0</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/koxudaxi/datamodel-code-generator/commit/65386ee17ff658882455a296f2c488bc7eecf8a0"><code>65386ee</code></a> Add --use-inline-field-description option for inline docstring format (<a href="https://redirect.github.com/koxudaxi/datamodel-code-generator/issues/2547">#2547</a>)</li> <li><a href="https://github.com/koxudaxi/datamodel-code-generator/commit/3cab0d138424789fc3b865466d7655ad4513d1ba"><code>3cab0d1</code></a> Add inline-snapshot for test expected value management (<a href="https://redirect.github.com/koxudaxi/datamodel-code-generator/issues/2544">#2544</a>)</li> <li><a href="https://github.com/koxudaxi/datamodel-code-generator/commit/4847d978916c2821c078c3fa8c48a482466eccc7"><code>4847d97</code></a> Support isort 7 (<a href="https://redirect.github.com/koxudaxi/datamodel-code-generator/issues/2521">#2521</a>)</li> <li><a href="https://github.com/koxudaxi/datamodel-code-generator/commit/2d9858feb51656e1fbc0f4a0c4dc00728054b817"><code>2d9858f</code></a> Add inline-snapshot test dependency (<a href="https://redirect.github.com/koxudaxi/datamodel-code-generator/issues/2546">#2546</a>)</li> <li><a href="https://github.com/koxudaxi/datamodel-code-generator/commit/95c9e064c8185ba5dd35966d25ae4d8ca39eed97"><code>95c9e06</code></a> [pre-commit.ci] pre-commit autoupdate (<a href="https://redirect.github.com/koxudaxi/datamodel-code-generator/issues/2545">#2545</a>)</li> <li><a href="https://github.com/koxudaxi/datamodel-code-generator/commit/c166c34e10db76260eea2b95089b4ab92e220ef2"><code>c166c34</code></a> Add support for unquoted <code>null</code> type (<a href="https://redirect.github.com/koxudaxi/datamodel-code-generator/issues/2542">#2542</a>)</li> <li><a href="https://github.com/koxudaxi/datamodel-code-generator/commit/7cc875cdaf0355d41e39ff2bed584268f9213fb4"><code>7cc875c</code></a> [pre-commit.ci] pre-commit autoupdate (<a href="https://redirect.github.com/koxudaxi/datamodel-code-generator/issues/2541">#2541</a>)</li> <li><a href="https://github.com/koxudaxi/datamodel-code-generator/commit/277563b9922bd47831ec1352f5c7bc032d704af2"><code>277563b</code></a> Clean-up TYPE_CHECKING blocks (<a href="https://redirect.github.com/koxudaxi/datamodel-code-generator/issues/2539">#2539</a>)</li> <li><a href="https://github.com/koxudaxi/datamodel-code-generator/commit/3e0fdca53fd003c46943cf561df86ebac1b8e936"><code>3e0fdca</code></a> Bump Codspeed to v4 (<a href="https://redirect.github.com/koxudaxi/datamodel-code-generator/issues/2540">#2540</a>)</li> <li><a href="https://github.com/koxudaxi/datamodel-code-generator/commit/ebd460fd6e4660868651d806293dd36d3942d3a8"><code>ebd460f</code></a> Add support for specialized enums as StrEnum and IntEnum (<a href="https://redirect.github.com/koxudaxi/datamodel-code-generator/issues/2512">#2512</a>)</li> <li>Additional commits viewable in <a href="https://github.com/koxudaxi/datamodel-code-generator/compare/0.35.0...0.36.0">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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 merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@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) </details> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
