Migrate from deprecated `gopkg.in/yaml.v3` to `go.yaml.in/yaml/v3` maintained package
Summary
We currently use gopkg.in/yaml.v3, which is now deprecated. The YAML organization provides an officially maintained, drop-in compatible replacement at go.yaml.in/yaml/v3.
This yaml package is fully identical to go-yaml/yaml, actively maintained, and receives security updates.
- List of places where this is declared - https://github.com/search?q=repo%3Aoras-project%2Foras+gopkg.in%2Fyaml.v&type=code
References
-
Deprecated package: https://github.com/go-yaml/yaml
-
Maintained replacement: https://github.com/yaml/go-yaml
-
examples - https://github.com/go-task/task/pull/2434 https://github.com/go-task/task/issues/2171
Task
- Update all imports and usage from
gopkg.in/yaml.v3togo.yaml.in/yaml/v4across the codebase.
please label this to good-first-issue
Thanks, good call. Were you going to raise a PR?
@TerryHowe Thanks for the quick reply. I opened #1922 which will fix this.