Commit Graph
30638 Commits
Author SHA1 Message Date
Tyler 9939cfc670 docs: Update MCP docs for connecting to Cursor (#33952)
* docs: Update MCP docs for connecting to Cursor

* minor fix
2025-03-05 15:39:02 +01:00
Charis 734acb41e4 feat: support typedoc 0.27 (#33905)
Type docs pulled from JS client libraries were expected to be in version 0.22, which unfortunately is a bit old and incompatible with TypeScript 5. Therefore any JS lib that upgrades their toolchian to TS 5 will inadvertently break their type specs in docs.

This PR updates docs to also support 0.27 (the latest stable version, compatible with TS 5), in addition to the old version. Parallel support is required since many libs are still on the old version.

The main changes are:
- The comment shape has changed in typedoc.
- kindString has been deprecated in favor the kind numbers.
- indexSignatures are now plural (an array).
2025-03-05 15:39:02 +01:00
3f483e89b5 Laravel documentation addition to explain schema needs to be created (#33973)
* Add a note that schema needs to exist on Supabase before running
migrate. Otherwise one will receivie a following error

$ php artisan migrate

   INFO  Preparing database.

  Creating migration table ........................................................................................................... 599.73ms FAIL

   Illuminate\Database\QueryException

  SQLSTATE[3F000]: Invalid schema name: 7 ERROR:  no schema has been selected to create in at character 14 (Connection: pgsql, SQL: create table "migrations" ("id" serial not null
primary key, "migration" varchar(255) not null, "batch" integer not null))

  at vendor/laravel/framework/src/Illuminate/Database/Connection.php:823
    819▕                     $this->getName(), $query, $this->prepareBindings($bindings), $e
    820▕                 );
    821▕             }
    822▕
  ➜ 823▕             throw new QueryException(
    824▕                 $this->getName(), $query, $this->prepareBindings($bindings), $e
    825▕             );
    826▕         }
    827▕     }

      +41 vendor frames

  42  artisan:16
      Illuminate\Foundation\Application::handleCommand()

* Apply suggestions from code review

---------

