v1.2.8
版本发布时间: 2022-12-27 19:41:03
ugorji/go最新发布版本:v1.2.11(2023-03-09 00:29:02)
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.