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 new package is fully identical to go-yaml/yaml, actively maintained, and receives security updates.
References
Task
- Update all imports and usage from
gopkg.in/yaml.v3 to go.yaml.in/yaml/v4 across the codebase.
Summary
We currently use
gopkg.in/yaml.v3, which is now deprecated. The YAML organization provides an officially maintained, drop-in compatible replacement atgo.yaml.in/yaml/v3.This new package is fully identical to go-yaml/yaml, actively maintained, and receives security updates.
References
Deprecated package: https://github.com/go-yaml/yaml
Maintained replacement: https://github.com/yaml/go-yaml
Task
gopkg.in/yaml.v3togo.yaml.in/yaml/v4across the codebase.