Skip to content

Replace unmaintained dependency gopkg.in/yaml.v2 with go.yaml.in/yaml/v4#414

Merged
thakurajayL merged 1 commit intoomec-project:mainfrom
gab-arrobo:replace-outdated-dep
Sep 9, 2025
Merged

Replace unmaintained dependency gopkg.in/yaml.v2 with go.yaml.in/yaml/v4#414
thakurajayL merged 1 commit intoomec-project:mainfrom
gab-arrobo:replace-outdated-dep

Conversation

@gab-arrobo
Copy link
Copy Markdown
Contributor

No description provided.

Signed-off-by: Arrobo, Gabriel <gabriel.arrobo@intel.com>
@gab-arrobo gab-arrobo requested review from a team and Copilot September 9, 2025 17:08
Copy link
Copy Markdown

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

This PR updates the YAML parsing dependency from the unmaintained gopkg.in/yaml.v2 to the newer go.yaml.in/yaml/v4 package for better maintenance and security.

Key Changes

  • Remove dependency on gopkg.in/yaml.v2 v2.4.0
  • Add dependency on go.yaml.in/yaml/v4 v4.0.0-rc.2
  • Update import statement in factory.go to use the new YAML package

Reviewed Changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated no comments.

File Description
go.mod Updates module dependencies by removing old yaml.v2 and adding yaml/v4
backend/factory/factory.go Updates import statement to use the new YAML package

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@thakurajayL thakurajayL merged commit 59edba9 into omec-project:main Sep 9, 2025
10 checks passed
@gab-arrobo gab-arrobo deleted the replace-outdated-dep branch September 9, 2025 21:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants