Releases: bytedance/sonic
Releases · bytedance/sonic
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
v1.8.0
Feature
- [#350] add
Get()
API on not-amd64
envs
- [#354] more complete function loader and support Go 1.20
- [#357] replace invalid utf8 char with '\ufffd', which is n accord with
encoding/json
- [#361] add env option
SONIC_STOP_PROFILING
to stop profiling on demands, working around for issue #310
Full Changelog: v1.7.0...v1.8.0
v1.7.1
Feature
- [#350] export
Get()
API on not-amd64
envs
- [#354] add more complete function loader. Also support Go 1.20
- [#358] fallback on unsupported go versions
Full Changelog: v1.7.0...v1.7.1