Skip to content

chore: migrate gopkg.in/yaml.v3 to go.yaml.in/yaml/v3#7592

Merged
olblak merged 1 commit intoupdatecli:mainfrom
olblak:clean/remove/archivedgoyaml
Jan 22, 2026
Merged

chore: migrate gopkg.in/yaml.v3 to go.yaml.in/yaml/v3#7592
olblak merged 1 commit intoupdatecli:mainfrom
olblak:clean/remove/archivedgoyaml

Conversation

@olblak
Copy link
Member

@olblak olblak commented Jan 21, 2026

Waiting for #7527 to be merged
Fix #4930

migrate gopkg.in/yaml.v3 to go.yaml.in/yaml/v3 which is the new location

Test

/

Additional Information

Checklist

  • I have updated the documentation via pull request in website repository.

Tradeoff

Potential improvement

@olblak olblak added the dependencies Pull requests that update a dependency file label Jan 21, 2026
@olblak olblak requested a review from Copilot January 21, 2026 20:46
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Migrates YAML v3 usage from gopkg.in/yaml.v3 to the new module path go.yaml.in/yaml/v3 across the codebase.

Changes:

  • Replaced gopkg.in/yaml.v3 imports with go.yaml.in/yaml/v3 in core and plugin packages.
  • Updated go.mod to add go.yaml.in/yaml/v3 v3.0.4 as a direct dependency and mark gopkg.in/yaml.v3 as indirect.
  • Updated go.sum to reflect module dependency cleanup.

Reviewed changes

Copilot reviewed 20 out of 21 changed files in this pull request and generated no comments.

Show a summary per file
File Description
pkg/plugins/utils/test/main.go Switch YAML v3 import to new module path.
pkg/plugins/autodiscovery/updatecli/utils.go Switch YAML v3 import alias to new module path.
pkg/plugins/autodiscovery/precommit/precommit.go Switch YAML v3 import alias to new module path.
pkg/plugins/autodiscovery/kubernetes/utils.go Switch YAML v3 import alias to new module path.
pkg/plugins/autodiscovery/ko/utils.go Switch YAML v3 import alias to new module path.
pkg/plugins/autodiscovery/helmfile/utils.go Switch YAML v3 import alias to new module path.
pkg/plugins/autodiscovery/helm/utils.go Switch YAML v3 import alias to new module path.
pkg/plugins/autodiscovery/fleet/utils.go Switch YAML v3 import alias to new module path.
pkg/plugins/autodiscovery/dockercompose/utils.go Switch YAML v3 import alias to new module path.
pkg/plugins/autodiscovery/argocd/utils.go Switch YAML v3 import alias to new module path.
pkg/core/reports/export.go Switch YAML v3 import to new module path for report export.
pkg/core/registry/metadata.go Switch YAML v3 import to new module path for policy metadata loading.
pkg/core/pipeline/sort.go Switch YAML v3 import to new module path.
pkg/core/engine/autodiscovery.go Switch YAML v3 import to new module path.
pkg/core/config/template.go Switch YAML v3 import to new module path.
pkg/core/config/main.go Switch YAML v3 import to new module path.
pkg/core/config/helper.go Switch YAML v3 import to new module path.
pkg/core/config/funcsHelm.go Switch YAML v3 import to new module path.
pkg/core/compose/file.go Switch YAML v3 import to new module path.
go.mod Add go.yaml.in/yaml/v3 direct dependency; mark gopkg.in/yaml.v3 indirect.
go.sum Refresh checksums after dependency changes.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@olblak olblak merged commit e726528 into updatecli:main Jan 22, 2026
5 checks passed
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

refactor: Remove archived module gopkg.in/yaml.v3

2 participants