Commit Graph
34027 Commits
Author SHA1 Message Date
Ivan Vasilov 8148a964ac Fix the tests. 2025-12-25 17:27:28 +01:00
Ivan Vasilov 748cd4e795 Try to fix a mock for the deployment commit API. 2025-12-25 17:12:24 +01:00
Ivan Vasilov 59a9aed03e Set the stale time to 1 hour. 2025-12-25 16:40:34 +01:00
Ivan Vasilov 181f071f93 Refactor the checkLatestDeploy to use the latest (master) commit from the API. 2025-12-25 16:40:11 +01:00
Ivan Vasilov 5ee7be510a Refactor the getDeploymentCommit to include the latest master. 2025-12-25 16:40:11 +01:00
Ivan Vasilov fc805f4095 Remove the showRefreshToast flag. 2025-12-25 16:40:11 +01:00
Ivan Vasilov 293d71a3fc Move the staleTime and enabled params as defaults in the query. 2025-12-25 16:40:11 +01:00
Ali Waseem 89e0fe4f28 feature: Explain tab in SQL editor that shows output of explain analyze (#41569)
* wip: explain tab in results editor

* updated to add sql explain

* updated to default back to results

* updated explain function

* updated case with multiple statements

* updated to reset explain query results

* added tests for semi colon comments

* feature: add explain w/ AI on pretty-explain tab (#41588)

* wip: added explain with AI

* wip: updated header with new buttons

* updated prompt

* remove any types

* removed unused flag

* updated header

* formatted code
2025-12-24 10:14:53 -07:00
Ivan Vasilov ad9cb34304 Bump @tanstack/eslint-plugin-query and migrate the config. (#41577)
* Bump @tanstack/eslint-plugin-query and migrate the config.

* Minor fix for the no default export rule.

* Simplify the eslint config.
2025-12-24 16:14:14 +00:00
Ivan Vasilov db4b10f328 fix: Check the password strength before creating a project (#41586)
* Fix types and lint warnings for the password strength function.

* Simplify the form for creating project. Move the password warning into the form schema. Minor fixes.

* Fix the name of the field.

* Move the common behaviour in a function.

* Minor fixes.
2025-12-24 16:18:29 +01:00
issuedat 115ca3a2e3 feat(auth): improved user search (#41199)
* feat(auth): improved user search

* chore: fix types for columns

* feat: cursor-based pagination

* chore: remove trigram indexes in favour of b-tree
2025-12-24 12:24:43 +01:00
Ivan Vasilov 621a8e1f34 chore: Bump vulnerable dependencies (#41562)
* Bump nodemailer.

* Bump @vitejs/plugin-rsc.

* Bump mdast-util-to-hast.

* Deduplicate shiki.

* Deduplicate @tanstack/react-query.
2025-12-24 08:31:59 +01:00
Danny White d71f4463e1 fix(studio): tab focus on generate password button (#41572)
fix tab focus and clean up styles
2025-12-24 08:23:10 +01:00
Jordi Enric d26bd92857 FE-2293 Fix query performance timeouts (#41456)
* improve query

* prevent error state flashing
2025-12-23 13:19:07 -07:00
Pedro RodriguesandClaude Opus 4.5 8f7bcf8956 docs: remove Adding Tools section from byo-mcp guide (#41564)
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-23 18:39:09 +00:00
Jeezy 7462dac26c Add Jeezy to humans.txt (#41563) 2025-12-23 19:16:14 +01:00
Joshen Lim 19f01d8bd4 Fix editing destination selected type (#41555) 2025-12-23 19:36:00 +08:00
issuedat 1ee61059ef feat(auth): Add X v2 provider (#41276)
* feat(auth): Add X v2 provider

* chore: reuse the existing twitter docs which will include instructions for both versions
2025-12-23 12:33:29 +01:00
Ivan Vasilov f3af2c3d3c feat: SQL Snippets (#41112)
* Use the .sql suffix when generating ids.

* Fix a bug where a new snippet would not show up in the snippet list until refresh.

* Add API routes which serve file snippets.

* Refactor the renameSnippet and moveSnippet to work with file snippets.

* Change the link to the SQL Editor.

* Minor fixes from CodeRabbit.

* Check the file/folder name for invalid chars.

* More fixes from CodeRabbit review.

* Fix minor issues.

* Use zod to parse the snippet ids when deleting.

* Try to fix snyk issue.

* Add validation to the GET content index route.

* Minor fixes.

* Show create a new folder, it was hidden by mistake.

* Add SNIPPETS_MANAGEMENT_FOLDER env var.

* Add snippets folder in the docker-compose.

* Add error toasts if the env var is not set.

* Add snippets management folder to the generateLocalEnv script.

* Revert the docker-compose changes, will be done in a followup PR.

* Revert also the snippets volume folder.

* Remove unneeded line.
2025-12-23 12:09:37 +01:00
Han Qiao c0048901cd fix: disable logs viewer for initial workflow run (#41551) 2025-12-23 18:27:31 +08:00
Kevin Grüneberg 7487c1c3ad docs: desired instance size and platform blog post links (#41549)
- All doc links on the platform post lead to 404
- Note on omitting `desired_instance_size`
2025-12-23 09:03:11 +01:00
072883bcec feat: assistant evals (#41311)
* chore: bump `supabase` CLI

* chore: stricter message types in `generate-v4.ts`

* feat: tutorial eval

https://www.braintrust.dev/docs/evaluation

* feat: project ID for eval

* refactor: `generateAssistantResponse` out of `handlePost`

* refactor: generateAssistantResponse to lib/ai

* feat: factuality eval with assistant response

* chore: upgrade braintrust to v1.0.1

* chore: silence tsconfig warning

* feat: assertion scorer

* fix: aggregate tools across all steps

* refactor: strict tool names, remove need for `as const`

* refactor: generic tool name type in assertions

* feat: transfer mocks from `feature/braintrust`

* feat: LLM criteria assertion

* feat: braintrust evals workflow

* fix: BRAINTRUST_PROJECT_ID

* feat: `sql_similar` assertion

* fix: `OPENAI_API_KEY` in workflow env

* feat: split AssertionScorer into separate scorers

* feat: remove tutorial eval

* feat: 20 minute CI timeout

* feat: category in test case metadata

* feat: score with gpt-5

* refactor: dataset to own file, colocate scorers

* feat: "gpt-5.2-2025-12-11" for llm as a judge

* feat: SQL syntax scorer with `libpg-query`

* feat: `evals:setup` and `evals:run` scripts

* feat: `evals:setup` in CI

* feat: human readable scorer names

* chore: rename to "SQL Validity"

* feat: add 2 "sql_generation" test cases

* feat: update requiredTools in test cases

* chore: ignore Cursor MCP config

* feat: "Conciseness" score

* feat: "Completeness" scorer

* fix: generate-v4 test mocks

* feat: serialize "steps" for scorer inputs

* updated node mem options for typecheck

* updated runner

* remove ram update as actions handle this

* feat: read `BRAINTRUST_PROJECT_ID` from secrets

* feat: score helpfulness, remove old scorers

* feat: separate `evals:run` and `evals:upload` scripts

* feat: passthrough entire classifier result

* feat: use live `search_docs` impl, store docs result in metadata

* feat: reduce classifier options

* feat: filter workflow by `run-evals` PR label or `master` branch

* chore: cleanup stubbed mock tools

* fix: checkout actual branch with `ref:`

* fix: capture search_docs results from all content parts

* feat: simplify sql syntax score calculation

* feat: use AI SDK's UI message validator

* docs: justification for relative `extends`

* fix: cleanup leftover validatedMessages

* doc: note mock token isn't secret for snyk

* fix: mock ui message to pass validation

* feat: revert ignoring Cursor MCP config

Using `.git/info/exclude` instead until we have an opinion on this

* feat: add "tsconfig" as shared-data devDependency, revert relative path in tsconfig

* refactor: tool call parsing into function

* Update apps/studio/evals/assistant.eval.ts

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

* refactor: organize mock schemas and tool factories

---------

Co-authored-by: Ali Waseem <waseema393@gmail.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-12-22 23:45:48 -05:00
Saxon Fletcher 42a452dad3 Remove isOpened from table editor (#41524)
remove isOpened from table editor
2025-12-23 10:26:12 +10:00
Tomás Pozo 63b7ce4003 feat: use external form for SupaSquad application (#41533)
* Use external form on squad application

* Add required form url env to turbo.json

* Add cta at the bottom
2025-12-22 17:27:25 -04:00
Ali Waseem 7e3c714464 chore: updated font size on RLS modal (#41544)
updated font size
2025-12-22 20:29:35 +00:00
Ali Waseem f867ddbe12 chore: update pretty explain to match the Figma designs a bit better (#41540)
* wip: updated UI and design for row renderer

* updated components

* wip: updated row count to remove useless estimates

* wip: updated colors for seq and index scans

* updated UI

* updated utility functions

* updated padding

* made circle smaller

* fixed breaking test
2025-12-22 13:17:19 -07:00
Matt Linkous 959406ed30 fix(blog): update instructions on stripe API key (#41536)
* fix(blog): update instructions on stripe API key

* Update rss
2025-12-22 10:33:37 -06:00
Ivan Vasilov bcb7adfd71 fix: The ratchet should skip tests (#41535)
* Refactor the ratchet script to skip all files with .test. in the name.

* Rerun the script to update the baseline.
2025-12-22 16:56:28 +01:00
Monica KhouryandMonica Khoury 52d2e60bcf docs: update SSL issuance info to include multiple CAs (#41530)
Co-authored-by: Monica Khoury <monicakhoury@Monicas-MacBook-Pro-2.local>
2025-12-22 13:50:27 +00:00
VaibhavandDanny White 7981846a0e fix(studio): toggle secret visibility independently in edge function secrets (#41487)
* fix(studio): toggle secret visibility independently in edge function secrets

* nits

* cleanup

---------

Co-authored-by: Danny White <3104761+dnywh@users.noreply.github.com>
2025-12-22 13:35:03 +11:00
Stephen Morgan 990bdd6fc7 Fix/privatelink support (#41522)
* temporarily disable privatelink section in zurick region

* documentation update
2025-12-22 11:17:47 +10:00
Maksym IonutsaandDanny White c2200bb842 headers fixed, anchors for example functions work (#41514)
* headers fixed, anchors for example functions work

* fix typo

* fix hierarchy

---------

Co-authored-by: Danny White <3104761+dnywh@users.noreply.github.com>
2025-12-22 10:47:59 +11:00
Joshen Lim b44bf63e86 Joshen/fe 2285 shift read replicas into database replication section (#41486)
* Support creating read replicas from replication UI, shifted all related warnings

* Clean up

* Rabbit

* Address feedback
2025-12-20 16:35:02 +08:00
Matt Linkous 519e8e6a26 blog: Add stripe sync engine integration announcement (#41505)
* blog: Add stripe sync engine integration announcement

* fix typo
2025-12-19 19:14:20 -06:00
0e2c31bf60 feat: Stripe Sync Engine integration (#41317)
* add initial installation flow of stripe sync engine

* update docs link

* Add supabase_vault extension dep

* Add stripe logo to sync engine integration

* Move overview content to bottom of integration pages

* Add sync state to stripe sync page

* only check sync state if stripe integration is installed

* Use proper stripe-sync package and setup flows

* Improve sync engine installation ux

* Remove unused hardcoded dep

* Add alpha status to stripe sync engine integration

* fix typo

* run format

* fix types

* Rename the stripe-sync path to remove the 'integration". The path needs to have BASE_PATH to work on prod.

* Design tidy up (#41337)

UI tidy up

* update to latest sync engine package

* Add stripe key verification

* Remove noop try/catch

* Add integration isntallation telelemtry

* Add basic settings page

* Address coderabbit comments

* remove unused dep

* Remove state setting on render

* s/description/comment

* Cleanup settings screen UI

* Improve settings screen design

* update schema test snapshot

* Use latest stripe-sync-engine package

* Update repo url to new official location

* revert marketing change

* Update stripe sync engine package

* Add link to table from overview page

* Add feature flag and improve telemetry

* Fix missing useMemo dep

* add uninstall telemetry note

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
Co-authored-by: Saxon Fletcher <saxonafletcher@gmail.com>
2025-12-20 00:42:10 +00:00
Ali Waseem 8548f2b98f fix: remove entity fetching as it is not needed anymore (#41503)
remove entity fetching as it is not needed anymore
2025-12-19 16:20:36 -07:00
Sean Oliver de8e9f6b1b Fix first-touch referrer for initial $pageview (#41447) 2025-12-19 10:42:16 -08:00
Ali Waseem e07a3e2838 feature: login w/ Github for production E2E tests (#41495)
* updated github script for login

* refactored and cleans up github login

* wip

* updated github script

* removed context dir for page access

* updated auth script

* updated the login methods

* updated README

* updated minor bugs

* added error handling
2025-12-19 10:48:27 -07:00
Alan Daniel c6fc750b0b Update SupaSquad LP content (#41411)
* update supasquad content

* more nits

* fix(blog): update maintainer link in Supabase Community Day post
2025-12-19 17:24:01 +00:00
Steven EubankandChris Chinchilla 8cedf11e8b fix(docs)bad-links (#41489)
* fix(docs)bad-links

These links are not routing correctly. It was also discussed that such a UI feature in docs should be discussed an implemented in way that could be scaled out more anyway.

* Prettier

---------

Co-authored-by: Chris Chinchilla <chris.ward@supabase.io>
2025-12-19 13:46:04 +00:00
Andrey A. 486dfccf60 fix: restructure overview and add quick setup (#41438) 2025-12-19 12:48:07 +01:00
Chris Chinchilla 9cbda3ecdc docs: Fix broken redirects and update SDK references to use more appropriate URLs (#41461)
Fix broken redirects and update SDK references to use more appropriate URLs
2025-12-19 11:17:32 +01:00
Andrey A. 907728aed5 chore: update changelog and image versions file (#41468) 2025-12-19 17:11:12 +08:00
Andrey A. 3dd097c788 chore: update self-hosted image versions (#41465) 2025-12-19 17:10:50 +08:00
Joshen LimandDanny White cbeb0912a2 Joshen/fe 2195 rework project api overview section with connect button (#41485)
* Update API keys panel

* Dnywh/chore/fe 2195 design pass (#41484)

* first pass

* fancy

* fixes

* text

* lang

* lang

---------

Co-authored-by: Danny White <3104761+dnywh@users.noreply.github.com>

* Clean up

* Clean

* Nit

* Update enabled features

---------

Co-authored-by: Danny White <3104761+dnywh@users.noreply.github.com>
2025-12-19 16:51:58 +08:00
Danny WhiteandCharis Lam f0acececce feat(studio): incident notice on support ticket creation (#41379)
* callout

* progress

* plural issues

* better handle multiple issues

* refactor

* remove fancy copywriting

* return IncidentAdmonition to support form page

* progress

* cleanup

* rabbit

Potential control flow issue: execution continues after handleError when data is undefined. When a non-401 error occurs, handleError(error) is called but execution continues to line 24 where data is accessed. If handleError doesn't throw, this will cause a runtime error accessing (data as any).is_healthy on undefined. Additionally, the as any cast on line 24 violates the coding guidelines. Consider validating the response shape instead.

* animate in

* fix

* reset

* remove unused dayjs

* rabbit

* rabbit

* fixes from code review

* rabbit

* rabbit

---------

Co-authored-by: Charis Lam <26616127+charislam@users.noreply.github.com>
2025-12-19 00:28:02 +00:00
Ali Waseemandcoderabbitai[bot] 3d178fcad2 chore: trying arm runners for linting plus MORE MEM (#41472)
* trying arm runners for linting plus MORE MEM

* updated arm check s

* remove unneeded options

* smaller x86 runner to check performance

* Update .github/workflows/typecheck.yml

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

* trying arm one more time

* remove arm its just way to slow

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-12-18 21:09:18 +00:00
Ali Waseem ec20b7e326 feature: add explain with AI in query performance (#41415)
* feature: add explain with AI in query performance

* updated comment

* updated to send message right away

* updated prompt

* added event tracking for button

* updated prompt

* updated to use track

* updated event name

* added flag for explain with AI

* updated to remove optional
2025-12-18 19:19:25 +00:00
Danny White e692e6e007 www(chore): update badge and Wrapped text (#41450)
update badge and text
2025-12-18 15:12:38 -04:00
CharisandJoshen Lim 1d49e9e954 feat(studio): show icon on tables exposed by data api (#41416)
* feat(studio): show icon on tables exposed by data api

Show an icon in the Table Editor for tables that are exposed via the
Data API.

* refactor(studio): move table api access query up to parent

* fix(studio): invalidate table privileges query on table create

* fix(studio): make RLS disabled warning on table editor more obvious

Change from warning -> danger

* Only show add foreign key in side panel if isSuccess

* chore(studio): put data api exposed badge behind feature flag

Only show badge for now if flag `dataApiExposedBadge` is enabled.

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-12-18 16:50:26 +00:00