From 65b393fbad1e4559fd5e5aa33ac66524caa4126e Mon Sep 17 00:00:00 2001 From: Matias Charriere Date: Wed, 17 Sep 2025 11:48:12 +0200 Subject: [PATCH 1/2] Replace gopkg.in/yaml.v3 with go.yaml.in/yaml/v3 Signed-off-by: Matias Charriere --- command/version/command.go | 2 +- go.mod | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/command/version/command.go b/command/version/command.go index c3309c25..dda1699b 100644 --- a/command/version/command.go +++ b/command/version/command.go @@ -8,7 +8,7 @@ import ( "github.com/giantswarm/microerror" "github.com/giantswarm/versionbundle" "github.com/spf13/cobra" - "gopkg.in/yaml.v3" + "go.yaml.in/yaml/v3" ) type Config struct { diff --git a/go.mod b/go.mod index 1e826bd3..d4fbef86 100644 --- a/go.mod +++ b/go.mod @@ -14,7 +14,7 @@ require ( github.com/spf13/cobra v1.10.1 github.com/spf13/pflag v1.0.10 github.com/spf13/viper v1.21.0 - gopkg.in/yaml.v3 v3.0.1 + go.yaml.in/yaml/v3 v3.0.4 ) require ( @@ -39,7 +39,6 @@ require ( github.com/spf13/cast v1.10.0 // indirect github.com/subosito/gotenv v1.6.0 // indirect go.yaml.in/yaml/v2 v2.4.2 // indirect - go.yaml.in/yaml/v3 v3.0.4 // indirect golang.org/x/net v0.43.0 // indirect golang.org/x/sync v0.17.0 // indirect golang.org/x/sys v0.36.0 // indirect From ee030427b9d5a2bbec188ae02bb73b5675408475 Mon Sep 17 00:00:00 2001 From: Matias Charriere Date: Wed, 17 Sep 2025 11:49:50 +0200 Subject: [PATCH 2/2] update changelog Signed-off-by: Matias Charriere --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index a279742f..04edfa84 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Changed + +- Replace gopkg.in/yaml.v3 with go.yaml.in/yaml/v3 + ## [1.0.3] - 2025-02-20 - Dependency updates