Commit Graph
34044 Commits
Author SHA1 Message Date
Pedro Rodrigues 3bf4dfaef7 fix format 2026-01-02 19:23:44 +00:00
Pedro RodriguesandClaude Opus 4.5 a5cbe51dff docs: add alternative auth providers and frameworks to MCP guide
- Add link to Auth Providers page in prerequisites
- Add framework alternatives tip with links to quickstarts
- Expand hosting platform options (Vercel, Netlify, Render, Cloudflare)
- Clarify Google OIDC scopes with link to provider docs
- Add Auth Providers to Resources section
- Add OAuth Consent Page block link to Examples

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-02 19:23:44 +00:00
Pedro Rodrigues 234e076528 wip mcp auth on ef 2026-01-02 19:23:44 +00:00
Pedro Rodrigues db594e651e llm.txt 2026-01-02 19:23:44 +00:00
Pedro Rodrigues b8ec9791cd build registry 2026-01-02 19:23:44 +00:00
Pedro RodriguesandClaude Opus 4.5 46e45306f9 feat(ui-library): add navigation, example, and registry for OAuth consent block
- Add OAuth Consent Page to sidebar navigation in docs.ts
- Create example preview page for the block demo
- Build registry JSON files for the component

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-02 19:23:44 +00:00
Pedro RodriguesandClaude Opus 4.5 c0187541e8 feat(ui-library): add OAuth consent page block for Next.js
Adds a new UI block for OAuth 2.1 consent pages that can be used with
Supabase Auth's OAuth server for MCP client authorization.

The block includes:
- Consent form component with allow/deny functionality
- Scope list display component
- Full documentation with setup instructions

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-02 19:23:44 +00:00
Aditya kumar singhandIvan Vasilov 30fd0087ae fix(auth-config): invalidate lint cache on update to dismiss stale Pe… (#41652)
* fix(auth-config): invalidate lint cache on update to dismiss stale Performance Advisor warnings

* Do the invalidations in parallel.

* Fix prettier error.

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2026-01-02 12:36:26 +00:00
Ali Waseem 0500c21b37 fix: updated to check fetch status if the user does not have permissions for audit logs (#41661)
* updated to check fetch status if the user does not have permissions

* updated to loading state in variable
2025-12-31 10:45:14 -07:00
Ali Waseem 4d8414400e fix: updated snippet values so they store the generated name in the side bar (#41665)
updated snippet values so they store the AI name
2025-12-31 10:18:18 -07:00
supabase-supabase-autofixer[bot]andmatlin 7168162ed1 Changes by create-pull-request action (#41506)
[create-pull-request] automated change

Co-authored-by: matlin <7904733+matlin@users.noreply.github.com>
2025-12-31 22:04:19 +08:00
Matt Linkous 3ea5fd23b0 fix(stripe-sync-integration): Add notes to clarify common installation hiccups (#41653) 2025-12-30 11:52:46 -06:00
Ivan Vasilov bbfccdf471 chore: Use @/* as an alias for importing in-package files (#41607)
* Remove extra file.

* Remove unneeded tsconfig.jsons.

* Add @/* alias for importing in-package files to all apps.

* Remove baseUrl from all apps except studio (it'll require changes in almost all files).

* Fix baseUrl issues in docs, ui-library and design-system.

* Fix the typecheck for cms app. Fix all baseUrl errors in the cms app.

* Add deprecated flag to baseUrl in www.
2025-12-30 17:46:24 +01:00
Ali Waseem b6874ff76d fix: update to rollback and changes with insert,update or delete on pretty explai (#41651)
update to rollback and changes with insert,update or delete
2025-12-30 09:29:38 -07:00
Ivan Vasilov 0ac60955c1 fix: Fix an issue with double-encoded params in /changelog (#41648)
* Move the fetchDiscussions function out of the block.

* Test whether the next param is encoded and decode it until it's fully decoded.

* Fix CodeRabbit suggestions.
2025-12-30 15:33:02 +00:00
Copilotandivasilov e6290fc225 fix: Remove BASE_PATH prefix from Next.js Link in Connect dialog (#41639)
* Initial plan

* fix: Remove BASE_PATH prefix from Next.js Link component in Connect dialog

Next.js Link components automatically handle base paths, so the BASE_PATH prefix should not be manually included. The BASE_PATH prefix remains correctly in the Panel.Notice href prop which is not a Next.js Link component.

Co-authored-by: ivasilov <568291+ivasilov@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: ivasilov <568291+ivasilov@users.noreply.github.com>
2025-12-29 17:53:26 +01:00
Jordi Enric a7db531514 update api keys section in connect dialog (#41638)
* update api keys section in connect dialog

* handle non platform

* fix links
2025-12-29 15:41:33 +01:00
issuedat f9f1e40def feat(auth): make opt-in to improved search dismissible (#41558)
feat(auth): make opt-in to improved search dismissable
2025-12-29 15:17:00 +01:00
Kevin Grüneberg d5ebac4af5 chore: billing FAQ annual subscription (#41550) 2025-12-29 11:22:55 +01:00
Cemal Kılıç 9450cdb7aa feat(auth): remove fetch with timeout (#41633) 2025-12-29 17:12:21 +07:00
Francesco Sansalvadore 5213e681b4 feat(studio): add "create" command menu commands (#41473) 2025-12-29 09:18:06 +01:00
c2231301e0 chore(studio): improve HeaderBanner (#41525)
* design polish

* better banner

* defensive truncation

* better incident banner

* better prop names

* improve warnings

* fix variant

* OrganizationResourceBanner

* notice banner

* improve ClockSkewBanner

* add ARIA label

* rabbit

* lil dot

* 📝 Add docstrings to `dnywh/chore/improve-header-banner` (#41526)

* 📝 Add docstrings to `dnywh/chore/improve-header-banner`

Docstrings generation was requested by @dnywh.

* https://github.com/supabase/supabase/pull/41525#issuecomment-3680124020

The following files were modified:

* `apps/studio/hooks/misc/useOrganizationRestrictions.ts`

* new line

---------

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

* fix clock docs link

* Small nits

* Fix URL for grace period warning to point to usage instead of billing

* rabbit

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-12-29 15:16:10 +11:00
Thomas fbd80939be chore(billing): show hints on aws mp onboarding page in case contract not linkable 2025-12-27 18:31:28 +01:00
Vaibhav 64d813f83a fix(docs): resolve 404 on /docs/guides/auth/server-side (#41601)
Remove broken partial reference to non-existent auth_helpers.mdx file.
2025-12-26 14:20:23 +00: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