Skip to content

v0.4.2

Latest

Choose a tag to compare

@ehsanmok ehsanmok released this 22 Oct 21:26

json v0.4.2 moves the library to Mojo 1.2.0 and MAX 26.7.

  • The Mojo pin is now >=1.2.0,<2.0.0.
  • max-core stays optional (GPU path only) and is constrained to ==26.7.
  • mojodoc is pinned to v0.1.2 and mozz to v0.2.2.
  • CI uses prefix-dev/setup-pixi v0.11.2 with pixi v0.83.0.
  • Mojo 1.2 fixes: std.hashlib is now std.hash; CStringSpan.ptr() no longer compiles, so the nul-terminated call sites (strtod and the simdjson parse) take the pointer from the String; and the no-op ^ transfers that Mojo 1.2 warns about are gone, so warnings-check is clean.
  • Includes the parsing performance work merged since v0.4.1: tape strings are serialized and keys matched without allocating, the tape is built in one FFI call on a per-thread parser, and the tape symbols are resolved once per process.

There are no API changes.

Full Changelog: v0.4.1...v0.4.2