diff --git a/apps/www/_blog/2023-01-03-launch-week-6-hackathon-winners.mdx b/apps/www/_blog/2023-01-03-launch-week-6-hackathon-winners.mdx index d422c36434f..38627d544e0 100644 --- a/apps/www/_blog/2023-01-03-launch-week-6-hackathon-winners.mdx +++ b/apps/www/_blog/2023-01-03-launch-week-6-hackathon-winners.mdx @@ -127,6 +127,6 @@ If you're inspired to build, check out some of the latest resources: - [**supabase-js v2**](https://supabase.com/blog/supabase-js-v2) - [**Supabase Storage Guide**](https://supabase.com/docs/guides/storage) -- [**Flutter Quick Start Guide**](https://supabase.com/docs/guides/with-flutter) +- [**Flutter Quick Start Guide**](https://supabase.com/docs/guides/getting-started/tutorials/with-flutter) - [**Supabase CLI local development guide**](https://supabase.com/docs/guides/local-development) - [**Edge Functions Guide**](https://supabase.com/docs/guides/functions) diff --git a/apps/www/_blog/2023-02-07-chatgpt-supabase-docs.mdx b/apps/www/_blog/2023-02-07-chatgpt-supabase-docs.mdx index 6a281decf96..5a09831b795 100644 --- a/apps/www/_blog/2023-02-07-chatgpt-supabase-docs.mdx +++ b/apps/www/_blog/2023-02-07-chatgpt-supabase-docs.mdx @@ -54,7 +54,7 @@ It's built with Supabase/Postgres, and consists of several key parts: 1. Parsing the Supabase docs into sections. 2. Creating embeddings for each section using OpenAI's embeddings API. -3. Storing the embeddings in Postgres using the pgvector extension. +3. Storing the embeddings in Postgres using the [pgvector extension](https://supabase.com/docs/guides/database/extensions/pgvector). 4. Getting a user's question. 5. Query the Postgres database for the most relevant documents related to the question. 6. Inject these documents as context for GPT-3 to reference in its answer. diff --git a/apps/www/_blog/2023-02-08-supabase-beta-january-2023.mdx b/apps/www/_blog/2023-02-08-supabase-beta-january-2023.mdx index 67eb2b7e2d9..35ad22c2350 100644 --- a/apps/www/_blog/2023-02-08-supabase-beta-january-2023.mdx +++ b/apps/www/_blog/2023-02-08-supabase-beta-january-2023.mdx @@ -20,7 +20,7 @@ We’ve got some new Postgres extensions, GraphQL updates, changes to Edge Funct ![Storing OpenAI embeddings in Postgres with pgvector](/images/blog/2023-02-08-january-beta-update/pgvector.png) -pgvector is a popular PostgreSQL extension for storing embeddings and performing vector similarity search. It was one of the most requested extensions by the AI/ML community and is now available thanks to [gregnr](https://github.com/gregnr). +[pgvector](https://supabase.com/docs/guides/database/extensions/pgvector) is a popular PostgreSQL extension for storing embeddings and performing vector similarity search. It was one of the most requested extensions by the AI/ML community and is now available thanks to [gregnr](https://github.com/gregnr). [Read the announcement](https://supabase.com/blog/openai-embeddings-postgres-vector) @@ -39,7 +39,7 @@ Greg wasted no time and took pgvector for a spin, he combined it with OpenAI t We have released extensive reference docs for C# and Python, detailing every object and method. What are you going to build? -- [C# Client Library](https://supabase.com/docs/reference/csharp/) +- [C# Client Library](https://supabase.com/docs/reference/csharp/introduction) - [Python Client Library](https://supabase.com/docs/reference/python/initializing) ## pg_graphql now supports Views, Materialized Views, and Foreign Tables diff --git a/apps/www/_blog/2023-02-14-flutter-real-time-multiplayer-game.mdx b/apps/www/_blog/2023-02-14-flutter-real-time-multiplayer-game.mdx index ad8aa0d07df..f5223329440 100644 --- a/apps/www/_blog/2023-02-14-flutter-real-time-multiplayer-game.mdx +++ b/apps/www/_blog/2023-02-14-flutter-real-time-multiplayer-game.mdx @@ -840,6 +840,6 @@ We learned how to create an interactive shooting game. We took advantage of Flut - [Complete code of this article](https://github.com/supabase/supabase/tree/master/examples/realtime/flutter-multiplayer-shooting-game) - [Flutter Tutorial: building a Flutter chat app](https://supabase.com/blog/flutter-tutorial-building-a-chat-app) -- [Flutter Authentication and Authorization with RLS](https://supabase.com/blog/flutter-authentication-and-authorization-with-rls) +- [Flutter Authentication and Authorization with RLS](https://supabase.com/blog/flutter-authorization-with-rls) - [Generate Flame template using Very Good CLI](https://verygood.ventures/blog/generate-a-game-with-our-new-template) - [Supabase Flutter SDK docs](https://supabase.com/docs/reference/dart/introduction) diff --git a/apps/www/_blog/2023-03-01-geo-queries-with-postgis-in-ionic-angular.mdx b/apps/www/_blog/2023-03-01-geo-queries-with-postgis-in-ionic-angular.mdx index 75065f47217..5426f7ca915 100644 --- a/apps/www/_blog/2023-03-01-geo-queries-with-postgis-in-ionic-angular.mdx +++ b/apps/www/_blog/2023-03-01-geo-queries-with-postgis-in-ionic-angular.mdx @@ -27,7 +27,7 @@ In this tutorial you will learn to: - Store and retrieve geolocation data - Use [database functions](https://supabase.com/docs/guides/database/functions) for geo-queries with PostGIS - Display a [Capacitor Google Map](https://capacitorjs.com/docs/apis/google-maps) with a marker -- Upload files to Supabase Storage and use [image transformations](https://supabase.com/docs/guides/storage/serving/image-transformations) +- Upload files to [Supabase Storage](https://supabase.com/docs/guides/storage) and use [image transformations](https://supabase.com/docs/guides/storage/serving/image-transformations) Since there are quite some code snippets we need I've put together the [full source code on GitHub](https://github.com/saimon24/supabase-postgis-ionic-angular) so you can easily run the project yourself! diff --git a/apps/www/_blog/2023-03-09-supabase-beta-update-february-2023.mdx b/apps/www/_blog/2023-03-09-supabase-beta-update-february-2023.mdx index 8893a96f182..b22b4a56baa 100644 --- a/apps/www/_blog/2023-03-09-supabase-beta-update-february-2023.mdx +++ b/apps/www/_blog/2023-03-09-supabase-beta-update-february-2023.mdx @@ -20,7 +20,7 @@ There’s something for everybody this month: AI, Auth, Database, Edge Functions The most popular GraphQL IDE/API explorer is now built into the dashboard! You can now explore and query your GraphQL API produced by `pg_graphql`. -[Try it now](https://supabase.com/dashboard/project/_/api/graphiql). +[Try it now](https://supabase.com/dashboard/project/_/integrations/graphiql). ## Supabase + OpenAI search @@ -34,7 +34,7 @@ We've updated our Docs search functionality to use `pgvector` + OpenAI. Still no ![Serve all the functions!](/images/blog/2023-03-09-beta-update-february/supabase-cli-edge-functions.png) -Do you use multiple Edge Functions in your project? Then celebrate! Supabase CLI 1.36+ now supports serving multiple Edge Functions at the same time. +Do you use multiple Edge Functions in your project? Then celebrate! [Supabase CLI](https://supabase.com/docs/reference/cli/introduction) 1.36+ now supports serving multiple Edge Functions at the same time. To enable the feature, just run `supabase functions serve` in your project. diff --git a/apps/www/_blog/2023-04-04-infinite-scroll-with-nextjs-framer-motion.mdx b/apps/www/_blog/2023-04-04-infinite-scroll-with-nextjs-framer-motion.mdx index fc9d6d53582..cd36f3cb25f 100644 --- a/apps/www/_blog/2023-04-04-infinite-scroll-with-nextjs-framer-motion.mdx +++ b/apps/www/_blog/2023-04-04-infinite-scroll-with-nextjs-framer-motion.mdx @@ -15,7 +15,7 @@ date: '2023-04-04' toc_depth: 6 --- -Imagine you generated a bunch of tickets for the Supabase [Launch Week](https://www.supabase.com/launch-week/7) and you wanted to display them all on [one page](https://supabase.com/launch-week/7/tickets). It might take a while to load them all in one go, so a great solution to this would be to lazy load smaller subsets while the user scrolls, with a technique called infinite scrolling. +Imagine you generated a bunch of tickets for the Supabase [Launch Week](https://www.supabase.com/launch-week/7) and you wanted to display them all on [one page](https://supabase.com/launch-week/7). It might take a while to load them all in one go, so a great solution to this would be to lazy load smaller subsets while the user scrolls, with a technique called infinite scrolling. An infinite scroll allows you to scroll through your content endlessly while only loading the data you need as you need it. This improves performance while also creating a smooth and delightful user experience. diff --git a/apps/www/_blog/2023-04-07-designing-with-ai-midjourney.mdx b/apps/www/_blog/2023-04-07-designing-with-ai-midjourney.mdx index ac7efe44e59..f896d36b78d 100644 --- a/apps/www/_blog/2023-04-07-designing-with-ai-midjourney.mdx +++ b/apps/www/_blog/2023-04-07-designing-with-ai-midjourney.mdx @@ -108,7 +108,7 @@ If we can’t find the image in storage, then we kick off the ticket generation Each image includes the user’s GitHub details. We use [`supabase-js`](https://supabase.com/docs/reference/javascript/installing) for authentication: users log in with their GitHub account and we store their username in a table in Postgres. -Since this table includes email addresses, we secure it using [RLS](https://supabase.com/docs/guides/auth/row-level-security) to ensure each user can only view their own data. At the same time, we want these tickets to be publicly shareable, and that’s where [Postgres Views](https://supabase.com/blog/postgresql-views) come in handy. +Since this table includes email addresses, we secure it using [RLS](https://supabase.com/docs/guides/database/postgres/row-level-security) to ensure each user can only view their own data. At the same time, we want these tickets to be publicly shareable, and that’s where [Postgres Views](https://supabase.com/blog/postgresql-views) come in handy. By creating a view, we can selectively publicize parts of our table and also compute some additional values on the fly: @@ -264,9 +264,9 @@ Interested to know how this fits within your Next.js application? Find the code ## Displaying the images -We have some images, so how can we now display them somewhere? [@Francesco Sansalvadore](https://twitter.com/frnk_snslvdr) saw one of our team members trying to “swipe” on the tickets slider component on the [launch week page](https://supabase.com/launch-week/7/tickets) and he thought, why not feature all the fantastic people who generated tickets on a single page? +We have some images, so how can we now display them somewhere? [@Francesco Sansalvadore](https://twitter.com/frnk_snslvdr) saw one of our team members trying to “swipe” on the tickets slider component on the [launch week page](https://supabase.com/launch-week/7) and he thought, why not feature all the fantastic people who generated tickets on a single page? -We built a [ticket wall](https://supabase.com/launch-week/7/tickets) that you can scroll endlessly. We approached it with an infinite scroll technique, lazy-loading a few tickets at a time. +We built a [ticket wall](https://supabase.com/launch-week/7) that you can scroll endlessly. We approached it with an infinite scroll technique, lazy-loading a few tickets at a time. ![launch week 7 ticket wall](/images/blog/launch-week-7/designing-with-ai-midjourney/launch-week-7-ticket-wall.png) diff --git a/apps/www/_blog/2023-04-10-supabase-logs-self-hosted.mdx b/apps/www/_blog/2023-04-10-supabase-logs-self-hosted.mdx index dce100a4de5..6799acf805f 100644 --- a/apps/www/_blog/2023-04-10-supabase-logs-self-hosted.mdx +++ b/apps/www/_blog/2023-04-10-supabase-logs-self-hosted.mdx @@ -14,7 +14,7 @@ imgSocial: launch-week-7/day-1-supabase-logs-self-hosted/day-1-supabase-logs-sel imgThumb: launch-week-7/day-1-supabase-logs-self-hosted/day-1-supabase-logs-self-hosted-thumb.jpg --- -Today, we’re releasing Supabase Logs for both self-hosted users and CLI development. +Today, we’re releasing [Supabase Logs](https://supabase.com/features/logs-analytics) for both self-hosted users and CLI development. ## Logflare Introduction diff --git a/apps/www/_blog/2023-04-11-edge-runtime-self-hosted-deno-functions.mdx b/apps/www/_blog/2023-04-11-edge-runtime-self-hosted-deno-functions.mdx index cdb01c93379..d8299941bcc 100644 --- a/apps/www/_blog/2023-04-11-edge-runtime-self-hosted-deno-functions.mdx +++ b/apps/www/_blog/2023-04-11-edge-runtime-self-hosted-deno-functions.mdx @@ -22,7 +22,7 @@ imgThumb: launch-week-7/day-2-edge-runtime/edge-runtime-thumb.jpeg Today we’re open-sourcing [Supabase Edge Runtime](https://github.com/supabase/edge-runtime) for self-hosting Deno Edge Functions. -Edge Runtime is MIT licensed, written in Rust, and based on the latest Deno Runtime (1.32+). If you’ve been using the Supabase CLI to serve functions then you’re already one of our Beta testers (thanks!). +Edge Runtime is MIT licensed, written in Rust, and based on the latest Deno Runtime (1.32+). If you’ve been using the [Supabase CLI](https://supabase.com/docs/reference/cli/introduction) to serve functions then you’re already one of our Beta testers (thanks!).
-The Next.js App Router shifts a significant amount of your app development from the client to the server, using Server Components, Route Handlers and Server Actions. This means Supabase Auth needs to be configured to store session data in cookies - available in the browser and on the server - rather than Local Storage. We've simplified this process for you with our new [Next.js Auth Helpers package](https://supabase.com/docs/guides/auth/auth-helpers/nextjs). +The Next.js App Router shifts a significant amount of your app development from the client to the server, using Server Components, Route Handlers and Server Actions. This means Supabase Auth needs to be configured to store session data in cookies - available in the browser and on the server - rather than Local Storage. We've simplified this process for you with our new [Next.js Auth Helpers package](https://supabase.com/docs/guides/auth/server-side/migrating-to-ssr-from-auth-helpers). This configures cookie-based Auth, making the user's session available throughout the entire Next.js App Router stack: diff --git a/apps/www/_blog/2023-08-11-launch-week-8-community-highlights.mdx b/apps/www/_blog/2023-08-11-launch-week-8-community-highlights.mdx index 45991b3ae95..50d95d00002 100644 --- a/apps/www/_blog/2023-08-11-launch-week-8-community-highlights.mdx +++ b/apps/www/_blog/2023-08-11-launch-week-8-community-highlights.mdx @@ -61,7 +61,7 @@ The past few months we had a focus on integrations and welcomed a lot of new par ### Integrations Marketplace -We've been running our [Integrations Marketplace](/partners) in “stealth mode” for about a year now and has now grown to [over 60 integrations](/partners/integrations). In the last couple of months, we've added amazing products like [N8N](/partners/integrations/n8n), [Passage by 1 Password](/partners/catalog/passage-identity), and [Refine](/partners/integrations/refine_dev). This Launch Week we've made it easy to [build an integration](/docs/guides/platform/oauth-apps/build-a-supabase-integration#create-an-oauth-app) using OAuth2 and the Management API in the new [Supabase Integrations Marketplace](/blog/supabase-integrations-marketplace). We've started with a few partners to help us build and test the OAuth functionality, including [Cloudflare](/partners/catalog/cloudflare), [Resend](/partners/integrations/resend), Snaplet, [Trigger.dev](/partners/catalog/trigger-dev), [Windmill](/partners/catalog/windmill-labs), and [Vercel](/partners/integrations/vercel). +We've been running our [Integrations Marketplace](/partners) in “stealth mode” for about a year now and has now grown to [over 60 integrations](/partners/catalog). In the last couple of months, we've added amazing products like [N8N](/partners/catalog/n8n), [Passage by 1 Password](/partners/catalog/passage-identity), and [Refine](/partners/catalog/refine). This Launch Week we've made it easy to [build an integration](/docs/guides/integrations/build-a-supabase-oauth-integration#create-an-oauth-app) using OAuth2 and the Management API in the new [Supabase Integrations Marketplace](/blog/supabase-integrations-marketplace). We've started with a few partners to help us build and test the OAuth functionality, including [Cloudflare](/partners/catalog/cloudflare), [Resend](/partners/catalog/resend), Snaplet, [Trigger.dev](/partners/catalog/trigger-dev), [Windmill](/partners/catalog/windmill-labs), and [Vercel](/partners/catalog/vercel). ### pgvector @@ -81,7 +81,7 @@ The team at Transloadit are committed to building an open protocol for resumable ### Mozilla -We are huge fans of Mozilla at Supabase, so it was an honor when they chose [Supabase Vector](/vector) to build AI Help, a ChatGPT-like interface to the most popular developer docs on the internet: **[MDN](https://developer.mozilla.org/en-US/)**. [Learn more in their official announcement](https://developer.mozilla.org/en-US/blog/introducing-ai-help/). +We are huge fans of Mozilla at Supabase, so it was an honor when they chose [Supabase Vector](/features/vector-database) to build AI Help, a ChatGPT-like interface to the most popular developer docs on the internet: **[MDN](https://developer.mozilla.org/en-US/)**. [Learn more in their official announcement](https://developer.mozilla.org/en-US/blog/introducing-ai-help/). ## Framework support @@ -133,7 +133,7 @@ Our very own (and very talented) [Jon Meyers](https://twitter.com/jonmeyers_io) 4. Optimistic UI updates 5. Subscribing to realtime database changes 6. Configuring Supabase Auth to use cookies -7. Using Row Level Security (RLS) policies to implement Authorization +7. Using [Row Level Security](https://supabase.com/docs/guides/database/postgres/row-level-security) (RLS) policies to implement Authorization [Get started on EggHead.](https://egghead.io/courses/build-a-twitter-clone-with-the-next-js-app-router-and-supabase-19bebadb) diff --git a/apps/www/_blog/2023-08-11-supabase-soc2-hipaa.mdx b/apps/www/_blog/2023-08-11-supabase-soc2-hipaa.mdx index 60c57b77436..c0d62d21819 100644 --- a/apps/www/_blog/2023-08-11-supabase-soc2-hipaa.mdx +++ b/apps/www/_blog/2023-08-11-supabase-soc2-hipaa.mdx @@ -16,7 +16,7 @@ imgThumb: launch-week-8/day-5/thumb-day5-compliance.jpg While we weren’t [planning](https://news.ycombinator.com/item?id=35526018) to do anything official for this announcement, [the customer is always right](https://news.ycombinator.com/item?id=35555756). -Supabase is now officially SOC2 Type 2 and HIPAA compliant. +Supabase is now officially [SOC2](https://supabase.com/features/soc-2-compliance) Type 2 and HIPAA compliant. That’s all you need to know. The rest of this blog post will give you some background and what to expect if you’re planning to go through the same process. @@ -60,7 +60,7 @@ We used the same auditor to streamline the process. Many of the controls require We also had to sign a Business Associate Agreement (BAA) with all of our vendors who would have access to PHI, such as AWS, and ensure that we follow their terms listed in the agreements. For example, when using AWS to store PHI, we could only use their [HIPAA Eligible Services](https://aws.amazon.com/compliance/hipaa-eligible-services-reference/). There were similar requirements from the other vendors we use and to ensure that we were complying with all their requirements. -Similarly when you sign a BAA with us, you have some responsibilities you agree to when using Supabase to store PHI. These are documented in our [shared responsibility doc](/docs/guides/platform/shared-responsibility-model#managing-healthcare-data). +Similarly when you sign a BAA with us, you have some responsibilities you agree to when using Supabase to store PHI. These are documented in our [shared responsibility doc](/docs/guides/deployment/shared-responsibility-model#managing-healthcare-data). We made a significant change to our incident management process for HIPAA. The [HIPAA Breach Notification](https://www.hhs.gov/hipaa/for-professionals/breach-notification/index.html) rules have strict requirements for handling breaches. For instance, business associates are required to notify the covered entity within 60 days of a breach. This also required us to appoint a HIPAA Security officer who would be responsible for reviewing any breach for PHI disclosure and communicating it’s impact to the Covered Entity. diff --git a/apps/www/_blog/2023-08-11-supavisor-1-million.mdx b/apps/www/_blog/2023-08-11-supavisor-1-million.mdx index e07f971e073..1e899285792 100644 --- a/apps/www/_blog/2023-08-11-supavisor-1-million.mdx +++ b/apps/www/_blog/2023-08-11-supavisor-1-million.mdx @@ -23,7 +23,7 @@ And so we've built [Supavisor](https://github.com/supabase/supavisor), a Postgre ## What is Supavisor? -Supavisor is a scalable, cloud-native Postgres connection pooler. It has been developed with multi-tenancy in mind, handling millions of connections without significant overhead or latency. Supavisor is built in Elixir, in partnership with [José Valim](https://twitter.com/josevalim) (the creator of Elixir) and the [Dashbit](https://dashbit.co/) team. +[Supavisor](https://supabase.com/features/supavisor) is a scalable, cloud-native Postgres connection pooler. It has been developed with multi-tenancy in mind, handling millions of connections without significant overhead or latency. Supavisor is built in Elixir, in partnership with [José Valim](https://twitter.com/josevalim) (the creator of Elixir) and the [Dashbit](https://dashbit.co/) team. diagram of supavisor architecture Check out my [Next.js Conf talk](https://www.youtube.com/watch?t=3880&v=FdiX5rHS_0Y) to see this starter template in action! @@ -194,6 +194,6 @@ As you probably know, we love memes, so we are signing off with one about the le - [Next.js Quickstart](https://supabase.com/docs/guides/getting-started/quickstarts/nextjs) - [Build a User Management App with Next.js](https://supabase.com/docs/guides/getting-started/tutorials/with-nextjs) -- [Server-Side Auth Overview](https://supabase.com/docs/guides/auth/server-side/overview) +- [Server-Side Auth Overview](https://supabase.com/docs/guides/auth/server-side) - [Fetching and caching Supabase data in Next.js 13 Server Components](https://supabase.com/blog/fetching-and-caching-supabase-data-in-next-js-server-components) - [Infinite scroll with Next.js, Framer Motion, and Supabase](https://supabase.com/blog/infinite-scroll-with-nextjs-framer-motion) diff --git a/apps/www/_blog/2023-11-06-beta-update-october-2023.mdx b/apps/www/_blog/2023-11-06-beta-update-october-2023.mdx index 119c14bedac..2a351916eec 100644 --- a/apps/www/_blog/2023-11-06-beta-update-october-2023.mdx +++ b/apps/www/_blog/2023-11-06-beta-update-october-2023.mdx @@ -36,7 +36,7 @@ pgvector is becoming the vector store of choice for developers. We’ve put it t ![Manage storage buckets from the command line](https://obuldanrptloktxcffvn.supabase.co/storage/v1/object/public/images/marketing-emails/october2023/storage-buckets-cli.png) -You can now manage Storage buckets with the Supabase CLI: +You can now manage Storage buckets with the [Supabase CLI](https://supabase.com/docs/reference/cli/introduction): - `supabase storage ls -r`: show all buckets and objects - `supabase cp -r readme.md ss:///bucket`: upload local files to bucket diff --git a/apps/www/_blog/2023-11-16-react-native-authentication.mdx b/apps/www/_blog/2023-11-16-react-native-authentication.mdx index 07da7ad668c..3dc24c37837 100644 --- a/apps/www/_blog/2023-11-16-react-native-authentication.mdx +++ b/apps/www/_blog/2023-11-16-react-native-authentication.mdx @@ -65,7 +65,7 @@ export const supabase = createClient(supabaseUrl, supabaseAnonKey, { }) ``` -You can find your URL and anon key in the [API credentials section](/dashboard/project/_/settings/api) of the Supabase dashboard. +You can find your URL and anon key in the [API credentials section](/dashboard/project/_/integrations/data_api/overview) of the Supabase dashboard. ### Encrypting the user session @@ -385,8 +385,8 @@ For detailed set up and implementation instructions please refer to the [docs](h Supabase supports various forms of passwordless authentication: -- [Email Magic Link](/docs/guides/auth/passwordless-login/auth-magic-link) -- [Email one-time password (OTP)](/docs/guides/auth/passwordless-login/auth-email-otp) +- [Email Magic Link](/docs/guides/auth/auth-email-passwordless) +- [Email one-time password (OTP)](/docs/guides/auth/auth-email-passwordless) - [SMS & WhatsApp one-time password (OTP)](/docs/guides/auth/phone-login) (watch the [video tutorial](https://youtu.be/Hca4CKE17I0?feature=shared)) Passwordless login mechanisms have similar benefits as the native mobile login options mentioned above. diff --git a/apps/www/_blog/2023-11-21-oauth2-login-python-flask-apps.mdx b/apps/www/_blog/2023-11-21-oauth2-login-python-flask-apps.mdx index f444aefe4fa..647f6921e7e 100644 --- a/apps/www/_blog/2023-11-21-oauth2-login-python-flask-apps.mdx +++ b/apps/www/_blog/2023-11-21-oauth2-login-python-flask-apps.mdx @@ -141,4 +141,4 @@ In this post we explained how to setup a flask session storage to work with the - [supabase-py reference docs](https://supabase.com/docs/reference/python/installing) - [supabase-py GitHub repo](https://github.com/supabase-community/supabase-py) -- [Deep Dive series on auth concepts in Supabase](https://supabase.com/docs/learn/auth-deep-dive/auth-deep-dive-jwts) +- [Deep Dive series on auth concepts in Supabase](https://supabase.com/docs/guides/auth/jwts) diff --git a/apps/www/_blog/2023-12-01-automatic-cli-login.mdx b/apps/www/_blog/2023-12-01-automatic-cli-login.mdx index 8221f5fbd46..12ae71cadda 100644 --- a/apps/www/_blog/2023-12-01-automatic-cli-login.mdx +++ b/apps/www/_blog/2023-12-01-automatic-cli-login.mdx @@ -13,7 +13,7 @@ imgSocial: automatic-cli-login/automatic-cli-login-og.jpg imgThumb: automatic-cli-login/automatic-cli-login-thumb.jpg --- -Using the [Supabase CLI](https://supabase.com/docs/guides/cli) is the go-to method for many to interact with their Supabase projects. It enables easy local project development, working with the local database, managing migrations, and generating types, among other functionalities. However, some scenarios demand connecting to the real Supabase project, requiring a login. Until now, the login process involved typing `supabase login`, which prompted users to manually generate a token from [supabase.com/dashboard/account/tokens](https://supabase.com/dashboard/account/tokens) and paste it back into the terminal. +Using the [Supabase CLI](https://supabase.com/docs/guides/local-development) is the go-to method for many to interact with their Supabase projects. It enables easy local project development, working with the local database, managing migrations, and generating types, among other functionalities. However, some scenarios demand connecting to the real Supabase project, requiring a login. Until now, the login process involved typing `supabase login`, which prompted users to manually generate a token from [supabase.com/dashboard/account/tokens](https://supabase.com/dashboard/account/tokens) and paste it back into the terminal. This method proved inconvenient and suboptimal for our users, especially for those recording courses or tutorial videos, as they repeatedly had to go through the whole process manually. We are committed to prioritizing Developer Experience (DX), so we decided to improve this. @@ -38,7 +38,7 @@ After gathering all this data, a unique URL is generated containing the session With your identity confirmed, the CLI sends the provided session data to our management API, requesting its magic. -The Management API generates a new access token for your account, creates its pair of ECDH keys, and encrypts the token using your public key and the server's private key. This encrypted token, alongside the server's public key, your session ID, and expiration date, is then stored in our database. +The [Management API](/docs/reference/api/introduction) generates a new access token for your account, creates its pair of ECDH keys, and encrypts the token using your public key and the server's private key. This encrypted token, alongside the server's public key, your session ID, and expiration date, is then stored in our database. To send it back to your CLI it needs to be stored in a database. diff --git a/apps/www/_blog/2023-12-11-studio-introducing-assistant.mdx b/apps/www/_blog/2023-12-11-studio-introducing-assistant.mdx index 412ea8bdee6..d162293eb81 100644 --- a/apps/www/_blog/2023-12-11-studio-introducing-assistant.mdx +++ b/apps/www/_blog/2023-12-11-studio-introducing-assistant.mdx @@ -52,7 +52,7 @@ Let's jump in to Row Level Security first. ## Easy RLS Policies with AI -Of all the feature requests we get (and we get many!), an easier way to write [Row Level Security](https://supabase.com/docs/guides/auth/row-level-security) Policies is one of the most frequent. +Of all the feature requests we get (and we get many!), an easier way to write [Row Level Security](https://supabase.com/docs/guides/database/postgres/row-level-security) Policies is one of the most frequent. Row Level Security (RLS) is a Postgres feature that provides fine-grained access to your database. While RLS is powerful, writing Policies can be a chore. Today, we're releasing an AI-powered RLS Editor that makes it simple to write security policies. @@ -113,7 +113,7 @@ Here's our tweets table. Watch the table react when we change roles: When we query with the `postgres` role, we can see all the data. When we query with the `anon` no data is returned. This makes sense as we haven't yet created a policy to allow for `anon` access to this table. -The Role dropdown unlocks another handy capability: when combined with Supabase Auth it can even pretend to be a different _user_. +The Role dropdown unlocks another handy capability: when combined with [Supabase Auth](https://supabase.com/docs/guides/auth) it can even pretend to be a different _user_. ## User Impersonation @@ -156,7 +156,7 @@ Combining this feature with the new RLS Editor, you're able to write and test RL Supabase [Realtime](https://supabase.com/realtime) is great for building collaborative applications. You can receive database changes over websockets, store and synchronize data about user presence, and broadcast any data to clients via "channels". -Today we're releasing Realtime Inspector: an easy way to prototype, inspect, and debug Realtime directly in the Studio. You can use the Realtime Inspector to view messages being sent and received in channels. You can filter messages by type: presence, broadcast, and database changes. +Today we're releasing [Realtime Inspector](https://realtime.supabase.com/): an easy way to prototype, inspect, and debug Realtime directly in the Studio. You can use the Realtime Inspector to view messages being sent and received in channels. You can filter messages by type: presence, broadcast, and database changes. Supabase AI diff --git a/apps/www/_blog/2023-12-12-edge-functions-node-npm.mdx b/apps/www/_blog/2023-12-12-edge-functions-node-npm.mdx index 525e3f76bcc..8000985fa9c 100644 --- a/apps/www/_blog/2023-12-12-edge-functions-node-npm.mdx +++ b/apps/www/_blog/2023-12-12-edge-functions-node-npm.mdx @@ -97,7 +97,7 @@ These changes help you spot any issues with your Edge Functions and act on them.
-ℹ️ See the [logging and metrics guide](https://supabase.com/docs/guides/functions/debugging) for Edge Functions to learn more. +ℹ️ See the [logging and metrics guide](https://supabase.com/docs/guides/functions/logging) for Edge Functions to learn more.
diff --git a/apps/www/_blog/2023-12-12-pg-graphql-postgres-functions.mdx b/apps/www/_blog/2023-12-12-pg-graphql-postgres-functions.mdx index 081f6a71f89..cfeca8d6d79 100644 --- a/apps/www/_blog/2023-12-12-pg-graphql-postgres-functions.mdx +++ b/apps/www/_blog/2023-12-12-pg-graphql-postgres-functions.mdx @@ -15,7 +15,7 @@ imgSocial: lwx-pg-graphql/pg-graphql-og.png imgThumb: lwx-pg-graphql/pg-graphql-thumb.png --- -Supabase GraphQL (pg_graphql) 1.4+ supports the most requested feature: Postgres functions a.k.a. User Defined Functions (UDFs). This addition marks a significant improvement in GraphQL flexibility at Supabase, both as a novel approach to defining entry points into the Graph and as an escape hatch for users to implement custom/complex operations. +[Supabase GraphQL](https://supabase.com/docs/guides/graphql) (pg_graphql) 1.4+ supports the most requested feature: Postgres functions a.k.a. User Defined Functions (UDFs). This addition marks a significant improvement in GraphQL flexibility at Supabase, both as a novel approach to defining entry points into the Graph and as an escape hatch for users to implement custom/complex operations. As with all entities in Supabase GraphQL, UDFs support is based on automatically reflecting parts of the SQL schema. The feature allow for the execution of custom SQL logic within GraphQL queries to help support complex, user defined, server-side operations with a simple GraphQL interface. @@ -205,7 +205,7 @@ We look forward to implementing support for many of these features in coming rel ## Takeaways -If you're an existing Supabase user, but new to GraphQL, head over to [GraphiQL built right into Supabase Studio](https://supabase.com/dashboard/project/_/api/graphiql) for your project to interactively explore your projects through the GraphQL API. User defined function support is new in pg_graphql 1.4+. You can check your project's GraphQL version with: +If you're an existing Supabase user, but new to GraphQL, head over to [GraphiQL built right into Supabase Studio](https://supabase.com/dashboard/project/_/integrations/graphiql) for your project to interactively explore your projects through the GraphQL API. User defined function support is new in pg_graphql 1.4+. You can check your project's GraphQL version with: ```sql select * @@ -213,7 +213,7 @@ from pg_available_extensions where name = 'pg_graphql'; ``` -To upgrade, check out [our upgrade guide](https://supabase.com/docs/guides/platform/migrating-and-upgrading-projects). +To upgrade, check out [our upgrade guide](https://supabase.com/docs/guides/platform/upgrading). For new Supabase users, [creating a new project](http://database.new) will get you the latest version of Supabase GraphQL with UDF support. diff --git a/apps/www/_blog/2023-12-13-supabase-branching.mdx b/apps/www/_blog/2023-12-13-supabase-branching.mdx index 754cf0618d6..d7216581d9b 100644 --- a/apps/www/_blog/2023-12-13-supabase-branching.mdx +++ b/apps/www/_blog/2023-12-13-supabase-branching.mdx @@ -49,7 +49,7 @@ Branching is a natural extension of this, but instead of experimenting with just Each Git branch has a corresponding Supabase Preview, which automatically updates whenever you push an update. The rest of the workflow should feel familiar: when you merge a Pull Request into your main Git branch, Supabase will run your database migrations inside your Production database. -Your project's Preview Branches are designed with safety in mind. They are isolated instances, each with a distinct set of API keys and passwords. Each instance contains every Supabase feature: a Postgres database, Auth, File Storage, Realtime, Edge Functions, and Data APIs. +Your project's Preview Branches are designed with safety in mind. They are isolated instances, each with a distinct set of API keys and passwords. Each instance contains every Supabase feature: a [Postgres database](/database), [Auth](/auth), [File Storage](/storage, [Realtime](/realtime), [Edge Functions](/edge-functions), and [Data APIs](https://supabase.com/docs/guides/api. Every Supabase Preview is a dedicated instance, with a full suite of Supabase services.`. The branch connection string can be retrieved using your Personal Access Token with Supabase CLI's [branch management](/docs/reference/cli/supabase-branches-get) commands. @@ -128,7 +128,7 @@ That's already a lot for Branching v0. Branching will be a core part of the deve ### Declarative config -We're still working on “configuration in code”. For example, you might want to try a different Google Auth in your Preview Branch than the one you use in Product. This would be a lot easier if the code was declarative, inside the [config.toml](/docs/guides/cli/config) file. +We're still working on “configuration in code”. For example, you might want to try a different Google Auth in your Preview Branch than the one you use in Product. This would be a lot easier if the code was declarative, inside the [config.toml](/docs/guides/local-development/cli/config) file. ### Automatic dashboard commits @@ -148,7 +148,7 @@ We'll be onboarding organizations in batches over the next few weeks, and workin **Update 17th January 2024** - Early access for Branching is now closed for the foreseeable future. We are now working hard towards releasing a public beta. -Check out the [Branching docs](/docs/guides/platform/branching) and also if you have any feedback, [you can join the discussion](https://github.com/orgs/supabase/discussions/18937). +Check out the [Branching docs](/docs/guides/deployment/branching) and also if you have any feedback, [you can join the discussion](https://github.com/orgs/supabase/discussions/18937). -Don’t forget that we also have Vecs, a Python client for managing and querying vector stores in Postgres with the pgvector extension. [Get started](https://supabase.com/docs/guides/ai/python/api)! +Don’t forget that we also have Vecs, a Python client for managing and querying vector stores in Postgres with the [pgvector](https://supabase.com/docs/guides/database/extensions/pgvector) extension. [Get started](https://supabase.com/docs/guides/ai/python/api)! @@ -79,7 +79,7 @@ We’ve made several updates for Typescript support in `supabase-js`: The core theme of Flutter v2 has been stability and better DX. Shout-out to [Vinzent](https://github.com/Vinzent03), a community maintainer who has done the majority of the work. Some notable improvements: - **Type safety for queries:** The return type of a query will automatically be set to `List` of `Map` depending on return type ( `single()` or `maybeSingle()` ) -- **Type safety for Realtime:** Realtime broadcast and presence get their own methods to make it more easily accessible. +- **Type safety for [Realtime](https://supabase.com/docs/guides/realtime):** Realtime broadcast and presence get their own methods to make it more easily accessible. - **Performance:** - Initialization time has been reduced by lazily refreshing the session in the background. - Lighter package size. We have removed some dependencies diff --git a/apps/www/_blog/2023-12-15-introducing-read-replicas.mdx b/apps/www/_blog/2023-12-15-introducing-read-replicas.mdx index 797bed6bccb..00f22760fba 100644 --- a/apps/www/_blog/2023-12-15-introducing-read-replicas.mdx +++ b/apps/www/_blog/2023-12-15-introducing-read-replicas.mdx @@ -14,7 +14,7 @@ imgSocial: lwx-read-replicas/introducing-read-replicas-og.png imgThumb: lwx-read-replicas/read-replicas-thumb.png --- -Today, we are launching support for Postgres Read Replicas. You can use Read Replicas to: +Today, we are launching support for Postgres [Read Replicas](https://supabase.com/docs/guides/platform/read-replicas). You can use Read Replicas to: 1. Distribute load across various databases. 2. Serve data closer to your users. @@ -48,7 +48,7 @@ Replication is asynchronous. It happens in the background so that transactions a ## Why Read Replicas? -To scale your database, you have two choices: horizontal scaling and vertical scaling. Vertical scaling involves adding more RAM and CPU to your existing server. Our 16XL [compute add-on](https://supabase.com/docs/guides/platform/compute-add-ons) has 64 cores CPU and 256 GB RAM - sufficient for almost any well-architected workload. +To scale your database, you have two choices: horizontal scaling and vertical scaling. Vertical scaling involves adding more RAM and CPU to your existing server. Our 16XL [compute add-on](https://supabase.com/docs/guides/platform/compute-and-disk) has 64 cores CPU and 256 GB RAM - sufficient for almost any well-architected workload. However, certain workloads may push against the CPU and memory limits of a single server. There’s a limit to how much you can scale vertically. Most cloud providers do not provide instances larger than our 16XL specifications. @@ -127,7 +127,7 @@ Currently, we have implemented a round-robin strategy of routing PostgREST reque ### Supabase Products leveraging Replicas -We are working on support for database-level load balancing through [Supavisor](https://supabase.com/blog/supavisor-postgres-connection-pooler). When routing database traffic through Supavisor, it routes write queries to the primary and splits read queries between the primary and read replica. This distributes load to all your databases without any changes to your application. Other Supabase products like Auth, Storage, and Realtime use the database heavily. We are working on adding read replica support to these products, so that they can leverage the read replica when appropriate. This means they won’t just query the primary but will also use the read replica’s compute when possible. +We are working on support for database-level load balancing through [Supavisor](https://supabase.com/blog/supavisor-postgres-connection-pooler). When routing database traffic through [Supavisor](https://supabase.com/docs/guides/database/supavisor), it routes write queries to the primary and splits read queries between the primary and read replica. This distributes load to all your databases without any changes to your application. Other Supabase products like [Auth](/realtime), [Storage](/storage), and [Realtime](/realtime) use the database heavily. We are working on adding read replica support to these products, so that they can leverage the read replica when appropriate. This means they won’t just query the primary but will also use the read replica’s compute when possible. ## Pricing and Availability diff --git a/apps/www/_blog/2023-12-15-postgres-on-fly-by-supabase.mdx b/apps/www/_blog/2023-12-15-postgres-on-fly-by-supabase.mdx index e19d2c3ddaa..ec3e5f1918c 100644 --- a/apps/www/_blog/2023-12-15-postgres-on-fly-by-supabase.mdx +++ b/apps/www/_blog/2023-12-15-postgres-on-fly-by-supabase.mdx @@ -28,7 +28,7 @@ Fly Postgres databases launch on Fly.io's edge computing platform from any of th - [pgvector](https://github.com/pgvector/pgvector/) support for [Vector/AI workloads](/docs/guides/ai) - [Supavisor](/blog/supavisor-postgres-connection-pooler), our Postgres connection pooler - Daily backups and point-in-time recovery -- [Branching](/docs/guides/platform/branching), [observability](https://github.com/supabase/supabase-grafana), and migrations +- [Branching](/docs/guides/deployment/branching), [observability](https://github.com/supabase/supabase-grafana), and migrations - A [dashboard](/blog/studio-introducing-assistant) for managing your database - Auto-generated Data APIs: - [REST](/docs/guides/api) (using [PostgREST](https://postgrest.org)) @@ -108,6 +108,6 @@ Fly projects are backed up to AWS S3 as Fly doesn't provide managed Blob storage ## Getting started -Sign up for the preview [here](https://forms.supabase.com/fly-postgres), wait till we allowlist your org, and get started with the [Quickstart](https://supabase.com/docs/guides/platform/fly-postgres#quickstart) in our docs. +Sign up for the preview [here](https://forms.supabase.com/fly-postgres), wait till we allowlist your org, and get started with the [Quickstart](https://supabase.com/docs/guides/database/connecting-to-postgres#direct-connection) in our docs. Fly organizations will get one free project. We're still working through some of the finer details on billing, but the pricing will remain relatively unchanged from our current [pricing](https://supabase.com/pricing). diff --git a/apps/www/_blog/2023-12-19-launch-week-x-best-launches.mdx b/apps/www/_blog/2023-12-19-launch-week-x-best-launches.mdx index dd2099d496c..a9993db52d2 100644 --- a/apps/www/_blog/2023-12-19-launch-week-x-best-launches.mdx +++ b/apps/www/_blog/2023-12-19-launch-week-x-best-launches.mdx @@ -42,7 +42,7 @@ We shipped an open source observability suite for your Supabase project, using P ### #3: pg_graphql now supports Postgres Functions -Supabase GraphQL (pg_graphql) 1.4+ supports the most requested feature: Postgres functions a.k.a. User Defined Functions. Execute custom SQL logic within GraphQL queries to support complex server-side operations. +[Supabase GraphQL](https://supabase.com/docs/guides/graphql) (pg_graphql) 1.4+ supports the most requested feature: Postgres functions a.k.a. User Defined Functions. Execute custom SQL logic within GraphQL queries to support complex server-side operations. [Read more](/blog/pg-graphql-postgres-functions) @@ -60,13 +60,13 @@ Support for aggregate functions has been much requested feature that went throug ### #6: Supavisor 1.0 -Supavisor is a cloud-native connection pooler for Postgres, built with Elixir. We've migrated all projects on the platform from pgbouncer to Supavisor. Every new Supabase project launched now gets a Supavisor connection string to use for connection pooling. +[Supavisor](https://supabase.com/docs/guides/database/supavisor) is a cloud-native connection pooler for Postgres, built with Elixir. We've migrated all projects on the platform from pgbouncer to Supavisor. Every new Supabase project launched now gets a Supavisor connection string to use for connection pooling. [Read more](/blog/supavisor-postgres-connection-pooler) ### #7: Edge Functions now support Node & NPM -Edge Functions now natively supports npm modules and Node built-in APIs. You can directly import millions of popular, commonly used npm modules into your Edge Functions. +[Edge Functions](https://supabase.com/docs/guides/functions) now natively supports npm modules and Node built-in APIs. You can directly import millions of popular, commonly used npm modules into your Edge Functions. [Read more](/blog/edge-functions-node-npm) @@ -127,7 +127,7 @@ Didier explained the origins of [OpenBB Terminal](https://github.com/OpenBB-fina ### Offline sync with ElectricSQL -Offline sync is one of the most requested features for Supabase. I caught up with the team at ElectricSQL to learn more about their [integration](https://supabase.com/partners/integrations/electricsql). +Offline sync is one of the most requested features for Supabase. I caught up with the team at ElectricSQL to learn more about their [integration](https://supabase.com/partners/catalog/electricsql).