Releases: bytedance/sonic
Releases · bytedance/sonic
v1.9.0
Feature
- [#430]
decoder
and encoder
package support fallback on not-supported envs
Bugfix
- [#433] incorrectly use
mov
lagre imm64
to memory instruction in jit
Doc
- [#428] add Chinese translation for introduction & readme
New Contributors
Full Changelog: v1.8.10...v1.9.0
v1.8.9
Bugfix
- [#407] (decoder) check mismatch error after recursion
- [#415] (decoder) clear allocated memory after slice grow in decode
Optimization
- [#416] (decoder) skip space use shuffle SIMD instruction
- [#409] (decoder) optimize default slice capacity (16 -> 2)
Full Changelog: v1.8.8...v1.8.9
v1.8.8
Bugfix
- [#400] unmarshal recursive pointer type
- [#404] incorrectly handle alias type of pointer in struct
Full Changelog: v1.8.7...v1.8.8
v1.8.7
Bugfix
- [#392] fix unmarshal into named pointer type with unmarshaler
- [#396] fix marshal direct struct/array type with marshaler
Full Changelog: v1.8.6...v1.8.7
v1.8.6
Bugfix
- [#387] match empty string in json path
- [#388] add mutex lock for registerModule
- [#389] validate raw-node JSON strictly
Full Changelog: v1.8.5...v1.8.6
v1.8.5
Bugfix
- [#376] out-of-bound for single unclosed string
- [#380, #383] export not found error in ast get
- [#382] decimal map key may be truncated and populated unexpectedly
Feature
- [#382] add options
Default(Encoder|Decoder)BufferSize
to make initial buffer size adjustable
Full Changelog: v1.8.3...v1.8.5
v1.8.3
Bugfix
- [#372] omit checkptr detects on unsafe functions
- [#373] return error when
Get()
from incomplete json value
Full Changelog: v1.8.2...v1.8.3
v1.8.2
Bugfix
- [#369] (encoder) failed to use memory pool after passing UTF8 validation
Full Changelog: v1.8.1...v1.8.2
v1.8.1
Feature
- [#362] generic loader for go1.16~1.17
Bugfix
- [#365] add
nocheckptr
directive
Full Changelog: v1.8.0...v1.8.1