Skip to content

chore: migrate from deprecated gopkg.in/yaml.v3 to go.yaml.in/yaml/v4#581

Merged
bupd merged 2 commits into
goharbor:mainfrom
bupd:mig-yamlv3
Dec 6, 2025
Merged

chore: migrate from deprecated gopkg.in/yaml.v3 to go.yaml.in/yaml/v4#581
bupd merged 2 commits into
goharbor:mainfrom
bupd:mig-yamlv3

Conversation

@bupd

@bupd bupd commented Dec 6, 2025

Copy link
Copy Markdown
Member

Description

This PR replaces all imports of the deprecated gopkg.in/yaml.v3 package with the officially maintained go.yaml.in/yaml/v4 module.

Why

  • gopkg.in/yaml.v3 is no longer maintained and receives no security updates.
  • The YAML organization now maintains the go.yaml.in/yaml/v4 module.
  • It is a drop-in compatible replacement and actively maintained by the official yaml org.

Changes Made

  • Updated all imports from:

    gopkg.in/yaml.v3

    to

    go.yaml.in/yaml/v4

Linked issues

#580

Signed-off-by: bupd <bupdprasanth@gmail.com>
@bupd bupd added dependencies Pull requests that update a dependency file go Pull requests that update go code labels Dec 6, 2025
@codecov

codecov Bot commented Dec 6, 2025

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 6.44%. Comparing base (60ad0bd) to head (6c1580b).
⚠️ Report is 65 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##             main    #581      +/-   ##
=========================================
- Coverage   10.99%   6.44%   -4.55%     
=========================================
  Files         173     260      +87     
  Lines        8671   12842    +4171     
=========================================
- Hits          953     828     -125     
- Misses       7612   11908    +4296     
  Partials      106     106              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Signed-off-by: bupd <bupdprasanth@gmail.com>
@bupd bupd merged commit a319a57 into goharbor:main Dec 6, 2025
8 of 9 checks passed
@bupd bupd deleted the mig-yamlv3 branch December 6, 2025 19:33
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 go Pull requests that update go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant