Commit Graph
16547 Commits
Author SHA1 Message Date
Ali Waseem bcb045f1e3 added initial test of notesbooks 2026-01-22 10:50:38 -07:00
Kostas Botsas db6ef58c3f connection method docs clarifications and examples (#42029) 2026-01-21 20:14:13 +02:00
Ali Waseem 9e1df69853 fix: handle errors better in index advisor (#42043)
* fix: handle errors better in index advisor

* added admonition
2026-01-21 11:11:39 -07:00
Joshen Lim b55c399c42 Fix API keys copy button for safari (#42036)
* Fix API keys copy button for safari

* nit
2026-01-21 09:45:35 -07:00
Ana 4ca9075892 Add Ana Mogul to humans.txt (#42039)
Adding a new team member that will help with product marketing to the Growth team!
2026-01-21 16:37:40 +00:00
Haritabh Gupta fa95286398 docs: add Haritabh Gupta to humans.txt (#42014) 2026-01-21 16:32:53 +00:00
Ant Evans 2b6aa930d3 Add Ant E to humans.txt (#42008)
It's an onboarding thing
2026-01-21 10:46:53 +01:00
Jordi Enric d982417830 query perf improvements FE-2223 (#42026)
* query perf improvements

* info tooltips

* filter fixes

* prettier wont work in cursor for some reason

* fix type error

* rm clear all filters button, its too much

* prettier
2026-01-21 09:01:10 +00:00
Lukas Bernert 8626f06d0f Add Lukas Bernert to humans.txt (#42003) 2026-01-21 08:43:02 +01:00
Jordi Enric fbd40fa0d4 Query Perf: rename column (#42025)
rename
2026-01-21 08:25:25 +01:00
Danny White 1db3da7a04 chore(studio): add URL state management to database tables page (#42022)
swap input
2026-01-21 14:33:18 +08:00
Michal Kleczek 2681cc8ff2 Add Michal Kleczek to humans.txt (#42001) 2026-01-21 06:32:07 +00:00
Pamela Chia faa2588392 chore(studio): remove homeNew feature flag helper (#41984)
PostHog migration from boolean to string variants is complete.
The helper was only useful during migration - now it's just
`value === 'new-home'` which is trivial to inline.

- Delete apps/studio/lib/featureFlags/ folder
- Inline flag check at 3 call sites
2026-01-21 12:32:02 +07:00
Danny WhiteandCharis Lam 05dc676d36 feat(studio): incident-aware AI assistant (#41603)
* handling and mock data support

* admonition

* only show in empty state

* rabbit

* mock without local overrides

* remove admonition

* make incident banner more prominent

* remove mock data

* move to tool

* prettier

* fix(studio): get_active_incidents tool

---------

Co-authored-by: Charis Lam <26616127+charislam@users.noreply.github.com>
2026-01-21 13:52:29 +11:00
Danny WhiteandJoshen Lim 60dfcc00ea fix(studio): PageSectionSummary alignment (#42019)
* system

* nit

* docs and fixes

* more resilient component

* remove redundant text

* format

* nit

* PRettier

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2026-01-21 10:18:15 +08:00
SheikhandChris Chinchilla 26a2cb1263 docs(ai): update example code to use Transformers.js v3 (#39915)
More info: https://github.com/huggingface/transformers.js/issues/1291

Co-authored-by: Chris Chinchilla <chris.ward@supabase.io>
2026-01-20 22:31:13 +00:00
Elia TolinandChris Chinchilla 892d2aa3a7 docs: Update custom-claims-and-role-based-access-control-rbac.mdx (#39911)
Co-authored-by: Chris Chinchilla <chris.ward@supabase.io>
2026-01-20 22:13:08 +00:00
supabase-supabase-autofixer[bot]andsupabase-releaser[bot] 029d159d2f docs: update js sdk docs (2.91.0) (#42013)
Co-authored-by: supabase-releaser[bot] <223506987+supabase-releaser[bot]@users.noreply.github.com>
2026-01-21 09:08:24 +11:00
Illia BasalaievandIllia Basalaiev f9776163d1 remove studio observability reference from high swap troubleshooting (#41999)
Co-authored-by: Illia Basalaiev <illiab@IMB3.local>
2026-01-21 08:34:29 +11:00
Tina Ha c7e4234ab6 Update humans.txt (#42016) 2026-01-20 14:17:30 -05:00
Andrey A. 19c712ffac fix: add help popover for self-hosted and cli (#42015)
fix: add help icon for self-hosted and cli
2026-01-20 10:08:28 -07:00
Andrey A. 21e9d07dea fix: skip incident status query for CLI and self-hosted (#41972) 2026-01-20 10:07:49 -07:00
Andrey A. c5267c896a fix: do not show observability reports for CLI and self-hosted (#41971)
* fix: do not include reports for CLI and self-hosted

* fix: do not display empty product reports

* fix: do not include api gw and custom reports for self-hosted

* fix: ran prettier
2026-01-20 10:07:12 -07:00
Andrey A. c5a142dd2b fix: do not show replication for self-hosted and CLI (#41970) 2026-01-20 10:02:08 -07:00
Kalleby Santos b74bf9bef4 fix(studio): studio broken local/self-hosted pages 1 (database settings) (#40579)
* feat: non-platform empty local state fallback for database settings page

* stamp: improving local database settings layout

* stamp: format
2026-01-20 10:01:00 -07:00
Kalleby SantosandTerry Sutton 9792deb109 feat(studio): improve ai assistant error feedback (#41132)
* feat: improve ai assistant error alert

* stamp: format

---------

Co-authored-by: Terry Sutton <saltcod@gmail.com>
2026-01-20 12:30:04 -03:30
Marcus WeinerandMarcus Weiner a7f8469946 Add Marcus to list of humans (#42011)
Co-authored-by: Marcus Weiner <marcus@supabase.io>
2026-01-20 22:46:54 +07:00
Danny White c51fa00db2 chore(www): remove announcement banner (#42002)
remove banner
2026-01-20 09:33:58 -04:00
Ignacio Dobronich 485dff74e3 chore: project scoped roles entitlement (#41587)
* chore: project access entitlment

* typegen
2026-01-20 22:00:11 +09:00
c3dfbc5956 feat: add support for dropping and auto-extracting zip files in Edge Functions editor (#41801)
* feat: add support for dropping and auto-extracting zip files in Edge Functions editor

* fix: add type assertions for readonly array includes checks in zip extraction

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>

* feat: add support for PDF and image files in zip extraction

- Moved wasm from ALLOWED_EXTENSIONS to ALLOWED_BINARY_EXTENSIONS
- Added PDF support for document files
- Added common image formats: jpg, jpeg, png, gif, svg, bmp, ico, webp
- Binary files are extracted and preserved but show "Cannot Edit" message in editor

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>

* refactor: remove file extension validation from zip extraction

Makes zip extraction behavior consistent with regular file drops.
Now all file types are accepted in both cases, matching the
permissive behavior users expect.

Removed:
- ALLOWED_EXTENSIONS and ALLOWED_BINARY_EXTENSIONS arrays
- isAllowedExtension() and isAllowedBinaryFile() validation functions
- getFileExtension() helper (no longer needed)
- Extension-based rejection logic from extractZipFile()

Kept:
- File size validation (individual and total limits)
- Hidden file filtering (.DS_Store, __MACOSX, etc.)
- Binary file detection for proper content reading

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>

* fix: correct file replacement detection in addDroppedFiles

Bug: The condition `updatedFiles !== files` always evaluated to true
because updatedFiles is created via files.map() which always returns
a new array reference, even when no files were actually modified.

This caused onFilesChange to be called unnecessarily when dropping
zip files that only contained files with names not matching any
existing files.

Fix: Track whether any existing files were actually replaced using
a hasReplacedFiles flag that is set to true only when we modify
files in the updatedFiles array during zip extraction.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>

* fix: add graceful error handling for zip file extraction

Replaced dangerous non-null assertion operator (!) with proper error
handling for entry.getData() calls.

Changes:
- Check entry.directory and entry.getData before extraction
- Wrap getData calls in try-catch to handle extraction failures
- Track failed files and include them in error reporting
- Skip files that can't be extracted instead of crashing

This prevents runtime errors when:
- Zip entries are directories (defensive check)
- Zip entries don't have getData method (corrupted/unusual entries)
- File extraction fails for any reason (encoding issues, etc.)
- Binary/text file reading encounters errors

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>

* refactor: improve file processing logic with enum and switch statement

Replaced if-else chain with cleaner enum-based approach per PR feedback.

Changes:
- Added FileAction enum (CREATE_NEW, REPLACE_EXISTING, REPLACE_NEW)
- Created getFileAction() helper function that returns action + index
- Refactored file processing loop to use switch statement
- Eliminated duplicate findIndex() calls (was calling it twice)
- Reduced variable count from 2 (existingFileIndex, newFileIndex) to 1 (actionResult)

Benefits:
- More readable and maintainable code
- Single source of truth for file lookup logic
- Better type safety with discriminated union
- Easier to extend with new file actions in the future

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>

* prettier

* fix: add guard for undefined entry.uncompressedSize in zip extraction

Prevents NaN from bypassing size validation when entry.uncompressedSize
is undefined.

Issue:
- entry.uncompressedSize can be undefined in malformed/corrupted zips
- Without guard: totalExtractedSize + undefined = NaN
- NaN comparisons always return false, bypassing MAX_TOTAL_EXTRACTED_SIZE
- Security risk: allows extraction of files with unknown sizes

Fix:
- Check if uncompressedSize is undefined or NaN before any arithmetic
- Skip files with unknown sizes and add to oversizedFiles array
- Provide descriptive error message: "unknown size - metadata unavailable"
- Ensures size validation always runs safely

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>

* Refactor to streamline handling of regular and zip files in FileExplorerAndEditor

* Address rabbit feedback

* Nit

---------

Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2026-01-20 20:09:01 +08:00
Pamela Chia 0d4fc54fb3 docs(studio): clarify free project limit message (#42007)
docs: clarify free project limit across organizations
2026-01-20 16:45:38 +07:00
Kanishk Dudeja 4281be70ed feat(billing): use entitlements for read replica access (#41940) 2026-01-20 13:19:43 +05:30
Pamela Chia 90fbf041ce feat(studio): add cached egress quota violation label (#42000)
feat(usage): add cached egress quota violation label
2026-01-20 14:16:45 +07:00
Danny White 6837e1b9f4 chore(design-system): align PageSectionAside to bottom of text content (#41629)
* docs fixes

* optical alignment

* fix container query
2026-01-20 18:00:35 +11:00
Sean Oliver 37306ed25d Studio: Enable PostHog toolbar via CSP frame-src (#41827) 2026-01-19 20:33:27 -08:00
Joshen Lim c6b2fe6fee Popover ui component to use portal by default, remove all manual declaration of portal for PopoverContent in dashboard (#41818)
* Popover ui component to use portal by default, remove all manual declaration of portal for PopoverContent in dashboard

* Forgot to add ui changes lol

* Clean uop
2026-01-20 11:58:31 +08:00
Ali WaseemandJoshen Lim 1dbd86a8c0 fix: edit branch modal to not make requests per branch change (#41915)
* edit branch modal to not make requests per branch change

* reverted onblur mode

* Simplify debounce logic

* updated open linker to handle undefined error

* updated to ensure branch name isn't stale

* updated to use static event

* updated logging statement

* formatted document

* removed static events

* updated loading and check states

* updated to watch on branch name

* Nit remove isChecking loading for Update branch button

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2026-01-20 11:33:00 +08:00
Danny White 196aa05924 chore(studio): use the shared createNavigationHandler (#41628)
* design system references

* fix remaining tables

* rabbit

* fix
2026-01-20 03:24:10 +00:00
Ali Waseem 4dda2e7f74 fix: remove message from api contact allowing users to flll helpful context (#41994)
fix: remove message from api contact allowing users to fill something helpful
2026-01-20 10:52:29 +08:00
katayama8000 38b327621a Docs(Expo): Remove unnecessary @react-native-async-storage/async-storage dependency (#40435)
* Update with-expo-react-native.mdx

* fix(docs): update default active tab from async-storage to local-storage in Expo tutorial

* fix(docs): add expo-sqlite installation step in Expo tutorial
2026-01-20 01:28:39 +00:00
Chris Chinchillaandcoderabbitai[bot] f955308dbd docs: Switch Expo quickstart to local storage (#41977)
* Switch Expo quickstart to local storage

* Update apps/docs/content/guides/getting-started/quickstarts/expo-react-native.mdx

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* Update apps/docs/content/guides/getting-started/quickstarts/expo-react-native.mdx

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2026-01-20 01:17:35 +00:00
Jordi Enric 8146f1e371 realtime report: add warning about EU degradation F-2363 (#41927) 2026-01-20 06:39:42 +07:00
Jordi Enric 9ea7244bae add free project info to project creation (#41967) 2026-01-20 06:24:14 +07:00
Charis 472ef2d062 fix(studio): invalidate table editor menu on assistant mutations (#41989)
The queries used for the Table Editor menu aren't invalidated when the
Assistant executes SQL, so newly created views/tables and fresh lints
aren't shown. Now adds invalidations whenever a write query is run from
the Assistant interface.
2026-01-19 13:20:09 -05:00
Ali Waseem d512338cab fix: settings for storage to not show up on self hosted as they are not supported (#41936)
* fixed settings for storage to not show up

* updated tests and settings for storage bucket
2026-01-19 09:16:49 -07:00
Anish PaudelandAlan Daniel fdea1be777 fix: update cobe version to reduce lag on /career and remove height/width assignment per frame (#40908)
* fix(www): update cobe version to reduce lag on /career and remove height/width assignment per frame

* fix: update cobe version to reduce lag on /career and remove height/width assignment per frame

* remove pnpm-lock.yaml from PR

* lockfile

---------

Co-authored-by: Alan Daniel <stylesshjs@gmail.com>
2026-01-19 16:14:25 +00:00
Alan Daniel 8a479ecd0b chore: add trae logo to mcp section (#41862)
* add trae logo to mcp section

* update all mcp blocks

* format
2026-01-19 16:03:37 +00:00
Charis 0560e6e8d0 fix(studio): maintain focus on input for assistant (#41987)
While Assistant responses are streaming, the text input box is disabled.
This is an odd UX since it sends focus all over the place. Now, the text
input box is still usable while streaming, though you still have to wait
until streaming is done to actually submit. Allows the user to prepare
next messages and also keeps focus consistent.
2026-01-19 15:44:17 +00:00
Alaister Young 882ca8b636 fix(studio): integrations infinite loop error (nimbus) (#41986)
* fix(studio): integrations infinite loop error (nimbus)

* sort imports
2026-01-19 15:18:28 +00:00
kemal.earth 7013388c0c fix(studio): small font size fix on access tokens table (#41928)
fix: small nit on access token table
2026-01-19 08:59:21 +00:00