Skip to content

Conversation

@dims
Copy link

@dims dims commented Dec 2, 2025

The original gopkg.in/yaml.v3 was marked unmaintained (April 2025).

go.yaml.in/yaml/v3 is now maintained by the official YAML organization and is a drop-in replacement with an identical API.

Summary

Drop an unmaintained dependency for yaml with a newer supported API

Changes

  | File                        | Change                                              |
  |-----------------------------|-----------------------------------------------------|
  | go.mod                      | gopkg.in/yaml.v3 v3.0.1 → go.yaml.in/yaml/v3 v3.0.4 |
  | go.sum                      | Updated checksums for new package                   |
  | assert/yaml/yaml_default.go | Updated import and doc comments                     |
  | assert/yaml/yaml_custom.go  | Updated doc comment                                 |
  | assert/yaml/yaml_fail.go    | Updated doc comment                                 |
  | assert/assertions.go        | Updated comment on line 20                          |

Motivation

If you see https://github.com/go-yaml/yaml, you will see the archival notice

This repository was archived by the owner on Apr 1, 2025. It is now read-only.

Related issues

The original gopkg.in/yaml.v3 was marked unmaintained (April 2025).
go.yaml.in/yaml/v3 is now maintained by the official YAML organization
and is a drop-in replacement with an identical API.

Signed-off-by: Davanum Srinivas <[email protected]>
@ccoVeille
Copy link
Collaborator

This is a duplicate of #1772

I feel like yours can be closed @dims

@dims
Copy link
Author

dims commented Dec 2, 2025

thanks @ccoVeille !

@dims dims closed this Dec 2, 2025
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