supabase-js v2 and supabase-flutter v1 released
The new versions of our two most popular SDKs have been fully released. It couldn’t have happened without our amazing community, thanks to everyone involved. Now, it’s time to build 🛠
Try supabase-js V2
Try flutter-supabase V1
New Next.js quickstart & Next.js 13 example
Next.js is all the rage right now 🔥
Next.js Conf raised the bar for dev conferences. We had the honor of being a Gold Sponsor, so we revamped our Next.js Quickstart guide to include our pre-built Auth UI and Auth Helpers.
And Next.js 13 was announced! Making it extremely easy to fetch and cache data from our Serverless API. So we put together an example to try it out.
Supabase Auth and Server-Side Rendering
The Auth team published an in-depth doc explaining how Supabase Auth supports server-side rendering. Includes an explanation of the authentication flow and answers to some of the more common questions.
Database Testing with pgTAP
Do you have 100% code coverage? Probably not, because that’s usually the last thing you think of, but definitely not if you don’t have database tests. We just shipped a framework for Database Tests which makes it incredibly easy to test your database using pgTAP an pg_prove.
Edge Functions Update
Functions now support GET requests! Other HTTP verbs such as PUT, PATCH, and DELETE are supported too.
Quick Product Updates
- supabase-py 🐍 now has functions support! PR
- You can now detect users’ location from Edge Functions easily by using
X-Forwarded-For header
. Example - Return
provider_refresh_token
along withprovider_access_token
. PR - Added a
refreshSession
method to allow users to forcefully refresh a session instead of waiting for it to autorefresh upon expiry. Thanks to @j4w8n for the PR 🙇🏻♂️ - Logging: realtime, storage, postgrest, and pgbouncer released.
- Trigger a file download by adding the download query parameter to your storage objects. storage-api. PR