Skip to content

fix: replace gopkg.in/yaml.v3 with goccy/go-yaml#443

Open
sonupreetam wants to merge 1 commit intocomplytime:mainfrom
sonupreetam:feat/remove-gopkgyaml
Open

fix: replace gopkg.in/yaml.v3 with goccy/go-yaml#443
sonupreetam wants to merge 1 commit intocomplytime:mainfrom
sonupreetam:feat/remove-gopkgyaml

Conversation

@sonupreetam
Copy link
Copy Markdown
Contributor

@sonupreetam sonupreetam commented Mar 27, 2026

Summary

  • Replace direct gopkg.in/yaml.v3 import in cmd/behavioral-report/main.go with github.com/goccy/go-yaml, which is already a direct dependency used throughout the rest of the codebase
  • gopkg.in/yaml.v3 is now // indirect only, pulled in transitively by testify and go-oscal
  • No behavioral change — the only usage is yaml.Marshal, which is API-compatible between both libraries
  • This was flagged during review by @jpower432 on the `complytime/website PR (feat(sync): CPLYTM-1290 add diagram block for Kroki rendering website#4)

Test plan

  • go build ./... passes
  • go test ./... passes

@sonupreetam sonupreetam requested review from a team as code owners March 27, 2026 14:02
goccy/go-yaml is already a direct dependency used throughout the
codebase. gopkg.in/yaml.v3 is now indirect-only, pulled in
transitively by testify and go-oscal.

Signed-off-by: sonupreetam <spreetam@redhat.com>
@sonupreetam sonupreetam force-pushed the feat/remove-gopkgyaml branch from e1a9170 to 0aa3ecb Compare March 27, 2026 21:43
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.

1 participant