Repository navigation
chore: migrate from gopkg.in/yaml.v3 to go.yaml.in/yaml/v3 - #269
TristanSpeakEasy merged 15 commits into
Conversation
There was a problem hiding this comment.
All reported issues were addressed across 176 files
Shadow auto-approve: would not auto-approve because issues were found.
View guided diff | Re-trigger cubic
TristanSpeakEasy
left a comment
There was a problem hiding this comment.
Thanks for the contribution Adam, good to get this moving. Could you address cubic's feedback and the comments I've left? The standalone CLI build needs fixing before this goes in. I also reproduced the compatibility issues cubic flagged, so let's make the migration plan explicit rather than treating this as an import-only change, especially where existing callers can silently lose data.
There was a problem hiding this comment.
All reported issues were addressed across 16 files (changes from recent commits).
Shadow auto-approve: would not auto-approve because issues were found.
View guided diff | Re-trigger cubic
|
All requested review items and automated reviewer findings have been resolved:
|
There was a problem hiding this comment.
All reported issues were addressed across 7 files (changes from recent commits).
Shadow auto-approve: would not auto-approve because issues were found.
View guided diff | Re-trigger cubic
|
@AdamMagued almost there just some conflicts and last bit of cubic feedback to address |
# Conflicts: # cmd/openapi/go.mod # cmd/openapi/go.sum # go.mod # internal/interfaces/interfaces_test.go # openapi/linter/customrules/go.mod
There was a problem hiding this comment.
0 issues found across 2 files (changes from recent commits).
Confidence score: 5/5
- Automated review surfaced no issues in the provided summaries.
- No files require special attention.
Shadow auto-approve: would not auto-approve. Auto-approval skipped because this PR is from an external contributor.
View guided diff | Re-trigger cubic
There was a problem hiding this comment.
0 issues found across 1 file (changes from recent commits).
Confidence score: 5/5
- Automated review surfaced no issues in the provided summaries.
- No files require special attention.
Shadow auto-approve: would not auto-approve. Auto-approval skipped because this PR is from an external contributor.
View guided diff | Re-trigger cubic
There was a problem hiding this comment.
0 issues found across 3 files (changes from recent commits).
Confidence score: 5/5
- Automated review surfaced no issues in the provided summaries.
- No files require special attention.
Shadow auto-approve: would not auto-approve. Auto-approval skipped because this PR is from an external contributor.
View guided diff | Re-trigger cubic
|
@AdamMagued I've picked this up to get it over the line. Rather than keeping the Dependencies
Removed from this PR
Before merging
fmt, mod-check, lint, examples, CLI integration tests and the build all pass locally, and the CLI builds standalone with |
There was a problem hiding this comment.
All reported issues were addressed across 24 files (changes from recent commits).
Shadow auto-approve: would not auto-approve because issues were found.
View guided diff | Re-trigger cubic
There was a problem hiding this comment.
0 issues found across 9 files (changes from recent commits).
Confidence score: 5/5
- Automated review surfaced no issues in the provided summaries.
- No files require special attention.
Shadow auto-approve: would not auto-approve. Auto-approval skipped because this PR is from an external contributor.
View guided diff | Re-trigger cubic
TristanSpeakEasy
left a comment
There was a problem hiding this comment.
Thanks Adam, this is good to go now that jsonpath and yamlpath are on go.yaml.in/yaml/v3 and the bridge code is gone.
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Migrates imports and go.mod module dependencies from legacy gopkg.in/yaml.v3 to maintained go.yaml.in/yaml/v3 (v3.0.5).
Resolves #201.
Summary of changes:
Summary by cubic
Migrates the YAML library from the unmaintained
gopkg.in/yaml.v3to the maintainedgo.yaml.in/yaml/v3fork, resolving #201.go.moddependencies across the codebase, includingcmd/openapi,openapi/linter/customrules, andjsonschema/oas3/tests, and aligns their root-module pseudo-versions.github.com/speakeasy-api/jsonpathto v0.7.0 and switches the jsonpath and yamlpath evaluators togo.yaml.in/yaml/v3, dropping the bridge code that converted nodes between the two modules.sequencedmap.Written for commit f308ebf. Summary will update on new commits.