github bytedance/sonic v1.11.0

latest releases: v1.14.2, loader/v0.4.0, v1.14.1...
20 months ago

Feature

  • [#590] support go1.22
  • [#558] (encoder) allow the disabling of the newline in the encoder
  • [#577] (ast) always copy once after top Get

Bugfix

  • [#540] (encoder) checked if a interface is empty by its value field instead of type field
  • [#544] (ast) didn't pass non-exist value when call Node.Interface()
  • [#547] (decoder) didn't fully reuse buffer memory
  • [#569] (ast) Set on non-object node unexpectedly
  • [#571] (ast) implement soft delete for Unset().
    • Break change : Unset()'s behavior will be compatible with versions <= 1.9.x, while being incompatible with versions on 1.10.x

Optimization

  • [#550] (decoder) refactor streaming decoder to fully use buffer
  • [#545] eliminate race test errors
  • [#552] (loader) use lockfree to register new modules

New Contributors

Full Changelog: v1.10.2...v1.11.0

Don't miss a new sonic release

NewReleases is sending notifications on new releases.