Releases: bytedance/sonic
Releases · bytedance/sonic
v1.0.0-rc.3
Feature
- [#116] support Go 1.17
- [#137] add compiler option
WithCompileRecursiveDepth
to pretouch recursively for large/deep struct
Bugfix
- [#142] correct the field priority as encoding/json in case-insensitive match
- [#145] use global variables to keep all arguments and locals alive
v1.0.0-rc.2
Bugfix
- [#127] keep internal pointers alive while
Marshal()
or Unmarshal()
- [#131] generate
gcWriteBarrier
in JIT (only support Go1.16 [#134])
- [#132] fix stack-overflow error (
json.UnsupportedValue
) after frequent errors
- [#129] avoid the pointer of argument
val
cleared while debugging
v1.0.0-rc.1
Improvement
- [#124] add node.Load()/LoadAll() to support concurrency
Bugfix
- [#122 ] add runtime.KeepAlive() to avoid premature GC during Marshal()/Unmarshal()
v1.0.0-rc
Bugfix
- [ #107 ] ignored the UTF-16 surrogate pair after an invalid unicode
- [ #108 ] couldn't skip zero-based exponent in skip_number()
- [ #112 ] returned error when unmarshalling invalid base64-encoded strings
- [ #113 ] redundantly handled struct-typed fields' "omitempty" tag
- [ #115 ] encoder.SortMapKeys flag didn't work when marshalling integer-key map