Commit Graph
31733 Commits
Author SHA1 Message Date
Andrew Valleteauandgithub-actions[bot] 833eaee716 chore(docs): add link to dotenvx management detail (#36709)
* chore(docs): add link to dotenvx management detail

* Update apps/docs/content/guides/local-development/managing-config.mdx

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

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-06-27 20:42:38 +02:00
Andrew Valleteau 226673c12e chore(docs): make clearer link between template and actual email (#36712) 2025-06-27 20:42:18 +02:00
Joshen Lim 34f764e543 Fix database selector not selectable in connect modal (#36723) 2025-06-27 20:15:43 +08:00
Joshen Lim 307f2843e1 Chore/unified logs fixes 02 (#36710)
* Temporarily disable cmd K shortcut for searching unified logs

* Update placeholder for search input

* Fix getLogsCountQuery for method

* Standardize pathname parameter

* Fix refresh button
2025-06-27 18:58:50 +08:00
Jordi Enric 3b3a75202e feat: add auth reports FE-1569 (#36555)
* feat: add auth reports

* fix reports dates, fix missing queries

* add flag

* fix errorbystatus chart

* fix sign in by grant type

* move formatting to auth report query file

* fix signup by provider, add ratelimitted reqs

* fix sign ups query

* cleanup unused stuff

* cleanup

* rm console logs

* undo logs.utils

* add status code lib, use edge_logs for query

* fix auth error chart footer

* rm redundant rate limited requests chart

* fix db report breaking due to useAuthReport throwing

* move state up, reduce conditional logic in composed chart handler

* reorder reports nav

* rm bg

* fix type err

* fix useChartData

* empty

* fix report header bg

* move to utils

* add AnalyticsInterval import to report.utils for granularity conversion
2025-06-27 11:10:25 +02:00
Bobbie SoedirgoandJoshen Lim 90d355b9cb feat: show upgrade warning if user objects exist in internal schemas (#36654)
* feat: show upgrade warning if user objects exist in internal schemas

* Clean up warnings into a separate file

* Update API types + fix TS issues

* Update apps/studio/components/interfaces/Settings/Infrastructure/InfrastructureInfo.tsx

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-06-27 08:26:03 +00:00
Han Qiao a7d5ed0957 docs: simplify declarative schema usage example (#36698) 2025-06-27 00:44:18 +08:00
skelbon 1e983eb6cf docs(auth) - typo correction (#36701)
Fix wording inconsistency between countries and colors example
2025-06-26 16:26:56 +00:00
Gaurav Deep 6d728885d3 docs: fix RPC example for parameterless calls by adding undefined (#36714)
docs: fix RPC example when using options for parameterless call (#36713)
2025-06-26 16:21:20 +00:00
Filipe CabaçoandJoshen Lim ef02eb65e2 realtime: Add Allow Public Access toggle back to Realtime Configuration (#36708)
* realtime: Add Allow Public Access toggle back to Realtime Configuration

* Smol fix

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-06-27 00:08:20 +08:00
Charis 5cb2ce10b9 docs(feature stages): update feature matrix with current feature stages (#36671)
* docs(feature stages): update feature matrix with current feature stages

* docs(feature matrix): add third-party auth

* style: format
2025-06-26 13:48:54 +00:00
Greg Richardson 1aa173d360 fix: bedrock region (#36706) 2025-06-26 07:37:16 -06:00
Charis a62ae515b1 docs: add instructions for using management api as alternative to dashboard ui (#36676) 2025-06-26 09:10:10 -04:00
Alaister Young f1b67c3f24 chore: generate-v4 expose error message (#36702) 2025-06-26 20:07:12 +08:00
Alaister Young a6b88de5f9 fix: generate-v3 safe parse body (#36700) 2025-06-26 11:51:39 +00:00
Joshen LimandSaxon Fletcher 256dbb7f38 Feature flag MCP changes (#36689)
* Feature flag assistant endpoint + opt in UI

* Feature flag bedrock stuff for the other endpoints like title, cron, complete

* add edge function complete v2

* revert to old complete

* Revert hardcode

* fix chart colour

---------

Co-authored-by: Saxon Fletcher <saxonafletcher@gmail.com>
2025-06-26 18:41:31 +08:00
Kevin Grüneberg 2c6c5d11e4 chore: cleanup pending subscription flags (#36692) 2025-06-26 18:05:04 +08:00
Joshen Lim ec43e11c11 Chore/fix unified logs (#36650)
* Fix z-index position of row

* Fix column widths to make it fit a laptop viewport better

* Fix auto fetching when scrolling to the bottom

* Small style fixes + decouple count loading state from table loading state

* Refactor row uuid to just id, add de-duping logic to logs data, standardise unified logs query options

* Clean up logs

* Misc styling tweaks

* Reinstate prev cursor and direction for live mode

* Clean

* Revert text sizes

* Remove now resolved comments
2025-06-26 16:45:45 +08:00
Stojan Dimitrovski a403f1ceca feat: add publishable key in connect dialog (#36638) 2025-06-26 09:11:08 +02:00
Joshen Lim 63164fe165 Revert "Revert "Feature/assistant mcp"" (#36687)
* Revert "Revert "Feature/assistant mcp" (#36684)"

This reverts commit 2bff117cde.

* Attempt
2025-06-26 15:02:49 +08:00
Han Qiao 94036ceaa0 chore: adjust branching price comms (#36685) 2025-06-26 05:09:53 +00:00
Joshen Lim 2bff117cde Revert "Feature/assistant mcp" (#36684)
Revert "Feature/assistant mcp (#35318)"

This reverts commit 3a50dd1f72.
2025-06-26 13:06:50 +08:00
f6692f2241 chore: Dashboard guards to limit what can and cannot be done by an AWS_K8S project (#36630)
* chore: transition from AWS_NEW to AWS_K8S

* chore: transition from useIsAwsNew to useIsAwsK8s

* chore: new useIsAws method

* chore: disk management protections

* chore: IPV4 addon protections

* chore: AWS_K8S restart protection

* chore: AWS_K8S read replica protections

* chore: restore to new project protections

* Update apps/studio/components/interfaces/Settings/Infrastructure/InfrastructureConfiguration/DeployNewReplicaPanel.tsx

Co-authored-by: Tom Gallacher <tgallacher@users.noreply.github.com>

* chore: changes based on feedback

* fix: prettier

* minor fixes

* Use disabled state for ipv4 address in ipv4sidepanel isntead of hiding the UI entirely

* Revert hardcode in useSelectedProject

---------

Co-authored-by: Tom Gallacher <tgallacher@users.noreply.github.com>
Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-06-26 12:14:26 +08:00
3a50dd1f72 Feature/assistant mcp (#35318)
* step 1

* use mcp

* system prompt

* clean up

* space

* clean up

* add three state opt in toggle

* clean up

* todo

* hooks

* refactor opt in form and modal

* refinements

* add bedrock

* remove console

* update mcp util

* use bedrock

* remove openai sdk package

* re-add tools

* update complete endpoints

* fix: ai assistant markdown formatting (#35541)

* fix: mcp types and project ref (#35540)

* feat: more flexible aws credential provider (#35538)

* feat: more flexible aws credential provider

* fix: add AWS_REGION to turbo env vars

* change to allowed

* update complete endpoints

* add an additional permission

* refinements

* use claud 4

* legal copy changes

* update other ai functions to use bedrock

* update generate v3 copy

* remove generate sql modal

* fixes for query block

* re-add dragging to reports

* clean up

* add open ai edge function example

* use handle error from fetchers

* remove schema and lean on tools

* copy

* Assistant MCP tests (#36049)

* feat: refactor and test mcp and model logic

* fix: remove get_project tool

* fix: remove additional get_project tool references

* update copy

* Clean up, fixes, refactors

* oops

* Float errors from AI endpoionts as toasts

* Use a env var AWS_BEDROCK_PROFILE for bedrock.

* Rename the env var for AWS bedrock profile.

* feat: support custom aws bedrock env vars

* chore: add comments explaining aws credential chain

* MCP Self Hosted Check (#36185)

support self hosted

* feat: bedrock auth via vercel oidc

* Fix broken unit test

* Feeeex

* Refactor useOrgOptedIntoAi

* Remove useDisallowHipaa hook

* small system prompt change

* readd vercel packages

* fix self hosted

* increase max duration

* try more direct prompt

* max duration 90

* reduce max steps and add loading

* mono font

* backwards compat styling

* Chore/limit number of messages sent to assistant (#36388)

* Limit number of historical messages that get sent to assistant

* Update max chat history to 5

* alignment

* bump mcp server version

* Add feature flag for opt in tags (#36466)

* Add feature flag for opt in tags

* Add one more check

* security section system prompt

* rely on default link and replace image markdown

* Add custom link component to assistant message block (#36527)

* Add custom link component to assistant message block

* Update based on feedback

* Render plain text if URL is deemed unsafe

* fix mcp tools and parse data (#36593)

* Update Admonition for AI Assistant for when opt in is re-enabled (#36663)

* Update Admonition for AI Assistant for when opt in is re-enabled

* Update

* Smol fix

* Fix TS

* Tiny

---------

Co-authored-by: Greg Richardson <greg.nmr@gmail.com>
Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2025-06-26 12:13:27 +08:00
Greg Richardson 55e5d6b95a feat: revert temp bedrock test api (#36669) 2025-06-25 11:20:43 -06:00
Greg Richardson dd66bbbcdd feat: temp test api endpoint for bedrock (#36668)
* feat: temp test api endpoint for bedrock

* refactor: consolidate ai imports
2025-06-25 16:58:29 +00:00
Vangmay SachanandCharis d2b9eee9e9 Wrote docs for JWT Field (#36578)
* Wrote docs

* Update apps/docs/content/guides/auth/jwt-fields.mdx

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2025-06-25 16:30:05 +00:00
f97228be94 Add Amp to MCP getting started page (#36647)
* Add Amp to MCP getting started page

* Update mcp.mdx

* fix indentation for ordered list

* fix lint issuee

---------

Co-authored-by: Rodrigo Mansueli <rodrigo@mansueli.com>
Co-authored-by: Charis Lam <26616127+charislam@users.noreply.github.com>
2025-06-25 16:26:48 +00:00
Dan O'BrienandDan OBrien 79a73e07be add instructions for MCP server in Qodo Gen (#36056)
Co-authored-by: Dan OBrien <dobrien.nj+git@gmail.com>
2025-06-25 16:07:11 +00:00
vanzan01 90739af4aa docs: fix Claude Code MCP installation command syntax (#36570)
Add missing -- separator in claude mcp add command. Without this separator,
the CLI incorrectly interprets 'npx' as an environment variable instead of
the command to execute, causing installation to fail.

Fixes the command:
claude mcp add supabase -s local -e SUPABASE_ACCESS_TOKEN=token npx -y @supabase/mcp-server-supabase@latest

To work correctly as:
claude mcp add supabase -s local -e SUPABASE_ACCESS_TOKEN=token -- npx -y @supabase/mcp-server-supabase@latest
2025-06-25 15:59:25 +00:00
4b8d5f5502 docs: add workos tpa docs (#36662)
* docs: add workos to 3rd party auth docs

* Commit @charislam's suggestions

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

* more explanation of the user_role claim

* drop CLI instructions for now

* add WorkOS to nav menu

* fix typo

* use issuer not client id

* fix prettier

---------

Co-authored-by: Cameron Matheson <cameron@workos.com>
Co-authored-by: Cameron Matheson <cameron.matheson@gmail.com>
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2025-06-25 17:15:51 +02:00
Bobbie Soedirgo 226d05fb83 fix: warning message on upgrade guards (#36646)
* fix: warning message on upgrade guards

When users are blocked from an upgrade because they have objects that
need to be dropped, the message in the warning is incorrect. It asks
users to "drop these extensions". But they're not extensions, they're
user-defined tables, foreign keys, etc. This will cause confusion.

Here we use a different messaging when users need to drop their objects.

* chore: prettier
2025-06-25 16:06:47 +08:00
angelico 84b8695de7 chore: transition from AWS_NEW to AWS_K8S (#36625)
* chore: transition from AWS_NEW to AWS_K8S

* chore: transition from useIsAwsNew to useIsAwsK8s
2025-06-25 11:35:07 +08:00
Bruce Belson 998a7ddcf0 Update features.mdx (#36582)
Fixed typo
2025-06-24 22:11:38 +00:00
Bruce Belson e399c6d5cc fix: Typo in architecture.mdx (#36583)
"We provide tools which make**s** Postgres as easy to use as Firebase."

Remove superfluous **s**
2025-06-24 22:07:11 +00:00
Saxon FletcherandCraig Cannon 09ff12349a Blog/natural db (#36266)
* natural-db blog post

* blog

* less markety

* replace use case

* remove image

* Update 2025-06-10-natural-db.mdx

- updated title to be a bit catchier
- edited intro copy for readability

* update copy

* update date

* blog copy

* update post

* copy refinements

* fix env variable

* copy updates and date change

* copy

* copy

* rss and date change

* rss

---------

Co-authored-by: Craig Cannon <cannon.craig@gmail.com>
2025-06-25 07:22:50 +10:00
Charis d122f289df feat(api gateway logs): add error code explanation (#36315)
Add the ability to look up error code explanation in API Gateway logs.
Also a bunch of GraphQL-related utilities and generated types for
calling the Content API.
2025-06-24 13:18:12 -04:00
Joshen Lim a7ea24c6b9 fix logs project param (#36633) 2025-06-24 11:23:58 +00:00
Jonathan Summers-MuirandJoshen Lim 8bc3087a11 chore: converts to POST for queries for unified logs (#36596)
Update QueryOptions.ts

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-06-24 17:30:04 +08:00
Kamil Ogórek 07a0d279ea ref: Use organization_slug instead of org_id for project creation (#36629) 2025-06-24 17:27:23 +08:00
Joshen Lim 2808931f92 Chore/refactor unified logs infinite queries (#36598)
* Split unified logs count into its own infinite query and refactor main UI to use that new query

* Split unified logs into its own infinite query and refactor main UI to use that new query

* Shift useChartData into unified-logs-chart-query, and refactor main UI to use that new query

* Rename unified-logs-query to unified-logs-infinite-query

* Remove uuid and live params from query string in react queries for unified logs
2025-06-24 16:28:00 +08:00
Joshen Lim ea9cfe1b39 Remove project parameter for all calls to logs.all endpoint (#36627) 2025-06-24 15:10:14 +08:00
Terry Sutton d4e2cd2bf3 Use a badge for a more explicit last used indicator (#36614) 2025-06-24 13:13:32 +08:00
Ziinc a7b0cbef7d docs: improve metrics endpoint docs (#36594) 2025-06-24 13:05:56 +08:00
Alaister Young 8c8110a34c chore: disable role impersonation for edge functions (#36599)
* chore: disable role impersonation for edge functions

* allow service role and anon
2025-06-24 12:01:33 +08:00
Terry SuttonandJoshen Lim 4e3264dc45 Update nextjs logo (#36620)
* Update nextjs logo

* Update link for Next.js subscription and Auth example

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-06-24 11:35:10 +08:00
Kevin Grüneberg ae9ce3d010 fix: payment method selection (#36623) 2025-06-24 03:23:56 +00:00
Stojan DimitrovskiandJoshen Lim 3d5870f342 fix: api docs with new api keys (#36531)
* fix: api docs with new api keys

* Smol UI refactor

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-06-24 10:48:00 +08:00
Thomas 9f8cc1b438 Show credit balance also for partner billed organizations.
* When a Vercel customer downgrades in the middle of the billing cycle the get credits (no refund to card). To make that clearer, they need to be able to see their balance.
2025-06-24 14:24:44 +12:00
Terry SuttonandJoshen Lim f4222eb93f Fix storage explorer search (#36561)
* Fix storage explorer search

* simplify logic

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-06-23 13:37:20 -02:30