The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
fix: cannot resize table editor columns on safari (#43450)
Gildas Garcia77004016f42b
diff --git a/.github/workflows/ai-tests.yml b/.github/workflows/ai-tests.ymlindex 6e27f7e86a1..8596d3eacd2 100644--- a/.github/workflows/ai-tests.yml+++ b/.github/workflows/ai-tests.yml@@ -36,6 +36,7 @@ jobs:with:sparse-checkout: |packages+ patches- uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0name: Install pnpmwith:diff --git a/.github/workflows/authorize-vercel-deploys.yml b/.github/workflows/authorize-vercel-deploys.ymlindex 6a72b23d7a6..967dff10d78 100644--- a/.github/workflows/authorize-vercel-deploys.yml+++ b/.github/workflows/authorize-vercel-deploys.yml@@ -29,6 +29,7 @@ jobs:# fetch only the root files and scripts foldersparse-checkout: |scripts+ patches- uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0name: Install pnpmwith:diff --git a/.github/workflows/autofix_linters.yml b/.github/workflows/autofix_linters.ymlindex 2ae0159afa5..f86ce2e573f 100644--- a/.github/workflows/autofix_linters.yml+++ b/.github/workflows/autofix_linters.yml@@ -36,6 +36,7 @@ jobs:sparse-checkout: |packagesapps+ patches- uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0name: Install pnpmdiff --git a/.github/workflows/dashboard-pr-reminder.yml b/.github/workflows/dashboard-pr-reminder.ymlindex 76d464d0f4e..d90bd6a0dcc 100644--- a/.github/workflows/dashboard-pr-reminder.yml+++ b/.github/workflows/dashboard-pr-reminder.yml@@ -21,6 +21,7 @@ jobs:with:sparse-checkout: |scripts+ patches- uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0name: Install pnpmdiff --git a/.github/workflows/docs-last-changed.yml b/.github/workflows/docs-last-changed.ymlindex 1ec0774bba1..7760a24f32c 100644--- a/.github/workflows/docs-last-changed.yml+++ b/.github/workflows/docs-last-changed.yml@@ -28,6 +28,7 @@ jobs:fetch-depth: 0sparse-checkout: |apps/docs+ patches- uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0name: Install pnpmdiff --git a/.github/workflows/docs-mgmt-api-update.yml b/.github/workflows/docs-mgmt-api-update.ymlindex 26eb74756e6..61c2a31bc31 100644--- a/.github/workflows/docs-mgmt-api-update.yml+++ b/.github/workflows/docs-mgmt-api-update.yml@@ -20,6 +20,7 @@ jobs:ref: mastersparse-checkout: |apps/docs+ patches- uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0name: Install pnpmdiff --git a/.github/workflows/docs-sync-troubleshooting.yml b/.github/workflows/docs-sync-troubleshooting.ymlindex c3794079eca..ce1720cb0b2 100644--- a/.github/workflows/docs-sync-troubleshooting.yml+++ b/.github/workflows/docs-sync-troubleshooting.yml@@ -28,6 +28,7 @@ jobs:with:sparse-checkout: |apps/docs+ patches- uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0name: Install pnpmdiff --git a/.github/workflows/docs-sync.yml b/.github/workflows/docs-sync.ymlindex 7d7761070ca..437d32ce368 100644--- a/.github/workflows/docs-sync.yml+++ b/.github/workflows/docs-sync.yml@@ -31,6 +31,7 @@ jobs:sparse-checkout: |apps/docspackages+ patches- uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0name: Install pnpmdiff --git a/.github/workflows/docs-tests-smoke.yml b/.github/workflows/docs-tests-smoke.ymlindex 92c72f25020..0ac43ebcb0c 100644--- a/.github/workflows/docs-tests-smoke.yml+++ b/.github/workflows/docs-tests-smoke.yml@@ -24,6 +24,7 @@ jobs:sparse-checkout: |apps/docspackages+ patches- uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0name: Install pnpmdiff --git a/.github/workflows/docs-tests.yml b/.github/workflows/docs-tests.ymlindex 94d1bd66c0f..35ab7b6ef59 100644--- a/.github/workflows/docs-tests.yml+++ b/.github/workflows/docs-tests.yml@@ -30,6 +30,7 @@ jobs:examplespackagessupabase+ patches- uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0name: Install pnpmdiff --git a/.github/workflows/pg-meta-tests.yml b/.github/workflows/pg-meta-tests.ymlindex 23cc250212a..2c5740b46f3 100644--- a/.github/workflows/pg-meta-tests.yml+++ b/.github/workflows/pg-meta-tests.yml@@ -29,6 +29,7 @@ jobs:sparse-checkout: |packages/pg-metapackages/tsconfig+ patches- uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0name: Install pnpmdiff --git a/.github/workflows/prettier.yml b/.github/workflows/prettier.ymlindex ba815b105a9..8f36d889f46 100644--- a/.github/workflows/prettier.yml+++ b/.github/workflows/prettier.yml@@ -20,7 +20,9 @@ jobs:- name: Check out repouses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0with:- sparse-checkout: apps+ sparse-checkout: |+ apps+ patches- uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0name: Install pnpmwith:@@ -46,6 +48,7 @@ jobs:with:sparse-checkout: |i18n+ patches- uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0name: Install pnpmwith:@@ -71,6 +74,7 @@ jobs:sparse-checkout: |apps/docs/pagesapps/docs/content+ patches- uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0name: Install pnpmwith:diff --git a/.github/workflows/search.yml b/.github/workflows/search.ymlindex e8f5671d8d5..6ce4cdcbe5e 100644--- a/.github/workflows/search.yml+++ b/.github/workflows/search.yml@@ -48,6 +48,7 @@ jobs:examplespackagessupabase+ patches- uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0name: Install pnpmdiff --git a/.github/workflows/studio-lint-ratchet-decrease.yml b/.github/workflows/studio-lint-ratchet-decrease.ymlindex 4598a0cf7fb..d29b3721bc2 100644--- a/.github/workflows/studio-lint-ratchet-decrease.yml+++ b/.github/workflows/studio-lint-ratchet-decrease.yml@@ -20,6 +20,7 @@ jobs:.githubapps/studiopackages+ patches- uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0name: Install pnpmdiff --git a/.github/workflows/studio-lint-ratchet.yml b/.github/workflows/studio-lint-ratchet.ymlindex 7e635ca754c..9a3025584cb 100644--- a/.github/workflows/studio-lint-ratchet.yml+++ b/.github/workflows/studio-lint-ratchet.yml@@ -26,6 +26,7 @@ jobs:.githubapps/studiopackages+ patches- uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0name: Install pnpm@@ -41,5 +42,5 @@ jobs:- name: Install depsrun: pnpm install --frozen-lockfile- - name: Run ratchet script+ - name: Run ratchet scriptrun: pnpm --filter studio run lint:ratchetdiff --git a/.github/workflows/studio-unit-tests.yml b/.github/workflows/studio-unit-tests.ymlindex f7e96718d5e..fa95d796757 100644--- a/.github/workflows/studio-unit-tests.yml+++ b/.github/workflows/studio-unit-tests.yml@@ -36,6 +36,8 @@ jobs:sparse-checkout: |apps/studiopackages+ patches+- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2id: filterwith:@@ -83,6 +85,7 @@ jobs:with:sparse-checkout: |apps/studio+ patches- name: Download coverage artifactuses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0with:diff --git a/.github/workflows/ui-patterns-tests.yml b/.github/workflows/ui-patterns-tests.ymlindex 2036b9d3f62..4638b4616a1 100644--- a/.github/workflows/ui-patterns-tests.yml+++ b/.github/workflows/ui-patterns-tests.yml@@ -23,6 +23,7 @@ jobs:with:sparse-checkout: |packages+ patches- uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0name: Install pnpmdiff --git a/.github/workflows/ui-tests.yml b/.github/workflows/ui-tests.ymlindex 8d78237348c..0e8de49a0f3 100644--- a/.github/workflows/ui-tests.yml+++ b/.github/workflows/ui-tests.yml@@ -33,6 +33,7 @@ jobs:with:sparse-checkout: |packages+ patches- uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0if: steps.filter.outputs.relevant == 'true'diff --git a/.github/workflows/www-tests.yml b/.github/workflows/www-tests.ymlindex e6b9aecfbb1..74cc5c34fb1 100644--- a/.github/workflows/www-tests.yml+++ b/.github/workflows/www-tests.yml@@ -30,6 +30,7 @@ jobs:apps/wwwpackagessupabase+ patches- uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0name: Install pnpmdiff --git a/patches/react-data-grid.patch b/patches/react-data-grid.patchnew file mode 100644index 00000000000..430742bf868--- /dev/null+++ b/patches/react-data-grid.patch@@ -0,0 +1,32 @@+diff --git a/lib/bundle.cjs b/lib/bundle.cjs+index 810cb878ffb394df9f17296995a838e08a7d6ccf..4ba752efe1b1de392c3254d1b0d12ab9a637362f 100644+--- a/lib/bundle.cjs++++ b/lib/bundle.cjs+@@ -1412,10 +1412,7 @@ function HeaderCell({+ hasDoubleClicked = true;+ onColumnResize(column, 'max-content');+ }+- function onLostPointerCapture(event) {+- if (!hasDoubleClicked) {+- onPointerMove(event);+- }++ function onLostPointerCapture() {+ currentTarget.removeEventListener('pointermove', onPointerMove);+ currentTarget.removeEventListener('dblclick', onDoubleClick);+ currentTarget.removeEventListener('lostpointercapture', onLostPointerCapture);+diff --git a/lib/bundle.js b/lib/bundle.js+index ac667d97a43720d1f56995e63ad6556b80d4c4bf..42b6a17f382fffadbb8cdd2d7a6b42235af89ad0 100644+--- a/lib/bundle.js++++ b/lib/bundle.js+@@ -1408,10 +1408,7 @@ function HeaderCell({+ hasDoubleClicked = true;+ onColumnResize(column, 'max-content');+ }+- function onLostPointerCapture(event) {+- if (!hasDoubleClicked) {+- onPointerMove(event);+- }++ function onLostPointerCapture() {+ currentTarget.removeEventListener('pointermove', onPointerMove);+ currentTarget.removeEventListener('dblclick', onDoubleClick);+ currentTarget.removeEventListener('lostpointercapture', onLostPointerCapture);diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex ecf699a56cf..5988ae0e1f8 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -80,6 +80,11 @@ overrides:'@aws-sdk/core>fast-xml-parser': ^5.3.5openapi-sampler>fast-xml-parser: ^5.3.5+patchedDependencies:+ react-data-grid:+ hash: 803f02d6cede565990ab9675326b93195b98bcc6477a4811715405892c257488+ path: patches/react-data-grid.patch+importers:.:@@ -176,7 +181,7 @@ importers:version: 18.3.1react-data-grid:specifier: 7.0.0-beta.47+ version: 7.0.0-beta.47(patch_hash=803f02d6cede565990ab9675326b93195b98bcc6477a4811715405892c257488)([email protected]([email protected]))([email protected])react-day-picker:specifier: ^9.11.1version: 9.11.1([email protected])@@ -1007,7 +1012,7 @@ importers:react-data-grid:specifier: 7.0.0-beta.47+ version: 7.0.0-beta.47(patch_hash=803f02d6cede565990ab9675326b93195b98bcc6477a4811715405892c257488)([email protected]([email protected]))([email protected])react-day-picker:specifier: ^9.11.1version: 9.11.1([email protected])@@ -34849,7 +34854,7 @@ snapshots:react: 18.3.1react-dom: 18.3.1([email protected])+ [email protected](patch_hash=803f02d6cede565990ab9675326b93195b98bcc6477a4811715405892c257488)([email protected]([email protected]))([email protected]):dependencies:clsx: 2.1.1react: 18.3.1diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yamlindex 02e31c38513..ee742a9c026 100644--- a/pnpm-workspace.yaml+++ b/pnpm-workspace.yaml@@ -13,9 +13,9 @@ catalog:'@types/node': ^22.0.0'@types/react': ^18.3.0'@types/react-dom': ^18.3.0- next: ^15.5.10- lodash-es: ^4.17.23lodash: ^4.17.23+ lodash-es: ^4.17.23+ next: ^15.5.10react: ^18.3.0react-dom: ^18.3.0recharts: ^2.15.4@@ -44,7 +44,7 @@ minimumReleaseAge: 10080minimumReleaseAgeExclude:- '@ai-sdk/*'- '@supabase/*'- - 'next'+ - next- '@next/*'- ai- js-yaml@@ -66,17 +66,20 @@ onlyBuiltDependencies:- supabaseoverrides:+ '@aws-sdk/core>fast-xml-parser': ^5.3.5+ '@mapbox/node-pre-gyp>tar': ^7.5.8'@redocly/respect-core>form-data': ^4.0.4'@redocly/respect-core>js-yaml': ^4.1.1+ cacache>tar: ^7.5.8esbuild: ^0.25.2- nodemailer: ^7.0.11- lodash-es: 'catalog:'lodash: 'catalog:'+ lodash-es: 'catalog:'+ node-gyp>tar: ^7.5.8+ nodemailer: ^7.0.11+ openapi-sampler>fast-xml-parser: ^5.3.5payload>undici: ^7.18.2refractor>prismjs: ^1.30.0- cacache>tar: ^7.5.8- node-gyp>tar: ^7.5.8- '@mapbox/node-pre-gyp>tar': ^7.5.8tmp: ^0.2.4- '@aws-sdk/core>fast-xml-parser': ^5.3.5- openapi-sampler>fast-xml-parser: ^5.3.5++patchedDependencies:+ react-data-grid: patches/react-data-grid.patch