Commit Graph
14475 Commits
Author SHA1 Message Date
Kevin Grüneberg 500e1e7bcf fix: filter out >16xl instances for pricing calculator (#37437) 2025-07-25 11:40:52 +08:00
Ivan Vasilov 29f5fde08c chore: Fix the loading state when updating roles twice in a row (#37438)
Fix the loading state when updating roles twice in a row.
2025-07-25 02:05:48 +08:00
Han Qiao 0620e2df8f fix: never create a default branch from modal (#37430) 2025-07-24 20:32:48 +08:00
Riccardo Busetti 0ecddf1901 feat(replication): Implement UI to render pipeline replication status (#37376) 2025-07-24 13:04:07 +02:00
Joshen Lim cfb22045d0 Add docs button to org teams page (#37425) 2025-07-24 18:16:33 +08:00
Kamil Ogórek c66c4d1812 feat: Allow for preselecting organization when authorizing oauth app (#37403) 2025-07-24 17:49:12 +08:00
Paul Cioancaandivasilov e931323b41 chore: reduce list of visible release channels (#37414)
* chore: enrich list of visible release channels

* ci: Autofix updates from GitHub workflow

---------

Co-authored-by: ivasilov <568291+ivasilov@users.noreply.github.com>
2025-07-23 20:21:39 +03:00
Kevin GrünebergandJoshen Lim eaa2f2e68b feat: allow 500 GB uploads (#37120)
* feat: allow 500 GB uploads

* upsell

* docs + pricing page

* Update StorageSettings.tsx

* Small alignment fix

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-07-23 12:43:53 -04:00
Chris ChinchillaandChris Chinchilla 1efa09cf54 Add Chris Ward to humans.txt (#37149)
Add Chris Ward to humans

Signed-off-by: Chris Chinchilla <christopher.ward@supabase.io>
Co-authored-by: Chris Chinchilla <christopher.ward@supabase.io>
2025-07-23 17:24:55 +02:00
Jim Chanco Jr dac5d896a9 chore(doc): Update humans.txt (#37388) 2025-07-23 13:14:09 +00:00
Joshen Lim ec6564b782 Fix unified logs stuff on self-hosted (#37394) 2025-07-23 18:43:13 +08:00
Kevin Grüneberg 740eeb8504 feat: mandatory address input for paying customers (#37337)
- Mandatory address input when adding a new payment method
- Removed the global HCaptcha store that wasn't used consistently and would sometimes block payment method changes
- Remove the custom billing address data & tax id form on org creation and plan upgrades in favour of Stripe's `AddressElement`
- Unify usage of the Stripe payment elements into a single component
- Customers can mark "Purchasing as a business" and will then be able to put down a tax id
- Adjusted billing address form to have better labels + tax id is filtered down to selected country
- Adjusted Stripe Elements styling to use floating labels (otherwise very hard to use with address element) + additional styling changes
- New flag to filter out payment methods that do not have an address for org upgrades and credit top ups, this will be enforced a few days after rolling this out
- Added Google Maps Places API integration for address auto-completion via Stripe AddressElement
- Upgraded Stripe dependencies
- Slight adjustments to styling of plan upgrade modal
2025-07-23 18:16:10 +08:00
Joshen Lim 7505c2923e Update AI model check (#37395)
* Update AI model chekc

* Add comment

* Fix test
2025-07-23 17:40:19 +08:00
Drake CostaandJoshen Lim af5e591b84 Refactor NewAccessTokenButton to use shadcn components (#36972)
* chore: Refactor `NewAccessTokenButton` to use shadcn components

This brings `NewAccessTokenButton` into conformance with the latest UI patterns of using shadcn based components, zod schemas, and react-hook-form for form submission.

I based this refactor on the implementation of `CreateSecretAPIKeyDialog`, which already made use of the above.

* add success and failure toasts

* add smoke test for `NewAccessTokenButton`, fix vitest config

This adds a minimal test for `NewAccessTokenButton` but more importantly fixes a critical bug in the vitest configuration for `studio`.

Because `restoreMocks: true` was set in the config, this meant that the mock implementation for `window.matchMedia` defined in the `tests/vitestSetup.ts` file was being **reset** to an empty function before each test suite was run. While this didn't appear to be a problem before, that appears to be because none of the existing tests had `motion.div` in their component trees. Since `motion.div` calls `addListener` on a media query as part of it's lifecycle, that meant that any test which included it would fail as `addListener` would be undefined in this situation. Removing `restoreMocks: true` from the config results in the desired mocking behavior.

This change is necessary in order to test any component that has the `FormItemLayout` component, as it uses `framer-motion` to animate in error messages for input elements.

* add warning comment in case of future config regression

* update test cases, reset form on dialog close, testing setup fixes

This fixes an issue with the polyfills for the testing environment, where a call to `useMutation` would fail as a result of `TransformStream` being set to `null`.

Basic tests for access token creation and form resetting added. Adds `@faker-js/faker` to the studio app devDependencies to generate mock data for `msw` endpoint response.

Adds `shx` to the docs app devDependencies to ensure that the `codegen:examples` script runs cross-platform.

* ensure mocked date is a string

* update testing setup, pollyfills and add rich type support to addAPIMock

* Update studio testing setup files

Improves API mocking type safety and polyfills browser APIs necessary to run tests with framer-motion components

* chore: Refactor `NewAccessTokenButton` to use shadcn components

This brings `NewAccessTokenButton` into conformance with the latest UI patterns of using shadcn based components, zod schemas, and react-hook-form for form submission.

I based this refactor on the implementation of `CreateSecretAPIKeyDialog`, which already made use of the above.

* add success and failure toasts

* add smoke test for `NewAccessTokenButton`, fix vitest config

This adds a minimal test for `NewAccessTokenButton` but more importantly fixes a critical bug in the vitest configuration for `studio`.

Because `restoreMocks: true` was set in the config, this meant that the mock implementation for `window.matchMedia` defined in the `tests/vitestSetup.ts` file was being **reset** to an empty function before each test suite was run. While this didn't appear to be a problem before, that appears to be because none of the existing tests had `motion.div` in their component trees. Since `motion.div` calls `addListener` on a media query as part of it's lifecycle, that meant that any test which included it would fail as `addListener` would be undefined in this situation. Removing `restoreMocks: true` from the config results in the desired mocking behavior.

This change is necessary in order to test any component that has the `FormItemLayout` component, as it uses `framer-motion` to animate in error messages for input elements.

* update test cases, reset form on dialog close, testing setup fixes

This fixes an issue with the polyfills for the testing environment, where a call to `useMutation` would fail as a result of `TransformStream` being set to `null`.

Basic tests for access token creation and form resetting added. Adds `@faker-js/faker` to the studio app devDependencies to generate mock data for `msw` endpoint response.

Adds `shx` to the docs app devDependencies to ensure that the `codegen:examples` script runs cross-platform.

* ensure mocked date is a string

* update testing setup, pollyfills and add rich type support to addAPIMock

* fix imports

* fix missing listen call for msw, resolve test type error

* fix imports

* Update studio testing setup files

Improves API mocking type safety and polyfills browser APIs necessary to run tests with framer-motion components

* fix missing listen call for msw, resolve test type error

* fix imports

* Shift test file

* Smol fix

* Nit

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-07-23 16:54:31 +08:00
Ivan VasilovandJoshen Lim 2bec311971 fix: Make the database.new redirect work (#37370)
* Add a special case for /new/last-visited-org

* Handle the case where last visited org is null. Don't show an admonition if the org slug is _.

* Smol fix to disable oauth apps request if slug is _, and also dont prematurely show no perms UI state

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-07-23 15:06:53 +08:00
Joshen Lim 478ca3cb8e Fix storage store init when switching projects (#37384) 2025-07-23 00:23:43 +08:00
Drake CostaandJoshen Lim 57cd26ac77 Move non-layout Storage components to components/interfaces (#37381)
* Update studio testing setup files

Improves API mocking type safety and polyfills browser APIs necessary to run tests with framer-motion components

* fix missing listen call for msw, resolve test type error

* fix imports

* Update studio testing setup files

Improves API mocking type safety and polyfills browser APIs necessary to run tests with framer-motion components

* fix missing listen call for msw, resolve test type error

* fix imports

* Move non-layout Storage related components to `components/interfaces`

* Fix paths

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-07-22 23:48:20 +08:00
Joshen Lim a26f96570e Fix missing x axis labels in reports (#37378)
* Fix missing x axis labels in reports

* Improve guard
2025-07-22 16:51:28 +02:00
Joshen Lim ef4e6f8e4d Add guard in storage explorer to not render store if api key is undefined (#37379)
* add guard

* Fix Storage Explorer empty view if no perms to read API keys
2025-07-22 22:43:00 +08:00
Manan Gupta 8dd43c0b07 Add me and Deepthi to humans.txt (#37369) 2025-07-22 16:35:57 +02:00
Leonardo Santiagoandfelipe stival 72659051dd Update humans.txt (#36643)
add myself.

Co-authored-by: felipe stival <14948182+v0idpwn@users.noreply.github.com>
2025-07-22 13:25:43 +00:00
Pamela Chia f9e330f3ca Chore/track branching 2 (#37350)
* add review branch w ai

* track create branch

* track update push branch event

* track create merge request

* track create and close merge request

* track merge attempts and results

* add delete branch event

* combine handle update

* fix lint
2025-07-22 20:51:08 +08:00
Joshen Lim 008cca006d Refactor custom domain verification (#37349)
* Refactor custom domain verification

* Add success toast when cancelling custom domain

* Update toast success for other delete custom domain calls

* Revert unnecessary change

* Update copy

* Update copy
2025-07-22 19:47:07 +08:00
Ignacio Dobronich 16bb5187c9 docs: credit top ups pay outstanding invoices (#37255) 2025-07-22 11:25:36 +00:00
kemal.earthandkemal 4d9788c4d3 chore: add kemal to humans.txt (#37372)
This adds myself to the humans.txt as part of the onboarding tasks.

Co-authored-by: kemal <kemaldotearth@kemaldotearth.local>
2025-07-22 10:50:23 +01:00
Joshen LimandIvan Vasilov 31b8fbe487 Deprecate getAPIKeys from project settings v2, use new api keys endpoint instead (#37300)
* Deprecate getAPIKeys from project settings v2, use new api keys endpoint instead

* use getPreferredKeys where appropriate

* Prevent usage of secret key for storage and realtime inspector

* Add dashboard API api-keys endpoint

* Simplify

* Disable edge functions test if legacy api keys are disabled

* Revert

* Fix graphiql

* Remove all usage of api keys from project settings, except DisplayApiSettings

* Update

* Fix

* Small fix for an undefined upload url.

* Fix the storage state initialization when the resumable url changes.

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2025-07-22 16:22:03 +08:00
Joshen LimandAlaister Young e70242f822 Chore/clean up assistant mcp feature flags (#36772)
* Clean up usage of newOrgAiOptIn and useBedrockAssistant feature flags

* Remove all OpenAI endpoints

* Fix for self-hosted

* Default isLimited to false

* Update PG meta tests

* Fix unit tests for model

* Revert pg meta tests

* Fix test

---------

Co-authored-by: Alaister Young <alaister@users.noreply.github.com>
2025-07-22 16:05:16 +08:00
Joshen Lim 9523272dbf Chore/add instructions for psql export table editor (#37249)
* Midway

* midway

* update warning

* Nit

* Nittt

* Add comment
2025-07-22 15:37:48 +08:00
Pamela Chia e23607b099 chore: add bucket creation tracking (#37213) 2025-07-21 11:28:46 -07:00
Levon 0d0bccb972 Update pgadmin.mdx (#37355)
Update instructions for tutorial
2025-07-21 18:15:14 +00:00
Ignacio Dobronich 745bebb067 chore: support redirect query params on signup (#37272) 2025-07-21 11:28:54 -03:00
Joshen LimandAlaister Young dbb413beeb Chore/deprecate lib common fetch 03 (#36529)
* Deprecate use of getWithTimeout, refactor BuildingState and RestoringState to use RQ

* Refactor profile-create-mutation to use data/fetchers, and edge-function-status-query to use fetch

* Shift post from lib/common/fetch, refactor bucket-object-download-mutation

* Address feedback

* Minor fix

* Refactor post calls from lib/common/fetch in auth pages to data/fetchers

* Add missing POST users endpoint + small fix when deleting user via context menu

* Remove all use of any imports from lib/common/fetch

* Clean up remaining usage of lib/common/fetch

* Fix fetchHeadWithTimeout

* simplify handleFetchError

* allow handleFetchError to accept unknown

* non-breaking change

* small fixes

* fix query path

---------

Co-authored-by: Alaister Young <a@alaisteryoung.com>
2025-07-21 16:59:17 +08:00
Andrew Valleteau 4bd28eecb8 fix(api): set x-pg-application-name for dashboard (#37048)
chore(api): set x-pg-application-name for dashboard
2025-07-21 10:39:46 +02:00
Bobbie Soedirgoanddivit 78419c7047 chore: clean up removed field handling (#36954)
Co-authored-by: divit <27228526+delgado3d@users.noreply.github.com>
2025-07-21 13:58:44 +08:00
Joshen LimandAlaister Young b9a0908331 Refactor post calls from lib/common/fetch in auth pages to data/fetchers (#36506)
* Deprecate use of getWithTimeout, refactor BuildingState and RestoringState to use RQ

* Refactor profile-create-mutation to use data/fetchers, and edge-function-status-query to use fetch

* Shift post from lib/common/fetch, refactor bucket-object-download-mutation

* Address feedback

* Minor fix

* Refactor post calls from lib/common/fetch in auth pages to data/fetchers

* Add missing POST users endpoint + small fix when deleting user via context menu

* simplify handleFetchError

* allow handleFetchError to accept unknown

* non-breaking change

---------

Co-authored-by: Alaister Young <a@alaisteryoung.com>
2025-07-21 12:45:53 +08:00
Joshen Lim 88dca021d6 Webhooks automatically append authorization header if edge function with verify JWT enabled is selected (#36759)
* Webhooks automatically append authorization header if edge function with verify JWT enabled is selected

* Fix when selecting http request to remove auth header as well

* fixy fix
2025-07-21 12:16:06 +08:00
Francesco Sansalvadore 9f42dd707a lw15 end (#37322)
* end lw15

* join hackathon cta
2025-07-19 11:03:16 -04:00
43c0c25918 realtime: improve protocol docs; move settings to a guides (#37280)
* realtime: improve protocol docs; move settings to a guides

* fix GH action feedback

* Update apps/docs/content/guides/realtime/protocol.mdx

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

* Update apps/docs/content/guides/realtime/protocol.mdx

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

* fix image and protocol

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
Co-authored-by: Wen Bo Xie <wenbox323@gmail.com>
2025-07-18 21:28:06 +00:00
Wen Bo Xie 6cbb409d63 fix: update platform kit blog post (#37267) 2025-07-18 21:25:40 +00:00
Wen Bo Xie f159f9568c feat: add LW15 top 10 launches wrap up blog post (#37311) 2025-07-18 21:09:53 +00:00
Charis c4d46d5e64 docs: new entry in api keys faq (#37305)
Answering a user question that showed up in feedback
2025-07-18 16:23:08 -04:00
6a607dd605 feat: lw15 d5b (#37306)
* d5 build

* storage blog post

* img

* slug

* blog images

* updates

* update thumb

* updates

* update build title

* updates

* Add LW15 hackathon

* correct image path

* update image name

* updates

---------

Co-authored-by: Francesco Sansalvadore <f.sansalvadore@gmail.com>
Co-authored-by: dshukertjr <dshukertjr@gmail.com>
2025-07-18 17:36:23 +00:00
Wen Bo Xie 26e52151f6 fix: add utm params for algolia (#37307) 2025-07-19 01:00:19 +08:00
Katerina Skroumpelou 5e1b13b8c8 chore(docs): add redirect for functions local-quickstart URL (#37304) 2025-07-18 15:09:07 +00:00
kjayapraandKarthika Jayaprakash 8c0a9486cd Update React quickstart guide with recommended alternatives to create-react-app (#37222)
* docs: update React quickstart guide with recommended alternatives to create-react-app

- Removed deprecated 'npx create-react-app' command
- Added Next.js, React Router, and Expo alternatives
- Included React team's official deprecation notice link

* Removed multiple options and provided Vite as the recommendation.

---------

Co-authored-by: Karthika Jayaprakash <karthikajayaprakash@Karthikas-MacBook-Air.local>
2025-07-18 14:47:31 +00:00
Srinivas A 47019c7f01 docs: fix typo and improve clarity in realtime/postgres-changes.mdx (#37229)
Update postgres-changes.mdx
2025-07-18 14:41:13 +00:00
Francesco SansalvadoreandInian c0af945545 d5 (#37297)
* d5 init

* add blog post, og and thumb

* update thumb

* blog post link

* update text

* video id

---------

Co-authored-by: Inian <inian1234@gmail.com>
2025-07-18 15:56:18 +02:00
Katerina Skroumpelou c09b0e9095 chore: add katerina to humans.txt (#37296) 2025-07-18 14:57:16 +03:00
Alaister Young 4ae0b3dcfb [FE-1722] fix: race condition in permissions hooks (#37288)
fix: race condition in permissions hooks
2025-07-18 17:05:49 +08:00
Kevin Grüneberg de509e2cf7 chore: bump hcaptcha (#37285)
1.12.0 solves an issue with the hcaptcha build and reduces bundle size from 35kb to 6kb
2025-07-18 15:53:21 +08:00