Releases: bytedance/sonic
Releases · bytedance/sonic
v1.14.2
What's Changed
- fix: make encoder pretouch able to recurse by @bimoadityar in #856
- fix:(decoder) not panic when map key is a interface by @AsterDY in #861
- fix: make validate skip behave more similarly like encoding/json by @bimoadityar in #815
- feature: use pool for EscapeHTML by @bimoadityar in #866
- fix: pcsp for jit functions by @liuq19 in #868
- chore: update arm asm by @liuq19 in #873
- style(internal/rt): fix a typo in filename by @nmaupu in #871
- chore: pcsp for jit functions by @liuq19 in #877
- chore: update loader version to 0.4.0 by @liuq19 in #878
New Contributors
- @bimoadityar made their first contribution in #856
- @nmaupu made their first contribution in #871
Full Changelog: v1.14.1...v1.14.2
loader/v0.4.0
chore: pcsp for jit functions (#877)
v1.14.1
What's Changed
- fix: avoid boundary pointer in
alg.Quoteby @AsterDY in #820 - feat: add fallback implementations for unquoting and UTF-8 validation by @liuq19 in #823
- fix(encoder): not panic for unsupported map-key type by @AsterDY in #826
- fix: fix range check for uint32 in jit by @liuq19 in #833
- fix: bugs when encoding.TextMarshaler key is integer types or nil pointer by @liuq19 in #831
- fix(vm): fix decode json contains \u0000 char by @liuq19 in #836
- fix: unmarshal single escaped chars with string option tag by @liuq19 in #837
- chore: fix comments about code generate by @liuq19 in #839
- doc: comments documenting declarations mismatch by @Innnsane in #840
- opt: optimize encode and ast node by @liuq19 in #845
- fix: compilation error with
GOEXPERIMENT=jsonv2by @AsterDY in #847 - feat: show JSON trace when panic by @AsterDY in #848
New Contributors
Full Changelog: v1.14.0...v1.14.1
v1.14.0
v1.14.0-rc1
What's Changed
- fix: trim the trailing whitespace for raw json value by @liuq19 in #806
- feat: support go1.25 by @AsterDY in #808
Full Changelog: v1.13.3...v1.14.0-rc1
v1.13.3
What's Changed
- chore: remove
NoQuoteTextMarshalerfromConfigFastestand export … by @AsterDY in #781 - fix: code and comment typos by @musvaage in #783
- fix(git): add lacking fuzz/go-fuzz-corpus submodule by @zchee in #784
- opt:(encoder) use std
strconv.AppendIntfor better performance on arm by @AsterDY in #789 - fix: not panic when marshal map key that is bool by @liuq19 in #795
- fix: typo in ast/node.go doc comment by @eomhs in #793
- feat:(ast) add
Node.StrictBoolby @AsterDY in #801 - fix: pass
io.Reader's error toStreamDecoderby @AsterDY in #802 - fix(compat): should return error when unmarshaling json with trailing chars by @liuq19 in #803
New Contributors
- @musvaage made their first contribution in #783
- @zchee made their first contribution in #784
- @eomhs made their first contribution in #793
Full Changelog: v1.13.2...v1.13.3
v1.13.2
v1.13.1
What's Changed
- fix(aarch64): avoid using the boundary pointer of an array by @liuq19 in #763
- fix: Write version warning to stderr by @roysc in #761
- feat: support golang 1.24 by @liuq19 in #741
- fix(compat): duplicate description by @y1jiong in #767
- chore: add notice for go1.24.0 on README by @AsterDY in #766
- fix: loader version by @liuq19 in #770
New Contributors
Full Changelog: v1.12.10...v1.13.1
v1.12.10
Bugfix
- fix(aarch64): support parse map that key is float by @liuq19 in #748
- fix(aarch64): bug when unmarshal into prefilled interface slice by @liuq19 in #751
- fix: bug when marshal nil interface{} that contains not-indirect value by @liuq19 in #756
- fix(loader): invalid binary length in stackmap by @liuq19 in #754
- fix(aarch64): bug when unmarshal into non-nil interface by @liuq19 in #759
- fix bug when serde with unsupported type by @liuq19 in #757
Full Changelog: v1.12.9...v1.12.10
v1.12.9
What's Changed
BugFix( for aarch64)
- fix crash cause by
sigprof, not useX28register in arm64 of native C [PR: #746, Issue: #743] - fix bug when parsing invalid json that contains unescaped control chars [PR: #745, Issue: #739]
- fix bug when parsing large json [PR: #745, Issue: #744]
Chore
- chore: fix ci by @liuq19 in #740
- Update codeql-analysis.yml by @willem-bd in #736
- chore: add issue and pr template by @liuq19 in #742
New Contributors
- @willem-bd made their first contribution in #736
Full Changelog: v1.12.8...v1.12.9