Immutable
release. Only release title and notes can be modified.
1.5.1 (2026-08-31)
Features
withOAuthProtectedResourceurl config (#117) (11cce29)- add
withOAuthProtectedResource(#113) (3908590) - add withRequiredClaims user-mode auth gate (#127) (05a95b6)
- errors: add self-identifying errors with hints and diagnostics (#130) (b8b086c)
- flow upstream ctx types through withSupabase nesting (#119) (f393c6e)
- middleware: ship withPostgresClient and withPostgresAdminClient (#115) (77656ba)
- validate middleware prereqs against Supabase context (#126) (1576369)
- withSupabase on the @supabase/middleware engine (#88) (2b5d4fd)
Bug Fixes
- construct supabaseAdmin lazily on first access (#124) (fbb652f)
- declare pg and keep it out of the root CJS bundle (#122) (f05307f)
- harden oauth-protected-resource header and URL edge cases (#131) (0c1a2b6)
- migrate
withOAuthProtectedResourcetodefineMiddleware(#116) (04831ce) - report missing JWKS as ENV_ERROR in user-mode verification (#128) (9c064c5)
- require node >=22 to match @supabase/middleware (#132) (d60afcf)