Skip to content

deps: switch yaml libraries#354

Merged
achilleas-k merged 1 commit intoosbuild:mainfrom
supakeen:yaml-go-yaml
Oct 27, 2025
Merged

deps: switch yaml libraries#354
achilleas-k merged 1 commit intoosbuild:mainfrom
supakeen:yaml-go-yaml

Conversation

@supakeen
Copy link
Member

During a recent chat it was brought up that go.pkg.in/yaml.v3 is unmaintained. The YAML organization forked the unmaintained package and is now updating it. The v3 we use here only receives security fixes while v4 will eventually support new features and more of YAML.

Let's do the easy an uncontroversial swap first as this is a maintained drop-in replacement.


Note, this is not goccy/go-yaml which has additional features it is yaml/go-yaml.

During a recent chat it was brought up that `go.pkg.in/yaml.v3` is
unmaintained. The YAML organization forked the unmaintained package and
is now updating it. The `v3` we use here only receives security fixes
while `v4` will eventually support new features and more of YAML.

Let's do the easy an uncontroversial swap first as this is a maintained
drop-in replacement.

Signed-off-by: Simon de Vlieger <supakeen@redhat.com>
@supakeen supakeen requested a review from a team as a code owner October 27, 2025 10:11
@supakeen supakeen requested review from bcl, croissanne and mvo5 and removed request for a team October 27, 2025 10:11
Copy link
Contributor

@mvo5 mvo5 left a comment

Choose a reason for hiding this comment

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

\o/

@achilleas-k achilleas-k added this pull request to the merge queue Oct 27, 2025
Merged via the queue into osbuild:main with commit 73cc576 Oct 27, 2025
38 checks passed
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.

3 participants