chore(dep): replace archived gopkg.in/yaml.v3 with officially maintained go.yaml.in/yaml#58
Open
tuunit wants to merge 1 commit intowk8:masterfrom
Open
chore(dep): replace archived gopkg.in/yaml.v3 with officially maintained go.yaml.in/yaml#58tuunit wants to merge 1 commit intowk8:masterfrom
tuunit wants to merge 1 commit intowk8:masterfrom
Conversation
…ned go.yaml.in/yaml Signed-off-by: Jan Larwig <jan@larwig.com>
tuunit
commented
Mar 17, 2026
Comment on lines
+20
to
+21
| go.yaml.in/yaml/v3 v3.0.4 h1:tfq32ie2Jv2UxXFdLJdh3jXuOzWiL1fo0bu/FbuKpbc= | ||
| go.yaml.in/yaml/v3 v3.0.4/go.mod h1:DhzuOOF2ATzADvBadXxruRBLzYTpT36CKvDb3+aBEFg= |
Author
There was a problem hiding this comment.
This is due to testify waiting for the v4 release:
stretchr/testify#1772
There was a problem hiding this comment.
Pull request overview
Updates this module’s YAML dependency to use the new officially maintained go.yaml.in/yaml/v3 module path instead of the archived gopkg.in/yaml.v3.
Changes:
- Switched YAML imports in production and test code from
gopkg.in/yaml.v3togo.yaml.in/yaml/v3. - Updated
go.mod/go.sumto addgo.yaml.in/yaml/v3 v3.0.4.
Reviewed changes
Copilot reviewed 4 out of 5 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
yaml.go |
Updates YAML library import to the new module path for marshaling/unmarshaling support. |
yaml_test.go |
Updates YAML import used by unit tests. |
yaml_fuzz_test.go |
Updates YAML import used by fuzz tests. |
go.mod |
Replaces direct YAML dependency with go.yaml.in/yaml/v3, but also adds gopkg.in/yaml.v3 as indirect. |
go.sum |
Adds checksums for go.yaml.in/yaml/v3 v3.0.4. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review. Take the survey.
15 tasks
ccoVeille
approved these changes
Mar 17, 2026
ccoVeille
left a comment
There was a problem hiding this comment.
LGTM 👍
yaml/go-yaml maintainer here
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The package gopkg.in/yaml.v3 has been archived since April 2025 and is not maintained anymore. The official Yaml org stepped up and is now maintaining a new repository under go.yaml.in/yaml/v3.
Ref.:
https://github.com/go-yaml/yaml
https://github.com/yaml/go-yaml