Skip to content

build(deps): test go-yaml v4.0.0-rc.9 - #987

Closed
ndeloof wants to merge 1 commit into
compose-spec:mainfrom
ndeloof:chore/go-yaml-v4-rc9
Closed

ndeloof wants to merge 1 commit into
compose-spec:mainfrom
ndeloof:chore/go-yaml-v4-rc9

Conversation

@ndeloof

@ndeloof ndeloof commented Nov 3, 2026 •

Copy link
Copy Markdown
Collaborator

What this PR does, in one sentence

Bumps go.yaml.in/yaml/v4 from v4.0.0-rc.4 to the v4.0.0-rc.9 release candidate so that CI runs compose-go's suites against it before go-yaml v4.0.0 ships.

Context

compose-go pins v4.0.0-rc.4, while Compose already requires a more recent candidate and go-yaml v4.0.0 is due on November 4, 2026 (see docker/compose#14432). The previous test PR, on v4.0.0-rc.8 (#981), needed a workaround in ResetProcessor: since v4.0.0-rc.5, Node.Decode no longer applied go-yaml's default alias and depth limits, so the alias-bomb test never returned. That regression was reported upstream and fixed in rc.9 (yaml/go-yaml#475).

What the PR brings

Only the go.mod / go.sum bump, with no change in the loader. The whole test suite passes with rc.9, including TestAliasBombPrevented, which confirms that the upstream fix makes the workaround of #981 unnecessary.

This is a test PR, opened as a draft and not meant to be merged before the final v4.0.0 is published. The matching Compose PR is docker/compose#14446.

🤖 Generated with Claude Code

Pre-release test of the go-yaml v4 release candidate ahead of v4.0.0,
as requested in docker/compose#14432. rc.9 restores the default alias and
depth limits in Node.Decode (yaml/go-yaml#475), so no change is needed in
the loader.

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant