dependabot[bot] opened a new pull request, #18275: URL: https://github.com/apache/iceberg/pull/18275
Bumps [datamodel-code-generator](https://github.com/datamodel-code-generator/datamodel-code-generator) from 0.80.0 to 0.82.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/datamodel-code-generator/datamodel-code-generator/releases">datamodel-code-generator's releases</a>.</em></p> <blockquote> <h2>0.82.0</h2> <h2>Breaking Changes</h2> <h3>Code Generation Changes</h3> <ul> <li>Constraints are now emitted on recursive container fields - Previously any field that was a self reference had all of its constraints suppressed. The new <code>_can_apply_constraints</code> property in the base field model only suppresses constraints for direct self references, so a self referencing field whose type is a container such as <code>list</code>, <code>Sequence</code>, <code>dict</code>, <code>Mapping</code>, <code>set</code>, <code>frozenset</code>, or <code>tuple</code> now keeps its size constraints. Pydantic output gains <code>Field(min_length=..., max_length=...)</code> and msgspec output gains <code>Meta(min_length=..., max_length=...)</code> where the generated code previously had a bare default, for example <code>friends: list[Pet] | None = None</code> becomes <code>friends: list[Pet] | None = Field(None, min_length=1)</code> (<a href="https://redirect.github.com/datamodel-code-generator/datamodel-code-generator/issues/4071">#4071</a>)</li> <li>Stricter runtime validation of recursive container payloads - Because the recovered size constraints are now present in the generated models, input data that violates <code>minItems</code> or <code>maxItems</code> on a recursive array is rejected at validation time instead of being accepted. Existing code that relied on the previously unconstrained generated models may start raising pydantic <code>ValidationError</code> or <code>msgspec.ValidationError</code> for payloads that used to pass (<a href="https://redirect.github.com/datamodel-code-generator/datamodel-code-generator/issues/4071">#4071</a>)</li> </ul> <!-- raw HTML omitted --> <!-- raw HTML omitted --> <h2>What's Changed</h2> <ul> <li>Fix builtin formatter wrapping of boolean expressions by <a href="https://github.com/koxudaxi"><code>@koxudaxi</code></a> in <a href="https://redirect.github.com/datamodel-code-generator/datamodel-code-generator/pull/4073">datamodel-code-generator/datamodel-code-generator#4073</a></li> <li>Fix collapse-root-models dropping array constraints on self-referencing unions by <a href="https://github.com/ysheikh2"><code>@ysheikh2</code></a> in <a href="https://redirect.github.com/datamodel-code-generator/datamodel-code-generator/pull/4071">datamodel-code-generator/datamodel-code-generator#4071</a></li> <li>Generate validators for not-required groups and presence-only if conditions by <a href="https://github.com/ysheikh2"><code>@ysheikh2</code></a> in <a href="https://redirect.github.com/datamodel-code-generator/datamodel-code-generator/pull/4072">datamodel-code-generator/datamodel-code-generator#4072</a></li> <li>Fix bare Mapping import dropped when schema validators alias it by <a href="https://github.com/ysheikh2"><code>@ysheikh2</code></a> in <a href="https://redirect.github.com/datamodel-code-generator/datamodel-code-generator/pull/4076">datamodel-code-generator/datamodel-code-generator#4076</a></li> <li>Allow manual replay of failed release draft analysis by <a href="https://github.com/koxudaxi"><code>@koxudaxi</code></a> in <a href="https://redirect.github.com/datamodel-code-generator/datamodel-code-generator/pull/4079">datamodel-code-generator/datamodel-code-generator#4079</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/ysheikh2"><code>@ysheikh2</code></a> made their first contribution in <a href="https://redirect.github.com/datamodel-code-generator/datamodel-code-generator/pull/4071">datamodel-code-generator/datamodel-code-generator#4071</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/datamodel-code-generator/datamodel-code-generator/compare/0.81.0...0.82.0">https://github.com/datamodel-code-generator/datamodel-code-generator/compare/0.81.0...0.82.0</a></p> <h2>0.81.0</h2> <h2>Breaking Changes</h2> <h3>Code Generation Changes</h3> <ul> <li>Undeclared required keys now retained in variant runtime validation - When combining <code>--read-only-write-only-model-type</code> request/response variants with <code>--schema-validator-type</code> runtime validators, generated models now keep runtime validation rules for required keys that are not declared as properties (for example keys required via additionalProperties or if/then/else), whereas these rules were previously dropped from the variant models. Regenerated Request and Response models therefore enforce stricter validation and may reject payloads that the previously generated validators accepted (<a href="https://redirect.github.com/datamodel-code-generator/datamodel-code-generator/issues/4055">#4055</a>)</li> </ul> <!-- raw HTML omitted --> <!-- raw HTML omitted --> <!-- raw HTML omitted --> <!-- raw HTML omitted --> <!-- raw HTML omitted --> <!-- raw HTML omitted --> <!-- raw HTML omitted --> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/datamodel-code-generator/datamodel-code-generator/blob/main/CHANGELOG.md">datamodel-code-generator's changelog</a>.</em></p> <blockquote> <h2><a href="https://github.com/datamodel-code-generator/datamodel-code-generator/releases/tag/0.82.0">0.82.0</a> - 2026-09-16</h2> <h2>Breaking Changes</h2> <h3>Code Generation Changes</h3> <ul> <li>Constraints are now emitted on recursive container fields - Previously any field that was a self reference had all of its constraints suppressed. The new <code>_can_apply_constraints</code> property in the base field model only suppresses constraints for direct self references, so a self referencing field whose type is a container such as <code>list</code>, <code>Sequence</code>, <code>dict</code>, <code>Mapping</code>, <code>set</code>, <code>frozenset</code>, or <code>tuple</code> now keeps its size constraints. Pydantic output gains <code>Field(min_length=..., max_length=...)</code> and msgspec output gains <code>Meta(min_length=..., max_length=...)</code> where the generated code previously had a bare default, for example <code>friends: list[Pet] | None = None</code> becomes <code>friends: list[Pet] | None = Field(None, min_length=1)</code> (<a href="https://redirect.github.com/datamodel-code-generator/datamodel-code-generator/issues/4071">#4071</a>)</li> <li>Stricter runtime validation of recursive container payloads - Because the recovered size constraints are now present in the generated models, input data that violates <code>minItems</code> or <code>maxItems</code> on a recursive array is rejected at validation time instead of being accepted. Existing code that relied on the previously unconstrained generated models may start raising pydantic <code>ValidationError</code> or <code>msgspec.ValidationError</code> for payloads that used to pass (<a href="https://redirect.github.com/datamodel-code-generator/datamodel-code-generator/issues/4071">#4071</a>)</li> </ul> <!-- raw HTML omitted --> <!-- raw HTML omitted --> <h2>What's Changed</h2> <ul> <li>Fix builtin formatter wrapping of boolean expressions by <a href="https://github.com/koxudaxi"><code>@koxudaxi</code></a> in <a href="https://redirect.github.com/datamodel-code-generator/datamodel-code-generator/pull/4073">datamodel-code-generator/datamodel-code-generator#4073</a></li> <li>Fix collapse-root-models dropping array constraints on self-referencing unions by <a href="https://github.com/ysheikh2"><code>@ysheikh2</code></a> in <a href="https://redirect.github.com/datamodel-code-generator/datamodel-code-generator/pull/4071">datamodel-code-generator/datamodel-code-generator#4071</a></li> <li>Generate validators for not-required groups and presence-only if conditions by <a href="https://github.com/ysheikh2"><code>@ysheikh2</code></a> in <a href="https://redirect.github.com/datamodel-code-generator/datamodel-code-generator/pull/4072">datamodel-code-generator/datamodel-code-generator#4072</a></li> <li>Fix bare Mapping import dropped when schema validators alias it by <a href="https://github.com/ysheikh2"><code>@ysheikh2</code></a> in <a href="https://redirect.github.com/datamodel-code-generator/datamodel-code-generator/pull/4076">datamodel-code-generator/datamodel-code-generator#4076</a></li> <li>Allow manual replay of failed release draft analysis by <a href="https://github.com/koxudaxi"><code>@koxudaxi</code></a> in <a href="https://redirect.github.com/datamodel-code-generator/datamodel-code-generator/pull/4079">datamodel-code-generator/datamodel-code-generator#4079</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/ysheikh2"><code>@ysheikh2</code></a> made their first contribution in <a href="https://redirect.github.com/datamodel-code-generator/datamodel-code-generator/pull/4071">datamodel-code-generator/datamodel-code-generator#4071</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/datamodel-code-generator/datamodel-code-generator/compare/0.81.0...0.82.0">https://github.com/datamodel-code-generator/datamodel-code-generator/compare/0.81.0...0.82.0</a></p> <hr /> <h2><a href="https://github.com/datamodel-code-generator/datamodel-code-generator/releases/tag/0.81.0">0.81.0</a> - 2026-09-14</h2> <h2>Breaking Changes</h2> <h3>Code Generation Changes</h3> <ul> <li>Undeclared required keys now retained in variant runtime validation - When combining <code>--read-only-write-only-model-type</code> request/response variants with <code>--schema-validator-type</code> runtime validators, generated models now keep runtime validation rules for required keys that are not declared as properties (for example keys required via additionalProperties or if/then/else), whereas these rules were previously dropped from the variant models. Regenerated Request and Response models therefore enforce stricter validation and may reject payloads that the previously generated validators accepted (<a href="https://redirect.github.com/datamodel-code-generator/datamodel-code-generator/issues/4055">#4055</a>)</li> </ul> <!-- raw HTML omitted --> <!-- raw HTML omitted --> <!-- raw HTML omitted --> <!-- raw HTML omitted --> <!-- raw HTML omitted --> <!-- raw HTML omitted --> <!-- raw HTML omitted --> <h2>What's Changed</h2> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/datamodel-code-generator/datamodel-code-generator/commit/77f28e5782e8d33ece35326383412322bcfd96f1"><code>77f28e5</code></a> docs: update release benchmark data (<a href="https://redirect.github.com/datamodel-code-generator/datamodel-code-generator/issues/4077">#4077</a>)</li> <li><a href="https://github.com/datamodel-code-generator/datamodel-code-generator/commit/5eb4d73870b43943cf8d8750ccfbc4bcd3dc9063"><code>5eb4d73</code></a> Allow manual replay of failed release draft analysis (<a href="https://redirect.github.com/datamodel-code-generator/datamodel-code-generator/issues/4079">#4079</a>)</li> <li><a href="https://github.com/datamodel-code-generator/datamodel-code-generator/commit/7748b3dcf51979c152af5f312b84191548357d4d"><code>7748b3d</code></a> Fix release draft inline code validation and use Opus 5 (<a href="https://redirect.github.com/datamodel-code-generator/datamodel-code-generator/issues/4078">#4078</a>)</li> <li><a href="https://github.com/datamodel-code-generator/datamodel-code-generator/commit/4840cb3941bc2562715582f13827415bb61007a0"><code>4840cb3</code></a> Fix bare Mapping import dropped when schema validators alias it (<a href="https://redirect.github.com/datamodel-code-generator/datamodel-code-generator/issues/4076">#4076</a>)</li> <li><a href="https://github.com/datamodel-code-generator/datamodel-code-generator/commit/d1fcb45dea58edce5dc73ede32123b99697125b9"><code>d1fcb45</code></a> Generate validators for not-required groups and presence-only if conditions (...</li> <li><a href="https://github.com/datamodel-code-generator/datamodel-code-generator/commit/0861ccc778dd09d466267332e0696a64167e1a9a"><code>0861ccc</code></a> Fix collapse-root-models dropping array constraints on self-referencing union...</li> <li><a href="https://github.com/datamodel-code-generator/datamodel-code-generator/commit/339d80e64c2e34e33046d9e10768fca8c6ed0e27"><code>339d80e</code></a> Fix builtin formatter wrapping of boolean expressions (<a href="https://redirect.github.com/datamodel-code-generator/datamodel-code-generator/issues/4073">#4073</a>)</li> <li><a href="https://github.com/datamodel-code-generator/datamodel-code-generator/commit/3452dfbb428c4384f40cb16faf61aadfda58a3a8"><code>3452dfb</code></a> docs: update release benchmark data (<a href="https://redirect.github.com/datamodel-code-generator/datamodel-code-generator/issues/4066">#4066</a>)</li> <li><a href="https://github.com/datamodel-code-generator/datamodel-code-generator/commit/b3fabab2913d0d754bea129990f4d79fcb87721c"><code>b3fabab</code></a> docs: update release benchmark data (<a href="https://redirect.github.com/datamodel-code-generator/datamodel-code-generator/issues/4065">#4065</a>)</li> <li><a href="https://github.com/datamodel-code-generator/datamodel-code-generator/commit/161b48391757ef603d3b1b9e5c720814f757849d"><code>161b483</code></a> docs: update CHANGELOG.md for 0.81.0 (<a href="https://redirect.github.com/datamodel-code-generator/datamodel-code-generator/issues/4064">#4064</a>)</li> <li>Additional commits viewable in <a href="https://github.com/datamodel-code-generator/datamodel-code-generator/compare/0.80.0...0.82.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]
