Skip to content

v0.5.11

Latest

Choose a tag to compare

@liuq19 liuq19 released this 13 Nov 13:16
c99df02

Highlights

  • Fix depth-limit stack overflows when parsing or skipping deeply nested JSON, including debug builds and get_many.
  • Support big-endian targets in SWAR number parsing and SIMD bitmasks, and SSE2 on 32-bit x86.
  • Deserialize sonic_rs::Value from any self-describing deserializer (including from_value and serde_json).
  • Validate \u escapes in skipped strings; reject numeric map keys with surrounding whitespace.
  • Fix Value offset handling with utf8_lossy, OwnedLazyValue::as_array/as_object, Entry::key, struct variants from sequences, and serialize_char reading past its buffer.
  • Add Display for JsonType.
  • CI: discover Wasm test executables from Cargo artifacts and keep the Wasm test job running on current stable Rust.

Compatibility

sonic-rs 0.5.11 requires the already-published sonic-number 0.1.3 and sonic-simd 0.1.4. Both sub-crates' published sources are identical to this release's tree, so they are not re-published.

Full changes

v0.5.10...v0.5.11