Skip to content

v0.1.0 — Initial release

Choose a tag to compare

@mbolli mbolli released this 31 Aug 18:42
· 28 commits to master since this release

Backfilled release note. Originally tagged 2026-06-15; the publish date above is when
this GitHub release entry was created.

Initial release. A performance-focused PHP implementation of RON (Readable Object
Notation), behaviorally ported from the Go reference ron-go
and verified against the upstream conformance corpus.

Added

  • RON <-> JSON conversion: Ron::toJson (streaming RON -> JSON) and Ron::fromJson
    (tree-based JSON -> RON), with pretty/compact and canonical-key-order options.
  • Ron::encode / Ron::decode for arbitrary PHP values, like json_encode/json_decode,
    preserving number source text on the conversion paths.
  • Canonicalization: Ron::canonicalRon, Ron::canonicalHash (XXH3-128 of the canonical
    RON bytes), and Ron::canonicalJson (RFC 8785 / JCS).

Full changelog: CHANGELOG.md · v0.1.0