Commit Graph
3 Commits
Author SHA1 Message Date
Joshen Lim dd09501bac Revert "Port private link endpoints from platform to v2" (#52139)
Reverts supabase/supabase#51996
2026-10-22 08:13:39 +00:00
Joshen Lim 6e2c59d850 Port private link endpoints from platform to v2 (#51996)
## Context

Just porting over AWS private link API from `platform` to `v2` -
verified that private link management still works locally

## To test
- [ ] Verify that you can create, read, and delete AWS private links in
project settings -> integrations
2026-10-21 21:00:41 +08:00
f2876c7787 chore(studio): upgrade the TanStack dependency set (#51067)
TanStack Start 1.169 is the stable release. This moves the shared
catalog to Start 1.169.2 and Router 1.170.44, the newest matching pair
that clears the 72-hour release-age gate, and updates Studio React Query
and its devtools to 5.104.3. The ui-library TanStack auth blocks switch
to `.validator()` because Start 1.169 removes `.inputValidator()`.

**Changed:**

- `pnpm-workspace.yaml` – `@tanstack/react-router` `^1.170.44` and
`@tanstack/react-start` `^1.169.2`, so Router, Start, router-core, and
the Start plugin install as one set
- `pnpm-lock.yaml` – react-router 1.170.44, react-start 1.169.2,
router-core 1.171.37, router-plugin 1.168.46, start-plugin-core
1.171.53, history 1.162.5, and Studio React Query 5.104.3
- `apps/studio/package.json` – `@tanstack/react-query` and
`@tanstack/react-query-devtools` `~5.104.3`,
`@tanstack/react-router-devtools` `^1.167.2`
-
`apps/ui-library/registry/default/blocks/password-based-auth-tanstack/routes/auth/confirm.ts`
– `createServerFn` uses `.validator()`
-
`apps/ui-library/registry/default/blocks/social-auth-tanstack/routes/auth/oauth.ts`
– `createServerFn` uses `.validator()`
- `apps/ui-library/tests/sign-up-redirect.test.tsx` – the
server-function mock follows the `validator` chain
- `apps/ui-library/public/r/password-based-auth-tanstack.json` –
registry JSON regenerated from the block
- `apps/ui-library/public/r/social-auth-tanstack.json` – registry JSON
regenerated from the block
- `apps/ui-library/content/docs/tanstack/password-based-auth.mdx` – note
that the block requires `@tanstack/react-start` 1.168.25 or later, since
`.validator()` is missing from earlier Start versions
- `apps/ui-library/content/docs/tanstack/social-auth.mdx` – note that
the block requires `@tanstack/react-start` 1.168.25 or later, since
`.validator()` is missing from earlier Start versions
- `apps/studio/server.ts` – correct the header comment:
`wrapFetchWithSentry` only adds a span, trace meta tags, and a flush,
and request errors are captured by the Sentry middleware in `start.ts`

**Removed:**

- `minimumReleaseAgeExclude` pins for:
  - `@tanstack/react-router@1.170.41`
  - `@tanstack/react-start-client@1.168.39`
  - `@tanstack/react-start-rsc@0.1.59`
  - `@tanstack/react-start-server@1.167.46`
  - `@tanstack/react-start@1.168.60`
  - `@tanstack/react-store@0.11.2`
  - `@tanstack/router-core@1.171.34`
  - `@tanstack/router-generator@1.167.40`
  - `@tanstack/router-plugin@1.168.42`
  - `@tanstack/start-client-core@1.170.34`
  - `@tanstack/start-plugin-core@1.171.49`
  - `@tanstack/start-server-core@1.169.39`
  - `@tanstack/start-storage-context@1.167.36`
  - `@tanstack/store@0.11.2`

## To test

- TanStack Studio, open a project home – the shell loads with no router
error
- TanStack Studio, open a table, switch schema, then Back and Forward –
the table id follows history, and Forward returns to the later table
- TanStack Studio, run a query in the SQL Editor – results render
- TanStack Studio, open Project Settings – the general settings page
renders
- Next Studio, repeat home, Table Editor, SQL Editor, and Settings – the
same pages render
- ui-library TanStack password and social auth blocks, follow a sign-up
confirm and OAuth confirm link – the server function accepts the search
params through `.validator()` and redirects

---------

Co-authored-by: Alaister Young <10985857+alaister@users.noreply.github.com>
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
2026-10-19 21:00:40 +02:00