The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Update content
Ramiro Nuñez Dosioca2c43c74148
diff --git a/apps/www/_blog/2022-03-29-graphql-now-available.mdx b/apps/www/_blog/2022-03-29-graphql-now-available.mdxindex 15baea38dfc..72059a88c1e 100644--- a/apps/www/_blog/2022-03-29-graphql-now-available.mdx+++ b/apps/www/_blog/2022-03-29-graphql-now-available.mdx@@ -1,6 +1,6 @@---title: 'GraphQL is now available in Supabase'-description: GraphQL support is now in general availability on the Supabase platform via our open source PostgreSQL extension, pg_graphql (beta).+description: GraphQL support is now in general availability on the Supabase platform via our open source PostgreSQL extension, pg_graphql.author: oli_rice,dthyressonimage: launch-week-4/tuesday-graphql/graphql-thumb-og.pngthumb: launch-week-4/tuesday-graphql/graphql-thumb.png@@ -11,8 +11,16 @@ date: '2022-03-29'toc_depth: 3----GraphQL support is now in general availability on the Supabase platform via our [open source](https://github.com/supabase/pg_graphql/) PostgreSQL extension,-[`pg_graphql](https://supabase.github.io/pg_graphql/) (beta)`.+<div className="bg-gray-300 rounded-lg px-6 py-2 italic">++🆕 `pg_graphql` has undergone significant enhancements since this announcement. Here is what is new:++ - [pg_graphql v1.0](https://supabase.com/blog/pg-graphql-v1)+ - [New Features in pg_graphql v1.2](https://supabase.com/blog/whats-new-in-pg-graphql-v1-2)++</div>++GraphQL support is now in general availability on the Supabase platform via our [open source](https://github.com/supabase/pg_graphql/) PostgreSQL extension, [`pg_graphql](https://supabase.github.io/pg_graphql/) (beta)`.@@ -119,8 +127,7 @@ An advantage to embedding GraphQL directly in the database is that we can lean o### Authentication-The GraphQL types exposed by `pg_graphql` are filtered according to the SQL role's [INSERT/UPDATE/DELETE permissions](https://www.postgresql.org/docs/current/sql-grant.html).-At Supabase, each API request is resolved in the database using the role in the request's JWT.+The GraphQL types exposed by `pg_graphql` are filtered according to the SQL role's [INSERT/UPDATE/DELETE permissions](https://www.postgresql.org/docs/current/sql-grant.html). At Supabase, each API request is resolved in the database using the role in the request's JWT.Anonymous users receive the `anon` role, and logged in users get the `authenticated` role. In either case, pg_graphql resolves requests according to the SQL permissions.The [introspection schema](https://graphql.org/learn/introspection/) is similarly filtered to limit exposed types and fields to those that the user has permission to access.@@ -134,6 +141,7 @@ Another nice side effect of making PostgreSQL do the heavy lifting is that Graph## PerformanceEach [free tier database](https://supabase.com/pricing) on the Supabase platform runs on a dedicated AWS t4g.micro instance with 2 vCPUs and 1 GB of memory.+To squeeze the most out of that limited hardware we had to make a few significant optimizations:**GraphQL queries are always transpiled into exactly one SQL query**@@ -221,7 +229,7 @@ As a result of these optimizations, the throughput of a “hello world” equiva</aside>-To enable GraphQL in your Supabase instance, enable `pg_graphql` from the dashboard.+To enable GraphQL in your Supabase instance, enable `pg_graphql` from the [dashboard](https://app.supabase.com/).<video width="99%" autoPlay="autoplay" muted playsInline controls={true}><source@@ -319,3 +327,10 @@ Our first general availability release of `pg_graphql` supports:In the near term, we plan to fully support array and json/b types. Longer term, we intend to support views and custom mutations from user defined functions.Didn't see the feature you're interested in? [Let us know](https://github.com/supabase/pg_graphql/issues)++## More pg_graphql++- [Introducing pg_graphql: A GraphQL extension for PostgreSQL](https://supabase.com/blog/pg-graphql)+- [pg_graphql v1.0](https://supabase.com/blog/pg-graphql-v1)+- [pg_graphql v1.2](https://supabase.com/blog/whats-new-in-pg-graphql-v1-2)+