dependabot[bot] opened a new pull request, #17100: URL: https://github.com/apache/iceberg/pull/17100
Bumps [datamodel-code-generator](https://github.com/koxudaxi/datamodel-code-generator) from 0.64.1 to 0.66.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.66.0</h2> <h2>Breaking Changes</h2> <ul> <li>msgspec nullable annotated fields now place <code>None</code> outside <code>Annotated</code> - For <code>msgspec.Struct</code> models, nullable fields that carry <code>Meta</code>/<code>Annotated</code> constraints no longer wrap the type in <code>Optional</code> inside the <code>Annotated[...]</code>. The <code>None</code> member is now emitted as a separate union arm outside the <code>Annotated</code> wrapper, which changes the generated type hints and the resulting imports (<code>Optional</code> is dropped when no longer needed). This is required for the generated models to validate correctly at runtime under msgspec, but it changes output for existing users. (<a href="https://redirect.github.com/koxudaxi/datamodel-code-generator/issues/3495">#3495</a>)</li> </ul> <pre lang="python"><code># Before from typing import Annotated, Optional, Union name: Union[Annotated[Optional[str], Meta(max_length=5)], UnsetType] = UNSET <h1>After</h1> <p>from typing import Annotated, Union name: Union[Annotated[str, Meta(max_length=5)], None, UnsetType] = UNSET </code></pre></p> <h2>What's Changed</h2> <ul> <li>Update CHANGELOG for 0.65.1 by <a href="https://github.com/dcg-generated-docs"><code>@dcg-generated-docs</code></a>[bot] in <a href="https://redirect.github.com/koxudaxi/datamodel-code-generator/pull/3492">koxudaxi/datamodel-code-generator#3492</a></li> <li>Add MCP Python SDK to Used by list by <a href="https://github.com/koxudaxi"><code>@koxudaxi</code></a> in <a href="https://redirect.github.com/koxudaxi/datamodel-code-generator/pull/3494">koxudaxi/datamodel-code-generator#3494</a></li> <li>Fix msgspec payload runtime compatibility by <a href="https://github.com/koxudaxi"><code>@koxudaxi</code></a> in <a href="https://redirect.github.com/koxudaxi/datamodel-code-generator/pull/3495">koxudaxi/datamodel-code-generator#3495</a></li> <li>Reorder Used by projects by <a href="https://github.com/koxudaxi"><code>@koxudaxi</code></a> in <a href="https://redirect.github.com/koxudaxi/datamodel-code-generator/pull/3496">koxudaxi/datamodel-code-generator#3496</a></li> <li>Fix docs workflow zensical invocation by <a href="https://github.com/koxudaxi"><code>@koxudaxi</code></a> in <a href="https://redirect.github.com/koxudaxi/datamodel-code-generator/pull/3497">koxudaxi/datamodel-code-generator#3497</a></li> <li>Bump the github-actions group with 19 updates by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/koxudaxi/datamodel-code-generator/pull/3490">koxudaxi/datamodel-code-generator#3490</a></li> <li>Automate release benchmark docs by <a href="https://github.com/koxudaxi"><code>@koxudaxi</code></a> in <a href="https://redirect.github.com/koxudaxi/datamodel-code-generator/pull/3498">koxudaxi/datamodel-code-generator#3498</a></li> <li>Create release benchmark data PRs by <a href="https://github.com/koxudaxi"><code>@koxudaxi</code></a> in <a href="https://redirect.github.com/koxudaxi/datamodel-code-generator/pull/3500">koxudaxi/datamodel-code-generator#3500</a></li> <li>Update release benchmark data by <a href="https://github.com/dcg-generated-docs"><code>@dcg-generated-docs</code></a>[bot] in <a href="https://redirect.github.com/koxudaxi/datamodel-code-generator/pull/3501">koxudaxi/datamodel-code-generator#3501</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/koxudaxi/datamodel-code-generator/compare/0.65.1...0.66.0">https://github.com/koxudaxi/datamodel-code-generator/compare/0.65.1...0.66.0</a></p> <h2>0.65.1</h2> <h2>What's Changed</h2> <ul> <li>Update CHANGELOG for 0.65.0 by <a href="https://github.com/dcg-generated-docs"><code>@dcg-generated-docs</code></a>[bot] in <a href="https://redirect.github.com/koxudaxi/datamodel-code-generator/pull/3470">koxudaxi/datamodel-code-generator#3470</a></li> <li>Speed up CLI generation by <a href="https://github.com/koxudaxi"><code>@koxudaxi</code></a> in <a href="https://redirect.github.com/koxudaxi/datamodel-code-generator/pull/3471">koxudaxi/datamodel-code-generator#3471</a></li> <li>Cache JSON Schema ref facts by <a href="https://github.com/koxudaxi"><code>@koxudaxi</code></a> in <a href="https://redirect.github.com/koxudaxi/datamodel-code-generator/pull/3472">koxudaxi/datamodel-code-generator#3472</a></li> <li>Cache model imports by <a href="https://github.com/koxudaxi"><code>@koxudaxi</code></a> in <a href="https://redirect.github.com/koxudaxi/datamodel-code-generator/pull/3473">koxudaxi/datamodel-code-generator#3473</a></li> <li>Add release benchmark docs by <a href="https://github.com/koxudaxi"><code>@koxudaxi</code></a> in <a href="https://redirect.github.com/koxudaxi/datamodel-code-generator/pull/3465">koxudaxi/datamodel-code-generator#3465</a></li> <li>Skip legacy Pydantic union round trip by <a href="https://github.com/koxudaxi"><code>@koxudaxi</code></a> in <a href="https://redirect.github.com/koxudaxi/datamodel-code-generator/pull/3475">koxudaxi/datamodel-code-generator#3475</a></li> <li>Strip Field None defaults with metadata by <a href="https://github.com/koxudaxi"><code>@koxudaxi</code></a> in <a href="https://redirect.github.com/koxudaxi/datamodel-code-generator/pull/3476">koxudaxi/datamodel-code-generator#3476</a></li> <li>Sync generated docs by <a href="https://github.com/dcg-generated-docs"><code>@dcg-generated-docs</code></a>[bot] in <a href="https://redirect.github.com/koxudaxi/datamodel-code-generator/pull/3478">koxudaxi/datamodel-code-generator#3478</a></li> <li>Use semantic None default checks by <a href="https://github.com/koxudaxi"><code>@koxudaxi</code></a> in <a href="https://redirect.github.com/koxudaxi/datamodel-code-generator/pull/3479">koxudaxi/datamodel-code-generator#3479</a></li> <li>Structure field import detection by <a href="https://github.com/koxudaxi"><code>@koxudaxi</code></a> in <a href="https://redirect.github.com/koxudaxi/datamodel-code-generator/pull/3481">koxudaxi/datamodel-code-generator#3481</a></li> <li>Use structured type rendering by <a href="https://github.com/koxudaxi"><code>@koxudaxi</code></a> in <a href="https://redirect.github.com/koxudaxi/datamodel-code-generator/pull/3488">koxudaxi/datamodel-code-generator#3488</a></li> <li>Use structured SerializeAsAny imports by <a href="https://github.com/koxudaxi"><code>@koxudaxi</code></a> in <a href="https://redirect.github.com/koxudaxi/datamodel-code-generator/pull/3482">koxudaxi/datamodel-code-generator#3482</a></li> <li>Use structured x-python-type annotations by <a href="https://github.com/koxudaxi"><code>@koxudaxi</code></a> in <a href="https://redirect.github.com/koxudaxi/datamodel-code-generator/pull/3486">koxudaxi/datamodel-code-generator#3486</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/koxudaxi/datamodel-code-generator/blob/main/CHANGELOG.md">datamodel-code-generator's changelog</a>.</em></p> <blockquote> <h2><a href="https://github.com/koxudaxi/datamodel-code-generator/releases/tag/0.66.0">0.66.0</a> - 2026-06-26</h2> <h2>Breaking Changes</h2> <ul> <li>msgspec nullable annotated fields now place <code>None</code> outside <code>Annotated</code> - For <code>msgspec.Struct</code> models, nullable fields that carry <code>Meta</code>/<code>Annotated</code> constraints no longer wrap the type in <code>Optional</code> inside the <code>Annotated[...]</code>. The <code>None</code> member is now emitted as a separate union arm outside the <code>Annotated</code> wrapper, which changes the generated type hints and the resulting imports (<code>Optional</code> is dropped when no longer needed). This is required for the generated models to validate correctly at runtime under msgspec, but it changes output for existing users. (<a href="https://redirect.github.com/koxudaxi/datamodel-code-generator/issues/3495">#3495</a>)</li> </ul> <pre lang="python"><code># Before from typing import Annotated, Optional, Union name: Union[Annotated[Optional[str], Meta(max_length=5)], UnsetType] = UNSET <h1>After</h1> <p>from typing import Annotated, Union name: Union[Annotated[str, Meta(max_length=5)], None, UnsetType] = UNSET </code></pre></p> <h2>What's Changed</h2> <ul> <li>Update CHANGELOG for 0.65.1 by <a href="https://github.com/dcg-generated-docs"><code>@dcg-generated-docs</code></a>[bot] in <a href="https://redirect.github.com/koxudaxi/datamodel-code-generator/pull/3492">koxudaxi/datamodel-code-generator#3492</a></li> <li>Add MCP Python SDK to Used by list by <a href="https://github.com/koxudaxi"><code>@koxudaxi</code></a> in <a href="https://redirect.github.com/koxudaxi/datamodel-code-generator/pull/3494">koxudaxi/datamodel-code-generator#3494</a></li> <li>Fix msgspec payload runtime compatibility by <a href="https://github.com/koxudaxi"><code>@koxudaxi</code></a> in <a href="https://redirect.github.com/koxudaxi/datamodel-code-generator/pull/3495">koxudaxi/datamodel-code-generator#3495</a></li> <li>Reorder Used by projects by <a href="https://github.com/koxudaxi"><code>@koxudaxi</code></a> in <a href="https://redirect.github.com/koxudaxi/datamodel-code-generator/pull/3496">koxudaxi/datamodel-code-generator#3496</a></li> <li>Fix docs workflow zensical invocation by <a href="https://github.com/koxudaxi"><code>@koxudaxi</code></a> in <a href="https://redirect.github.com/koxudaxi/datamodel-code-generator/pull/3497">koxudaxi/datamodel-code-generator#3497</a></li> <li>Bump the github-actions group with 19 updates by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/koxudaxi/datamodel-code-generator/pull/3490">koxudaxi/datamodel-code-generator#3490</a></li> <li>Automate release benchmark docs by <a href="https://github.com/koxudaxi"><code>@koxudaxi</code></a> in <a href="https://redirect.github.com/koxudaxi/datamodel-code-generator/pull/3498">koxudaxi/datamodel-code-generator#3498</a></li> <li>Create release benchmark data PRs by <a href="https://github.com/koxudaxi"><code>@koxudaxi</code></a> in <a href="https://redirect.github.com/koxudaxi/datamodel-code-generator/pull/3500">koxudaxi/datamodel-code-generator#3500</a></li> <li>Update release benchmark data by <a href="https://github.com/dcg-generated-docs"><code>@dcg-generated-docs</code></a>[bot] in <a href="https://redirect.github.com/koxudaxi/datamodel-code-generator/pull/3501">koxudaxi/datamodel-code-generator#3501</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/koxudaxi/datamodel-code-generator/compare/0.65.1...0.66.0">https://github.com/koxudaxi/datamodel-code-generator/compare/0.65.1...0.66.0</a></p> <hr /> <h2><a href="https://github.com/koxudaxi/datamodel-code-generator/releases/tag/0.65.1">0.65.1</a> - 2026-06-25</h2> <h2>What's Changed</h2> <ul> <li>Update CHANGELOG for 0.65.0 by <a href="https://github.com/dcg-generated-docs"><code>@dcg-generated-docs</code></a>[bot] in <a href="https://redirect.github.com/koxudaxi/datamodel-code-generator/pull/3470">koxudaxi/datamodel-code-generator#3470</a></li> <li>Speed up CLI generation by <a href="https://github.com/koxudaxi"><code>@koxudaxi</code></a> in <a href="https://redirect.github.com/koxudaxi/datamodel-code-generator/pull/3471">koxudaxi/datamodel-code-generator#3471</a></li> <li>Cache JSON Schema ref facts by <a href="https://github.com/koxudaxi"><code>@koxudaxi</code></a> in <a href="https://redirect.github.com/koxudaxi/datamodel-code-generator/pull/3472">koxudaxi/datamodel-code-generator#3472</a></li> <li>Cache model imports by <a href="https://github.com/koxudaxi"><code>@koxudaxi</code></a> in <a href="https://redirect.github.com/koxudaxi/datamodel-code-generator/pull/3473">koxudaxi/datamodel-code-generator#3473</a></li> <li>Add release benchmark docs by <a href="https://github.com/koxudaxi"><code>@koxudaxi</code></a> in <a href="https://redirect.github.com/koxudaxi/datamodel-code-generator/pull/3465">koxudaxi/datamodel-code-generator#3465</a></li> <li>Skip legacy Pydantic union round trip by <a href="https://github.com/koxudaxi"><code>@koxudaxi</code></a> in <a href="https://redirect.github.com/koxudaxi/datamodel-code-generator/pull/3475">koxudaxi/datamodel-code-generator#3475</a></li> <li>Strip Field None defaults with metadata by <a href="https://github.com/koxudaxi"><code>@koxudaxi</code></a> in <a href="https://redirect.github.com/koxudaxi/datamodel-code-generator/pull/3476">koxudaxi/datamodel-code-generator#3476</a></li> <li>Sync generated docs by <a href="https://github.com/dcg-generated-docs"><code>@dcg-generated-docs</code></a>[bot] in <a href="https://redirect.github.com/koxudaxi/datamodel-code-generator/pull/3478">koxudaxi/datamodel-code-generator#3478</a></li> <li>Use semantic None default checks by <a href="https://github.com/koxudaxi"><code>@koxudaxi</code></a> in <a href="https://redirect.github.com/koxudaxi/datamodel-code-generator/pull/3479">koxudaxi/datamodel-code-generator#3479</a></li> <li>Structure field import detection by <a href="https://github.com/koxudaxi"><code>@koxudaxi</code></a> in <a href="https://redirect.github.com/koxudaxi/datamodel-code-generator/pull/3481">koxudaxi/datamodel-code-generator#3481</a></li> <li>Use structured type rendering by <a href="https://github.com/koxudaxi"><code>@koxudaxi</code></a> in <a href="https://redirect.github.com/koxudaxi/datamodel-code-generator/pull/3488">koxudaxi/datamodel-code-generator#3488</a></li> <li>Use structured SerializeAsAny imports by <a href="https://github.com/koxudaxi"><code>@koxudaxi</code></a> in <a href="https://redirect.github.com/koxudaxi/datamodel-code-generator/pull/3482">koxudaxi/datamodel-code-generator#3482</a></li> <li>Use structured x-python-type annotations by <a href="https://github.com/koxudaxi"><code>@koxudaxi</code></a> in <a href="https://redirect.github.com/koxudaxi/datamodel-code-generator/pull/3486">koxudaxi/datamodel-code-generator#3486</a></li> <li>Cache structured import requirements by <a href="https://github.com/koxudaxi"><code>@koxudaxi</code></a> in <a href="https://redirect.github.com/koxudaxi/datamodel-code-generator/pull/3489">koxudaxi/datamodel-code-generator#3489</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/koxudaxi/datamodel-code-generator/commit/ddb1bfeba04c7ee989c9126e9ea200a77145443f"><code>ddb1bfe</code></a> docs: update release benchmark data (<a href="https://redirect.github.com/koxudaxi/datamodel-code-generator/issues/3501">#3501</a>)</li> <li><a href="https://github.com/koxudaxi/datamodel-code-generator/commit/6ef855c3714abfcb6688edff5946341f10ee714e"><code>6ef855c</code></a> Create release benchmark data PRs (<a href="https://redirect.github.com/koxudaxi/datamodel-code-generator/issues/3500">#3500</a>)</li> <li><a href="https://github.com/koxudaxi/datamodel-code-generator/commit/b680be80631264687ecb5d21cfd83dfe9dcc30af"><code>b680be8</code></a> docs: automate release benchmark docs (<a href="https://redirect.github.com/koxudaxi/datamodel-code-generator/issues/3498">#3498</a>)</li> <li><a href="https://github.com/koxudaxi/datamodel-code-generator/commit/93834aa018b321edf3c0f48ae614b6d92e53707e"><code>93834aa</code></a> Bump the github-actions group with 19 updates (<a href="https://redirect.github.com/koxudaxi/datamodel-code-generator/issues/3490">#3490</a>)</li> <li><a href="https://github.com/koxudaxi/datamodel-code-generator/commit/7aa282681abd69da265aab3f63fa80166302facb"><code>7aa2826</code></a> Fix docs workflow zensical invocation (<a href="https://redirect.github.com/koxudaxi/datamodel-code-generator/issues/3497">#3497</a>)</li> <li><a href="https://github.com/koxudaxi/datamodel-code-generator/commit/9d2406ba09e4ea3d53a37fc0bd9e97c903437124"><code>9d2406b</code></a> Reorder Used by projects (<a href="https://redirect.github.com/koxudaxi/datamodel-code-generator/issues/3496">#3496</a>)</li> <li><a href="https://github.com/koxudaxi/datamodel-code-generator/commit/801e6bccfb30658bc0f1598c5184e4ca4f313193"><code>801e6bc</code></a> Fix msgspec payload runtime compatibility (<a href="https://redirect.github.com/koxudaxi/datamodel-code-generator/issues/3495">#3495</a>)</li> <li><a href="https://github.com/koxudaxi/datamodel-code-generator/commit/b34da04ce38cc0f2d3b4b83284e6959e356e554b"><code>b34da04</code></a> Add MCP Python SDK to Used by list (<a href="https://redirect.github.com/koxudaxi/datamodel-code-generator/issues/3494">#3494</a>)</li> <li><a href="https://github.com/koxudaxi/datamodel-code-generator/commit/8e99044397b68b2b719cb57590ad38c99b88edbc"><code>8e99044</code></a> docs: update CHANGELOG.md for 0.65.1 (<a href="https://redirect.github.com/koxudaxi/datamodel-code-generator/issues/3492">#3492</a>)</li> <li><a href="https://github.com/koxudaxi/datamodel-code-generator/commit/cba81c59e3505148bb3098791d29cf4a023b0dd8"><code>cba81c5</code></a> Fix collapsed root imports in split modules (<a href="https://redirect.github.com/koxudaxi/datamodel-code-generator/issues/3491">#3491</a>)</li> <li>Additional commits viewable in <a href="https://github.com/koxudaxi/datamodel-code-generator/compare/0.64.1...0.66.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 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]
