chore(deps): update dependency yamldotnet to 18.1.0#978
Conversation
There was a problem hiding this comment.
Code Review
This pull request updates the YamlDotNet package version from 18.0.0 to 18.1.0 in Directory.Packages.props. The review feedback highlights that this upgrade introduces a default maximum recursion limit of 130, which may cause deserialization failures for deeply nested YAML configurations, and recommends configuring an explicit limit if necessary.
| <PackageVersion Include="Newtonsoft.Json" Version="13.0.4" /> | ||
| <PackageVersion Include="CommandLineParser" Version="2.9.1" /> | ||
| <PackageVersion Include="YamlDotNet" Version="18.0.0" /> | ||
| <PackageVersion Include="YamlDotNet" Version="18.1.0" /> |
There was a problem hiding this comment.
The upgrade to YamlDotNet 18.1.0 introduces a default maximum recursion limit of 130. For very large or deeply nested YAML configurations, this can cause deserialization to fail with an exception. If the generator processes complex, deeply nested YAML files, configure the parser/deserializer with an explicit maximum recursion limit to prevent unexpected runtime failures.
References
- When upgrading third-party dependencies, verify whether the codebase actually utilizes the specific interfaces or classes affected by breaking changes before implementing suggested fixes.
This PR contains the following updates:
18.0.0→18.1.0Release Notes
aaubry/YamlDotNet (YamlDotNet)
v18.1.0: Release 18.1.0What's Changed
New Contributors
Full Changelog: aaubry/YamlDotNet@v18.0.0...v18.1.0
Breaking
Configuration
📅 Schedule: (in timezone Europe/London)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.