Skip to content

build(deps): bump go.yaml.in/yaml/v4 to v4.0.0 - #991

Merged
glours merged 1 commit into
compose-spec:mainfrom
ndeloof:chore/go-yaml-v4.0.0
Nov 5, 2026
Merged

glours merged 1 commit into
compose-spec:mainfrom
ndeloof:chore/go-yaml-v4.0.0

Conversation

@ndeloof

@ndeloof ndeloof commented Nov 5, 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 final v4.0.0 release, published on November 4, 2026.

Context

compose-go pinned a release candidate of go-yaml v4 while the stable release was pending. The test PRs on v4.0.0-rc.8 (#981) and v4.0.0-rc.9 (#987) established that the only blocker was a regression in Node.Decode, which stopped applying go-yaml's default alias and depth limits (so the alias-bomb test never returned); it was fixed upstream in rc.9 (yaml/go-yaml#475) and no workaround is needed in ResetProcessor.

What the PR brings

Only the go.mod / go.sum bump, with no change in the loader. The full suite passes, including TestAliasBombPrevented. The changes between rc.9 and v4.0.0 are limited to the removal of the already-deprecated Limit plugin API (which compose-go does not use), a YAML test-suite comparison fix and documentation, so there is no impact on marshalling, anchors and merge keys, error messages or node positions.

Compose builds compose-go with the go-yaml version selected in its own module, so the matching docker/compose bump follows separately.

🤖 Generated with Claude Code

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>

@glours glours left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@glours
glours enabled auto-merge (rebase) November 5, 2026 17:08
@glours
glours merged commit 29084ee into compose-spec:main Nov 5, 2026
23 of 25 checks passed
@ndeloof
ndeloof deleted the chore/go-yaml-v4.0.0 branch November 5, 2026 18:02
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.

2 participants