SupabaseAnt WilsonAnnouncement
Supabase Beta May 2022
Summary
Supabase announced several platform updates and performance improvements across its database, hosting, and developer tooling ecosystem for May 2022. Developers managing preview deployments on Jamstack platforms like Vercel and Netlify can now configure wildcard redirect domains such as *.mydomain.com/welcome. For serverless workflows, Edge Functions support a -no-verify-jwt CLI deployment flag to facilitate direct invocation via external webhooks without mandatory token validation. In addition, Supabase exposed a Prometheus-compatible metrics endpoint to all users for real-time project monitoring and alerting. Database security policies also gained a dedicated Target roles configuration, replacing older role check expressions and cutting query execution time from 46 seconds to 7 milliseconds in one customer deployment.
Context
Teams deploying Jamstack preview environments required flexible domain redirects, developers needed frictionless webhook triggers for Edge Functions without mandatory JWT verification, and Postgres users faced suboptimal query performance when filtering roles with row-level security expressions.
Approach / What changed
Supabase added wildcard redirect support, introduced a CLI flag to deploy Edge Functions without JWT verification, opened a Prometheus-compatible metrics endpoint to all users, and added a Target roles field in the Policy editor.
Takeaways
Supabase CLI now supports a -no-verify-jwt flag to deploy Edge Functions without mandatory JWT verification, simplifying webhook integrations.
Using the Policy editor's new Target roles field instead of auth.role() = 'authenticated' significantly improved query performance in Postgres, reducing one query from 46 seconds to 7 milliseconds.
A Prometheus-compatible metrics endpoint is available to all users to provide project health insights, real-time monitoring, debugging, and alerting.
Source and freshness
- Source
- supabase.com
- Published
- Added to Yomu
- Last updated
Summaries are generated from the original by a language model. Check the original before relying on it.
Keep reading
Related reading
The Good Stuff
Paid picks we use ourselves. Links carry a referral code — a subscription through one earns us a commission at no extra cost to you.
The best engineering reads, once a week
One useful email. Unsubscribe anytime.