chore(dep): replace archived gopkg.in/yaml.v3 with officially maintained go.yaml.in/yaml/v3#111
Merged
Conversation
tuunit
commented
Mar 17, 2026
tuunit
commented
Mar 17, 2026
There was a problem hiding this comment.
Pull request overview
This PR migrates the project’s direct YAML v3 usage from gopkg.in/yaml.v3 to go.yaml.in/yaml/v3, updating both implementation and unit tests, and adjusts module dependencies accordingly.
Changes:
- Switch YAML v3 imports in config manager and tests to
go.yaml.in/yaml/v3. - Update
go.modto addgo.yaml.in/yaml/v3as a direct dependency and movegopkg.in/yaml.v3to indirect.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| go-binary/go.mod | Adds go.yaml.in/yaml/v3 as a direct dependency; gopkg.in/yaml.v3 remains indirectly required. |
| go-binary/cmd/generate_test.go | Updates YAML import to go.yaml.in/yaml/v3 for test config marshaling. |
| go-binary/assets/config/configMngr_test.go | Updates YAML import to go.yaml.in/yaml/v3 for config test fixtures. |
| go-binary/assets/config/configMngr.go | Updates YAML encoder import/alias to go.yaml.in/yaml/v3. |
💡 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.
974b9ee to
f13e3bd
Compare
29de40e to
80ef124
Compare
…ned go.yaml.in/yaml/v3 Signed-off-by: Jan Larwig <jan@larwig.com>
f36b5a9 to
96a7696
Compare
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.
📝 Summary
The package
gopkg.in/yaml.v3has 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
🧩 Type of change
🧪 Testing
🔗 Related Issues / Tickets
✅ Checklist
📎 Additional Context (optional)