Home / Companies / Supabase / Blog / Post Details
Content Deep Dive

Introducing @supabase/server

Blog post from Supabase

Post Details
Company
Date Published
Author
-
Word Count
1,909
Company Posts That Month
5
Language
English
Hacker News Points
-
Summary

Supabase has launched a new package, @supabase/server, in public beta to streamline server-side development by eliminating repetitive setup code for Edge Functions, Cloudflare Workers, Hono, and Bun. The package provides a pre-configured SupabaseContext, which includes user-scoped and admin clients, JWT verification, and auth metadata, simplifying the process of setting up authentication and request contexts. Developers can utilize the withSupabase wrapper for automatic handling of auth, client creation, and CORS, enabling them to focus on business logic without managing shared utility files or environment variables. The package supports various runtime environments and offers composable primitives for advanced use cases, facilitating smooth transitions to new API keys and enhancing project security. As a result, developers can implement consistent patterns across functions, making it easier for both humans and AI agents to produce correct code. The package is compatible with multiple frameworks and runtimes, with full documentation available on GitHub, and feedback is encouraged to improve its API surface and address any edge cases.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Edge Computing 3 46 19 12 -15%
MCP 2 7,098 726 186 +16%
AI Agents 1 4,942 1,264 250 +12%
Developer Experience 1 473 283 114 -23%
Secrets Management 1 2,152 360 101 +18%