Skip to content

chore(deps): migrate yaml.v2 to go.yaml.in/yaml/v3 - #10

Merged
laincat merged 1 commit into
mainfrom
deps/refresh-2026-10-30
Oct 30, 2026
Merged

laincat merged 1 commit into
mainfrom
deps/refresh-2026-10-30

Conversation

@laincat

@laincat laincat commented Oct 30, 2026

Copy link
Copy Markdown
Owner

gopkg.in/yaml.v2 is frozen upstream; migrate the single call site to the maintained successor go.yaml.in/yaml/v3 v3.0.5.

  • plugin/plaintext/common_in.go: swap the import (struct tags and Unmarshal semantics are unchanged for this payload type)
  • drop gopkg.in/yaml.v2 from go.mod/go.sum

Everything else is already current: all direct modules (mmdbwriter, geoip2-golang/v2, maxminddb-golang/v2, cobra, hujson, gjson, netipx, protobuf, mmdbverify) are at their latest releases, and requirements-ci.txt pins maxminddb 3.2.0, which is the latest too.

Verification

  • go build ./...
  • go vet ./...
  • go test ./... — all packages pass

gopkg.in/yaml.v2 is frozen upstream; go.yaml.in/yaml/v3 v3.0.5 is the
maintained successor. Only one call site (plaintext plugin payload
decoding) uses it, and the struct tags stay valid.

Verified: go build ./..., go vet ./..., go test ./... (all packages pass).
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 30, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-30T04:18:13.988384Z 7e6db2a PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@laincat
laincat merged commit 55ee3ef into main Oct 30, 2026
2 checks passed
@laincat
laincat deleted the deps/refresh-2026-10-30 branch October 30, 2026 04:27
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