Skip to content

Releases: bytedance/sonic

v1.8.9

22 May 07:53
f1a9b94
Compare
Choose a tag to compare

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

25 Apr 07:43
cdd8937
Compare
Choose a tag to compare

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

03 Apr 09:45
7e82ad0
Compare
Choose a tag to compare

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

23 Mar 07:13
8639e93
Compare
Choose a tag to compare

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

14 Mar 06:18
8dbcce3
Compare
Choose a tag to compare

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

02 Mar 04:48
10e45e9
Compare
Choose a tag to compare

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

24 Feb 11:56
3696f91
Compare
Choose a tag to compare

Bugfix

  • [#369] (encoder) failed to use memory pool after passing UTF8 validation

Full Changelog: v1.8.1...v1.8.2

v1.8.1

20 Feb 06:54
e60b954
Compare
Choose a tag to compare

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

14 Feb 07:00
fa82a64
Compare
Choose a tag to compare

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

09 Feb 02:27
f87d87d
Compare
Choose a tag to compare

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