Skip to content

v0.48.0

Choose a tag to compare

@sa6mwa sa6mwa released this 09 Nov 11:19
· 3 commits to trunk since this release

Fix stack exhaustion on default musl worker threads in native record lifecycle and Lua JSON processing.

  • Use bounded traversal workspaces with checked heap growth for deep schemas, recursive object arrays, Lua JSON encoding and array rewriting.
  • Reserve Lua VM stack capacity during decoding and clean up encoding workspaces on allocation or callback errors.
  • Exercise glibc Debug applications and their children with 128 KiB default worker stacks. Reject large production frames, variable-length arrays and alloca.

Breaking C API: ABI 28

lonejson_init, lonejson_reset and lonejson_cleanup, including receiver methods and short aliases, now return lonejson_status and accept an optional error output. Check initialization and reset results before using or reusing records. Rebuild downstream consumers with matching ABI 28 headers and libraries; v0.47.0 used ABI 27.

Verification

The signed, lightweight-tagged commit passed the full clean local release gate: 107 Debug checks, full-feature Lua tests, 39 ASan checks, 39 TSan checks, Valgrind, service integration, AFL++/Lua fuzz smoke, 257 Linux matrix checks, source reconstruction and final package verification. The Darwin SDK and smoke bundle were built and inspected locally using osxcross; native macOS execution was not performed.

The benchmark gate skipped because this host has no frozen baseline.

Release artifacts include seven target SDKs, the Darwin smoke bundle, source and standalone-header packages, Lua products and the SHA-256 checksum manifest.