The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Add images.
Ramiro Nuñez Dosioe9d588820665
diff --git a/apps/www/_blog/2023-08-08-supabase-local-dev.mdx b/apps/www/_blog/2023-08-08-supabase-local-dev.mdxindex 1b73d8377f9..c9840ce60d5 100644--- a/apps/www/_blog/2023-08-08-supabase-local-dev.mdx+++ b/apps/www/_blog/2023-08-08-supabase-local-dev.mdx@@ -31,7 +31,7 @@ Follow the progress of the [Postgres Language Server on GitHub](https://github.c## Observability tools for Postgres-IMAGE GOES HERE+We’ve added [debugging utilities](https://supabase.com/docs/guides/database/inspect) to our CLI to identify production issues via the `supabase inspect db` command. This interface includes 19 different commands to help you solve everything from slow queries to redundant indexes.@@ -97,6 +97,8 @@ This is just a starting point for the Supabase inspector. We’ll grow this feat## Easier backups++We’ve made it even easer to backup and migrate your database, using `supabase db dump`. Under the hood, this simply uses [pg_dump](https://www.postgresql.org/docs/current/app-pgdump.html) (it is just Postgres, after all). However we also handle a few of the hairy issues that you might need to navigate on your own, like object permissions.- See full command@@ -118,6 +120,7 @@ We’ve made it even easer to backup and migrate your database, using `supabase## Improved Database Migrations+We’ve extended the CLI migration feature and added Dashboard support. Database migrations give you a way to update your database using version-controlled SQL files. We’ve built a lot of tooling around our migrations, including [reparation](https://supabase.com/docs/reference/cli/supabase-migration-repair), migration cleanup using the [squash](https://supabase.com/docs/reference/cli/supabase-migration-squash) command, and [diffing](https://supabase.com/docs/reference/cli/supabase-db-diff) (using [migra](https://github.com/djrobstep/migra)) to generate a new migration or to detect schema drift.@@ -144,7 +147,7 @@ Finally, we’ve added a Migrations view [in the dashboard](https://app.supabase## Test and lint your database-IMAGE+We’ve simplified the database testing experience, with `supabase test`. When you run `supabase test new`, we’ll stub out a [pgTAP test](https://pgtap.org/). The CLI includes [pg_prove and TAP harness](https://pgtap.org/pg_prove), so all you need to do is run `supabase test db`.@@ -182,7 +185,7 @@ Finally, while you wait for us to make progress on the Language Server, we’ve## Database seeding-IMAGE+Seeding is the process of populating a database with initial data, typically used to provide sample or default records for testing and development purposes. This gives you a reproducible development environment across your entire team.@@ -196,6 +199,8 @@ npx snaplet generate --sql > supabase/seed.sql## Type generators++Type generators introspect a PostgreSQL schema and automatically generate TypeScript definitions. This gives you [end-to-end type safety](https://www.youtube.com/watch?v=VSNgAIObBdw) from the database to the browser.In the past month, we've added relationship detection in supabase-js. Foreign keys are now included in the generated types so that supabase-js can detect whether a foreign table should be an array (one-to-many) or an object (many-to-one). We've also added Helper Types to improve the developer experience for common scenarios, like short-hand accessors:@@ -223,7 +228,7 @@ let movie: Tables<'movies'> = // ...## Official GitHub Action-IMAGE+We’ve developed an official [GitHub Action](https://github.com/marketplace/actions/supabase-cli-action) which leverages the CLI. You can [generate types on every PR](https://supabase.com/docs/guides/cli/github-action/generating-types), or run [your tests on every commit](https://supabase.com/docs/guides/cli/github-action/testing).@@ -231,7 +236,7 @@ We’ve developed an official [GitHub Action](https://github.com/marketplace/actLogs are now accessible locally in the Dashboard. Last launch week we released an open source logging server, with support for BigQuery. In the past few months we’ve added Postgres support to this server. This means that all of your local logs are accessible with no additional config - simply run supabase start and then visit the local dashboard to start debugging.-IMAGE+## Stable releases@@ -243,9 +248,9 @@ For the adventurous feature hunters, we’ve added a `beta` release channel forAnd finally, probably our most anticipated feature - branching:-IMAGE+-IMAGE+We’ve made big improvements to our local development above - but we have bigger ambitions. For several months we’ve been developing Supabase branching.diff --git a/apps/www/public/images/blog/launch-week-8/day-2/backup-your-database.png b/apps/www/public/images/blog/launch-week-8/day-2/backup-your-database.pngnew file mode 100644index 00000000000..6bf4abb387dBinary files /dev/null and b/apps/www/public/images/blog/launch-week-8/day-2/backup-your-database.png differdiff --git a/apps/www/public/images/blog/launch-week-8/day-2/branching-02.png b/apps/www/public/images/blog/launch-week-8/day-2/branching-02.pngnew file mode 100644index 00000000000..53f233ee6fdBinary files /dev/null and b/apps/www/public/images/blog/launch-week-8/day-2/branching-02.png differdiff --git a/apps/www/public/images/blog/launch-week-8/day-2/branching-preview-environments.png b/apps/www/public/images/blog/launch-week-8/day-2/branching-preview-environments.pngnew file mode 100644index 00000000000..ad100634a99Binary files /dev/null and b/apps/www/public/images/blog/launch-week-8/day-2/branching-preview-environments.png differdiff --git a/apps/www/public/images/blog/launch-week-8/day-2/end-to-end-type-safety.png b/apps/www/public/images/blog/launch-week-8/day-2/end-to-end-type-safety.pngnew file mode 100644index 00000000000..698ee1b7effBinary files /dev/null and b/apps/www/public/images/blog/launch-week-8/day-2/end-to-end-type-safety.png differdiff --git a/apps/www/public/images/blog/launch-week-8/day-2/inspect-your-database.png b/apps/www/public/images/blog/launch-week-8/day-2/inspect-your-database.pngnew file mode 100644index 00000000000..a556822c4d1Binary files /dev/null and b/apps/www/public/images/blog/launch-week-8/day-2/inspect-your-database.png differdiff --git a/apps/www/public/images/blog/launch-week-8/day-2/local-logging-debugging.png b/apps/www/public/images/blog/launch-week-8/day-2/local-logging-debugging.pngnew file mode 100644index 00000000000..e891837c0b1Binary files /dev/null and b/apps/www/public/images/blog/launch-week-8/day-2/local-logging-debugging.png differdiff --git a/apps/www/public/images/blog/launch-week-8/day-2/modify-your-database.png b/apps/www/public/images/blog/launch-week-8/day-2/modify-your-database.pngnew file mode 100644index 00000000000..fd087f1bea1Binary files /dev/null and b/apps/www/public/images/blog/launch-week-8/day-2/modify-your-database.png differdiff --git a/apps/www/public/images/blog/launch-week-8/day-2/support-for-github-actions.png b/apps/www/public/images/blog/launch-week-8/day-2/support-for-github-actions.pngnew file mode 100644index 00000000000..ecdf1afc758Binary files /dev/null and b/apps/www/public/images/blog/launch-week-8/day-2/support-for-github-actions.png differdiff --git a/apps/www/public/images/blog/launch-week-8/day-2/support-for-seeding.png b/apps/www/public/images/blog/launch-week-8/day-2/support-for-seeding.pngnew file mode 100644index 00000000000..a262a39d006Binary files /dev/null and b/apps/www/public/images/blog/launch-week-8/day-2/support-for-seeding.png differdiff --git a/apps/www/public/images/blog/launch-week-8/day-2/test-your-database.png b/apps/www/public/images/blog/launch-week-8/day-2/test-your-database.pngnew file mode 100644index 00000000000..d0a94b166ecBinary files /dev/null and b/apps/www/public/images/blog/launch-week-8/day-2/test-your-database.png differ