Skip to content

v0.3.7

Choose a tag to compare

@github-actions github-actions released this 13 Feb 01:45
· 20 commits to main since this release
Bump version to 0.3.7: Fix OrderedObject and Fragment pretty-printing

OrderedObject now produces properly indented output with pretty: true.
Previously it always returned compact single-line JSON because the
Encoder produced a Fragment that bypassed the NIF's inline formatting.

Two fixes:
- OrderedObject is now a native Rust struct handler, formatting directly
  from the values tuple list with zero intermediate serialization
- Fragment content is now streamed through a depth-aware reformatter
  when pretty-printing, matching Jason's behavior (zero-allocation,
  single-pass byte walk through iodata)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>