github goccy/go-yaml v1.14.0
1.14.0

latest release: v1.14.1
one day ago

What's Changed

  • Support to disallow duplicate map key at parsing by @goccy in #531

Breaking Changes

Previously, using the same map key did not result in a parsing error, but from now on, it will throw an error by default. If you want to keep the previous behavior, specify the parser.AllowDuplicateMapKey() option.
Similarly, during Decode, it will also throw an error by default. To keep the previous behavior, specify the yaml.AllowDuplicateMapKey() option when decoding.

Also, yaml.DisallowDuplicateKey option is deprecated.

Full Changelog: v1.13.10...v1.14.0

Don't miss a new go-yaml release

NewReleases is sending notifications on new releases.