Skip to content

Bump YamlDotNet from 17.1.0 to 18.1.0 - #339

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/nuget/YamlDotNet-18.1.0
Closed

Bump YamlDotNet from 17.1.0 to 18.1.0#339
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/nuget/YamlDotNet-18.1.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 31, 2026

Copy link
Copy Markdown
Contributor

Updated YamlDotNet from 17.1.0 to 18.1.0.

Release notes

Sourced from YamlDotNet's releases.

18.1.0

What's Changed

New Contributors

Full Changelog: aaubry/YamlDotNet@v18.0.0...v18.1.0

Breaking

  • Maximum depth of yaml files is now 130 by default. If you need higher you will need to adjust the maximum yaml depth. Going above 130 runs the risk of stack overflow exceptions when any exception happens inside of the deserialization

18.0.0

What's Changed

  • Add a parse method wrapper and caching to fix AoT compilation by @​EdwardCooke in Add a parse method wrapper and caching to fix AoT compilation aaubry/YamlDotNet#1103
    BREAKING CHANGE This is a breaking change in the TypeInspectorSkeleton class and the ITypeInspector interface by adding 2 methods . Quick fix to resolve those breaking changes in your own custom TypeInspector is to return false on the HasParseMethod method and return null or throw an exception on the Parse method.

Full Changelog: aaubry/YamlDotNet@v17.1.0...v18.0.0

Commits viewable in compare view.

Dependabot compatibility score

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 commands and options

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)

---
updated-dependencies:
- dependency-name: YamlDotNet
  dependency-version: 18.1.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added .NET Pull requests that update .net code dependencies Pull requests that update a dependency file labels Jul 31, 2026
@dependabot
dependabot Bot requested a review from amis92 as a code owner July 31, 2026 06:21
@dependabot dependabot Bot added the .NET Pull requests that update .net code label Jul 31, 2026
@amis92

amis92 commented Jul 31, 2026

Copy link
Copy Markdown
Member

Closing — this bump breaks the conformance suite.

YamlDotNet 18.x is not viable while lib/battlescribe-spec is pinned where it is: BattleScribeSpec.SpecLoader's static initializer throws under it, and all 362 passing conformance specs stop loading. Central package management applies our version to the submodule's projects too, and its TestKit is built against the 17.x API.

Verified directly — with 18.1.0 the suite goes from 362 passing / 48 skipped to 0 passing / 401 skipped.

#340 adds a dependabot ignore rule so this does not keep coming back, and #330 tracks the underlying submodule work that would unblock it.

@amis92 amis92 closed this Jul 31, 2026
@dependabot @github

dependabot Bot commented on behalf of github Jul 31, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot
dependabot Bot deleted the dependabot/nuget/YamlDotNet-18.1.0 branch July 31, 2026 06:26
amis92 added a commit that referenced this pull request Jul 31, 2026
Dependabot opened #339 to take YamlDotNet from 17.1.0 to 18.1.0 within minutes
of #327 landing. That bump is not viable and #327 documented why inline, but a
comment in `Directory.Packages.props` does not stop the bot re-proposing it.

18.1.0 breaks `BattleScribeSpec.TestKit` in the `lib/battlescribe-spec`
submodule: its `SpecLoader` static initializer throws, and all 362 passing
conformance specs stop loading. Central package management applies our version
to the submodule's projects too, and the TestKit is built against the 17.x API.

Ignoring `>=18.0.0` until battlescribe-spec itself moves to 18.x, mirroring the
existing FluentAssertions rule. Tracked in #330.

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file .NET Pull requests that update .net code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant