Tags: homanp/server
Tags
chore(main): release server 0.1.4 (supabase#27) Co-authored-by: supabase-releaser[bot] <223506987+supabase-releaser[bot]@users.noreply.github.com>
chore(main): release server 0.1.2 (supabase#23) Co-authored-by: supabase-releaser[bot] <223506987+supabase-releaser[bot]@users.noreply.github.com>
feat: exposing `keyName` to `SupabaseContext` (supabase#22) * fix: correctly passing down the keyName based on authType - Only passing keyName for during 'createContextClient' if the authType is public * feat: exposing 'keyName' to SupabaseContext * docs: adding 'authKeyName' reference
chore(main): release server 0.1.1 (supabase#12) Co-authored-by: supabase-releaser[bot] <223506987+supabase-releaser[bot]@users.noreply.github.com>
feat: add `supabaseOptions` and refactor client creation to options o… …bjects (supabase#19) * feat: add `supabaseOptions` to `WithSupabaseConfig` for client customization Allow users to pass `SupabaseClientOptions` through to the internal `createClient` calls, enabling custom schemas, fetch, and realtime config while security-critical auth settings remain force-overwritten. * fix: sanitize Authorization and apikey headers from supabaseOptions User-provided supabaseOptions.global.headers could include Authorization or apikey, bypassing verified credentials. Strip both before spreading user headers into the client options.
feat: standardize error response (supabase#18) * feat: standardize error response * fix: tests * feat: creating constant error names * feat: creating 'MissingDefault' error variantion for api keys * feat: creating error map * fix: wrong error code in EnvErrorMap * test: fix tests to use error types * fix: lint * docs: fix typos and improve inline docs for error constants Fix typos in EnvError.code TSDoc, update stale AuthError.code reference, add doc comments to all exported error constants and Errors map, and re-export error constants from package root. --------- Co-authored-by: Tomas Pozo <tomaspozogarzon@gmail.com>
fix: removing `core` lib exports from root index (supabase#17)
docs: add TSDoc comments with embedded examples (supabase#15) * docs: add comprehensive TSDoc comments with embedded examples across all source files Add JSDoc/TSDoc documentation to every exported function, type, interface, and error class. Includes @PARAM, @returns, @throws, @example with copy-pasteable code, @see cross-references, and @packageDocumentation module overviews. Examples use the runtime-agnostic `export default { fetch }` pattern instead of Deno-specific APIs. * docs: align annotations with @supabase/server naming and runtime-agnostic framing - Replace all @supabase/edge-functions imports with @supabase/server across 13 source files - Frame withSupabase as built for the Web API Request/Response standard - Explain adapter purpose: frameworks wrap the runtime's native standards, adapters bridge the gap - Fix CONTRIBUTING.md repo URL from edge-functions to server * docs: trim inline comments to practical scope — one summary, one example Move architecture explanations, auth mode tables, multi-example variations, and cryptographic theory out of inline TSDoc. Keep each doc comment focused on what the function does and one copy-pasteable example. * docs: fix @packageDocumentation tag placement and Cloudflare Workers caveat - Move @packageDocumentation to its own line in barrel files (TSDoc spec requirement) - Clarify that Cloudflare Workers need node-compat or overrides for env resolution
feat: passing down Database generic type to `createClient` (supabase#16) * feat: passing down Database generic type to `createClient` * fix: lint
PreviousNext