Blog post

Supabase Beta April 2021

2021-05-055 minute read

This month was a "gardening" month for Supabase. The team focused on stability, security, and community support. Check out what we were working on below, as well as some incredible Community contributions.

Quick demo

Watch a full demo:

Light Mode

We're a developer tool, which means that Dark Mode is extremely popular.

This poll on twitter shows that 78.5% of our developer base use Dark Mode for the IDE

While Dark mode is great, for some people it's not an option. Dark Mode is difficult to use for developers with astigmatisms, or even just working in brightly-lit environments.

So today we're shipping Light Mode. Access it in the settings of your Dashboard.

Translations

With the help of the community, we started internationalizing our main repository:

Map of the world

OpenAPI spec for Storage

We released Storage Api docs built using OpenAPI (swagger).

Storage API documentation

Stripe Sync Engine (Experimental)

We open-sourced a server which keeps any Postgres database in sync with Stripe. This is experimental only. We're evaluating other tools such as Singer, which provide a more general solution (but are less "realtime"), and we're opening it up here to gather feedback.

Stripe sync engine

Community spotlight: Threaded comments

One of the most powerful Postgres features is "recursive CTEs" which can be used for nested items (comments, pages, friend-graphs). @lawrencecchen has built a full Threaded Comments demo which you can Deploy with a single click. Want to add comments to your blog with Full Text Search? Just use Postgres.

Community spotlight: SupaScript

It looks like @burggraf2 got tired of waiting for us to ship Functions, and decided to build a whole JS ecosystem within his Supabase database. If you want to write PG functions in JS, import remote libraries from the web, and console log to your browser, check out this SupaScript repo.

1// After installing:
2// https://github.com/burggraf/SupaScript#installation
3
4/**
5 * Get all users who logged in this week.
6 * Use in the database:  select * from users_this_week();
7 * Use in the browser:   supabase.rpc('users_this_week');
8 */
9create or replace function users_this_week()
10returns json as $$
11  const moment = require('https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.29.1/moment.js', false);
12
13  const lastWeek = moment().subtract(7, 'days');
14  const query = 'select * from auth.users where created_at > $1'
15  const users = sql(query, lastWeek);
16
17  return users;
18$$ language plv8;
19

Community spotlight: Fireship

Fireship reviewed Supabase last week, and despite being a (self-proclaimed) Firebase fan-boy, the review was very impartial.

Community

Supabase Github Star Growth

Stars from github

Source: repository.surf/supabase

If you want to keep up to date, make sure you subscribe to our YouTube channel or follow us on Twitter.

Coming Next

You might have noticed our Dashboard slowly changing (improving), as we migrate the components out to our open source UI Library. This progression is an important step towards offering a UI for Local Development and Self Hosting.

We're also working on our Workflows engine. This is quite a large task, but we're making progress and aiming to ship sometime in July.

One more thing

We started hiring.

screenshot of our hiring page

Get started

Last post

Supabase Beta May 2021

2 June 2021
release-notes
Next post

Supabase Beta March 2021

6 April 2021
release-notes
Related articles
Supabase Beta November 2021: Launch Week Recap
PostgREST 9
Supabase Beta October 2021
Supabase Beta Sept 2021
Supabase Beta August 2021
View all posts

Build in a weekend, scale to millions