Skip to content

Upgrade go.yaml.in/yaml/v4 to v4.0.0-rc.4#673

Open
silverwind wants to merge 1 commit into
rhysd:mainfrom
silverwind:update-go-yaml
Open

Upgrade go.yaml.in/yaml/v4 to v4.0.0-rc.4#673
silverwind wants to merge 1 commit into
rhysd:mainfrom
silverwind:update-go-yaml

Conversation

@silverwind

@silverwind silverwind commented May 30, 2026

Copy link
Copy Markdown

rc.4 removed the exported parser/scanner error types and renamed TypeError
to LoadErrors. Decode type errors via *yaml.LoadErrors and recover
syntax-error positions by parsing the formatted message, since the line and
column are no longer reachable through a public API
(yaml/go-yaml#288). Update affected testdata.

Co-Authored-By: Claude (Opus 4.8) <noreply@anthropic.com>
@silverwind silverwind changed the title Support go.yaml.in/yaml/v4 v4.0.0-rc.4 Upgrade go.yaml.in/yaml/v4 to v4.0.0-rc.4 May 30, 2026
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