Skip to content

v0.28.0

Choose a tag to compare

@agentfirstkit agentfirstkit released this 01 Aug 09:42
· 14 commits to main since this release
  • Address the empty-string key: a path segment may now be empty, so npm's package-lock root entry (packages..version) reads and writes, and join/parse round-trip as the grammar always claimed
  • Refuse to emit an address that cannot be read back: a document-root empty-string key has no path spelling, so paths fails with document_unaddressable_key instead of printing a blank line the caller would feed back and be refused on
  • Add values FILE KEY...: read many scalars from one parse, replacing one process and one full document re-parse per path (110 lockfile entries went from 632ms to 17ms, and from quadratic parse work to linear)
  • Refuse a value containing a newline in values, since one-per-line framing would otherwise pair every later value with the wrong path; value still reads it, having no framing to break