Company
Date Published
Author
Lakshan Perera, Andrees Pirela
Word count
718
Language
English
Hacker News points
87

Summary

We are excited to announce that Edge Functions now natively supports npm modules and Node built-in APIs, allowing direct import of millions of popular npm modules into your Edge Functions. You can migrate existing Node apps to Supabase Edge Functions with minimal changes, using a demo provided by the company. The addition of npm support was achieved through an open source Deno server called Supabase Edge Runtime, which serializes module graphs into a single file format (eszip) for efficient loading. Regional invocations have also been added, allowing users to specify a region for invocation, and better metrics are now available in the Supabase Dashboard, including CPU time and memory usage. Additionally, Sentry error tracking is now integrated with Edge Functions, making it easier to track errors and exceptions. The company plans to continue iterating on platform stability and custom resource limits in the coming year.