Files
supabase/apps/docs/lib/docs.ts
T
Julien Goux ea1c0de97a Squashed commit of the following:
commit 863b287eef
Author: Aleksi Immonen <aleksi@supabase.io>
Date:   Tue Jan 28 14:48:46 2025 +0200

    Fix www and studio events description grammar/style (#33146)

    * Update telemetry-constants.ts

    Fix: www and studio events description grammar and style

    * Update telemetry-constants.ts

commit e770d1322f
Author: Joshen Lim <joshenlimek@gmail.com>
Date:   Tue Jan 28 17:23:17 2025 +0800

    Support dupe query (#33113)

    * Support dupe query

    * Update

    * Small refactor

commit 36637a8c94
Author: Joshen Lim <joshenlimek@gmail.com>
Date:   Tue Jan 28 17:09:17 2025 +0800

    SQL editor persist open close state of each section (#33112)

    * SQL editor persist open close state of each section

    * Address feedback

commit 84ff943f8f
Author: Copple <10214025+kiwicopple@users.noreply.github.com>
Date:   Tue Jan 28 15:42:40 2025 +1300

    chore: update self-hosted image versions (#33136)

    chore: update image versions for docker/docker-compose.yml

commit 3f9e93d659
Author: Kang Ming <kang.ming1996@gmail.com>
Date:   Mon Jan 27 17:22:46 2025 -0800

    docs: update phone auth docs (#33135)

    * docs: state that whatsapp is only supported for Twilio

    * docs: update format in callout

    * docs: include twilio verify

    * fixing capitalization

    ---------

    Co-authored-by: Brian B (theOtherBrian1) <brian@supabase.io>

commit a5b51862b9
Author: Charis <26616127+charislam@users.noreply.github.com>
Date:   Mon Jan 27 19:26:37 2025 -0500

    fix:error filter for troubleshooting (#33010)

    Fix error codes not showing up or not filtering properly in troubleshooting filter.

    Also fix local dev when local infra is not available.

commit a255acb5ea
Author: Charis <26616127+charislam@users.noreply.github.com>
Date:   Mon Jan 27 16:29:29 2025 -0500

    chore: add auto-troubleshooting-template to local dev (#33128)

    Small DX improvement for writing troubleshooting guides. When a new troubleshooting guide is created, it is auto-populated with the tempalte (as long as docs dev is running).

commit f3df883c06
Author: Greg Richardson <greg.nmr@gmail.com>
Date:   Mon Jan 27 12:03:46 2025 -0700

    fix: adds fallback when wasm is not supported (#33126)

commit d35855cb58
Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Date:   Mon Jan 27 18:09:58 2025 +0000

    feat: update mgmt api docs (#33104)

    Co-authored-by: phamhieu <689843+phamhieu@users.noreply.github.com>

commit aca05551d1
Author: Joshen Lim <joshenlimek@gmail.com>
Date:   Tue Jan 28 00:24:46 2025 +0800

    Update GetStartedHero (#33123)

commit 8b9d5736e4
Author: Ivan Vasilov <vasilov.ivan@gmail.com>
Date:   Mon Jan 27 14:42:27 2025 +0100

    chore: Fix Monaco editor in strict mode (#33075)

    * Move the code for adding code completion definitions to Monaco instance from the sql editor page to a hook.

    * Use the hook the in the SQL Editor.

commit 8f90c86050
Author: Ivan Vasilov <vasilov.ivan@gmail.com>
Date:   Mon Jan 27 14:32:03 2025 +0100

    chore: Use `react-query` cache for file previews (#23398)

    * Empty spaces.

    * Remove prop drilling for selectedFilePreview and just use it from the store.

    * Add a hook for getting a fetch url. Use it in all places where it's needed. Remove the file cache from the store.

    * Simplify the onCopyUrl hook further.

    * Fix some bugs in the preview pane.

commit 98ca85156a
Author: Ivan Vasilov <vasilov.ivan@gmail.com>
Date:   Mon Jan 27 13:04:31 2025 +0100

    chore: Use `sql-formatter` for formatting all SQL in the `studio` (#33071)

    * Bump the sql-formatter dependency.

    * Add a function formatQuery which is a wrapper around sql-formatter.

    * Replace all formatSQL features to use the new function formatSql.

    * Remove unneeded RQ for formatting.

    * Small fix.

commit dbd6c3866d
Author: Ivan Vasilov <vasilov.ivan@gmail.com>
Date:   Mon Jan 27 13:03:44 2025 +0100

    chore: Bump all versions of `vitest` to the v3+. Fix a vuln in `vite` (#33041)

    * Bump all versions of vitest to the v3+.

    * Bump vite to a non-vulnerable version (5.4.12).

commit cf75f7a33e
Author: Jordi Enric <37541088+jordienr@users.noreply.github.com>
Date:   Mon Jan 27 12:02:50 2025 +0100

    Notification filters: fix icon size (#33117)

    * fix icon size

    * undo notifpopover

    * undo notifpopover

commit c96bd5c107
Author: Kevin Grüneberg <k.grueneberg1994@gmail.com>
Date:   Mon Jan 27 18:34:07 2025 +0800

    refactor: database size metric for Free Plan (#33039)

    Instead of basing the database size metric for the Free Plan on summing up the average database size per project in the organization, we are going to simply enforce a database size limit of 0.5 GB per active project. Deleted projects are irrelevant and it should be much easier for customers to understand. We are querying the database size directly via the project to avoid delays.

commit 4425e05f04
Author: Joshen Lim <joshenlimek@gmail.com>
Date:   Mon Jan 27 15:40:51 2025 +0800

    Update SQL editor search to return a flat list (#33064)

    * Update SQL editor search to return a flat list

    * Open folder when clicking on a snippet from searching and snippet belongs to a folder

    * Update snipet page limit

    * Set keep previous data true for count

    * Add hover card for SQL search list

    * Fix issues from feedback

    * Make count loader less jarring

commit 1a3a8cb353
Author: Joshen Lim <joshenlimek@gmail.com>
Date:   Mon Jan 27 15:17:36 2025 +0800

    Add colors quickstart SQL (#33107)

    * Add colors quickstart SQL

    * Update enum to be UPPER_CAMEL_CASE

commit e20c36c505
Author: Joshen Lim <joshenlimek@gmail.com>
Date:   Mon Jan 27 15:08:26 2025 +0800

    Smol fix (#33109)

commit 3b6a4cd0e2
Author: Andrew Valleteau <avallete@users.noreply.github.com>
Date:   Mon Jan 27 14:17:15 2025 +0900

    chore(docs): add new postgres-config delete command docs (#32982)

    * chore(docs): add new postgres-config delete command docs

    * chore: docs rephrase

    * chore: rewrite

    * chore: update common-cli-sections

commit 7ad4ad6ee5
Author: Charis <26616127+charislam@users.noreply.github.com>
Date:   Fri Jan 24 21:54:37 2025 -0500

    fix: multi-select (#32777)

    Multi-select has an always-on scrollbar gutter, which is a bit strange-looking and not identifiable as a scrollbar gutter when there's nothing to scroll (I thought it was some weird border for a long time...)

    Removing it makes it look a bit better

commit d5853c7ff3
Author: hallidayo <22655069+Hallidayo@users.noreply.github.com>
Date:   Sat Jan 25 02:09:18 2025 +0000

    docs: access control operator type (#33056)

    cast to text

commit f9c2397faa
Author: Charis <26616127+charislam@users.noreply.github.com>
Date:   Fri Jan 24 20:58:59 2025 -0500

    fix: prisma docs (#33017)

    Replace hardcoded region with placeholder string

commit a36145494a
Author: Kamil Ogórek <kamil.ogorek@gmail.com>
Date:   Fri Jan 24 19:55:50 2025 +0100

    docs: Update permissions for Database scope (#33067)

commit 1c05181eaa
Author: Greg Richardson <greg.nmr@gmail.com>
Date:   Fri Jan 24 09:27:23 2025 -0700

    blog: change postgres.new links to database.build (#33076)

commit 219962e0e3
Author: Kamil Ogórek <kamil.ogorek@gmail.com>
Date:   Fri Jan 24 16:07:33 2025 +0100

    misc: Disable Sentry Tracing (#33072)

commit 89c324af84
Author: Terry Sutton <saltcod@gmail.com>
Date:   Fri Jan 24 11:25:41 2025 -0330

    fixed: infinite loading in storage explorer rows (#33051)

    * fixed: infinite loading in storage explorer rows

    * prettier

    ---------

    Co-authored-by: Dhairya Shah <hello@dhairyashah.dev>

commit 95dccf3cd9
Author: Filipe Cabaço <filipe@supabase.io>
Date:   Fri Jan 24 12:01:49 2025 +0000

    realtime: Bump up image (#33066)

commit df6e6c6f8b
Author: Pamela Chia <pamelachiamayyee@gmail.com>
Date:   Fri Jan 24 14:49:32 2025 +0800

    Feat/add www events (#33031)

    * feat: add card click events in other pages

    * feat: add location for hero, nav and banner button clicks

    * add request demo form event

    * add newline for long comment/descriptions

commit 3aec212a60
Author: Joshen Lim <joshenlimek@gmail.com>
Date:   Fri Jan 24 11:08:36 2025 +0800

    Hide RLS button for tables in protected schemas (#33038)

commit 3f6adea49c
Author: Wen Bo Xie <5532241+w3b6x9@users.noreply.github.com>
Date:   Thu Jan 23 17:50:10 2025 -0500

    fix: change functions dependencies url (#33050)

    * fix: change functions dependencies url

    * change file name to dependencies.mdx

commit d15ae65316
Author: Kevin Rocker <kjrocker@users.noreply.github.com>
Date:   Thu Jan 23 21:43:32 2025 +0100

    docs: add async/await JS example to message broadcasting (#31232)

    * docs: add async/await JS example to message broadcasting

    * Update Documentation

    * Make async example more async

    * Channel name update

    * Run formatter

    ---------

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

commit c4b6becdb9
Author: Alaister Young <alaister@users.noreply.github.com>
Date:   Fri Jan 24 02:04:37 2025 +0800

    chore: sentry capture profile creation errors (#33048)

commit 99a042ecca
Author: Ivan Vasilov <vasilov.ivan@gmail.com>
Date:   Thu Jan 23 18:06:36 2025 +0100

    chore: Set an override for @supabase/auth-js (#33043)

    Set an override for @supabase/auth-js.

commit d8b034ad69
Author: Saxon Fletcher <saxonafletcher@gmail.com>
Date:   Fri Jan 24 02:39:58 2025 +1000

    remove globe dependencies (#33033)

    * remove globe dependencies

    * Remove unused imports

    ---------

    Co-authored-by: Joshen Lim <joshenlimek@gmail.com>

commit f0a24b076f
Author: Shay Molcho <152275799+shaymolcho@users.noreply.github.com>
Date:   Thu Jan 23 18:11:51 2025 +0200

    Improved punctuation in README (#33040)

    Enhanced punctuation in the README. These changes enhance the document’s clarity and maintain a uniform structure.

commit 6477f54610
Author: Jordi Enric <37541088+jordienr@users.noreply.github.com>
Date:   Thu Jan 23 16:12:52 2025 +0100

    Add warnings to logs stacked bar chart (#33036)

commit 64b7775e2e
Author: Stojan Dimitrovski <sdimitrovski@gmail.com>
Date:   Thu Jan 23 14:26:05 2025 +0100

    feat: bump `auth-js` to RC 2.68.0 (#32999)

commit 794529eddf
Author: Joshen Lim <joshenlimek@gmail.com>
Date:   Thu Jan 23 17:06:28 2025 +0800

    Chore/add export functionality to advisors (#33030)

    * Add export functionality to security and performance advisors

    * Add download results button to query performance advisor

    * Add refresh buttons to security and performance advisors

    * Add LoadingLine to Query performance to make UI consistent with the other advisors

    * Minor change

commit 79e656f735
Author: Saxon Fletcher <saxonafletcher@gmail.com>
Date:   Thu Jan 23 17:16:58 2025 +1000

    remove globe in onboarding (#33021)

commit 154dd0d010
Author: Joshen Lim <joshenlimek@gmail.com>
Date:   Thu Jan 23 14:54:28 2025 +0800

    Fix SQL block not rendering if its the only block in the report (#33026)

    * Fix SQL block not rendering if its the only block in the report

    * Update

commit 90a939506c
Author: Joshen Lim <joshenlimek@gmail.com>
Date:   Thu Jan 23 13:25:31 2025 +0800

    Feat/reports v2/misc wrap up (#32989)

    * Add telemetry for add SQL block and dragging SQL block from assistant

    * Add UI indication for drag support block in Assistant

    * Add UI indication for SQL block support in SQL editor Chart options

    * Feat/reports v2/create report (#33022)

    * re-add chart label

    * fix undefined value

    * remove mouse over on chart

    ---------

    Co-authored-by: Saxon Fletcher <saxonafletcher@gmail.com>

commit d50fa11757
Author: Pamela Chia <pamelachiamayyee@gmail.com>
Date:   Thu Jan 23 09:20:47 2025 +0800

    feat: add homepage click events (#33005)

    * feat: add homepage click events

    * fix codeowners telemetry filepath

commit 439f0391c3
Author: Abbas Mkhzomi <amkhzomi@gmail.com>
Date:   Thu Jan 23 03:00:44 2025 +0330

    Update laravel.mdx (#32716)

commit 7463454424
Author: Sandeep Salwan <salwansandeep5@gmail.com>
Date:   Wed Jan 22 16:48:33 2025 -0500

    docs: update auth-azure.mdx (#32730)

commit 4b87612507
Author: GauntletRunner2025 <193957098+GauntletRunner2025@users.noreply.github.com>
Date:   Wed Jan 22 13:29:30 2025 -0600

    Update branching.mdx (#32949)

commit 30c390c19c
Author: Alaister Young <alaister@users.noreply.github.com>
Date:   Wed Jan 22 23:52:32 2025 +0800

    chore: unify telemetry event sending (#32861)

    * chore: unify telemetry event sending

    * organize some imports

    * remove final useTelemetryProps

    * add www telemetry actions typing and docs

    * remove gaevents

    * fix build

    * move telemetry identify into PageTelemetry

    * fix telemetry constants import

    ---------

    Co-authored-by: Pamela Chia <pamelachiamayyee@gmail.com>
    Co-authored-by: Joshen Lim <joshenlimek@gmail.com>

commit 1dc92a529d
Author: Han Qiao <sweatybridge@gmail.com>
Date:   Wed Jan 22 22:56:40 2025 +0800

    docs: update project restore docs for past 90 days backup (#32990)

    * docs: update project restore docs for past 90 days backup

    * chore: rephrase a few lines

commit feaf64e55d
Author: Long Hoang <1732217+loong@users.noreply.github.com>
Date:   Wed Jan 22 22:41:41 2025 +0800

    Fix event grouping (#32928)

    * fix: pass ref and slug for event grouping

    * fix: add missing imports

    * fix: correct types

    * remove duplicate import

    * fix: duplicates and extra events from merge

    ---------

    Co-authored-by: Pamela Chia <pamelachiamayyee@gmail.com>

commit ecd7b5f4dd
Author: Sanden Gocka <sandguitar@gmail.com>
Date:   Wed Jan 22 02:00:58 2025 -0800

    Prototype: Enhance Supabase Studio User Impersonation with External Auth Support (#32786)

    * feat: add support for impersonation with external auth

    * update typescript type

    ---------

    Co-authored-by: Alaister Young <a@alaisteryoung.com>

commit 60763ab1e7
Author: Joshen Lim <joshenlimek@gmail.com>
Date:   Wed Jan 22 16:35:52 2025 +0800

    Reports V2: support dragging blocks from assistant to custom report (#32964)

    * Support dragging blocks from assistant to custom report

    * Show toast when new snippet is created from dragging block into custom report

    * Only show drag handle for block in assistant panel if in custom reports

    * Feature flag dragging Assistant query block to custom report

    * Optimize DX for dragging block into report from assistant

    * Update import

    * Remove max width

    * Fix dragging non sql block causing client crash

    * Fix chart suffix

    * Fix tooltip value for non % values

    * Misc fixes

    * Support persisting non sql block line or bar view, and fix cancelling not resetting the block state

    * Update

    * Preserve chart config when dragging block from assistant to report

    * Fix

commit c635d46b53
Author: Joshen Lim <joshenlimek@gmail.com>
Date:   Wed Jan 22 16:22:45 2025 +0800

    Add missing users delete endpoint for local/self-host (#32945)

    * Add missing users delete endpoint for local/self-host

    * Update

commit 45f7561d30
Author: Ziinc <Ziinc@users.noreply.github.com>
Date:   Wed Jan 22 14:26:29 2025 +0800

    fix: show database charts at 1h resolution (#32962)

    * fix: drop default interval

    * fix: add datepicker override

    * chore: remove comments

commit 12645ec023
Author: Joshen Lim <joshenlimek@gmail.com>
Date:   Wed Jan 22 14:26:20 2025 +0800

    Fix SQL editor menu wrongly hiding results (#32960)

commit cedcc5315f
Author: Joshen Lim <joshenlimek@gmail.com>
Date:   Wed Jan 22 14:14:34 2025 +0800

    Swap PATCH content to PUT (#32950)

    * Swap PATCH content to PUT

    * Fix tests

    * Swap create Logs Explorer query to use upsert content

commit 6b4fd6c088
Author: Joshen Lim <joshenlimek@gmail.com>
Date:   Wed Jan 22 13:32:20 2025 +0800

    Set chart height to 1 (#32987)

commit ee9931afd3
Author: Jordi Enric <37541088+jordienr@users.noreply.github.com>
Date:   Tue Jan 21 18:01:16 2025 +0100

    service status: hide info footer if all services OK (#32966)

    hide if all services are operational

commit b5437c630e
Author: Ivan Vasilov <vasilov.ivan@gmail.com>
Date:   Tue Jan 21 17:45:06 2025 +0100

    feat: Add a banner for clock skew in studio (#32866)

    * Add a ClockSkewBanner on top of studio.

    * Fix the color of the RestrictionBanner.

    * Add an API endpoint which return the current UTC time on the server.

    * Fix the glob pattern for docs in turbo.json.

    * Force docs to build.

    * Revert unneeded changes.

    * Add feature flag for clock skew banner.

    * Add a comment.

commit 3f5e586995
Author: Joshen Lim <joshenlimek@gmail.com>
Date:   Wed Jan 22 00:28:21 2025 +0800

    Fix table editor selected row BG color (#32961)

commit d9fbf14a81
Author: Jordi Enric <37541088+jordienr@users.noreply.github.com>
Date:   Tue Jan 21 17:24:42 2025 +0100

    Fix chart click (#32834)

    fix chart click

commit 3a9e575761
Author: Jordi Enric <37541088+jordienr@users.noreply.github.com>
Date:   Tue Jan 21 17:11:39 2025 +0100

    SQL Charts fixes (#32795)

    * add better empty states

    * fix crashes and edge cases

    * rm unnecessary empty state

    * move empty state outside chartpanel

    * validate Y axis before flip to prevent crash

    * fix flip

    * disable btn instead of toast

    * fix types in canFlip

    * Update tooltip

    ---------

    Co-authored-by: Joshen Lim <joshenlimek@gmail.com>

commit 3440dc9c95
Author: Joshen Lim <joshenlimek@gmail.com>
Date:   Tue Jan 21 20:56:13 2025 +0800

    Feat/reports v2/standardize block design (#32936)

    * Standardize block designs

    * Clean up

    * Add warning threshold colors for infra-monitoring stats

    * Address all other comments

    * Swap create custom report to use PUT

commit fb569f9a13
Author: Alaister Young <alaister@users.noreply.github.com>
Date:   Tue Jan 21 20:39:41 2025 +0800

    fix: local storage test mocks (#32957)

commit 7a73817316
Author: Alaister Young <alaister@users.noreply.github.com>
Date:   Tue Jan 21 20:25:56 2025 +0800

    fix: sign users out if profile request 401s (#32955)

    * fix: sign users out if profile request 401s

    * remove console.log

commit 1f9af325c2
Author: Bobbie Soedirgo <31685197+soedirgo@users.noreply.github.com>
Date:   Tue Jan 21 15:59:50 2025 +0800

    docs: add example to order parent table by referenced table (#32920)

    * docs: add example to order parent table by referenced table

    * docs: more ordering by referenced table examples

commit 473c4a5639
Author: Alaister Young <alaister@users.noreply.github.com>
Date:   Tue Jan 21 12:51:11 2025 +0800

    chore: skip invalidation on sql only changes (#32934)

commit 29d72b6249
Author: Alaister Young <alaister@users.noreply.github.com>
Date:   Tue Jan 21 12:07:18 2025 +0800

    fix: remove duplicate archive function from pgmq_public (#32942)

    remove duplicate archive function

commit 78dee45ae4
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Mon Jan 20 21:49:07 2025 -0500

    chore(deps): bump katex from 0.16.10 to 0.16.21 (#32876)

    Bumps [katex](https://github.com/KaTeX/KaTeX) from 0.16.10 to 0.16.21.
    - [Release notes](https://github.com/KaTeX/KaTeX/releases)
    - [Changelog](https://github.com/KaTeX/KaTeX/blob/main/CHANGELOG.md)
    - [Commits](https://github.com/KaTeX/KaTeX/compare/v0.16.10...v0.16.21)

    ---
    updated-dependencies:
    - dependency-name: katex
      dependency-type: direct:production
    ...

    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

commit 52735e38bf
Author: Ivan Vasilov <vasilov.ivan@gmail.com>
Date:   Mon Jan 20 22:23:45 2025 +0100

    chore: Rename all uses of `Tooltip_Shadcn_` to just `Tooltip` (#32860)

    * Rename all uses of Tooltip_Shadcn_ to just Tooltip.

    * Fix a leftover change.

commit 616edd8b5e
Author: Ivan Vasilov <vasilov.ivan@gmail.com>
Date:   Mon Jan 20 22:04:05 2025 +0100

    chore: Fix the turbo tasks for `docs` app (#32941)

    * Separate turbo config for docs app into its own separate file. Add a task dependency for codegen tasks.

    * Fix the clean command. Remove the prebuild command cause it's already covered by turbo.

commit 5e12593262
Author: Han Qiao <sweatybridge@gmail.com>
Date:   Mon Jan 20 23:45:35 2025 +0800

    Update branching docs to mention vercel connection (#32939)

commit d1bf79838a
Author: RampantDespair <63611551+RampantDespair@users.noreply.github.com>
Date:   Mon Jan 20 09:29:03 2025 -0500

    chore: refactor docker-compose.yml unify syntax style (#32668)

    * Update docker-compose.yml

    * Moved SECRET_KEY_BASE and VAULT_ENC_KEY to .env

commit 51d4f053db
Author: Nicolas <nicolascamara29@gmail.com>
Date:   Mon Jan 20 11:11:20 2025 -0300

    fix(dashboard): Fixed broken link in the 'secure foreign table' popover (#31855)

    dashboard: fix broken link

commit d139a8f0ed
Author: Joshen Lim <joshenlimek@gmail.com>
Date:   Mon Jan 20 21:27:54 2025 +0800

    Swap CALL to SELECT for database functions in cron jobs (#32927)

commit 31da214451
Author: Andrew Valleteau <avallete@users.noreply.github.com>
Date:   Mon Jan 20 21:09:49 2025 +0900

    chore(docs): update custom db settings docs (#32853)

commit 78f7a0439a
Author: Francesco Sansalvadore <f.sansalvadore@gmail.com>
Date:   Mon Jan 20 10:34:35 2025 +0100

    Fix: mobile styling bugs (#32931)

    * fix project card height

    * fix panel notice

commit 1983f50433
Author: Bobbie Soedirgo <31685197+soedirgo@users.noreply.github.com>
Date:   Mon Jan 20 16:30:35 2025 +0800

    chore: vault -> supabase_vault (#32647)

commit 0a3df2296e
Author: Jordi Enric <37541088+jordienr@users.noreply.github.com>
Date:   Mon Jan 20 09:26:22 2025 +0100

    keep polling til all services are healthy (#32794)

    * keep polling til all services are healthy

    * fix type errs

    * use loader in coming up icon

    * consistent icons

commit 0129c94cf1
Author: Joshen Lim <joshenlimek@gmail.com>
Date:   Mon Jan 20 15:49:32 2025 +0800

    ReportsV2 P2: Support adding SQL snippets to Reports (#32851)

    * midway

    * Render, save, and save configuration of SQL blocks

    * Fix re ordering of blocks not showing save UI

    * Remove console log

    * Smol fix

    * Add queryHeight param to queryBlock

    * Reinstate telemetry for run query clicked from assistant

    * Add

    * Add resizing

    * Change compactType

    * Fix switching reports doesnt update

    * ONly show date picker if theres a chart thats using daily stats or infra monitoring

    * Fix client crash

    * Smol update

commit d9a7b43cac
Author: Joshen Lim <joshenlimek@gmail.com>
Date:   Mon Jan 20 14:33:53 2025 +0800

    Chore/fix cron job card (#32767)

    * Add copy action to cron job card command

    * Fix

    * Remove unused code

    * Refactor the cron job parsing. Expanded some of the existing tests. Added more tests.

    * The last run data can be undefined if the cron was just created. The data for caching in RQ can't be undefined so it's forced to null.

    * Test whether the edge function points to its own project. If not, parse it as a HTTP request.

    * Use toStrictEqual instead of toMatchObject for more correct tests.

    * Add min height to the codeblock, the copy button was obscured if the code was a one-liner.

    * Add snippet to all types of cron jobs. Automatically update it when the form changes.

    * Minor fixes.

    ---------

    Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>

commit 9f9b2be262
Author: Joshen Lim <joshenlimek@gmail.com>
Date:   Mon Jan 20 14:13:09 2025 +0800

    Assistant chat check keycode enter (#32898)

commit c5d664d214
Author: Alaister Young <alaister@users.noreply.github.com>
Date:   Mon Jan 20 14:03:28 2025 +0800

    fix: don't retry queries on 4xx errors (#32923)

commit 347dbcc875
Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Date:   Mon Jan 20 05:18:11 2025 +0000

    feat: update mgmt api docs (#32918)

    Co-authored-by: phamhieu <689843+phamhieu@users.noreply.github.com>
    Co-authored-by: Bobbie Soedirgo <31685197+soedirgo@users.noreply.github.com>

commit 8acc80ec38
Author: Pamela Chia <pamelachiamayyee@gmail.com>
Date:   Mon Jan 20 12:14:22 2025 +0800

    feat: pro benefit wording test (#32862)

commit 9d534c9f5a
Author: Alaister Young <alaister@users.noreply.github.com>
Date:   Mon Jan 20 11:27:38 2025 +0800

    fix: response error codes (#30581)

    * fix: response error codes

    * upgrade docs

    * remove request url modification middleware

    * move api routes for self-hosted to platform folder

    * remove some lib/common/fetch usage

    * docs: use middleware for openapi-fetch (#30600)

    Get rid of the unauthedAllowedPost function (I don't think there's any harm in letting any requests that require authentication to just 403, they should be disabled at the React Query level and if not they will fail gracefully enough...)

    * fix local count query

    * add default values for clone mutation

    * fix ts and codegen

    * add missing lodash dep to playwright tests

    * Fix the playwright tests to match the new folder structure for selfhosted variant.

    * remove unused import

    * Remove unused state

    * remove unused sql debug mutation

    * remove unused export

    * fix notifications query

    * fix jwt updating status

    * fix typescript

    * save sql snippet after renaming

    * update codegen & fix ts error

    * override array querySerializer

    ---------

    Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
    Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
    Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>

commit bd0e979f8c
Author: Charis <26616127+charislam@users.noreply.github.com>
Date:   Sat Jan 18 11:31:40 2025 -0500

    fix: search index upload (#32904)

    Search index pipeline shouldn't be trying to read troubleshooting section yet (those are still searched via GH discussions). Trying to read it errors as they don't have the same frontmatter shape as other guides content.

commit 2b9d796a2b
Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Date:   Sat Jan 18 01:54:43 2025 +0000

    [bot] sync troubleshooting guides to db (#32895)

    Co-authored-by: github-docs-sync-bot <github-docs-sync-bot@supabase.com>

commit 25e376a8b1
Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Date:   Sat Jan 18 01:53:33 2025 +0000

    [bot] fix lint errors (#32894)

    Co-authored-by: github-docs-bot <github-docs-bot@supabase.com>

commit d1281dad91
Author: Charis <26616127+charislam@users.noreply.github.com>
Date:   Fri Jan 17 20:47:48 2025 -0500

    migrate(docs): troubleshooting 16 (#30953)

    * migrate(docs): troubleshooting 16

    db performance, configuration

    * Update how-long-does-it-take-to-restore-a-database-from-a-point-in-time-backup-pitr-qO8gOG.mdx

    Added keywords for PITR restore article

    * Apply suggestions from code review

    ---------

    Co-authored-by: Kevin Brolly <kevin.brolly@supabase.io>

commit 9742de2ab2
Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Date:   Sat Jan 18 01:45:26 2025 +0000

    [bot] fix lint errors (#32892)

    Co-authored-by: github-docs-bot <github-docs-bot@supabase.com>

commit c2ece15f22
Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Date:   Sat Jan 18 01:36:49 2025 +0000

    [bot] sync troubleshooting guides to db (#32893)

    Co-authored-by: github-docs-sync-bot <github-docs-sync-bot@supabase.com>

commit 7837deee41
Author: Charis <26616127+charislam@users.noreply.github.com>
Date:   Fri Jan 17 20:30:04 2025 -0500

    migrate(docs): troubleshooting 12 (#30942)

    * migrate(docs): troubleshooting 12

    database connections

    * Update database-error-remaining-connection-slots-are-reserved-for-non-replication-superuser-connections-3V3nIb.mdx

    * Update how-do-i-update-connection-pool-settings-in-my-dashboard-wAxTJ_.mdx

    Added missing content

    * Apply suggestions from code review

    ---------

    Co-authored-by: Kevin Brolly <kevin.brolly@supabase.io>

commit a9ed0b4a66
Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Date:   Sat Jan 18 01:12:34 2025 +0000

    [bot] fix lint errors (#32890)

    Co-authored-by: github-docs-bot <github-docs-bot@supabase.com>

commit 6687baa3e8
Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Date:   Sat Jan 18 01:04:38 2025 +0000

    [bot] sync troubleshooting guides to db (#32891)

    Co-authored-by: github-docs-sync-bot <github-docs-sync-bot@supabase.com>

commit c8b9615b34
Author: Charis <26616127+charislam@users.noreply.github.com>
Date:   Fri Jan 17 19:58:07 2025 -0500

    migrate(docs): troubleshooting 13 (#30941)

    * migrate(docs): troubleshooting 13

    dashboard

    * Update apps/docs/content/troubleshooting/dashboard-errors-when-managing-users-N1ls4A.mdx

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

    * Apply suggestions from code review

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

    * Apply suggestions from code review

    ---------

    Co-authored-by: Kevin Brolly <kevin.brolly@supabase.io>

commit d60410be39
Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Date:   Sat Jan 18 00:51:37 2025 +0000

    [bot] fix lint errors (#32888)

    Co-authored-by: github-docs-bot <github-docs-bot@supabase.com>

commit bc67f46cf4
Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Date:   Sat Jan 18 00:42:54 2025 +0000

    [bot] sync troubleshooting guides to db (#32889)

    Co-authored-by: github-docs-sync-bot <github-docs-sync-bot@supabase.com>

commit f2c354ef62
Author: Charis <26616127+charislam@users.noreply.github.com>
Date:   Fri Jan 17 19:36:45 2025 -0500

    migrate(docs): troubleshooting 5 (#30943)

    * migrate(docs): troubleshooting 5

    logs, error messages

    * Delete apps/docs/content/troubleshooting/advanced-filtering-in-the-log-explorer-IJsGQq.mdx | redundant

    * Apply suggestions from code review

    * format

    ---------

    Co-authored-by: TheOtherBrian1 <91111415+TheOtherBrian1@users.noreply.github.com>

commit 3fc9dc8dd4
Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Date:   Sat Jan 18 00:06:02 2025 +0000

    [bot] sync troubleshooting guides to db (#32887)

    Co-authored-by: github-docs-sync-bot <github-docs-sync-bot@supabase.com>

commit 929c3c7b4c
Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Date:   Fri Jan 17 19:00:11 2025 -0500

    [bot] fix lint errors (#32885)

    * [bot] fix lint errors

    * Apply suggestions from code review

    ---------

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

commit b90467581e
Author: Charis <26616127+charislam@users.noreply.github.com>
Date:   Fri Jan 17 18:48:14 2025 -0500

    migrate(docs): troubleshooting 14 (#30944)

    * migrate(docs): troubleshooting 14

    rls, supavisor, connections

    * Update do-i-need-to-expose-security-definer-functions-in-row-level-security-policies-iI0uOw.mdx

    * Update rls-simplified-BJTcS8.mdx

    * Apply suggestions from code review

    * format

    ---------

    Co-authored-by: TheOtherBrian1 <91111415+TheOtherBrian1@users.noreply.github.com>

commit 3723f7cd84
Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Date:   Fri Jan 17 23:31:02 2025 +0000

    [bot] fix lint errors (#32883)

    Co-authored-by: github-docs-bot <github-docs-bot@supabase.com>

commit 04ff5fe1eb
Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Date:   Fri Jan 17 23:24:29 2025 +0000

    [bot] sync troubleshooting guides to db (#32884)

    Co-authored-by: github-docs-sync-bot <github-docs-sync-bot@supabase.com>

commit 5ff657a349
Author: Charis <26616127+charislam@users.noreply.github.com>
Date:   Fri Jan 17 18:17:25 2025 -0500

    migrate(docs): troubleshooting 19 (#30945)

    * migrate(docs): troubleshooting 19

    grafana, metrics

    * Update grafana-not-displaying-data-sXJrMj.mdx

    * Update grafana-not-displaying-data-sXJrMj.mdx

    * Update how-to-view-database-metrics-uqf2z_.mdx

    * Update interpreting-supabase-grafana-io-charts-MUynDR.mdx

    * added keywords

    * Apply suggestions from code review

    ---------

    Co-authored-by: TheOtherBrian1 <91111415+TheOtherBrian1@users.noreply.github.com>

commit 7f4cf359f3
Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Date:   Fri Jan 17 22:58:25 2025 +0000

    [bot] sync troubleshooting guides to db (#32881)

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

commit 3d45ae3ce9
Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Date:   Fri Jan 17 22:29:31 2025 +0000

    [bot] sync troubleshooting guides to db (#32882)

    Co-authored-by: github-docs-sync-bot <github-docs-sync-bot@supabase.com>

commit a950511e04
Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Date:   Fri Jan 17 22:23:15 2025 +0000

    [bot] fix lint errors (#32880)

    Co-authored-by: github-docs-bot <github-docs-bot@supabase.com>

commit b79f05df90
Author: Charis <26616127+charislam@users.noreply.github.com>
Date:   Fri Jan 17 17:17:10 2025 -0500

    migrate(docs): troubleshooting 23 (#30946)

    * migrate(docs): troubleshooting 23

    postgres performance

    * Update how-postgres-chooses-which-index-to-use-_JHrf4.mdx

    * Update memory-and-swap-usage-explained-aPNgm0.mdx

    ---------

    Co-authored-by: TheOtherBrian1 <91111415+TheOtherBrian1@users.noreply.github.com>

commit b25ae29d1b
Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Date:   Fri Jan 17 22:13:20 2025 +0000

    [bot] fix lint errors (#32878)

    Co-authored-by: github-docs-bot <github-docs-bot@supabase.com>

commit 2e77d09960
Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Date:   Fri Jan 17 22:07:11 2025 +0000

    [bot] sync troubleshooting guides to db (#32879)

    Co-authored-by: github-docs-sync-bot <github-docs-sync-bot@supabase.com>

commit 6312618932
Author: Charis <26616127+charislam@users.noreply.github.com>
Date:   Fri Jan 17 16:49:23 2025 -0500

    migrate(docs): troubleshooting 7 (#30936)

    auth

commit a42e17d0a9
Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Date:   Fri Jan 17 21:43:43 2025 +0000

    [bot] sync troubleshooting guides to db (#32874)

    Co-authored-by: github-docs-sync-bot <github-docs-sync-bot@supabase.com>

commit 0e60b508f6
Author: Charis <26616127+charislam@users.noreply.github.com>
Date:   Fri Jan 17 15:52:45 2025 -0500

    migrate(docs): troubleshooting 6 (#30935)

    * migrate(docs): troubleshooting 6

    auth

    * Apply suggestions from code review

commit 53a8a94a72
Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Date:   Fri Jan 17 20:26:53 2025 +0000

    [bot] fix lint errors (#32872)

    Co-authored-by: github-docs-bot <github-docs-bot@supabase.com>

commit 8a96b53c64
Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Date:   Fri Jan 17 20:20:14 2025 +0000

    [bot] sync troubleshooting guides to db (#32873)

    Co-authored-by: github-docs-sync-bot <github-docs-sync-bot@supabase.com>

commit 8deced7dab
Author: Charis <26616127+charislam@users.noreply.github.com>
Date:   Fri Jan 17 15:00:40 2025 -0500

    migrate(docs): troubleshooting 9 (#30937)

    * migrate(docs): troubleshooting 9

    timeouts, latency

    * light updates

    * Update NavigationMenu.constants.ts

    * Update canceling-statement-due-to-statement-timeout-581wFv.mdx

    Added keyword

    * Apply suggestions from code review

    ---------

    Co-authored-by: Brian Brennglass <brian@Brians-MacBook-Pro.local>
    Co-authored-by: TheOtherBrian1 <91111415+TheOtherBrian1@users.noreply.github.com>
    Co-authored-by: Kevin Brolly <kevin.brolly@supabase.io>

commit f705b7da60
Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Date:   Fri Jan 17 19:15:30 2025 +0000

    [bot] sync troubleshooting guides to db (#32871)

    Co-authored-by: github-docs-sync-bot <github-docs-sync-bot@supabase.com>

commit 7b1c4e09ae
Author: Charis <26616127+charislam@users.noreply.github.com>
Date:   Fri Jan 17 14:08:53 2025 -0500

    migrate(docs): troubleshooting 10 (#30938)

    * migrate(docs): troubleshooting 10

    misc database

    * Apply suggestions from code review

commit f2ae79e887
Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Date:   Fri Jan 17 19:02:14 2025 +0000

    [bot] fix lint errors (#32869)

    Co-authored-by: github-docs-bot <github-docs-bot@supabase.com>

commit 4bd7e9e64f
Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Date:   Fri Jan 17 18:56:49 2025 +0000

    [bot] sync troubleshooting guides to db (#32870)

    Co-authored-by: github-docs-sync-bot <github-docs-sync-bot@supabase.com>

commit 25306236ea
Author: Charis <26616127+charislam@users.noreply.github.com>
Date:   Fri Jan 17 13:49:47 2025 -0500

    migrate(docs): troubleshooting 8 (#30939)

    * migrate(docs): troubleshooting 8

    auth

    * Apply suggestions from code review

commit befb7a9b3c
Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Date:   Fri Jan 17 18:29:47 2025 +0000

    [bot] sync troubleshooting guides to db (#32867)

    Co-authored-by: github-docs-sync-bot <github-docs-sync-bot@supabase.com>

commit ecd181bcd9
Author: Francesco Sansalvadore <f.sansalvadore@gmail.com>
Date:   Fri Jan 17 19:07:35 2025 +0100

    studio mobile v2 (#32630)

    * improve some studio mobile layouts

    * improve some studio mobile layouts

    * improve settings

    * assistant mobile

    * assistant mobile

    * assistant mobile

    * responsive formlayout and new project layout

    * improve dashboard pages headers

    * improve dashboard auth pages

    * mobile org settings

    * mobile billing fixes

    * adjust paused project container height

    * remove comments

    * triggers

    * leftovers

    * ai assistant

    * fix errors

    * remove 16px input size

    * fix test

    * merge access tokens settings page conflicsts

    * smol integrations here and there

commit 68f0efcdad
Author: Charis <26616127+charislam@users.noreply.github.com>
Date:   Fri Jan 17 12:57:47 2025 -0500

    migrate(docs): troubleshooting 11 (#30940)

    * migrate(docs): troubleshooting 11

    account and org management

    * Update check-usage-for-monthly-active-users-mau-MwZaBs.mdx

    Added Keywords

    * Update converted-github-account-to-organisation---lost-supabase-account-access-5wsE_1.mdx

    Changed spelling of organization

    ---------

    Co-authored-by: Kevin Brolly <kevin.brolly@supabase.io>

commit f2c7e35c23
Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Date:   Fri Jan 17 12:55:40 2025 -0500

    [bot] fix lint errors (#32846)

    * [bot] fix lint errors

    * add capitalization exceptions

    * Apply suggestions from code review

    ---------

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

commit 84311e7d09
Author: Ivan Vasilov <vasilov.ivan@gmail.com>
Date:   Fri Jan 17 11:08:14 2025 +0100

    chore: Fix the env vars for turbo (#31104)

    * Check all env vars for studio and list them properly in turbo.json.

    * Check all env vars for design-system.

    * Fix all env vars for www.

    * Fix all env vars for docs.

    * Add the rest of the env vars from the packages folder.

    * Revert the changes in the sign-in pages.

    * Remove useless files. Fix a comment.

    * Fix the links in extensions page to always point to supabase.com/docs.

    * Change the feature flag rewrite in studio to point to supabase.com/.flags endpoint.

    * Replace NEXT_PUBLIC_VERCEL_URL with NEXT_PUBLIC_VERCEL_BRANCH_URL because it's more stable on vercel.com. Remove it from apps where it's not needed.

    * Add env vars from packages. Move all passthrough env vars to env vars since they're stable (don't change between pushes).

    * Revert changes of studio files.

    * Minor fixes for the merge commit.

    * Replace all uses of SITE_URL with LW_URL (they're the same). SITE_ORIGIN is not constructed from env vars. LW_URL is constructed from SITE_ORIGIN and launch_week string.

    * Use SITE_ORIGIN when fetching the ticket-og.

commit 8aa5523fcc
Author: Ivan Vasilov <vasilov.ivan@gmail.com>
Date:   Fri Jan 17 10:54:02 2025 +0100

    chore: Migrate tooltips in studio to use shadcn tooltips (#32679)

    * Remove radix-popover and radix-tooltip as deps from studio.

    * Migrate all uses of tooltip to shadcn tooltips.

    * Add tooltip portal to all shadcn tooltips.

    * Fix a warning about MenuItem not accepting refs in StorageMenu.

    * Remove unneeded styling for the tooltips.

    * Set a default delay duration for all tooltips in Studio.

    * Fix a type error.

    * Check and fix all tooltips.

commit 67cbbaacf2
Author: Ivan Vasilov <vasilov.ivan@gmail.com>
Date:   Fri Jan 17 10:52:46 2025 +0100

    fix: Unify the design for account pages (#30891)

    Refactor all account pages to use ScaffoldContainer and have the same design.

commit ca8ad52188
Author: Saxon Fletcher <saxonafletcher@gmail.com>
Date:   Fri Jan 17 19:50:16 2025 +1000

    AI Assistant Performance (#32792)

commit 4278bd4ec1
Author: Kang Ming <kang.ming1996@gmail.com>
Date:   Thu Jan 16 22:54:21 2025 -0800

    fix: bump auth-js version to v2.67.3 (#31217)

    * fix: bump auth-js version to v2.67.3

    * chore: add supabase/auth and supabase/dashboard as codeowners

    * Revert "chore: add supabase/auth and supabase/dashboard as codeowners"

    This reverts commit 57fc5776ba.

    * bump supabase-js version

    * import user type from single gotrue

    * fix auth-js version in studio

    * remove auth-js dep in studio

    * fix ts

    * use catalog versions

    * fix ts

    * Bump realtime-js version to avoid having 2 versions.

    * Add @supabase/realtime-js to the pnpm catalog.

    * upgrade realtime-js

    ---------

    Co-authored-by: Alaister Young <a@alaisteryoung.com>
    Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>

commit 7ce0038156
Author: Andrew Valleteau <avallete@users.noreply.github.com>
Date:   Fri Jan 17 15:33:15 2025 +0900

    chore(docs): add dotenvx example (#31213)

    * wip

    * wip

    * wip

    * remove seeds

    * wip

    * add branching memento

    * remove triple dots

    * proofread

    * chore: mention direct secret usage

    * chore: update README.md

    * chore: update docs

    * fix: .env.local to .env.developemnt

    * chore: fix typo

    * chore: fix commands

    * chore: update README.md

    * chore: apply PR comments

    * chore: rename .env.local to .env

    * chore: simplify dotenvx setup (#32824)

    * chore: bump cli

    * chore: disable unused seed

    ---------

    Co-authored-by: Han Qiao <sweatybridge@gmail.com>
    Co-authored-by: Qiao Han <qiao@supabase.io>

commit 30a86fe0e8
Author: Han Qiao <sweatybridge@gmail.com>
Date:   Fri Jan 17 13:37:56 2025 +0800

    docs: clarify the implications of branches auto pausing (#32854)

    * Remote notice about pausing branches after inactivity

    * Update branching.mdx

    * Update branching.mdx

    * Update branching.mdx

    * Update branching.mdx

commit 8c3fd055fa
Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Date:   Fri Jan 17 00:28:57 2025 +0000

    [bot] sync troubleshooting guides to db (#32847)

    Co-authored-by: github-docs-sync-bot <github-docs-sync-bot@supabase.com>

commit a0e144b1a2
Author: Charis <26616127+charislam@users.noreply.github.com>
Date:   Thu Jan 16 19:19:11 2025 -0500

    migrate(docs): troubleshooting 25 (#30948)

    supavisor, db clients

commit 05dfc56211
Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Date:   Thu Jan 16 19:17:17 2025 -0500

    [bot] sync troubleshooting guides to db (#32845)

    Co-authored-by: github-docs-sync-bot <github-docs-sync-bot@supabase.com>

commit 42efba186b
Author: Charis <26616127+charislam@users.noreply.github.com>
Date:   Thu Jan 16 19:10:00 2025 -0500

    migrate(docs): troubleshooting 24 (#30947)

    * migrate(docs): troubleshooting 24

    nextjs, edge functions

    * Apply suggestions from code review

commit d633ced97d
Author: Saxon Fletcher <saxonafletcher@gmail.com>
Date:   Fri Jan 17 09:59:21 2025 +1000

    Feat/new project creation experiment (#31237)

    * some early ideas

    * better approach

    * fix globe stuff

    * add initial step

    * reset and submit button for chat

    * cleanup

    * remove www

    * more clean up

    * mobile and more cleanup

    * fixes

    * update advanced and security

    * fix project checks

    * connect form

    * fix reset and tidied up other things

    * add layout options

    * a/b test

    * add offset

    * add ab test

    * remove www packages

    * remove www

    * package

    * update coordinates

    * feat: create ProjectCreationInitialStepSubmittedEvent

    * feat: add event for capturing intention of prompting

    * fix: bring pnpm-lock up to date

    * fix ts errors

    * fix globe

    * fix globe animation

    * fix ts

    * remove imports and tools

    * update module resolution

    * global redirect

    * delay rendering

    * Update apps/studio/pages/new/[slug].tsx

    Co-authored-by: Alaister Young <alaister@users.noreply.github.com>

    * take directly to v2 via project create dropdown

    * move redirect to useEffect

    * feat: distinguish events between initial and second step

    * feat: emit an event when create project is clicked on new/v2

    * fix: correct event type defs

    * remove unused imports

    * Various clean ups

    * improvements

    * Minor refactors

    * clean up

    * ts fixes

    ---------

    Co-authored-by: Long Hoang <1732217+loong@users.noreply.github.com>
    Co-authored-by: Alaister Young <alaister@users.noreply.github.com>
    Co-authored-by: Joshen Lim <joshenlimek@gmail.com>

commit a0e3ab86b0
Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Date:   Thu Jan 16 18:55:26 2025 -0500

    [bot] fix lint errors (#32843)

    * [bot] fix lint errors

    * add exception

    * Apply suggestions from code review

    ---------

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

commit 7587d5048e
Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Date:   Thu Jan 16 18:20:49 2025 -0500

    [bot] fix lint errors (#32784)

    Co-authored-by: github-docs-bot <github-docs-bot@supabase.com>

commit 840805672e
Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Date:   Thu Jan 16 18:11:52 2025 -0500

    [bot] sync troubleshooting guides to db (#32785)

    Co-authored-by: github-docs-sync-bot <github-docs-sync-bot@supabase.com>

commit 31e21d5518
Author: Charis <26616127+charislam@users.noreply.github.com>
Date:   Thu Jan 16 14:00:17 2025 -0500

    fix: troubleshooting sync script (#32806)

    Fix some issues with the script:

    - GraphQL query strings were built from template literals without escaping, leading to errors when sending to GitHub API, now added escaping
    - Lack of visibility when GitHub API errors because the actual errors array is buried below the expanded portion of the object output, now drilling down to the usable portion of the returned error
    - When the sync bot auto-adds the database ID, it also reformats the TOML frontmatter, which leads to a spurious "content changed" update when the checksums don't match in the next check run. Resolve this by normalizing the frontmatter before calculating the checksum.

commit bf49d8ab7d
Author: Ivan Vasilov <vasilov.ivan@gmail.com>
Date:   Thu Jan 16 18:54:06 2025 +0100

    chore: Fix the local studio tests (#32836)

    * Set a fixed version of ubuntu for running the local studio tests.

    * Fix a possible yaml issue.

    * Revert to ubuntu-latest. Try bumping the playwright package.

    * Add init script to force the navigation menu to not expand.

    * Another try.

    * Extend the timeout.

    * Another try.

    * Try.

    * T.

    * T.

    * Revert some of the unneeded changes.

commit 16f950d615
Author: Han Qiao <sweatybridge@gmail.com>
Date:   Fri Jan 17 00:27:26 2025 +0800

    Update import-maps.mdx to document deno.json (#32830)

    * Update import-maps.mdx to document deno.json

    * Update import-maps.mdx

    * Update import-maps.mdx

    * Update import-maps.mdx

    * Run prettier

commit 80f4c61f2d
Author: Etienne Stalmans <staaldraad@users.noreply.github.com>
Date:   Thu Jan 16 12:28:33 2025 +0100

    fix: additional ingest hosts for sentry (#32825)

    Sentry has US and Europe ingest hosts (us, de). Allow these in CSP

commit 9ed9938fe0
Author: Joshen Lim <joshenlimek@gmail.com>
Date:   Thu Jan 16 18:26:46 2025 +0800

    Add log out route (#32820)

commit cfb18eb272
Author: Stojan Dimitrovski <sdimitrovski@gmail.com>
Date:   Thu Jan 16 10:53:02 2025 +0100

    docs: add minimal jwt example with custom access token hook (#32770)

commit 77b76e399a
Author: Kevin Grüneberg <k.grueneberg1994@gmail.com>
Date:   Thu Jan 16 14:32:18 2025 +0800

    chore: remove react fiber (#32821)

    Unused, Alaister just added it after I removed it because his subconscious likes to see me suffer

commit 6b7f3c84a5
Author: Kevin Grüneberg <k.grueneberg1994@gmail.com>
Date:   Thu Jan 16 14:15:40 2025 +0800

    chore: bump stripe deps (#32819)

    Tested locally

commit c5fd032a78
Author: Han Qiao <sweatybridge@gmail.com>
Date:   Thu Jan 16 13:12:23 2025 +0800

    chore: clarify supported file paths for static files (#32818)

commit e63a082dda
Author: Lakshan Perera <lakshan@supabase.io>
Date:   Thu Jan 16 09:55:31 2025 +1100

    chore(docs): Added a guide on using wasm modules in Edge Functions (#32811)

    * chore(docs): Added a guide on using wasm modules in Edge Functions

    * update example

    * WASM -> Wasm

    * fix page title

commit cdb95a6036
Author: Lakshan Perera <lakshan@supabase.io>
Date:   Thu Jan 16 06:37:21 2025 +1100

    chore: add an example for using wasm modules in Edge Functions (#32810)

    Co-authored-by: Rodrigo Mansueli <rodrigo@mansueli.com>

commit 9349d22360
Author: Lakshan Perera <lakshan@supabase.io>
Date:   Thu Jan 16 06:30:32 2025 +1100

    chore(docs): Added static_files to CLI config (#32801)

commit f233c78794
Author: Rodrigo Mansueli <rodrigo@mansueli.com>
Date:   Wed Jan 15 16:28:41 2025 -0300

    Chore: update also last example on the page (#32809)

commit 3e94bc483c
Author: Rodrigo Mansueli <rodrigo@mansueli.com>
Date:   Wed Jan 15 15:20:43 2025 -0300

    Chore: update edge function example (#32808)

    Update auth.mdx

commit 592af2ffa2
Author: Francesco Sansalvadore <f.sansalvadore@gmail.com>
Date:   Wed Jan 15 18:03:22 2025 +0100

    feat: careers jobsCount in nav (#32771)

    * add jobsCount to careers nav

    * badge styling

    * mobile career counter

    * refactor static content generation

    * refactor

    * fix gh number formatting

    * remove comment

    * remove component

    * fix fresh local dev & update spacing

commit 8a648073de
Author: Ivan Vasilov <vasilov.ivan@gmail.com>
Date:   Wed Jan 15 17:16:32 2025 +0100

    chore: Remove unused published_at field from older blog posts (#32802)

    Remove unused published_at field from older blog posts.

commit 8e06301d36
Author: Stojan Dimitrovski <sdimitrovski@gmail.com>
Date:   Wed Jan 15 14:43:18 2025 +0100

    docs: remove private alpha docs from firebase tpa (#32797)

commit 462c3c8cfc
Author: Jordi Enric <37541088+jordienr@users.noreply.github.com>
Date:   Wed Jan 15 11:42:06 2025 +0100

    status check (#30204)

commit 265b4cddd7
Author: Jordi Enric <37541088+jordienr@users.noreply.github.com>
Date:   Wed Jan 15 10:22:57 2025 +0100

    SQL Chart fixes (#32769)

    * add labels

    * fix labels, hope to fix Y axis issue

    * Tiny fix

    * Make ChartConfig y scrollable

    * Only show flip CTA if values are all numerical

    * revert hiding flip button

    ---------

    Co-authored-by: Joshen Lim <joshenlimek@gmail.com>

commit a2aa5bc83d
Author: Jordi Enric <37541088+jordienr@users.noreply.github.com>
Date:   Wed Jan 15 10:22:13 2025 +0100

    feature: Adds logs chart with stacked charts with total errors (#32742)

    * add logschart with stacked bars

    * use ui charts pkg

    * fix contrast

    * move to ui-patterns

    * undo areachart

    * add recharts peerDep

    * update pckgjson and lock w recharts

    * feat: enable client-side rendering for LogsBarChart component

    * fix registry

commit c7ebd91740
Author: Alaister Young <alaister@users.noreply.github.com>
Date:   Wed Jan 15 16:42:50 2025 +0800

    Revert "Temp disable count query" (#32788)

    * Revert "Temp disable count query (#31256)"

    This reverts commit 05e06673b4.

    * update to use new api

    * only include params if they're not undefined

commit 0710d62665
Author: Joshen Lim <joshenlimek@gmail.com>
Date:   Wed Jan 15 13:08:26 2025 +0800

    ReportsV2 P1: Add Query block component (#32738)

    * Create QueryBlock component which will be a shared component used in AI Assistant and Reports

    * Deprecate AIAssistantPanel/SqlSnippet.ts

    * Fix user messages not getting persisted, only assistant messages

    * Add loading state to for query results in QueryBlock + hide block view configuration if query block is not chart

    * Address feedback

    * Fix TS

    * fix double border

    ---------

    Co-authored-by: Saxon Fletcher <saxonafletcher@gmail.com>

commit e420a48826
Author: Joshen Lim <joshenlimek@gmail.com>
Date:   Wed Jan 15 12:21:13 2025 +0800

    Check for profile in projects, organizations and permissions query (#32759)

    * Check for profile in projects, organizations and permissions query

    * Remove unused telemetry function

commit 15dfe1df8c
Author: Joshen Lim <joshenlimek@gmail.com>
Date:   Wed Jan 15 11:56:58 2025 +0800

    Fix vault missing exts alert (#32768)

    * Fix vault missing exts alert

    * Add minimum version prop

commit 935c33621d
Author: Charis <26616127+charislam@users.noreply.github.com>
Date:   Tue Jan 14 20:46:17 2025 -0500

    migrate(docs): troubleshooting 27 (#30949)

    * migrate(docs): troubleshooting 27

    misc database

    * Apply suggestions from code review

commit 7924b32137
Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Date:   Wed Jan 15 00:04:06 2025 +0000

    [bot] sync troubleshooting guides to db (#32781)

    Co-authored-by: github-docs-sync-bot <github-docs-sync-bot@supabase.com>

commit 65815efb64
Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Date:   Wed Jan 15 00:01:38 2025 +0000

    [bot] fix lint errors (#32780)

    Co-authored-by: github-docs-bot <github-docs-bot@supabase.com>

commit 000cabd1dd
Author: Charis <26616127+charislam@users.noreply.github.com>
Date:   Tue Jan 14 18:55:02 2025 -0500

    migrate(docs): troubleshooting 29 (#30950)

    * migrate(docs): troubleshooting 29

    misc database

    * Apply suggestions from code review

    * Update apps/docs/content/troubleshooting/resolving-database-hostname-and-managing-your-ip-address-pVlwE0.mdx

commit b21094cac0
Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Date:   Tue Jan 14 23:49:18 2025 +0000

    [bot] sync troubleshooting guides to db (#32779)

    Co-authored-by: github-docs-sync-bot <github-docs-sync-bot@supabase.com>

commit f4818474ec
Author: Charis <26616127+charislam@users.noreply.github.com>
Date:   Tue Jan 14 18:42:31 2025 -0500

    migrate(docs): troubleshooting 31 (#30952)

    * migrate(docs): troubleshooting 31

    auth, service role

    * Apply suggestions from code review

commit 699f708b0c
Author: Charis <26616127+charislam@users.noreply.github.com>
Date:   Tue Jan 14 18:38:21 2025 -0500

    fix: make examples available for isr (#32610)

    The examples folder needs to be explicitly included in the Vercel Serverless bundle. Because it's at the root of the monorepo rather than being within the `app/docs` folder, we copy it over pre-build (and pre-dev).

    Test the examples/prompts fix by re-enabling revalidations on graphql pages. Added a temp version of the fetch function so we can gradually reenable and monitor Vercel error rates over time.

commit a5daf7cee4
Author: Charis <26616127+charislam@users.noreply.github.com>
Date:   Tue Jan 14 18:21:17 2025 -0500

    fix: troubleshooting sync workflow (#32778)

    Workflow was missed when updating to pnpm

commit af42c0eec4
Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Date:   Tue Jan 14 22:42:37 2025 +0000

    [bot] fix lint errors (#32776)

    * [bot] fix lint errors

    * Update apps/docs/content/troubleshooting/are-all-features-available-in-self-hosted-supabase-THPcqw.mdx

    ---------

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

commit 5690a61bfd
Author: Charis <26616127+charislam@users.noreply.github.com>
Date:   Tue Jan 14 17:13:35 2025 -0500

    migrate(docs): troubleshooting 4 (#30954)

    * migrate(docs): troubleshooting 4

    self-hosting, local dev

    * Delete apps/docs/content/troubleshooting/local-development-workflow-is-painfully-slow-eIaTBw.mdx

    Shouldnt be included

    * Update apps/docs/content/troubleshooting/are-all-features-available-in-self-hosted-supabase-THPcqw.mdx

    ---------

    Co-authored-by: Kevin Brolly <kevin.brolly@supabase.io>

commit a143d89050
Author: Joshen Lim <joshenlimek@gmail.com>
Date:   Tue Jan 14 23:21:11 2025 +0800

    Add set null cta in ForeignRowSelector (#32762)

    * Add set null cta in ForeignRowSelector

    * Update UI for foreign key input field in RowEditor

commit 44d3204b2f
Author: Terry Sutton <saltcod@gmail.com>
Date:   Tue Jan 14 11:21:35 2025 -0330

    Chore/fix set to now (#32749)

    * Reuse set to now logic

    * Ensure set to now cta is visible if column is not nullable

    * Minor refactor

    ---------

    Co-authored-by: Joshen Lim <joshenlimek@gmail.com>

commit 692244cc10
Author: Jordi Enric <37541088+jordienr@users.noreply.github.com>
Date:   Tue Jan 14 15:45:04 2025 +0100

    rm monitoring tunnel (#32763)

    * rm monitoring tunnel

    * undo formatting

    * format w prettier i guess

    * rm route

    * Add CSP rule for sentry events.

    ---------

    Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>

commit 53eaab0f71
Author: Joshen Lim <joshenlimek@gmail.com>
Date:   Tue Jan 14 22:09:03 2025 +0800

    Show all cron jobs even those with no names (#32765)

commit 614beac5d9
Author: Copple <10214025+kiwicopple@users.noreply.github.com>
Date:   Tue Jan 14 21:21:49 2025 +1300

    chore: update self-hosted image versions (#31184)

    * chore: update image versions for docker/docker-compose.yml

    * chore: update image versions for docker/docker-compose.yml

    * chore: update image versions for docker/docker-compose.yml

commit 8d1027f58b
Author: Copple <10214025+kiwicopple@users.noreply.github.com>
Date:   Tue Jan 14 21:20:26 2025 +1300

    chore: update cli reference doc (#32758)

commit 34424881a1
Author: Oliver Rice <github@oliverrice.com>
Date:   Mon Jan 13 20:59:24 2025 -0600

    Revert "Temporarily disable enabling of queues exposure via postgrest" (#32753)

    * Revert "Temporarily disable enabling of queues exposure via postgrest (#32699)"

    This reverts commit 506fcf5da2.

    * bugfix: sequence permissions for pgmq_public

    * Update apps/studio/data/database-queues/database-queues-toggle-postgrest-mutation.ts

    * enable service role

    * Smol fix

    ---------

    Co-authored-by: Wen Bo Xie <5532241+w3b6x9@users.noreply.github.com>
    Co-authored-by: Joshen Lim <joshenlimek@gmail.com>

commit d93c09b03a
Author: Thor 雷神 Schaeff <5748289+thorwebdev@users.noreply.github.com>
Date:   Tue Jan 14 10:50:06 2025 +0800

    Thor/fix hono example (#32736)

    * fix: hono example.

    * fix: hono quickstart.

    * chore: update numbered list.

commit c388cbe9d2
Author: Joshen Lim <joshenlimek@gmail.com>
Date:   Tue Jan 14 10:32:22 2025 +0800

    Add disk autoscale configuration parameters in compute and disk settings (#32628)

    * Add disk autoscale configuration parameters in compute and disk settings

    * TS fix

    * Fix

    * Fixes based on comments

    * Address all feedbacks

    * Small tweak

    ---------

    Co-authored-by: Alaister Young <a@alaisteryoung.com>

commit 7a0871b9ce
Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Date:   Mon Jan 13 19:10:31 2025 +0000

    feat: update mgmt api docs (#32732)

    Co-authored-by: phamhieu <689843+phamhieu@users.noreply.github.com>

commit 1b3a1befa3
Author: Joshen Lim <joshenlimek@gmail.com>
Date:   Mon Jan 13 23:48:08 2025 +0800

    Use whitespace-pre in TextConfirmModal (#32748)

commit 559236dbd0
Author: Joshen Lim <joshenlimek@gmail.com>
Date:   Mon Jan 13 23:29:28 2025 +0800

    Chore/query performance fixes and improvements (#32747)

    * Show tab max value in seconds if > 1000ms

    * Fix incorrect sort option in initial state with no URL state

    * Fix trim of undefined in Query Performance when retrieving index

commit ef2ba4a1fc
Author: Joshen Lim <joshenlimek@gmail.com>
Date:   Mon Jan 13 23:19:10 2025 +0800

    Add null placeholder to RowEditor foreign key input field (#32744)

commit 6e0b0237f5
Author: Ivan Vasilov <vasilov.ivan@gmail.com>
Date:   Mon Jan 13 14:01:03 2025 +0100

    fix: Remove /members/invite API calls (#32707)

    Remove /invite API calls.

commit 5c969f973d
Author: Joshen Lim <joshenlimek@gmail.com>
Date:   Mon Jan 13 19:22:35 2025 +0800

    Fix view connection string (#32683)

commit 14d5a79203
Author: Francesco Sansalvadore <f.sansalvadore@gmail.com>
Date:   Mon Jan 13 11:22:04 2025 +0100

    Chore: add links to hidden www pages (#32658)

    * fix vector icon

    * add supasquad and community content program links to oss page

    * remove console log

commit 14ea7a608e
Author: Kevin Grüneberg <k.grueneberg1994@gmail.com>
Date:   Mon Jan 13 18:20:51 2025 +0800

    docs: credit balance top up / slight copy changes (#32737)

commit 39f0b5823d
Author: hallidayo <22655069+Hallidayo@users.noreply.github.com>
Date:   Mon Jan 13 08:10:42 2025 +0000

    deprecated: alerts - usage constant (#32661)

    switch to admonition

commit 4577389177
Author: Alaister Young <alaister@users.noreply.github.com>
Date:   Mon Jan 13 13:08:50 2025 +0800

    chore: send feature flags for page events (#32590)

commit 83c94206c2
Author: Supun Sudaraka <ssudaraka@gmail.com>
Date:   Sun Jan 12 08:50:36 2025 +0530

    docs: added google consent screen information to google oauth docs (#32703)

    * added google consent screen information to auth docs

    * updated the heading to be sentence case

    * Update apps/docs/content/guides/auth/social-login/auth-google.mdx

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

    ---------

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

commit fc6be5284d
Author: hoshima <hoshima@users.noreply.github.com>
Date:   Sat Jan 11 12:16:40 2025 +0900

    docs: fix typo on quickstarts/hono (#32708)

    docs: fix quickstarts/hono

commit 506fcf5da2
Author: Joshen Lim <joshenlimek@gmail.com>
Date:   Fri Jan 10 22:41:27 2025 +0800

    Temporarily disable enabling of queues exposure via postgrest (#32699)

commit 0e930cf940
Author: Jordi Enric <37541088+jordienr@users.noreply.github.com>
Date:   Fri Jan 10 13:21:53 2025 +0100

    r2np: new cost (#32632)

    * add new cost estimate

    * fix api types

    * update api types

    * restore api.d.ts

    * fix types

    * fix utils

    * clean utils getComputeHourlyPrice

    ---------

    Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>

commit 2781fb9285
Author: Joshen Lim <joshenlimek@gmail.com>
Date:   Fri Jan 10 16:28:26 2025 +0800

    Only show Connect UI in layout header if project is active healthy (#32698)

    * Only show Connect UI and branching UI in layout header if project is active healthy

    * Only hide connect UI

    * Opt for disabled state with tooltip instead

commit c791dd9e29
Author: Kevin Grüneberg <k.grueneberg1994@gmail.com>
Date:   Fri Jan 10 10:20:35 2025 +0800

    feat: credit top up (#32680)

commit 84694717e3
Author: Wen Bo Xie <5532241+w3b6x9@users.noreply.github.com>
Date:   Thu Jan 9 13:26:50 2025 -0500

    docs: add OpenAI Telemetry opt in permissions (#32667)

commit b09bc40225
Author: Joshen Lim <joshenlimek@gmail.com>
Date:   Thu Jan 9 23:20:52 2025 +0800

    Remove extend your database header (#32686)

commit 3122efc7b7
Author: Stojan Dimitrovski <sdimitrovski@gmail.com>
Date:   Thu Jan 9 13:27:02 2025 +0100

    feat: make firebase tpa generally available (#32573)

    * feat: make firebase tpa generally available

    * Simplify the dropdown menu label.

    ---------

    Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>

commit 724f046170
Author: Marc Köhler <74593656+Than-DE@users.noreply.github.com>
Date:   Thu Jan 9 12:47:14 2025 +0100

    fix(studio): auth email hook sheet padding (#32569)

commit ab3a3b3c76
Author: Ivan Vasilov <vasilov.ivan@gmail.com>
Date:   Thu Jan 9 12:36:32 2025 +0100

    chore: Move playwright tests to tests/local-studio-tests (#21488)

    * Move the playwright package to tests folder.

    * Update the workspace list.

    * Change the name of the playwright tests to local studio tests.

commit 3d8c0246f5
Author: Saxon Fletcher <saxonafletcher@gmail.com>
Date:   Thu Jan 9 20:30:37 2025 +1000

    add assistant to advisor (#32665)

    * add assistant to advisor

    * Fix the cursor on the last line to not end in the middle of the textbox.

    ---------

    Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>

commit 9d6cf3ee51
Author: Joshen Lim <joshenlimek@gmail.com>
Date:   Thu Jan 9 18:06:31 2025 +0800

    Add contextual invalidation in SQL Editor (#32675)

commit eb867734fb
Author: Joshen Lim <joshenlimek@gmail.com>
Date:   Thu Jan 9 16:39:27 2025 +0800

    Show MFA warning when field is updated, not until the form is saved (#32673)

commit eb42b2c241
Author: Joshen Lim <joshenlimek@gmail.com>
Date:   Thu Jan 9 10:55:14 2025 +0800

    Persist last selected database only for sql editor via local storage (#32598)

    * Persist last selected database only for sql editor via local storage

    * Add missing useEffect

commit 3d4cd89a64
Author: Charis <26616127+charislam@users.noreply.github.com>
Date:   Wed Jan 8 18:54:09 2025 -0500

    fix: remix pkce example (#32662)

commit 98d914d1fb
Author: Ivan Vasilov <vasilov.ivan@gmail.com>
Date:   Wed Jan 8 21:30:15 2025 +0100

    fix: Fix the referer for Posthog (#32656)

    Fix the referer for posthog.

commit 11caf61f43
Author: Ivan Vasilov <vasilov.ivan@gmail.com>
Date:   Wed Jan 8 21:29:45 2025 +0100

    chore: Delete the `tests` package (#32527)

    * Remove the tests package.

    * Remove all workspace configs for the tests package.

commit 900b4bbad6
Author: Charis <26616127+charislam@users.noreply.github.com>
Date:   Wed Jan 8 15:08:45 2025 -0500

    fix: swift ref docs filter params (#32633)

    Parameters given for `filter` function of Swift SDK don't match actual implementation. Documented as enum, implementation uses string.

commit 2d2ab28fc9
Author: stepan <133258815+stpn48@users.noreply.github.com>
Date:   Wed Jan 8 17:42:12 2025 +0100

    Fix theme toggle bug in footer (#32566)

    * fix: fix theme button overlap and hydration issues

    * fix: show sun icon when theme is light and moon when theme is dark

    * fix: use 'resolvedTheme' isntead of 'theme' to change icon when user has theme 'system'

    * refactor: use ternary operator

commit e326e41cef
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Wed Jan 8 13:41:12 2025 +0100

    chore(deps): bump next from 14.2.15 to 14.2.21 (#32559)

    * chore(deps): bump next from 14.2.15 to 15.1.3

    Bumps [next](https://github.com/vercel/next.js) from 14.2.15 to 15.1.3.
    - [Release notes](https://github.com/vercel/next.js/releases)
    - [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
    - [Commits](https://github.com/vercel/next.js/compare/v14.2.15...v15.1.3)

    ---
    updated-dependencies:
    - dependency-name: next
      dependency-type: direct:production
    ...

    Signed-off-by: dependabot[bot] <support@github.com>

    * Bump next to 14.2.21.

    ---------

    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>

commit 9b4b66b432
Author: Francesco Sansalvadore <f.sansalvadore@gmail.com>
Date:   Wed Jan 8 12:13:42 2025 +0100

    remove lw13 announcements (#32624)

commit 82bb29a16b
Author: Jordi Enric <37541088+jordienr@users.noreply.github.com>
Date:   Wed Jan 8 12:11:59 2025 +0100

    fix: branch dropdown sort & default branch shield (#32650)

    sort and add shield

commit 9eb3c22e99
Author: Joshen Lim <joshenlimek@gmail.com>
Date:   Wed Jan 8 18:05:24 2025 +0700

    Clean up storage s3 protocol settings dynamic rendering (#32601)
2025-01-28 14:56:59 +01:00

158 lines
4.9 KiB
TypeScript

import { type CodeHikeConfig, remarkCodeHike } from '@code-hike/mdx'
import matter from 'gray-matter'
import { serialize } from 'next-mdx-remote/serialize'
import type { SerializeOptions } from 'next-mdx-remote/dist/types'
import { existsSync } from 'node:fs'
import { readdir, readFile } from 'node:fs/promises'
import { basename, extname, join, sep } from 'node:path'
import remarkGfm from 'remark-gfm'
import rehypeKatex from 'rehype-katex'
import remarkMath from 'remark-math'
import codeHikeTheme from 'config/code-hike.theme.json' with { type: 'json' }
// MUST be process.cwd() here, not import.meta.url, or files that are added
// with outputFileTracingIncludes (not auto-traced) will not be found at
// runtime.
export const DOCS_DIRECTORY = process.cwd()
export const EXAMPLES_DIRECTORY = join(DOCS_DIRECTORY, 'examples')
export const GUIDES_DIRECTORY = join(DOCS_DIRECTORY, 'content/guides')
export const REF_DOCS_DIRECTORY = join(DOCS_DIRECTORY, 'docs/ref')
export const SPEC_DIRECTORY = join(DOCS_DIRECTORY, 'spec')
export type GuideFrontmatter = {
title: string
subtitle?: string
description?: string
canonical?: string
hideToc?: boolean
/** @deprecated */
hide_table_of_contents?: boolean
tocVideo?: string
}
/**
* Validate the frontmatter for guide MDX files.
*
* @throws Throws if frontmatter is invalid.
*/
export function isValidGuideFrontmatter(obj: object): obj is GuideFrontmatter {
if (!('title' in obj) || typeof obj.title !== 'string') {
throw Error(
// @ts-expect-error - Getting undefined for unknown property is desired here.
`Invalid guide frontmatter: Title must exist and be a string. Received: ${obj.title}`
)
}
if ('subtitle' in obj && typeof obj.subtitle !== 'string') {
throw Error(`Invalid guide frontmatter: Subtitle must be a sring. Received: ${obj.subtitle}`)
}
if ('description' in obj && typeof obj.description !== 'string') {
throw Error(
`Invalid guide frontmatter: Description must be a string. Received: ${obj.description}`
)
}
if ('canonical' in obj && typeof obj.canonical !== 'string') {
throw Error(`Invalid guide frontmatter: Canonical must be a string. Received: ${obj.canonical}`)
}
if ('hideToc' in obj && typeof obj.hideToc !== 'boolean') {
throw Error(`Invalid guide frontmatter: hideToc must be a boolean. Received: ${obj.hideToc}`)
}
if ('hide_table_of_contents' in obj && typeof obj.hide_table_of_contents !== 'boolean') {
throw Error(
`Invalid guide frontmatter: hide_table_of_contents must be a boolean. Received ${obj.hide_table_of_contents}`
)
}
if ('tocVideo' in obj && typeof obj.tocVideo !== 'string') {
throw Error(`Invalid guide frontmatter: tocVideo must be a string. Received ${obj.tocVideo}`)
}
return true
}
export async function getGuidesStaticPaths(section: string) {
const directory = join(GUIDES_DIRECTORY, section)
const files = (await readdir(directory, { recursive: true }))
.filter((file) => extname(file) === '.mdx' && !basename(file).startsWith('_'))
.map((file) => ({
params: {
slug: file.replace(/\.mdx$/, '').split(sep),
},
}))
// Index page isn't included in the directory
const indexFile = join(GUIDES_DIRECTORY, `${section}.mdx`)
if (existsSync(indexFile)) {
files.push({ params: { slug: [] } })
}
return {
paths: files,
fallback: false,
}
}
export async function getGuidesStaticProps(
section: string,
{ params }: { params?: { slug?: string | Array<string> } }
) {
let relPath: string
switch (typeof params?.slug) {
case 'string':
relPath = section + sep + params.slug
break
case 'object': // actually an array
relPath = section + sep + params.slug.join(sep)
break
case 'undefined':
relPath = section
}
const fullPath = join(GUIDES_DIRECTORY, relPath + '.mdx')
/**
* SAFETY CHECK:
* Prevent accessing anything outside of GUIDES_DIRECTORY
*/
if (!fullPath.startsWith(GUIDES_DIRECTORY)) {
throw Error('Accessing forbidden route. Content must be within the GUIDES_DIRECTORY.')
}
const mdx = await readFile(fullPath, 'utf-8')
const editLink = `supabase/supabase/blob/master/apps/docs/content/guides/${relPath}.mdx`
const { data: frontmatter, content } = matter(mdx)
if (!isValidGuideFrontmatter(frontmatter)) {
// Will have thrown
return
}
const codeHikeOptions: CodeHikeConfig = {
theme: codeHikeTheme,
lineNumbers: true,
showCopyButton: true,
skipLanguages: [],
autoImport: false,
}
const mdxOptions: SerializeOptions = {
mdxOptions: {
useDynamicImport: true,
remarkPlugins: [
[remarkMath, { singleDollarTextMath: false }],
remarkGfm,
[remarkCodeHike, codeHikeOptions],
],
rehypePlugins: [rehypeKatex as any],
},
}
const mdxSource = await serialize(content, mdxOptions)
return {
props: {
frontmatter,
mdxSource,
editLink,
},
}
}