Releases
v0.2.8
Compare
Sorry, something went wrong.
No results found
Highlights
Optional & Regex-Constrained Route Parameters: Registration-time expansion for :param? (0 ns runtime overhead) and inline JIT-compiled :id{[0-9]+} with fall-through to generic params.
Zero-Bloat Optional Subpaths (0 bytes in core/edge):
barejs/html (1.3 KB): XSS-safe html tagged template + raw() + escapeHtml().
barejs/etag (2.4 KB): Edge-safe dynamic etag() middleware (weak FNV-1a / strong SHA-256 + 304 Not Modified).
barejs/cache (2.2 KB): Edge-safe cache() middleware (Cache-Control, Vary, Web Cache API + custom CacheLike store).
barejs/jsx & barejs/jsx-runtime (4.5 KB): Zero-dep JSX/TSX SSR with async components & streaming <Suspense>.
barejs/ssg (2.1 KB): Build-time Static Site Generator (toSSG).
barejs/aws-lambda (3.0 KB), barejs/cloudflare-pages (768 B), barejs/netlify (752 B).
Examples & AI/SEO Discovery: Added examples/ starters, restructured README.md & llms.txt, auto-generated llms-full.txt, robots.txt, sitemap.xml, and JSON-LD.
Verified: 502 tests / 6,880 assertions across 37 files passing in CI (Bun, Node.js 20 & 22, Deno 2).
You can’t perform that action at this time.