chore: Migrate from gopkg.in/yaml.v3 to go.yaml.in/yaml/v3 by dims · Pull Request #2336 · spf13/cobra (original) (raw)

@dims

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

ccoVeille

@jpmcb jpmcb mentioned this pull request

Dec 3, 2025

marckhouzam

@ash2k ash2k mentioned this pull request

Dec 4, 2025

ash2k added a commit to ash2k/testcontainers-go that referenced this pull request

Dec 4, 2025

@ash2k

mdelapenya pushed a commit to testcontainers/testcontainers-go that referenced this pull request

Dec 4, 2025

@ash2k

The former is unmaintained.

This is to pick up spf13/cobra#2336 to have one less dependency on spf13/cobra#2336.

@bupd bupd mentioned this pull request

Dec 8, 2025

5 tasks

This was referenced

Dec 9, 2025

arthurzam pushed a commit to gentoo-golang-dist/forgejo-runner that referenced this pull request

Jan 18, 2026

@viceice-bot

github-merge-queue Bot pushed a commit to databricks/cli that referenced this pull request

Jan 23, 2026

@pietern @claude

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

Apr 11, 2026

@bejaratommy

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

May 20, 2026

@pietern @claude

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 }})