Releases: supabase/middleware
Releases · supabase/middleware
Release list
middleware: v0.2.0
0.2.0 (2026-08-06)
Features
- add composable, type-safe middleware for web fetch handlers (1ad6737)
- add flat pipeline syntax — mw(config) returns an Entry (3915593)
- auth: ship withAuth JWT middleware contributing ctx.jwtClaims (R8) (e3f591b)
- core: add .as(key) re-key for intentional multi-instance (R4) (0c6eb31)
- core: add opt-in withCatch error boundary (R3) (1a14311)
- core: add read-once-cache ctx.body to fix one-shot body consumption (R2) (8376021)
- core: add withResponse universal response seam (#1); public-API test (824433d)
- flat pipeline syntax — mw(config) returns an Entry directly (537f5ed)
- flat pipeline syntax — mw(config) returns an Entry directly (132daf9)
- implement: complete
web-middlewareframework ready for use (b1a66c3) - response seam via generator middleware + withCors (eb66d68)
- yield-contribution: middleware can
yieldaContributionand receive aResponse(cf6e397)
Bug Fixes
- core: make buffered request faithful — cache formData(), share body on clone() (R6/#6) (debdade)
- core: unit-test arg-2 env per runtime; throw not-implemented on arg 3 (b3f8fd9)
- core: warn (not throw) on unhonored 3rd fetch arg; add NEEDS_WORK (0f58871)
- cors: pass through non-reconstructable responses in the response phase (#13) (fdebc9b)