Skip to content

1.2.8

Compare
Choose a tag to compare
@ugorji ugorji released this 27 Dec 11:41
· 51 commits to master since this release

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.