1.2.8
This is a production release of go-codec.
Changes include:
- treat an array with all zero values as empty, and omit if omitempty=true
- module support: ensure module dependencies are auto-generated by go tool
- support go 1.20: needed fix for growslice in unsafe mode
- add support for go 1.13 error wrapping
- codecgen: optimize canonical encoding, handling extensions, named types and ordered keys
- codecgen: handle canonical encoding of map and struct well
- codecgen: skip type aliases
- codecgen: fix spurious errors in generated code calling codec.Selfer encode methods
Please try it out and share your experiences.