Releases: bytedance/sonic
Releases · bytedance/sonic
v1.0.2
Release v1.0.0
Feature
- [#155]
ast.Node
supports containinginterface{}
- [#164]
ast.Node
supports sorting pair keys - [#152] syntax error always shows related JSON (quoted)
Bugfix
- [#148] align 'string' option in struct tag as encoding/json
- [#155] quote string when call
node.MarshalJSON()
- [#156, #159] relocate stack pointers for GC recognition
- [#161] prevent out-of-bounds accessing in
native.advance_string()
- [#162] shrink function stacks and achieve stack-split check
- [#166] keep passed buffer alive when encoding
Full Changelog: v1.0.0-rc.3...v1.0.0
v1.0.0-rc.3
v1.0.0-rc.2
v1.0.0-rc.1
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