What's Changed
- feat: add global
OmitEmptyencoding option by @bwplotka in https://github.com/goccy/go-yaml/pull/691 - chore: clarify omitempty behaviour. by @bwplotka in https://github.com/goccy/go-yaml/pull/696
- Treat output from TextMarshaler as string by @shuheiktgw in https://github.com/goccy/go-yaml/pull/698
- Update golangci-lint to v2.1.2 by @shuheiktgw in https://github.com/goccy/go-yaml/pull/701
- Tidy benchmarks/go.mod by @eikemeier in https://github.com/goccy/go-yaml/pull/686
- Remove testmod task by @goccy in https://github.com/goccy/go-yaml/pull/715
- Clean up encoder.go by @shuheiktgw in https://github.com/goccy/go-yaml/pull/703
- Fix validation error position for container type by @goccy in https://github.com/goccy/go-yaml/pull/716
- Add nil checking for error handling by @goccy in https://github.com/goccy/go-yaml/pull/719
- Ignore validation for alias map key by @goccy in https://github.com/goccy/go-yaml/pull/720
- Avoid returning an error for null document by @shuheiktgw in https://github.com/goccy/go-yaml/pull/721
- Add Go 1.24 to test matrix by @shuheiktgw in https://github.com/goccy/go-yaml/pull/722
- Set null value for empty document by @goccy in https://github.com/goccy/go-yaml/pull/725
- Support implicit null by @goccy in https://github.com/goccy/go-yaml/pull/727
- Support omitzero by @goccy in https://github.com/goccy/go-yaml/pull/729
- feat: Dont make copies of structs for validation by @shuheiktgw in https://github.com/goccy/go-yaml/pull/737
- Prevent panic when decoding string named types by @shuheiktgw in https://github.com/goccy/go-yaml/pull/743
- Fix misaligned indentation in comments by @shuheiktgw in https://github.com/goccy/go-yaml/pull/734
- Add support for multi-line double-quoted strings with CRLF line endings by @shuheiktgw in https://github.com/goccy/go-yaml/pull/744
- Update custom marshaler and unmarshaler to accept context by @pgeiem in https://github.com/goccy/go-yaml/pull/745
New Contributors
- @bwplotka made their first contribution in https://github.com/goccy/go-yaml/pull/691
- @eikemeier made their first contribution in https://github.com/goccy/go-yaml/pull/686
- @pgeiem made their first contribution in https://github.com/goccy/go-yaml/pull/745
Full Changelog: https://github.com/goccy/go-yaml/compare/v1.17.1...v1.18.0