-
Notifications
You must be signed in to change notification settings - Fork 0
Release notes
Eugene Lazutkin edited this page Aug 8, 2026
·
3 revisions
The initial release.
-
install(options)— the assembly: synchronous matcher-gated interception (default same-origin non-navigation GETs), serve order cache tier → bundle window → coalesced network,clients.claimon activate. - Shared cache tier: serve-first, 2xx-only writers, opt-in network store, pattern invalidation,
x-io-no-cachebypass, Denokeys()feature-detection. - Cross-tab in-flight coalescing (one wire call per method+url+accept, clones per consumer).
- Transparent bundle window on wire format v1 with total degradation to direct fetches (lone requests, bundler failures, omitted parts).
- Failure containment throughout: a cache-tier read or write that throws (a
QuotaExceededErroris the ordinary case) is a miss and a no-op rather than a failed request, and amatchoutside theMatcherunion matches nothing instead of being called. Only the network may fail a request. - The
io:*message contract v1: hello/capabilities with client-wins library claims, invalidation withBroadcastChannelfan-out, version/upgrade flow, and theio:fetchtransport with transferred bodies and navigation-surviving completion. - The transport negotiates its body shape per request:
stream: truereturns a transferredReadableStreamwhere the platform supports one (announced as thestreamcapability), and the buffered ArrayBuffer otherwise. Clients that never ask are unaffected, which is why the contract stays at v1. - Tested on Node, Bun, and Deno through injected scope/fetch/caches; Deno additionally exercises the real Cache API, and Bun — which cannot transfer streams — covers the buffered fallback.
- Property-based race tests (
fast-checkviat.scheduler) over coalescing, invalidation exactness, and fetch resolution under arbitrary interleavings. - A real-browser e2e suite (
npm run test:e2e): Chromium, the realdouble-meh-bundler, a real second HTTP hop, and the publisheddouble-mehdriving the page half as a contract conformance check.
Start
Modules
Project