Skip to content

Releases: bytedance/sonic

v1.12.0

30 Jul 03:21
c00f19a
Compare
Choose a tag to compare

Feature

  • [#645] support aarch64
  • [#662] support go1.23rc2 and drop support below go1.17 (fallback)
  • [#661] ast.Node support concurrently-read and optimize Node.Load/LoadAll by default
  • [#661] ast.Node will build a hash index for object which has more than 8 keys, to boost Node.Get()
  • [#668] export MarshalIndent API in root
  • [#669] support marshal Inf/NaN with option
  • [#673] add APIKind to indicate if using fallback implementation

Optimization

  • [#651] enhance data race detection and panic message on encoder
  • [#664] add a limit option on reusing buffer size

New Contributors

Full Changelog: v1.11.9...v1.12.0

v1.12.0-rc

09 Jul 05:29
456a3b9
Compare
Choose a tag to compare
v1.12.0-rc Pre-release
Pre-release

Notice

  • [#645] Will not support Go1.16 from v1.12.0

Feature

  • [#645] Support ARM64 arch for decoder and encoder
  • [#669] support marshal invalid float (Inf/NaN) as null
  • [#668] export MarshalIndent api in root

Optimization

  • [#667]: remove some link-names to support compilation on Go1.23rc1 (fallback to std)
  • [#651] enhance data race detection
  • [#664] add limit on reusing buffer size to avoid OOM

Full Changelog: v1.11.9...v1.12.0-rc

v1.11.9

19 Jun 09:16
09461c3
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.11.8...v1.11.9

v1.11.8

29 May 09:35
381aa24
Compare
Choose a tag to compare

Feature

  • [#630] feat:(ast) Visitor support skip object and array

Bugfix

  • [#632] fix: better compile error info in 32-bit arch
  • [#642] fix: check empty when validating utf8
  • [#636] fix: add mssing max pc-sp of natives

Full Changelog: v1.11.7...v1.11.8

v1.11.7

22 May 02:28
be4a498
Compare
Choose a tag to compare

What's Changed

BugFix

  • fix: wrongly use reflect.growslice() by @AsterDY in #629
  • fix: possible oom when encode parallel in go1.16 by @liuq19 in #635

Full Changelog: v1.11.6...v1.11.7

v1.11.6

29 Apr 03:13
2b66aef
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.11.4...v1.11.6

v1.11.4

15 Apr 03:42
bd821ee
Compare
Choose a tag to compare

What's Changed

  • [#607] feat:(ast) support arm64
  • [#618] chore: immigrate some dependencies to cloudwego
  • [#619] build:(native) full inline native C funcs

New Contributors

Full Changelog: v1.11.2...v1.11.4

v1.11.2-arm_ast

01 Mar 03:15
Compare
Choose a tag to compare
v1.11.2-arm_ast Pre-release
Pre-release
resolve conflict

v1.11.2

28 Feb 11:34
3739ffe
Compare
Choose a tag to compare

Bugfix

  • [#603] fix:(ast) SortKeys(true) panic when not loaded-all

Full Changelog: v1.11.1...v1.11.2

v1.11.1

26 Feb 07:05
618834f
Compare
Choose a tag to compare

Feature

  • [#594] (ast) add new node method "IndexOrGetWithIdx"

Bugfix

  • [#601] (ast) Unset() used physical index to removePair
  • [#599] (build) support build rt on non-amd64 env

New Contributors

Full Changelog: v1.11.0...v1.11.1