dependabot[bot] opened a new pull request, #18363:
URL: https://github.com/apache/iceberg/pull/18363

   Bumps 
[datamodel-code-generator](https://github.com/datamodel-code-generator/datamodel-code-generator)
 from 0.82.0 to 0.83.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.83.0</h2>
   <h2>Breaking Changes</h2>
   <h3>Code Generation Changes</h3>
   <ul>
   <li>Deduplication now compares referenced models - Models that render 
identically are only merged when the models they reference also match 
structurally, so schemas whose same-named references resolve to different 
definitions in other files no longer collapse into a single class; such models 
are now emitted separately and may gain suffixed names such as 
<code>LeafModel</code> or <code>Values1</code>, changing class names and module 
contents compared with previous output (<a 
href="https://redirect.github.com/datamodel-code-generator/datamodel-code-generator/issues/4115";>#4115</a>)</li>
   <li>Generic schemas using <code>$dynamicRef</code> are now specialized per 
dynamic scope - A plain-name <code>$dynamicRef</code> previously resolved 
lexically within its own schema resource, so every referrer shared one model of 
the referenced generic. The parser now tracks the dynamic scope of the schemas 
that referenced a model, binds each <code>$dynamicAnchor</code> name to its 
outermost declaration in that scope, and re-parses a referenced schema as an 
additional specialized model whenever its bindings differ. Schemas that combine 
<code>$dynamicRef</code> with <code>$dynamicAnchor</code>, including remote, 
embedded, recursive, root-level and tuple <code>additionalItems</code> 
generics, now emit extra model classes with suffixed names and different field 
types than before, so generated module contents, class names and import sites 
can change for existing users (<a 
href="https://redirect.github.com/datamodel-code-generator/datamodel-code-generator/issues/4117";>#4117</a>)</li>
   <li>Specialized dynamic-scope models shift generated class names - 
Specialized models are registered under the referencing model and named like 
the shared model before parsing, so the shared model keeps naming priority and 
specializations receive derived names such as numeric or <code>Model</code> 
suffixes. Output ordering and names of surrounding models can therefore differ 
from previous releases, and this applies under <code>--naming-strategy 
full-path</code> and <code>--collapse-root-models</code> as well (<a 
href="https://redirect.github.com/datamodel-code-generator/datamodel-code-generator/issues/4117";>#4117</a>)</li>
   <li>OpenAPI specifications referencing external JSON Schema generics gain 
specialized models - <code>parse_raw</code> now drains pending dynamic-scope 
specializations after every specification has been read, so components that 
reference external schemas rebinding a <code>$dynamicAnchor</code> produce 
additional specialized models instead of reusing a single shared model (<a 
href="https://redirect.github.com/datamodel-code-generator/datamodel-code-generator/issues/4117";>#4117</a>)</li>
   <li>Dynamic ref resolution scope for inline resources and merged refs - 
<code>$dynamicRef</code> is now resolved within the schema resource a subschema 
stands for, namely an inline subschema declaring its own <code>$id</code> and 
the target of a <code>$ref</code> merged with sibling keywords, with enclosing 
and referencing resources still able to override the binding so the outermost 
<code>$dynamicAnchor</code> declaration wins; schemas combining 
<code>$dynamicRef</code> with embedded <code>$id</code> resources or with 
<code>$ref</code> plus sibling keywords may now generate different field types 
and model shapes than before, for example a resource-local anchor type such as 
<code>RootModel[str]</code> where the previous output used the anchor visible 
in the outer scope (<a 
href="https://redirect.github.com/datamodel-code-generator/datamodel-code-generator/issues/4119";>#4119</a>)</li>
   <li>Model reuse no longer merges models whose same-named references point at 
different models - Deduplication for <code>--reuse-model</code>, 
<code>--collapse-reuse-models</code> and <code>--reuse-scope=tree</code> 
previously matched models on rendered output and imports alone, so models that 
rendered identically but referenced different models sharing a name were 
incorrectly collapsed into one. Duplicate detection within a module and across 
modules now also requires the referenced models to match, so these models stay 
distinct. Affected schemas now generate additional or differently named 
classes, such as a suffixed <code>FieldModel</code> alongside 
<code>Field</code>, extra per-module classes, and inheritance from a shared 
base instead of a single merged model, which can change class names and module 
layout that downstream code imports (<a 
href="https://redirect.github.com/datamodel-code-generator/datamodel-code-generator/issues/4121";>#4121</a>)</li>
   <li>Merged <code>$ref</code> targets now resolve through aliases - A 
referenced schema that is itself a <code>$ref</code> is merged with its own 
target, so a <code>$ref</code> with sibling keywords pointing at an alias now 
generates the aliased definition instead of the alias node, changing model 
names and field types in generated output for JSON Schema 2020-12 documents 
that use <code>$ref</code> alongside other keywords (<a 
href="https://redirect.github.com/datamodel-code-generator/datamodel-code-generator/issues/4122";>#4122</a>)</li>
   <li>References inside merged targets from other documents are rebased - When 
a <code>$ref</code> with sibling keywords points into another document, nested 
<code>$ref</code> and plain-name <code>$dynamicRef</code> values are rewritten 
to absolute locations before merging, so schemas whose relative references 
previously resolved against the wrong base now produce different models, 
imports, and field types (<a 
href="https://redirect.github.com/datamodel-code-generator/datamodel-code-generator/issues/4122";>#4122</a>)</li>
   <li>Resolve <code>$recursiveRef</code> in merged cross-document 
<code>$ref</code> targets - A self-pointing <code>$recursiveRef</code> inside a 
schema merged in from another document now resolves to the nearest enclosing 
<code>$recursiveAnchor</code> of its defining document, or that document's 
root, instead of resolving against the merging document; schemas that rely on 
the previous resolution generate different recursive model references and field 
annotations, so regenerated models may name different classes than before, and 
when the merging document itself declares <code>$recursiveAnchor</code> the 
reference is instead left to extend the dynamic scope (<a 
href="https://redirect.github.com/datamodel-code-generator/datamodel-code-generator/issues/4127";>#4127</a>)</li>
   <li>OpenAPI component schemas that declare an $id are now registered as 
schema resources - References naming an $id declared inside a component schema 
now resolve to that embedded schema when the document itself has no matching 
target, instead of only being treated as document-relative or external document 
references, and the OpenAPI parser now parses the normalized specification 
returned by <code>_prepare_schema_resources</code> rather than the original raw 
specification, so specifications that use $id inside component schemas can 
produce different models, model names, and field types than before (<a 
href="https://redirect.github.com/datamodel-code-generator/datamodel-code-generator/issues/4128";>#4128</a>)</li>
   <li>Merged schema copies now collapse into shared models - Object models 
parsed from a schema merged in from another document are now recognized as 
duplicates of an identically named model when their rendered shapes match, even 
if their dedup keys differ because nested referenced names only converge later 
in the same pass; schemas that previously produced extra suffixed classes such 
as a second <code>Tree</code>, <code>Node</code>, or <code>Branch</code> now 
reuse the single shared model, so generated class names, class counts, and 
field annotations can change and code importing the previously emitted 
duplicate class names will need updating (<a 
href="https://redirect.github.com/datamodel-code-generator/datamodel-code-generator/issues/4133";>#4133</a>)</li>
   <li>Recursive references inside embedded <code>$id</code> resources resolve 
to the resource root - A <code>$recursiveRef</code> located in a subschema that 
declares its own <code>$id</code> but no <code>$recursiveAnchor</code> now 
targets the root of that embedded resource instead of the nearest enclosing 
<code>$recursiveAnchor</code> or the document root, both when the document is 
parsed directly and when its schemas are merged into another document, so 
affected fields are annotated with the embedded resource model instead of the 
outer model, and targets reachable only through <code>$recursiveRef</code> are 
now loaded and can add generated models (<a 
href="https://redirect.github.com/datamodel-code-generator/datamodel-code-generator/issues/4130";>#4130</a>)</li>
   <li>Root models of documents referenced only by JSON pointer are named after 
the document - When an external document is reached only through pointer 
references into it and its own subschemas refer back to the document root, that 
root model was previously generated as <code>Field</code> or 
<code>FieldModel</code>; it is now named after the file stem, for example 
<code>Tree</code> or <code>Node</code>, so class names and field annotations 
such as <code>list[Field]</code> change for such schemas (<a 
href="https://redirect.github.com/datamodel-code-generator/datamodel-code-generator/issues/4132";>#4132</a>)</li>
   </ul>
   <h3>Error Handling Changes</h3>
   <ul>
   <li>New warning for allOf base classes that cannot follow dynamic scope 
bindings - When an <code>allOf</code> base class is referenced from a schema 
whose dynamic scope would rebind its <code>$dynamicAnchor</code>, the parser 
now emits a <code>UserWarning</code> stating that the base class resolves its 
<code>$dynamicRef</code> within its own schema resources. Generation still 
succeeds, but builds that treat warnings as errors or assert on captured 
warnings can now fail (<a 
href="https://redirect.github.com/datamodel-code-generator/datamodel-code-generator/issues/4117";>#4117</a>)</li>
   <li>New SchemaResourceRefWarning raised for compatibility-resolved 
references - A reference that keeps resolving against the document, or keeps 
loading the referenced document, for compatibility while JSON Schema would 
resolve it to an embedded $id resource now emits the newly added 
<code>SchemaResourceRefWarning</code>, so generation runs that previously 
completed silently can now surface warnings and can fail where warnings are 
configured as errors (<a 
href="https://redirect.github.com/datamodel-code-generator/datamodel-code-generator/issues/4128";>#4128</a>)</li>
   </ul>
   <h3>Default Behavior Changes</h3>
   <ul>
   <li>External reference mapping keys are matched against the defining 
document - Because merged target references are rebased to absolute locations, 
<code>--external-ref-mapping</code> entries must now name the path of the 
document the reference actually comes from rather than a path relative to the 
merged target, so existing mappings that relied on the previous matching may 
silently stop applying (<a 
href="https://redirect.github.com/datamodel-code-generator/datamodel-code-generator/issues/4122";>#4122</a>)</li>
   </ul>
   <!-- raw HTML omitted -->
   <h2>What's Changed</h2>
   <ul>
   <li>Rebalance CI test shard weights 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/4085";>datamodel-code-generator/datamodel-code-generator#4085</a></li>
   <li>Run measured slow tests first 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/4086";>datamodel-code-generator/datamodel-code-generator#4086</a></li>
   <li>Balance Windows and macOS test shards 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/4087";>datamodel-code-generator/datamodel-code-generator#4087</a></li>
   <li>Fix release draft validation for stacked pull requests 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/4088";>datamodel-code-generator/datamodel-code-generator#4088</a></li>
   <li>Record per-version CI test shard weights 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/4089";>datamodel-code-generator/datamodel-code-generator#4089</a></li>
   <li>Add Ubuntu coverage test shards 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/4090";>datamodel-code-generator/datamodel-code-generator#4090</a></li>
   <li>Run payload validation only with coverage 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/4092";>datamodel-code-generator/datamodel-code-generator#4092</a></li>
   <li>Bump the github-actions group with 7 updates by <a 
href="https://github.com/dependabot";><code>@​dependabot</code></a>[bot] in <a 
href="https://redirect.github.com/datamodel-code-generator/datamodel-code-generator/pull/4096";>datamodel-code-generator/datamodel-code-generator#4096</a></li>
   <li>[pre-commit.ci] pre-commit autoupdate by <a 
href="https://github.com/pre-commit-ci";><code>@​pre-commit-ci</code></a>[bot] 
in <a 
href="https://redirect.github.com/datamodel-code-generator/datamodel-code-generator/pull/4067";>datamodel-code-generator/datamodel-code-generator#4067</a></li>
   <li>Add generation observation baselines 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/4099";>datamodel-code-generator/datamodel-code-generator#4099</a></li>
   <li>Add parser generation factories 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/4100";>datamodel-code-generator/datamodel-code-generator#4100</a></li>
   <li>Share generation attempt lifecycle 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/4101";>datamodel-code-generator/datamodel-code-generator#4101</a></li>
   <li>Add canonical API declaration references 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/4103";>datamodel-code-generator/datamodel-code-generator#4103</a></li>
   <li>Add explicit OpenAPI API scope 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/4104";>datamodel-code-generator/datamodel-code-generator#4104</a></li>
   <li>Verify API scope generation contracts 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/4105";>datamodel-code-generator/datamodel-code-generator#4105</a></li>
   <li>Add TypeSafe Jev SDK usage example 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/4134";>datamodel-code-generator/datamodel-code-generator#4134</a></li>
   <li>Fix merging models with different referenced types 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/4115";>datamodel-code-generator/datamodel-code-generator#4115</a></li>
   <li>Fix plain-name $dynamicRef in embedded schema resources 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/4116";>datamodel-code-generator/datamodel-code-generator#4116</a></li>
   <li>Fix $dynamicRef generics losing dynamic scope bindings 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/4117";>datamodel-code-generator/datamodel-code-generator#4117</a></li>
   <li>Fix $dynamicRef scope in inline schema resources 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/4119";>datamodel-code-generator/datamodel-code-generator#4119</a></li>
   <li>Fix tree-scope reuse leaving references to removed duplicates 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/4120";>datamodel-code-generator/datamodel-code-generator#4120</a></li>
   <li>Fix model reuse merging models with different referenced types 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/4121";>datamodel-code-generator/datamodel-code-generator#4121</a></li>
   </ul>
   <!-- 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.83.0";>0.83.0</a>
 - 2026-09-24</h2>
   <h2>Breaking Changes</h2>
   <h3>Code Generation Changes</h3>
   <ul>
   <li>Deduplication now compares referenced models - Models that render 
identically are only merged when the models they reference also match 
structurally, so schemas whose same-named references resolve to different 
definitions in other files no longer collapse into a single class; such models 
are now emitted separately and may gain suffixed names such as 
<code>LeafModel</code> or <code>Values1</code>, changing class names and module 
contents compared with previous output (<a 
href="https://redirect.github.com/datamodel-code-generator/datamodel-code-generator/issues/4115";>#4115</a>)</li>
   <li>Generic schemas using <code>$dynamicRef</code> are now specialized per 
dynamic scope - A plain-name <code>$dynamicRef</code> previously resolved 
lexically within its own schema resource, so every referrer shared one model of 
the referenced generic. The parser now tracks the dynamic scope of the schemas 
that referenced a model, binds each <code>$dynamicAnchor</code> name to its 
outermost declaration in that scope, and re-parses a referenced schema as an 
additional specialized model whenever its bindings differ. Schemas that combine 
<code>$dynamicRef</code> with <code>$dynamicAnchor</code>, including remote, 
embedded, recursive, root-level and tuple <code>additionalItems</code> 
generics, now emit extra model classes with suffixed names and different field 
types than before, so generated module contents, class names and import sites 
can change for existing users (<a 
href="https://redirect.github.com/datamodel-code-generator/datamodel-code-generator/issues/4117";>#4117</a>)</li>
   <li>Specialized dynamic-scope models shift generated class names - 
Specialized models are registered under the referencing model and named like 
the shared model before parsing, so the shared model keeps naming priority and 
specializations receive derived names such as numeric or <code>Model</code> 
suffixes. Output ordering and names of surrounding models can therefore differ 
from previous releases, and this applies under <code>--naming-strategy 
full-path</code> and <code>--collapse-root-models</code> as well (<a 
href="https://redirect.github.com/datamodel-code-generator/datamodel-code-generator/issues/4117";>#4117</a>)</li>
   <li>OpenAPI specifications referencing external JSON Schema generics gain 
specialized models - <code>parse_raw</code> now drains pending dynamic-scope 
specializations after every specification has been read, so components that 
reference external schemas rebinding a <code>$dynamicAnchor</code> produce 
additional specialized models instead of reusing a single shared model (<a 
href="https://redirect.github.com/datamodel-code-generator/datamodel-code-generator/issues/4117";>#4117</a>)</li>
   <li>Dynamic ref resolution scope for inline resources and merged refs - 
<code>$dynamicRef</code> is now resolved within the schema resource a subschema 
stands for, namely an inline subschema declaring its own <code>$id</code> and 
the target of a <code>$ref</code> merged with sibling keywords, with enclosing 
and referencing resources still able to override the binding so the outermost 
<code>$dynamicAnchor</code> declaration wins; schemas combining 
<code>$dynamicRef</code> with embedded <code>$id</code> resources or with 
<code>$ref</code> plus sibling keywords may now generate different field types 
and model shapes than before, for example a resource-local anchor type such as 
<code>RootModel[str]</code> where the previous output used the anchor visible 
in the outer scope (<a 
href="https://redirect.github.com/datamodel-code-generator/datamodel-code-generator/issues/4119";>#4119</a>)</li>
   <li>Model reuse no longer merges models whose same-named references point at 
different models - Deduplication for <code>--reuse-model</code>, 
<code>--collapse-reuse-models</code> and <code>--reuse-scope=tree</code> 
previously matched models on rendered output and imports alone, so models that 
rendered identically but referenced different models sharing a name were 
incorrectly collapsed into one. Duplicate detection within a module and across 
modules now also requires the referenced models to match, so these models stay 
distinct. Affected schemas now generate additional or differently named 
classes, such as a suffixed <code>FieldModel</code> alongside 
<code>Field</code>, extra per-module classes, and inheritance from a shared 
base instead of a single merged model, which can change class names and module 
layout that downstream code imports (<a 
href="https://redirect.github.com/datamodel-code-generator/datamodel-code-generator/issues/4121";>#4121</a>)</li>
   <li>Merged <code>$ref</code> targets now resolve through aliases - A 
referenced schema that is itself a <code>$ref</code> is merged with its own 
target, so a <code>$ref</code> with sibling keywords pointing at an alias now 
generates the aliased definition instead of the alias node, changing model 
names and field types in generated output for JSON Schema 2020-12 documents 
that use <code>$ref</code> alongside other keywords (<a 
href="https://redirect.github.com/datamodel-code-generator/datamodel-code-generator/issues/4122";>#4122</a>)</li>
   <li>References inside merged targets from other documents are rebased - When 
a <code>$ref</code> with sibling keywords points into another document, nested 
<code>$ref</code> and plain-name <code>$dynamicRef</code> values are rewritten 
to absolute locations before merging, so schemas whose relative references 
previously resolved against the wrong base now produce different models, 
imports, and field types (<a 
href="https://redirect.github.com/datamodel-code-generator/datamodel-code-generator/issues/4122";>#4122</a>)</li>
   <li>Resolve <code>$recursiveRef</code> in merged cross-document 
<code>$ref</code> targets - A self-pointing <code>$recursiveRef</code> inside a 
schema merged in from another document now resolves to the nearest enclosing 
<code>$recursiveAnchor</code> of its defining document, or that document's 
root, instead of resolving against the merging document; schemas that rely on 
the previous resolution generate different recursive model references and field 
annotations, so regenerated models may name different classes than before, and 
when the merging document itself declares <code>$recursiveAnchor</code> the 
reference is instead left to extend the dynamic scope (<a 
href="https://redirect.github.com/datamodel-code-generator/datamodel-code-generator/issues/4127";>#4127</a>)</li>
   <li>OpenAPI component schemas that declare an $id are now registered as 
schema resources - References naming an $id declared inside a component schema 
now resolve to that embedded schema when the document itself has no matching 
target, instead of only being treated as document-relative or external document 
references, and the OpenAPI parser now parses the normalized specification 
returned by <code>_prepare_schema_resources</code> rather than the original raw 
specification, so specifications that use $id inside component schemas can 
produce different models, model names, and field types than before (<a 
href="https://redirect.github.com/datamodel-code-generator/datamodel-code-generator/issues/4128";>#4128</a>)</li>
   <li>Merged schema copies now collapse into shared models - Object models 
parsed from a schema merged in from another document are now recognized as 
duplicates of an identically named model when their rendered shapes match, even 
if their dedup keys differ because nested referenced names only converge later 
in the same pass; schemas that previously produced extra suffixed classes such 
as a second <code>Tree</code>, <code>Node</code>, or <code>Branch</code> now 
reuse the single shared model, so generated class names, class counts, and 
field annotations can change and code importing the previously emitted 
duplicate class names will need updating (<a 
href="https://redirect.github.com/datamodel-code-generator/datamodel-code-generator/issues/4133";>#4133</a>)</li>
   <li>Recursive references inside embedded <code>$id</code> resources resolve 
to the resource root - A <code>$recursiveRef</code> located in a subschema that 
declares its own <code>$id</code> but no <code>$recursiveAnchor</code> now 
targets the root of that embedded resource instead of the nearest enclosing 
<code>$recursiveAnchor</code> or the document root, both when the document is 
parsed directly and when its schemas are merged into another document, so 
affected fields are annotated with the embedded resource model instead of the 
outer model, and targets reachable only through <code>$recursiveRef</code> are 
now loaded and can add generated models (<a 
href="https://redirect.github.com/datamodel-code-generator/datamodel-code-generator/issues/4130";>#4130</a>)</li>
   <li>Root models of documents referenced only by JSON pointer are named after 
the document - When an external document is reached only through pointer 
references into it and its own subschemas refer back to the document root, that 
root model was previously generated as <code>Field</code> or 
<code>FieldModel</code>; it is now named after the file stem, for example 
<code>Tree</code> or <code>Node</code>, so class names and field annotations 
such as <code>list[Field]</code> change for such schemas (<a 
href="https://redirect.github.com/datamodel-code-generator/datamodel-code-generator/issues/4132";>#4132</a>)</li>
   </ul>
   <h3>Error Handling Changes</h3>
   <ul>
   <li>New warning for allOf base classes that cannot follow dynamic scope 
bindings - When an <code>allOf</code> base class is referenced from a schema 
whose dynamic scope would rebind its <code>$dynamicAnchor</code>, the parser 
now emits a <code>UserWarning</code> stating that the base class resolves its 
<code>$dynamicRef</code> within its own schema resources. Generation still 
succeeds, but builds that treat warnings as errors or assert on captured 
warnings can now fail (<a 
href="https://redirect.github.com/datamodel-code-generator/datamodel-code-generator/issues/4117";>#4117</a>)</li>
   <li>New SchemaResourceRefWarning raised for compatibility-resolved 
references - A reference that keeps resolving against the document, or keeps 
loading the referenced document, for compatibility while JSON Schema would 
resolve it to an embedded $id resource now emits the newly added 
<code>SchemaResourceRefWarning</code>, so generation runs that previously 
completed silently can now surface warnings and can fail where warnings are 
configured as errors (<a 
href="https://redirect.github.com/datamodel-code-generator/datamodel-code-generator/issues/4128";>#4128</a>)</li>
   </ul>
   <h3>Default Behavior Changes</h3>
   <ul>
   <li>External reference mapping keys are matched against the defining 
document - Because merged target references are rebased to absolute locations, 
<code>--external-ref-mapping</code> entries must now name the path of the 
document the reference actually comes from rather than a path relative to the 
merged target, so existing mappings that relied on the previous matching may 
silently stop applying (<a 
href="https://redirect.github.com/datamodel-code-generator/datamodel-code-generator/issues/4122";>#4122</a>)</li>
   </ul>
   <!-- raw HTML omitted -->
   <h2>What's Changed</h2>
   <ul>
   <li>Rebalance CI test shard weights 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/4085";>datamodel-code-generator/datamodel-code-generator#4085</a></li>
   <li>Run measured slow tests first 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/4086";>datamodel-code-generator/datamodel-code-generator#4086</a></li>
   <li>Balance Windows and macOS test shards 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/4087";>datamodel-code-generator/datamodel-code-generator#4087</a></li>
   <li>Fix release draft validation for stacked pull requests 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/4088";>datamodel-code-generator/datamodel-code-generator#4088</a></li>
   <li>Record per-version CI test shard weights 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/4089";>datamodel-code-generator/datamodel-code-generator#4089</a></li>
   <li>Add Ubuntu coverage test shards 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/4090";>datamodel-code-generator/datamodel-code-generator#4090</a></li>
   <li>Run payload validation only with coverage 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/4092";>datamodel-code-generator/datamodel-code-generator#4092</a></li>
   <li>Bump the github-actions group with 7 updates by <a 
href="https://github.com/dependabot";><code>@​dependabot</code></a>[bot] in <a 
href="https://redirect.github.com/datamodel-code-generator/datamodel-code-generator/pull/4096";>datamodel-code-generator/datamodel-code-generator#4096</a></li>
   <li>[pre-commit.ci] pre-commit autoupdate by <a 
href="https://github.com/pre-commit-ci";><code>@​pre-commit-ci</code></a>[bot] 
in <a 
href="https://redirect.github.com/datamodel-code-generator/datamodel-code-generator/pull/4067";>datamodel-code-generator/datamodel-code-generator#4067</a></li>
   <li>Add generation observation baselines 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/4099";>datamodel-code-generator/datamodel-code-generator#4099</a></li>
   <li>Add parser generation factories 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/4100";>datamodel-code-generator/datamodel-code-generator#4100</a></li>
   <li>Share generation attempt lifecycle 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/4101";>datamodel-code-generator/datamodel-code-generator#4101</a></li>
   <li>Add canonical API declaration references 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/4103";>datamodel-code-generator/datamodel-code-generator#4103</a></li>
   <li>Add explicit OpenAPI API scope 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/4104";>datamodel-code-generator/datamodel-code-generator#4104</a></li>
   <li>Verify API scope generation contracts 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/4105";>datamodel-code-generator/datamodel-code-generator#4105</a></li>
   <li>Add TypeSafe Jev SDK usage example 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/4134";>datamodel-code-generator/datamodel-code-generator#4134</a></li>
   <li>Fix merging models with different referenced types 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/4115";>datamodel-code-generator/datamodel-code-generator#4115</a></li>
   <li>Fix plain-name $dynamicRef in embedded schema resources 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/4116";>datamodel-code-generator/datamodel-code-generator#4116</a></li>
   <li>Fix $dynamicRef generics losing dynamic scope bindings 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/4117";>datamodel-code-generator/datamodel-code-generator#4117</a></li>
   <li>Fix $dynamicRef scope in inline schema resources 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/4119";>datamodel-code-generator/datamodel-code-generator#4119</a></li>
   <li>Fix tree-scope reuse leaving references to removed duplicates 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/4120";>datamodel-code-generator/datamodel-code-generator#4120</a></li>
   </ul>
   <!-- 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/f59ac9fd0175eb3d2f5bf08ea89ca04b8f3f7ce8";><code>f59ac9f</code></a>
 docs: update release benchmark data (<a 
href="https://redirect.github.com/datamodel-code-generator/datamodel-code-generator/issues/4082";>#4082</a>)</li>
   <li><a 
href="https://github.com/datamodel-code-generator/datamodel-code-generator/commit/0fdffc72a07f0033a07306aaa1b8d46d39d8e228";><code>0fdffc7</code></a>
 Fix release draft breaking changes merge (<a 
href="https://redirect.github.com/datamodel-code-generator/datamodel-code-generator/issues/4138";>#4138</a>)</li>
   <li><a 
href="https://github.com/datamodel-code-generator/datamodel-code-generator/commit/3e2b6d83e7f6a23bad5c006fe0ce1102ff4fde13";><code>3e2b6d8</code></a>
 Switch release draft analysis to Opus 5.5 (<a 
href="https://redirect.github.com/datamodel-code-generator/datamodel-code-generator/issues/4137";>#4137</a>)</li>
   <li><a 
href="https://github.com/datamodel-code-generator/datamodel-code-generator/commit/5acbd129fa4fe8ee620eb0612f29730517439d49";><code>5acbd12</code></a>
 [pre-commit.ci] pre-commit autoupdate (<a 
href="https://redirect.github.com/datamodel-code-generator/datamodel-code-generator/issues/4113";>#4113</a>)</li>
   <li><a 
href="https://github.com/datamodel-code-generator/datamodel-code-generator/commit/ad26676c1c7b30da01f25fccdeb2d50474443282";><code>ad26676</code></a>
 Fix duplicate models left by merged copies of recursive schemas (<a 
href="https://redirect.github.com/datamodel-code-generator/datamodel-code-generator/issues/4133";>#4133</a>)</li>
   <li><a 
href="https://github.com/datamodel-code-generator/datamodel-code-generator/commit/01df5799fd07d99507ca863580b0bc20decf3be8";><code>01df579</code></a>
 Fix Field class name for roots of pointer-referenced documents (<a 
href="https://redirect.github.com/datamodel-code-generator/datamodel-code-generator/issues/4132";>#4132</a>)</li>
   <li><a 
href="https://github.com/datamodel-code-generator/datamodel-code-generator/commit/352362fd238dbd1b82081782785c8f8215be3665";><code>352362f</code></a>
 Fix $anchor references in OpenAPI component schemas (<a 
href="https://redirect.github.com/datamodel-code-generator/datamodel-code-generator/issues/4131";>#4131</a>)</li>
   <li><a 
href="https://github.com/datamodel-code-generator/datamodel-code-generator/commit/066dff127176c53aa63273e0a2ea65607a1d14bb";><code>066dff1</code></a>
 Fix $recursiveRef targets in embedded $id resources and other documents (<a 
href="https://redirect.github.com/datamodel-code-generator/datamodel-code-generator/issues/4130";>#4130</a>)</li>
   <li><a 
href="https://github.com/datamodel-code-generator/datamodel-code-generator/commit/3532c44818a151a484a8639d07486f1f5dd3594d";><code>3532c44</code></a>
 Fix $ref to embedded $id resources in OpenAPI component schemas (<a 
href="https://redirect.github.com/datamodel-code-generator/datamodel-code-generator/issues/4128";>#4128</a>)</li>
   <li><a 
href="https://github.com/datamodel-code-generator/datamodel-code-generator/commit/1fa694fca5ecf94a6234c40d830e81c97fd83905";><code>1fa694f</code></a>
 Fix $recursiveRef in cross-file merged $ref targets (<a 
href="https://redirect.github.com/datamodel-code-generator/datamodel-code-generator/issues/4127";>#4127</a>)</li>
   <li>Additional commits viewable in <a 
href="https://github.com/datamodel-code-generator/datamodel-code-generator/compare/0.82.0...0.83.0";>compare
 view</a></li>
   </ul>
   </details>
   <br />
   
   
   [![Dependabot compatibility 
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=datamodel-code-generator&package-manager=pip&previous-version=0.82.0&new-version=0.83.0)](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]

Reply via email to