All notable changes to nylo/smalljson are documented here.
Initial release.
- SmallJson wire format v1: key-table structural packing (
p) and deflate (z) modes. response()->smallJson()macro mirroringresponse()->json()semantics.smalljsonroute middleware that re-encodes anyJsonResponsefor advertising clients with zero controller changes.- Content negotiation via the
X-Small-Jsonrequest header, with automatic plain-JSON fallback (including when encoding would not shrink the payload) andVaryhandling for shared caches. SmallJsonfacade withencode()/decode()for manual use; the codec is framework-free.- Optional
X-Small-Json-Statsresponse header. - Cross-implementation test vectors shared with the
smalljsonDart package.