Commit Graph
14511 Commits
Author SHA1 Message Date
Mykhailo "Mischa" LieibensonandIvan Vasilov 0ecd10408d Update humans.txt (#33674)
Shameless plug according to the onboarding docs.

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2025-07-28 20:42:45 +00:00
molti-taskingandCharis 95b421b523 docs: clarify requirement for combining restrictive policy with permi… (#33540)
* docs: clarify requirement for combining restrictive policy with permissive policy

Adding a note like this would have saved me hours, explaining that a single 'restrictive' RLS policy alone will fail unless combined with another policy that returns true, ensuring the combined OR condition is satisfied. This clarifies the need for at least one policy to explicitly grant access when multiple RLS policies are in place.

* Update apps/docs/content/guides/auth/auth-anonymous.mdx

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2025-07-28 20:37:44 +00:00
0xflotusandWen Bo Xie 3d780c9905 fix: small error in blog post (#30892)
fix: small error in blogpost

Co-authored-by: Wen Bo Xie <5532241+w3b6x9@users.noreply.github.com>
2025-07-28 20:33:10 +00:00
Jacek Tomaszewski 7189ac464f docs(react-native): make it work on web platform too (#35226)
Current quick start example for react-native doesn't work on web. 

This PR fixes it, as guided by https://github.com/supabase/supabase-js/issues/870#issuecomment-1746699664 .
2025-07-28 16:46:54 +00:00
Emmett Jay Folger 3f995f4438 Add Emmett to humans.txt (#37516)
This adds myself to the humans.txt file

I have read the CONTRIBUTING.md file.

YES

What kind of change does this PR introduce?

Adds a single line with my name to humans.txt

What is the current behavior?

I am not on the list :(

What is the new behavior?

I am on the list :)
2025-07-28 18:37:51 +02:00
Chris MartinandChris Martin 1721017b22 Added Chris Martin to humans.txt (#35225)
Co-authored-by: Chris Martin <chris.martin@supabase.io>
2025-07-28 15:41:09 +00:00
49ba13fe3c chore: update file storage guide (#37268)
* chore: update file storage guide

* doc lints

* prettier

* Update apps/docs/content/guides/functions/ephemeral-storage.mdx

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

---------

Co-authored-by: Wen Bo Xie <wenbox323@gmail.com>
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2025-07-28 15:31:56 +00:00
Tilman Vogel 68fe370ace backup-restore.mdx: Better fix (#36857)
The argument, I previously fixed, was actually correct for version @2 but the header said to use @1, so better change that and use the newer argument style.
2025-07-28 15:31:37 +00:00
0xflotus 821663abfc docs: fix small error in cron.mdx (#37176) 2025-07-28 15:29:03 +00:00
Sugu SougoumaraneandIvan Vasilov 5f6fc7754e Add Sugu to humans.txt (#36568)
* Add Sugu to humans.txt

* Update humans.txt

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2025-07-28 15:26:25 +00:00
Chris StocktonandChris Stockton d997c6fdbc fix: update docs link for auth hooks configuration page (#36862)
Co-authored-by: Chris Stockton <chris.stockton@supabase.io>
2025-07-28 17:24:56 +02:00
Joshen Lim 2c6e3c2b3d Chore/add export as cli option to entity list item (#37513)
* Add export as JSON option for table editor

* Add export via CLI option to EntityListItem
2025-07-28 23:23:31 +08:00
Jordi Enric da07cea5ba tests: skip base64urls.ts (#37504) 2025-07-28 17:15:40 +02:00
Jordi Enric e4837267f6 Warehouse Clean Up (#37507) 2025-07-28 17:14:57 +02:00
Francis LasPinas 5c77b07aa4 chore: add Francis to humans.txt (#35786) 2025-07-28 17:10:32 +02:00
Chris Chinchilla ac0cbe0686 docs: Clarify where to add utils folder (#37434)
Clarify where to add utils folder
2025-07-28 11:52:13 -03:00
Joshen Lim 7c3d4b9eaa Add export as JSON option for table editor (#37506) 2025-07-28 16:48:31 +02:00
Chris ChinchillaandChris Chinchilla 0e2bd38457 Update Angular tutorial to use v20 (#37380)
* Add Chris Ward to humans

Signed-off-by: Chris Chinchilla <christopher.ward@supabase.io>

* Update Angular tutorial for Angular 20

* Update Angular doc

* Revert "Add Chris Ward to humans"

This reverts commit c45ea9d213.

* Update tsconfig

* Add note about CLI defaults

* Prettier fix

---------

Signed-off-by: Chris Chinchilla <christopher.ward@supabase.io>
Co-authored-by: Chris Chinchilla <christopher.ward@supabase.io>
2025-07-28 16:27:50 +02:00
Ignacio Dobronich 61e83e2909 feat: increase max credit top-up (#37441)
feat/increase-credit-top-ups
2025-07-28 13:56:12 +00:00
Ignacio Dobronich d2cf1dad46 chore: redirect after reset password (#37410) 2025-07-28 13:43:26 +00:00
Saxon FletcherandJoshen Lim 4bfdbe32ac add with data field to branch (#37451)
* add with data field to branch

* Fix types

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-07-28 18:14:55 +08:00
Joshen Lim d6fdb20a2a Fix visibility of edge fn charts for enterprise (#37401) 2025-07-28 18:01:54 +08:00
Ivan VasilovandJoshen Lim 1bc28c7f85 feat: Add a toast to refresh the page if there's a new version of Studio available (#36323)
* Initial work.

* Add missing import.

* Minor fixes.

* Minor fixes.

* Add a feature flag for the refresh toast.

* Add a commit for testing. Revert before merging.

* Remove header caching for testing.

* Tiny lint

* Fix

* One more

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-07-28 17:51:00 +08:00
Andrew Valleteau dfa0052357 fix(docs): move prerequisite on top (#37042) 2025-07-28 11:37:57 +02:00
Saxon FletcherandJoshen Lim 578b707e8b Clear IndexedDB (#37495)
* clear indexeddb

* Fix dependency array

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-07-28 11:20:09 +10:00
Tyler 640eefdb30 blog: Add the link to the submission form (#37480)
* Add the link to the submission form

* run formatter
2025-07-26 17:50:25 +09:00
Lenny 1809b1dfc3 docs(storage/500gb): Update hostname for S3 and TUS (#37125)
docs(storage/500gb): Add note about direct storage hostname for large uploads with S3 and TUS
2025-07-25 13:10:28 -04:00
Han Qiao 1a9c718cf9 docs: update inbucket reference to mailpit (#37427) 2025-07-26 00:03:43 +08:00
Stojan DimitrovskiandIvan Vasilov 800d688d4c fix: api key mutations invalidate proper keys (#37467)
* fix: api key mutations invalidate proper keys

* Fix the RQ keys for API keys.

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2025-07-25 17:47:44 +02:00
Han Qiao b215b982ef docs: update branching access control matrix (#37458) 2025-07-25 15:42:45 +00:00
varshith257 e77eb4f43e fix(assistant): use uuidv4 for chat ID generation (#37462)
* fix(assistant-state): replace crypto.randomUUID with uuidv4 for chat ID generation

* fix format
2025-07-25 17:40:18 +02:00
Chris StocktonandChris Stockton 2962a110f6 fix: use gotrue_id for member search and partition (#37418)
It is possible to have multiple emails from different providers, a
common example being SSO users. The user flow being:

1) Sign up with email using name@company.local
2) Upgrade to teams or enterprise
3) Enable SSO for the Org using domain company.local
4) Sign in with name@company.local
5) The SSO provider now handles the login, assigning new gotrue_id
   but uses the same primary_email
6) View the teams members and one will be omitted

This change fixes the case above so that both users are displayed. It also
uses the gotrue_id to ensure that the "You" badge displays the correct user.

Co-authored-by: Chris Stockton <chris.stockton@supabase.io>
2025-07-25 08:32:17 -07:00
Ivan VasilovandJoshen Lim 32c3eeb389 feat: Create new schema when creating a FDW with the schema option (#37205)
* Change the import foreign schema to always create a schema.

* Fix the Iceberg wrapper.

* Refactor the create wrapper to always create a new schema.

* Remove unneeded props.

* Smol fixes

* Prevent double error toasts

* Smol fix

* Fix the wrapper creation to include the correct api key.

* Fix a bug with the new api keys.

* Handle both types of keys when fetching the iceberg namespaces.

* Add a field to all wrappers to hold the schema name which can import foreign schema.

* sq

* When importing a foreign schema, save the schema in a special field.

* Fix a type error.

* Fix importing foreign schema overriding wrapper server options with unencrypted values

* Add comment

* Handle duplicate and empty schemas when importing a foreign schema.

* Update the copy in the foreign schema wrappers.

* Remove unnecessary code.

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-07-25 10:54:17 +02:00
Ivan Vasilov 1332d30f2f fix: Fix the og-image on UI library pages (#37439)
* Remove the og-image from the docs pages to see if they're pulled from the main layout.

* Merge the doc metadata with the metadata from the main layout.
2025-07-25 16:03:27 +08:00
github-actions[bot]andkamilogorek f1753e7dc2 feat: update mgmt api docs (#37455)
Co-authored-by: kamilogorek <1523305+kamilogorek@users.noreply.github.com>
2025-07-25 09:44:38 +02:00
Ivan Vasilov 37c4726145 chore: Bump vulnerable deps (#37244)
* Bump brace-expansion.

* Bump next to non-vuln version.

* Remove old version of @vercel/flags.

* Try to bump prismjs again.

* Bump fastify.

* Dedupe graphql.

* Bump form-data.
2025-07-25 09:11:26 +02:00
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