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