Co-authored-by: Vladimir Vuksan <vuksan-github@vuksan.com>
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2025-03-05 15:39:02 +01:00
Clarence 1ffe80393e chore: updated Developers.md (#33933)
* chore: change Git url from http --> https

* chore: change nodejs url from http --> https
2025-03-05 15:39:02 +01:00
Andrew ValleteauandCharis Lam 41a58dae95 chore(docs): setup docs for overrideTypes (#33705)
* chore(docs): setup docs for overrideTypes

* fix: add overrideTypes to docs section

* chore: regen specs

* chore: update snapshot

* chore: regenerate all specs

* revert realtime spec changes

---------

Co-authored-by: Charis Lam <26616127+charislam@users.noreply.github.com>
2025-03-05 15:39:02 +01:00
Joshen LimandIvan Vasilov c86ee6a6dc Fix package-lock (#33968)
* Fix package-lock

* Set the dompurify to 2.5.8.

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2025-03-05 15:39:02 +01:00
Joshen Lim 87d2d6d4c5 Add support for configuring realtime settings (#33875)
* Add support for configuring realtime settings

* Refactor

* Fix TS

* Fix TS

* Smol update

* Hide new UI for local selfhosted

* Add feature flag

* Fix reset logic

* Fix

* minor refactor

* Fix package.json

* Simplify
2025-03-05 15:39:02 +01:00
Chris Gwilliams 3be9526a24 Update metrics documentation (#33893)
* add genera deployment instructions for both grafana and prometheus

* add supabase-grafana to spellchecks
2025-03-05 15:39:02 +01:00
Ivan Vasilov 3d4351f478 chore: Bump vulnerable deps (#33915)
* Consolidate different versions of postcss. Remove @mertasan/tailwindcss-variables from ui package.

* Bump vitest in pg-meta to remove a vulnerable version of vite.

* Bump dompurify.

* Bump all octokit deps to solve 2 vulns.

* Fix warnings about destructuring json imports.

* Remove a console.log in docs.

* Fix the changelog page to use an ESM import.

* Stabilize the generate-sitemap script output.

* Try another fix for the changelog.
2025-03-05 15:39:02 +01:00
Saxon FletcherandJoshen Lim 6363801292 Link to auth provider (#33951)
* link to provider

* Simplify implementation

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-03-05 15:39:02 +01:00
f200766a6f [FE-1426] feat(studio): clerk fdw (#33803)
* feat(studio): clerk fdw

* prettier

* docs: add Clerk FDW docs

* Smol update

---------

Co-authored-by: Bo Lu <lv.patrick@gmail.com>
Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-03-05 15:39:02 +01:00
Joshen Lim d11b1a683f Bump configcat refresh rate (#33954) 2025-03-05 15:39:02 +01:00
Pidanou Eang f3eb25c655 docs: edit self-host guide (#32695)
- Added information to make the studio work outside of localhost. This information is only given inside .env.example
2025-03-05 15:39:02 +01:00
Eric Kharitonashvili 236468d41d Fix Wasm Edge Function Docs (#33910)
* fixed docs bug: when importing wasm, you need to include the js and use this. Otherwise, there will be wasm instantiate errors

* Update wasm.mdx

Got rid of filename on top of markdown

* Update index.ts

got rid of filename comment at the top
2025-03-05 15:39:02 +01:00
Joshen Lim d50fbd9012 Fix connection pooling feature flag (#33914)
* Fix connection pooling feature flag

* Fix type issues with lint-query after updating API typs

* Apply same fix for connection_string to ConnectTabContent

* Update useMemo dependency arrays in ConnectionPooling

* Remove allowPgBouncerSelection enabled check on react queries - feels unnecessary and adds some complexity to the loading state of the forms

* Remove conosle log
2025-03-05 15:39:02 +01:00
Jonathan Summers-Muir 1418711dee fix: handle position (#33913)
Update ProjectLayout.tsx
2025-03-05 15:39:02 +01:00
Joshen Lim ccfe095c59 Support for Dedicated Pooler in Connection Pooling Part 2 (#33829)
* Init

* Initial set up for hooking up supavisor and pgbouncer

* Hook up pgbouncer status check after swapping pooler type

* Add check for nano compute for switching to pg bouncer

* Add check for ipv4 addon

* Remove expect error tag

* Update copy in IPv4SidePanel

* Add badge to select options for pooler types

* Hook up pgbouncer config for connect UI

* Refactor pooling-configuration react queries to supavisor-configuration

* Update Ipv4 compatability UI indicators in Connect UI when on pgbouncer

* Remove statement mode

* Resolve undefined problem with react hook form

* Fix

* Update UI texts from PgBouncer to Dedicated Pooler

* Feature flag changes

* Add pooler settings link in Connect UI

* Smol update

* Update session pooler description for pgbouncer
2025-03-05 15:39:02 +01:00
Saxon FletcherandJoshen Lim e68398e363 Test edge functions (#33728)
* page components

* page component changes

* settings but broken saving

* rvert

* use sheet for provider

* styling

* remove things

* Some refactoring and fixing, added JSDocs to layouts

* Smol refactor

* Fix

* Update JSDocs

* updated scaffolding

* update edge functions layout

* remove params

* single function layout

* invocation cleanup

* remove vars

* Clean up

* Spelling

* Clean up FormFieldWrappers

* One last clean up

* test edge function

* sheet flag

* remove prop

* fix merge errors

* fix merge errors

* update sheet

* rmeove import

* fix ts

* Some clean ups

* Fix

* Make test response area resizeable

* Final clean up

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-03-05 15:39:02 +01:00
Joshen Lim c3ef149bb7 Use TimestampInfo for scheduled backups (#33892)
* Use TimestampInfo for scheduled backups

* Fix

* Update TimestampInfo

* Fix

* Fix
2025-03-05 15:39:02 +01:00
Kevin Grüneberg a6bfc44f83 chore: increase stale time for project addons / org subscription (#33911)
Occasionally results in a 429 in API - there are plans to fix this on the API level, but it's not a quick change, so hoping to reduce the likeliness of 429 with a higher stale time. Subscriptions and project addons rarely change and if they are changed, it's invalidated on the client anyway.
2025-03-05 15:39:02 +01:00
Joshen Lim 9cbce8d939 Support for Dedicated Pooler in Connection Pooling (#33817)
* Init

* Initial set up for hooking up supavisor and pgbouncer

* Hook up pgbouncer status check after swapping pooler type

* Add check for nano compute for switching to pg bouncer

* Add check for ipv4 addon

* Remove expect error tag

* Add badge to select options for pooler types

* Remove statement mode

* Resolve undefined problem with react hook form

* Fix

* Update UI texts from PgBouncer to Dedicated Pooler

* Feex

* FEEX

* Fix

* Small update to UI

* Smol update
2025-03-05 15:39:02 +01:00
Pamela Chia 81dce4d42b chore: clarify bursting and recommend compute (#33823) 2025-03-05 15:39:02 +01:00
Laurence IslaandTerry Sutton 6fbfbc572f docs: add more filtering examples to the API docs (#33899)
- Add logical operators "not" and "or"
- All Javascript examples are now present for Bash

Co-authored-by: Terry Sutton <saltcod@gmail.com>
2025-03-05 15:39:02 +01:00
Charis e97ca89ab1 fix: troubleshooting sync (#33908)
Relative links don't make sense in GitHub discussions so they need to be converted to absolute links for syncing.
2025-03-05 15:39:02 +01:00
Charis 07b23991c3 chore: add preferred usage item for storage docs (#33597)
chore(docs lint): add preferred usage for storage connections
2025-03-05 15:39:02 +01:00
Sabu Siyad a07dc3ead2 doc: postgres/row-level-security: wrong link to auth (#33900) 2025-03-05 15:39:02 +01:00
Charis a5cc69df5e chore(docs): add spelling exception (#33818)
Presigned/presigning should be allowed
2025-03-05 15:39:02 +01:00
Charis 6d0b5ef8a0 docs: update troubleshooting for invalid claim (#33884)
invalid cliam: missing sub seems to (also?) be returned as a 403, not a 401. Discovered this when I was testing something else, so updating the troubleshooting guide for it.
2025-03-05 15:39:02 +01:00
Ivan Vasilov 8e15b84023 fix: Remove the keybind for opening/closing the sidebar (#33896)
Remove the keybind for opening/closing the sidebar.
2025-03-05 15:39:02 +01:00
Francesco Sansalvadore 13bcc15ded pgrouting graph thumb (#33894) 2025-03-05 15:39:02 +01:00
Saxon FletcherandJoshen Lim 83c296808e Edge functions empty state (#33802)
* page components

* page component changes

* settings but broken saving

* rvert

* use sheet for provider

* styling

* remove things

* Some refactoring and fixing, added JSDocs to layouts

* Smol refactor

* Fix

* Update JSDocs

* updated scaffolding

* update edge functions layout

* remove params

* Clean up

* Spelling

* Clean up FormFieldWrappers

* One last clean up

* create edge functon

* use component

* flag

* fix merge errors

* fix imports

* fix merge issues

* fix import

* fix flag

* remove unused

* simple empty

* empty state improvements

* move templates

* re-add flag

* use templates

* flag

* copy functions

* feature flag it

* Fix issues and clean up

* Smol fix

* Add comment

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-03-05 15:39:02 +01:00
Terry Sutton eb6d8ac3c3 Chore/update lints (#33749)
Update lints
2025-03-05 15:39:02 +01:00
Saxon FletcherandJoshen Lim 9a79c474c2 Create edge function (#33726)
* page components

* page component changes

* settings but broken saving

* rvert

* use sheet for provider

* styling

* remove things

* Some refactoring and fixing, added JSDocs to layouts

* Smol refactor

* Fix

* Update JSDocs

* updated scaffolding

* update edge functions layout

* remove params

* Clean up

* Spelling

* Clean up FormFieldWrappers

* One last clean up

* create edge functon

* use component

* flag

* fix merge errors

* fix imports

* fix merge issues

* fix import

* fix flag

* remove unused

* move templates

* re-add flag

* Small refactors

* Smol refactors

* Refactor

* add rename and delete via context

* create function fixes

* moved function name

* Smol update

* Small fix for selected state in edge functions side menu when on /new

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-03-05 15:39:02 +01:00
Kamil Ogórek 5a8448d6a5 feat: Show updated_at time for edge secrets (#33716) 2025-03-05 15:39:02 +01:00
Saxon FletcherandJoshen Lim 799c7a4bfd Improve single edge function layout (#33725)
* page components

* page component changes

* settings but broken saving

* rvert

* use sheet for provider

* styling

* remove things

* Some refactoring and fixing, added JSDocs to layouts

* Smol refactor

* Fix

* Update JSDocs

* updated scaffolding

* update edge functions layout

* remove params

* single function layout

* invocation cleanup

* remove vars

* Clean up

* Spelling

* Clean up FormFieldWrappers

* One last clean up

* fix merge errors

* fix merge errors

* rmeove import

* Address comments

* Remove unnecessary prop

* Remove settings/functions and add redirects in next config

* fix empty

* Fix key prop issue and fix selected state in layout for single edge function

* Clean up edge function details

* Use zodResolver

* Refactor file name

* Remove unnecessary fragment

* Small refactors

* Refactor deleting edge function to use ConfirmationModal

* edge details fixes

* Small adjustment to paddings

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-03-05 15:39:01 +01:00
Stephen Morgan a1b304ded8 Second phase of HSTS header settings (#33857)
apply second phase of hsts header settings
2025-03-05 15:39:01 +01:00
Jonathan Summers-Muir 124077fd04 Fix: sidebar flex shrink issue FE-1435 (#33887)
Update sidebar.tsx
2025-03-05 15:39:01 +01:00
Terry Sutton 1d5a761824 Chore/theme change (#33879)
Update AIEditor theme to Supabase theme
2025-03-05 15:39:01 +01:00
Saxon FletcherandKevin Grüneberg e656b4b92f Feat/plan upgrade improvements (#33804)
* upgrade dialog changes

* plan upgrade modal

* update dialog improvements

* factor in customer balance

* copy

* add PH a/b test

* fix ts

* smol stuff

* fixes

* group compute fees

* smol edits

* Update SubscriptionPlanUpdateDialog.tsx

* Update SubscriptionPlanUpdateDialog.tsx

* partner billing

* downgrade

* margin

* show pricing info + filter out long tweets

* fix tooltip

---------

Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com>
2025-03-05 15:39:01 +01:00
Terry Sutton 2a7539a5d4 Chore/move dot (#33882)
Nudge lint dot
2025-03-05 15:39:01 +01:00
TheOtherBrian1 fd26a38739 Update connecting-to-postgres.mdx | made example region agnostic (#33853) 2025-03-05 15:39:01 +01:00
Jonathan Summers-Muir bc9228252f fix sidebar states (#33872) 2025-03-05 15:39:01 +01:00
Francesco Sansalvadore 590893e27a Feedback component polish (#33840)
* polish Feedback component

* fix telemetry event

* step to fix animation

* anim orchestration details

* add border

* remove border

* toc gap

* h3
2025-03-05 15:39:01 +01:00
Francesco SansalvadoreandCharis 068b82c01f docs contributing layout (#33833)
* contributing layout

* contributing layout mobile

* gap

* Update apps/docs/app/contributing/ContributingToC.tsx

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>

* Update apps/docs/app/contributing/ContributingToC.tsx

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>

* add missing menu entry

* remove feedback anchor from toc

* cleanup

* sheet height

* sheet height

* breadcrumb

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2025-03-05 15:39:01 +01:00
angelicoandAlaister Young 60d60c3677 chore: add AWS_NEW provider (#33697)
* feat: add AWS_NEW provider

* fix selecting aws region

* chore: add valid instance sizes

---------

Co-authored-by: Alaister Young <a@alaisteryoung.com>
2025-03-05 15:39:01 +01:00
Copple fdd52b731c blog: pgrouting (#33848)
* adds a new blog post for pgrouting

* fix image

* fix images and titles

* fixing naming

* fixes link
2025-03-05 15:39:01 +01:00
Saxon FletcherandJoshen Lim 0bd100b9f7 Improve edge functions layout (#33723)
* page components

* page component changes

* settings but broken saving

* rvert

* use sheet for provider

* styling

* remove things

* Some refactoring and fixing, added JSDocs to layouts

* Smol refactor

* Fix

* Update JSDocs

* updated scaffolding

* update edge functions layout

* remove params

* Clean up

* Spelling

* Clean up FormFieldWrappers

* One last clean up

* fix merge errors

* Address comments

* Remove unnecessary prop

* Remove settings/functions and add redirects in next config

* fix empty

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-03-05 15:39:01 +01:00
Terry Sutton 39c4b051e6 Chore/efs pasting again (#33847)
fix pasting multiple times
2025-03-05 15:39:01 +01:00
5418e81efe promote grafana in reports (#33657)
* promote grafana in reports

* add docs link

* lighter svg

* fix telemetry event

* next/image

* unused import

* BASE_PATH

* img

* Apply suggestions from code review to remove STUDIO bit

* add bg to button

* fix telemetry action

---------

Co-authored-by: Jordi Enric <37541088+jordienr@users.noreply.github.com>
Co-authored-by: Pamela Chia <pamelachiamayyee@gmail.com>
2025-03-05 15:39:01 +01:00
Terry SuttonandIvan Vasilov d2c9c9f03c Chore/ef secret reset (#33842)
* Reset secrets form after submission

* Try a different fix.

* Align the delete button.

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2025-03-05 15:39:01 +01:00