Skip to content

build(deps): bump go.yaml.in/yaml/v4 from 4.0.0-rc.9 to 4.0.0 - #2323

Merged
TerryHowe merged 1 commit into
mainfrom
dependabot/go_modules/go.yaml.in/yaml/v4-4.0.0
Nov 9, 2026
Merged

TerryHowe merged 1 commit into
mainfrom
dependabot/go_modules/go.yaml.in/yaml/v4-4.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 9, 2026

Copy link
Copy Markdown
Contributor

Bumps go.yaml.in/yaml/v4 from 4.0.0-rc.9 to 4.0.0.

Release notes

Sourced from go.yaml.in/yaml/v4's releases.

go-yaml v4.0.0

go-yaml v4.0.0 is the first stable release of the v4 series, maintained by the YAML organization. It adds configurable loading and dumping, public plugin interfaces, structured errors, and a CLI for inspecting YAML processing. The classic APIs remain supported, so applications can adopt v4 incrementally.

Getting started

Install the release:

go get go.yaml.in/yaml/[email protected]

Use this import path in your Go code:

import "go.yaml.in/yaml/v4"

For an existing v3 application, start by updating imports, reviewing custom unmarshalers, and running your tests. You can continue using Unmarshal, Marshal, NewDecoder, and NewEncoder. The v2 and v3 APIs remain frozen, with security fixes only; new features and routine bug fixes are developed in v4.

Why add Load and Dump?

Applications need different YAML policies: strict configuration validation, particular output layouts, or custom anchor handling. The new Load and Dump functions and streaming Loader and Dumper accept functional options and plugins for those choices. They use YAML's load/dump terminology and are recommended for new code.

The classic entry points keep compatibility settings rather than changing formatting and error presentation for every existing caller. Moving to the new API is an explicit choice to use v4 defaults, with presets available when you want older settings. Classic APIs remain supported.

For example, load a configuration with strict field checking, then choose its output indentation:

package main
import (
"fmt"
</tr></table>

... (truncated)

Commits
  • f2f9563 Add a target for GitHub release drafts
  • f154859 Add release notes for go-yaml v4.0.0
  • dcd0fa5 Prepare documentation for the v4 release
  • abc9fb0 Remove deprecated Limit plugin API
  • 3fefab0 Compare YTS JSON numbers as float64
  • See full diff 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)

Bumps [go.yaml.in/yaml/v4](https://github.com/yaml/go-yaml) from 4.0.0-rc.9 to 4.0.0.
- [Release notes](https://github.com/yaml/go-yaml/releases)
- [Commits](yaml/go-yaml@v4.0.0-rc.9...v4.0.0)

---
updated-dependencies:
- dependency-name: go.yaml.in/yaml/v4
  dependency-version: 4.0.0
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Nov 9, 2026
@dependabot dependabot Bot added the go Pull requests that update Go code label Nov 9, 2026
@codecov

codecov Bot commented Nov 9, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 73.51%. Comparing base (f111842) to head (8b62d83).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2323   +/-   ##
=======================================
  Coverage   73.51%   73.51%           
=======================================
  Files         157      157           
  Lines        6582     6582           
=======================================
  Hits         4839     4839           
  Misses       1454     1454           
  Partials      289      289           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@TerryHowe TerryHowe left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

/lgtm

@TerryHowe
TerryHowe merged commit 786e91d into main Nov 9, 2026
10 checks passed
@dependabot
dependabot Bot deleted the dependabot/go_modules/go.yaml.in/yaml/v4-4.0.0 branch November 9, 2026 13:08
@TerryHowe TerryHowe mentioned this pull request Nov 17, 2026
4 tasks done
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 go Pull requests that update Go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant