chore: Migrate from gopkg.in/yaml.v3 to go.yaml.in/yaml/v3 by dims · Pull Request #2336 · spf13/cobra (original) (raw)
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 davanum@gmail.com
jpmcb mentioned this pull request
ash2k mentioned this pull request
ash2k added a commit to ash2k/testcontainers-go that referenced this pull request
mdelapenya pushed a commit to testcontainers/testcontainers-go that referenced this pull request
- chore(deps): switch from gopkg.in/yaml.v3 to go.yaml.in/yaml/v3
The former is unmaintained.
chore: consistently use 0 as Go patch version
chore: bump github.com/spf13/cobra
This is to pick up spf13/cobra#2336 to have one less dependency on spf13/cobra#2336.
bupd mentioned this pull request
5 tasks
This was referenced
Dec 9, 2025
arthurzam pushed a commit to gentoo-golang-dist/forgejo-runner that referenced this pull request
github-merge-queue Bot pushed a commit to databricks/cli that referenced this pull request
Changes
Update all direct yaml imports to use the actively maintained fork under the official YAML organization. The new package is a drop-in replacement with an identical API.
The old gopkg.in/yaml.v3 remains as an indirect dependency from external libraries (testify, databricks-sdk-go, cobra, etc.) until they migrate.
Prompted by spf13/cobra#2336.
Why
The original gopkg.in/yaml.v3 repository was archived and marked unmaintained in April 2025. The YAML organization has taken over maintenance and published go.yaml.in/yaml/v3 as the successor. This migration ensures we receive future bug fixes and security updates.
Co-authored-by: Claude Sonnet 4.5 noreply@anthropic.com
bejaratommy added a commit to bejaratommy/cobra that referenced this pull request
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 davanum@gmail.com
This was referenced
Apr 23, 2026
denik pushed a commit to databricks/cli that referenced this pull request
Changes
Update all direct yaml imports to use the actively maintained fork under the official YAML organization. The new package is a drop-in replacement with an identical API.
The old gopkg.in/yaml.v3 remains as an indirect dependency from external libraries (testify, databricks-sdk-go, cobra, etc.) until they migrate.
Prompted by spf13/cobra#2336.
Why
The original gopkg.in/yaml.v3 repository was archived and marked unmaintained in April 2025. The YAML organization has taken over maintenance and published go.yaml.in/yaml/v3 as the successor. This migration ensures we receive future bug fixes and security updates.
Co-authored-by: Claude Sonnet 4.5 noreply@anthropic.com
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
[ Show hidden characters]({{ revealButtonHref }})