Skip to content

1.14.0

Compare
Choose a tag to compare
@goccy goccy released this 13 Nov 09:49
· 39 commits to master since this release
9c6665c

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