Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

chore(studio): upgrade the TanStack dependency set (#51067)

Alaister Youngf2876c778701
diff --git a/apps/studio/compat/next/router-navigation.test.tsx b/apps/studio/compat/next/router-navigation.test.tsx
new file mode 100644
index 00000000000..5bcde04f540
--- /dev/null
+++ b/apps/studio/compat/next/router-navigation.test.tsx
@@ -0,0 +1,127 @@
+import {
+ createMemoryHistory,
+ createRootRoute,
+ createRoute,
+ createRouter,
+ Outlet,
+ RouterProvider,
+} from '@tanstack/react-router'
+import { act, render, screen, waitFor } from '@testing-library/react'
+import { useEffect } from 'react'
+import { describe, expect, it, vi } from 'vitest'
+
+import { useRouter } from './router'
+import { parseSearch, stringifySearch } from '@/lib/router-search-params'
+
+describe('Next router compatibility subscriptions', () => {
+ it('keeps router-dependent effects stable while route loaders refresh', async () => {
+ const onRouterChange = vi.fn()
+ const refreshed = Promise.withResolvers<string>()
+ let loadCount = 0
+
+ function Page() {
+ const router = useRouter()
+ useEffect(() => onRouterChange(router), [router])
+ return <div>{router.asPath}</div>
+ }
+
+ const rootRoute = createRootRoute({ component: Outlet })
+ const page = createRoute({
+ getParentRoute: () => rootRoute,
+ path: '/project/$ref/editor',
+ component: Page,
+ loader: () => (++loadCount === 1 ? 'initial' : refreshed.promise),
+ })
+ const router = createRouter({
+ routeTree: rootRoute.addChildren([page]),
+ history: createMemoryHistory({ initialEntries: ['/project/default/editor?schema=public'] }),
+ parseSearch,
+ stringifySearch,
+ isServer: false,
+ })
+ await router.load()
+ const view = render(<RouterProvider router={router} />)
+ expect(onRouterChange).toHaveBeenCalledTimes(1)
+
+ try {
+ let refresh: Promise<void> | undefined
+ await act(async () => {
+ refresh = router.invalidate({ sync: true })
+ })
+ await waitFor(() => expect(loadCount).toBe(2))
+ expect(screen.getByText('/project/default/editor?schema=public')).toBeInTheDocument()
+ expect(onRouterChange).toHaveBeenCalledTimes(1)
+
+ await act(async () => {
+ refreshed.resolve('refreshed')
+ await refresh
+ })
+ expect(onRouterChange).toHaveBeenCalledTimes(1)
+ } finally {
+ refreshed.resolve('refreshed')
+ view.unmount()
+ }
+ })
+
+ it('updates route pattern, params, query and hash after pending navigation', async () => {
+ const loaded = Promise.withResolvers<void>()
+
+ function Layout() {
+ const router = useRouter()
+ return (
+ <>
+ <div data-testid="location">{router.asPath}</div>
+ <div data-testid="pattern">{router.pathname}</div>
+ <div data-testid="query">{JSON.stringify(router.query)}</div>
+ <Outlet />
+ </>
+ )
+ }
+
+ const rootRoute = createRootRoute({ component: Layout })
+ const initial = createRoute({ getParentRoute: () => rootRoute, path: '/project/$ref/editor' })
+ const target = createRoute({
+ getParentRoute: () => rootRoute,
+ path: '/project/$ref/editor/$id',
+ loader: () => loaded.promise,
+ })
+ const router = createRouter({
+ routeTree: rootRoute.addChildren([initial, target]),
+ history: createMemoryHistory({ initialEntries: ['/project/default/editor?schema=public'] }),
+ parseSearch,
+ stringifySearch,
+ isServer: false,
+ })
+ await router.load()
+ const view = render(<RouterProvider router={router} />)
+
+ try {
+ let navigation: Promise<void> | undefined
+ await act(async () => {
+ navigation = router.navigate({
+ to: '/project/$ref/editor/$id',
+ params: { ref: 'other', id: '42' },
+ search: { schema: 'private' },
+ hash: 'selection',
+ })
+ })
+ expect(screen.getByTestId('location')).toHaveTextContent(
+ '/project/other/editor/42?schema=private#selection'
+ )
+
+ await act(async () => {
+ loaded.resolve()
+ await navigation
+ })
+ expect(screen.getByTestId('pattern')).toHaveTextContent('/project/[ref]/editor/[id]')
+ expect(JSON.parse(screen.getByTestId('query').textContent ?? '')).toEqual({
+ ref: 'other',
+ id: '42',
+ schema: 'private',
+ })
+ } finally {
+ loaded.resolve()
+ view.unmount()
+ }
+ })
+})
diff --git a/apps/studio/compat/next/router.ts b/apps/studio/compat/next/router.ts
index d2ae293151c..da6b49227b5 100644
--- a/apps/studio/compat/next/router.ts
+++ b/apps/studio/compat/next/router.ts
@@ -252,12 +252,13 @@ type PrefetchOptions = {
export function useRouter() {
const router = useTanStackRouter()
const location = useLocation()
- const matches = useMatches()
+ // Pending match updates must not replace the shim and restart legacy redirect effects.
+ const leafRouteId =
+ useMatches({ select: (matches) => matches[matches.length - 1]?.routeId }) ?? location.pathname
const params = useParams({ strict: false })
const search = useSearch({ strict: false })
return useMemo(() => {
- const leafRouteId = matches[matches.length - 1]?.routeId ?? location.pathname
const pathPattern = toNextPathPattern(leafRouteId)
// Both push and replace accept Next's (url, as?, options?) signature.
@@ -397,7 +398,7 @@ export function useRouter() {
// ---- events ----
events: getRouterEventsProxy(router),
}
- }, [router, location.href, location.pathname, matches, params, search])
+ }, [router, location.href, location.pathname, leafRouteId, params, search])
}
// Normalise an optional-catch-all route's params across both frameworks.
diff --git a/apps/studio/components/interfaces/Organization/OAuthApps/Consent/OAuthAppsAuthorizeScreen.submitting.test.tsx b/apps/studio/components/interfaces/Organization/OAuthApps/Consent/OAuthAppsAuthorizeScreen.submitting.test.tsx
index 118a2323622..5ffd8197e96 100644
--- a/apps/studio/components/interfaces/Organization/OAuthApps/Consent/OAuthAppsAuthorizeScreen.submitting.test.tsx
+++ b/apps/studio/components/interfaces/Organization/OAuthApps/Consent/OAuthAppsAuthorizeScreen.submitting.test.tsx
@@ -28,8 +28,8 @@ describe('OAuthAppsAuthorizeScreen while the approve mutation is in flight', ()
/>
)
- expect(await screen.findByText("Don't close this window.")).toBeInTheDocument()
+ expect(await screen.findByText('Authorizing...')).toBeInTheDocument()
+ expect(screen.getByText("Don't close this window.")).toBeInTheDocument()
expect(screen.queryByRole('button', { name: 'Cancel' })).not.toBeInTheDocument()
- expect(screen.getByText('Authorizing...')).toBeInTheDocument()
})
})
diff --git a/apps/studio/components/interfaces/Organization/OAuthApps/Consent/OAuthAppsAuthorizeScreen.test.tsx b/apps/studio/components/interfaces/Organization/OAuthApps/Consent/OAuthAppsAuthorizeScreen.test.tsx
index 449f85ec0cc..25a48fee5ad 100644
--- a/apps/studio/components/interfaces/Organization/OAuthApps/Consent/OAuthAppsAuthorizeScreen.test.tsx
+++ b/apps/studio/components/interfaces/Organization/OAuthApps/Consent/OAuthAppsAuthorizeScreen.test.tsx
@@ -1,4 +1,4 @@
-import { fireEvent, screen } from '@testing-library/react'
+import { fireEvent, screen, waitFor } from '@testing-library/react'
import { describe, expect, test, vi } from 'vitest'
import { OAuthAppsAuthorizeScreen } from './OAuthAppsAuthorizeScreen'
@@ -34,6 +34,14 @@ function renderScreen({
)
}
+// The authorize button renders disabled while app details are still pending.
+// React Query 5.104 settles that query after the button is already in the document.
+async function enabledAuthorizeButton() {
+ const button = await screen.findByRole('button', { name: /Authorize Vercel/ })
+ await waitFor(() => expect(button).toBeEnabled())
+ return button
+}
+
function selectProject(projectName: string) {
fireEvent.click(screen.getByRole('combobox'))
fireEvent.click(screen.getByText(projectName))
@@ -203,7 +211,7 @@ describe('OAuthAppsAuthorizeScreen', () => {
test('authorizes an app that hides the picker, with nothing selected', async () => {
renderScreen({ authId: OAUTH_APPS_MOCK_SCENARIOS.vercelAllProjects })
- expect(await screen.findByRole('button', { name: /Authorize Vercel/ })).toBeEnabled()
+ expect(await enabledAuthorizeButton()).toBeEnabled()
expect(screen.queryByRole('combobox')).not.toBeInTheDocument()
expect(
screen.queryByText('Must select at least one project to authorize.')
@@ -216,7 +224,7 @@ describe('OAuthAppsAuthorizeScreen', () => {
organizationSlug: 'contoso-labs',
})
- expect(await screen.findByRole('button', { name: /Authorize Vercel/ })).toBeEnabled()
+ expect(await enabledAuthorizeButton()).toBeEnabled()
expect(screen.queryByText(/No projects in/)).not.toBeInTheDocument()
})
@@ -226,7 +234,7 @@ describe('OAuthAppsAuthorizeScreen', () => {
organizationSlug: 'contoso-labs',
})
- fireEvent.click(await screen.findByRole('button', { name: /Authorize Vercel/ }))
+ fireEvent.click(await enabledAuthorizeButton())
expect(await screen.findByText('Vercel is connected')).toBeInTheDocument()
expect(screen.getByText('All projects, including ones created later')).toBeInTheDocument()
@@ -331,7 +339,7 @@ describe('OAuthAppsAuthorizeScreen', () => {
projectRef: 'northwindstorefront1',
})
- fireEvent.click(await screen.findByRole('button', { name: /Authorize Vercel/ }))
+ fireEvent.click(await enabledAuthorizeButton())
expect(await screen.findByText('Vercel is connected')).toBeInTheDocument()
expect(screen.getByText('All projects, including ones created later')).toBeInTheDocument()
diff --git a/apps/studio/data/aws-accounts/aws-account-create-mutation.ts b/apps/studio/data/aws-accounts/aws-account-create-mutation.ts
index 060e6f9e566..74123679e0e 100644
--- a/apps/studio/data/aws-accounts/aws-account-create-mutation.ts
+++ b/apps/studio/data/aws-accounts/aws-account-create-mutation.ts
@@ -49,16 +49,16 @@ export const useAWSAccountCreateMutation = ({
const queryClient = useQueryClient()
return useMutation<AWSAccountCreateData, ResponseError, AWSAccountCreateVariables>({
mutationFn: (vars) => createAWSAccount(vars),
- async onSuccess(data, variables, context) {
+ async onSuccess(data, variables, context, mutationContext) {
const { projectRef } = variables
await queryClient.invalidateQueries({ queryKey: awsAccountKeys.list(projectRef) })
- await onSuccess?.(data, variables, context)
+ await onSuccess?.(data, variables, context, mutationContext)
},
- async onError(data, variables, context) {
+ async onError(data, variables, context, mutationContext) {
if (onError === undefined) {
toast.error(`Failed to create connection: ${data.message}`)
} else {
- onError(data, variables, context)
+ onError(data, variables, context, mutationContext)
}
},
...options,
diff --git a/apps/studio/data/aws-accounts/aws-account-delete-mutation.ts b/apps/studio/data/aws-accounts/aws-account-delete-mutation.ts
index 2fc22aa974a..cafbe33ff7a 100644
--- a/apps/studio/data/aws-accounts/aws-account-delete-mutation.ts
+++ b/apps/studio/data/aws-accounts/aws-account-delete-mutation.ts
@@ -56,16 +56,16 @@ export const useAWSAccountDeleteMutation = ({
const queryClient = useQueryClient()
return useMutation<AWSAccountDeleteData, ResponseError, AWSAccountDeleteVariables>({
mutationFn: (vars) => deleteAWSAccount(vars),
- async onSuccess(data, variables, context) {
+ async onSuccess(data, variables, context, mutationContext) {
const { projectRef } = variables
await queryClient.invalidateQueries({ queryKey: awsAccountKeys.list(projectRef) })
- await onSuccess?.(data, variables, context)
+ await onSuccess?.(data, variables, context, mutationContext)
},
- async onError(data, variables, context) {
+ async onError(data, variables, context, mutationContext) {
if (onError === undefined) {
toast.error(`Failed to delete connection: ${data.message}`)
} else {
- onError(data, variables, context)
+ onError(data, variables, context, mutationContext)
}
},
...options,
diff --git a/apps/studio/data/branches/branch-restore-mutation.ts b/apps/studio/data/branches/branch-restore-mutation.ts
index c85f2ea31ca..51ea45aa7f7 100644
--- a/apps/studio/data/branches/branch-restore-mutation.ts
+++ b/apps/studio/data/branches/branch-restore-mutation.ts
@@ -34,16 +34,16 @@ export const useBranchRestoreMutation = ({
const queryClient = useQueryClient()
return useMutation<BranchRestoreData, ResponseError, BranchRestoreVariables>({
mutationFn: (vars) => restoreBranch(vars),
- async onSuccess(data, variables, context) {
+ async onSuccess(data, variables, context, mutationContext) {
const { projectRef } = variables
await queryClient.invalidateQueries({ queryKey: branchKeys.list(projectRef) })
- await onSuccess?.(data, variables, context)
+ await onSuccess?.(data, variables, context, mutationContext)
},
- async onError(data, variables, context) {
+ async onError(data, variables, context, mutationContext) {
if (onError === undefined) {
toast.error(`Failed to restore branch: ${data.message}`)
} else {
- onError(data, variables, context)
+ onError(data, variables, context, mutationContext)
}
},
...options,
diff --git a/apps/studio/data/database-integrations/stripe/stripe-sync-install-mutation.ts b/apps/studio/data/database-integrations/stripe/stripe-sync-install-mutation.ts
index 6aebe11d933..c54e17e97bb 100644
--- a/apps/studio/data/database-integrations/stripe/stripe-sync-install-mutation.ts
+++ b/apps/studio/data/database-integrations/stripe/stripe-sync-install-mutation.ts
@@ -63,7 +63,7 @@ export const useStripeSyncInstallMutation = ({
return useMutation<StripeSyncInstallData, ResponseError, StripeSyncInstallVariables>({
mutationFn: (vars) => installStripeSync(vars),
- async onSuccess(data, variables, context) {
+ async onSuccess(data, variables, context, mutationContext) {
const { projectRef } = variables
track('integration_install_submitted', {
@@ -81,13 +81,13 @@ export const useStripeSyncInstallMutation = ({
queryKey: stripeSyncKeys.all,
})
- await onSuccess?.(data, variables, context)
+ await onSuccess?.(data, variables, context, mutationContext)
},
- async onError(data, variables, context) {
+ async onError(data, variables, context, mutationContext) {
if (onError === undefined) {
toast.error(`Failed to install Stripe Sync: ${data.message}`)
} else {
- onError(data, variables, context)
+ onError(data, variables, context, mutationContext)
}
},
...options,
diff --git a/apps/studio/data/database-integrations/stripe/stripe-sync-uninstall-mutation.ts b/apps/studio/data/database-integrations/stripe/stripe-sync-uninstall-mutation.ts
index 19057aa0ebc..3b50906488f 100644
--- a/apps/studio/data/database-integrations/stripe/stripe-sync-uninstall-mutation.ts
+++ b/apps/studio/data/database-integrations/stripe/stripe-sync-uninstall-mutation.ts
@@ -60,7 +60,7 @@ export const useStripeSyncUninstallMutation = ({
return useMutation<StripeSyncUninstallData, ResponseError, StripeSyncUninstallVariables>({
mutationFn: (vars) => uninstallStripeSync(vars),
- async onSuccess(data, variables, context) {
+ async onSuccess(data, variables, context, mutationContext) {
const { projectRef } = variables
track('integration_uninstall_submitted', {
@@ -77,13 +77,13 @@ export const useStripeSyncUninstallMutation = ({
queryKey: stripeSyncKeys.all,
})
- await onSuccess?.(data, variables, context)
+ await onSuccess?.(data, variables, context, mutationContext)
},
- async onError(data, variables, context) {
+ async onError(data, variables, context, mutationContext) {
if (onError === undefined) {
toast.error(`Failed to uninstall Stripe Sync: ${data.message}`)
} else {
- onError(data, variables, context)
+ onError(data, variables, context, mutationContext)
}
},
...options,
diff --git a/apps/studio/data/jit-db-access/jit-db-access-grant-mutation.ts b/apps/studio/data/jit-db-access/jit-db-access-grant-mutation.ts
index 3b7703fa1c1..311a0cff215 100644
--- a/apps/studio/data/jit-db-access/jit-db-access-grant-mutation.ts
+++ b/apps/studio/data/jit-db-access/jit-db-access-grant-mutation.ts
@@ -51,16 +51,16 @@ export const useJitDbAccessGrantMutation = ({
return useMutation<JitDbAccessGrantData, ResponseError, JitDbAccessGrantVariables>({
mutationFn: (vars) => grantJitDbAccess(vars),
- async onSuccess(data, variables, context) {
+ async onSuccess(data, variables, context, mutationContext) {
const { projectRef } = variables
await queryClient.invalidateQueries({ queryKey: jitDbAccessKeys.members(projectRef) })
- await onSuccess?.(data, variables, context)
+ await onSuccess?.(data, variables, context, mutationContext)
},
- async onError(data, variables, context) {
+ async onError(data, variables, context, mutationContext) {
if (onError === undefined) {
toast.error(`Failed to grant temporary access: ${data.message}`)
} else {
- onError(data, variables, context)
+ onError(data, variables, context, mutationContext)
}
},
...options,
diff --git a/apps/studio/data/mutation-callbacks.test.tsx b/apps/studio/data/mutation-callbacks.test.tsx
new file mode 100644
index 00000000000..a02757ab36d
--- /dev/null
+++ b/apps/studio/data/mutation-callbacks.test.tsx
@@ -0,0 +1,119 @@
+import { QueryClient } from '@tanstack/react-query'
+import { act } from '@testing-library/react'
+import { HttpResponse } from 'msw'
+import { describe, expect, it, vi } from 'vitest'
+
+import { useAWSAccountCreateMutation } from './aws-accounts/aws-account-create-mutation'
+import { awsAccountKeys } from './aws-accounts/keys'
+import { useBannedIPsDeleteMutation } from './banned-ips/banned-ips-delete-mutations'
+import { BannedIPKeys } from './banned-ips/keys'
+import { customRenderHook } from '@/tests/lib/custom-render'
+import { addAPIMock, type APIErrorBody } from '@/tests/lib/msw'
+
+const optimisticContext = { previousValue: 'before mutation' }
+
+describe('mutation callback contracts', () => {
+ it.each([false, true])('preserves custom optimistic context (failure: %s)', async (failure) => {
+ const queryClient = new QueryClient({ defaultOptions: { mutations: { retry: false } } })
+ const variables = { projectRef: 'default', ips: ['203.0.113.10'] }
+ const key = BannedIPKeys.list(variables.projectRef)
+ queryClient.setQueryData(key, { banned_ipv4_addresses: variables.ips })
+ addAPIMock({
+ method: 'delete',
+ path: '/v1/projects/:ref/network-bans',
+ response: () =>
+ failure
+ ? HttpResponse.json<APIErrorBody>({ message: 'Mutation failed' }, { status: 500 })
+ : HttpResponse.json<null>(null),
+ })
+ const onSuccess = vi.fn()
+ const onError = vi.fn()
+ const { result } = customRenderHook(
+ () =>
+ useBannedIPsDeleteMutation({
+ onMutate: () => optimisticContext,
+ onSuccess,
+ onError,
+ }),
+ { queryClient }
+ )
+ try {
+ await act(async () => {
+ if (failure) {
+ await expect(result.current.mutateAsync(variables)).rejects.toThrow('Mutation failed')
+ } else {
+ const data = await result.current.mutateAsync(variables)
+ expect(onSuccess).toHaveBeenCalledWith(data, variables, optimisticContext)
+ }
+ })
+ if (failure) {
+ expect(onError).toHaveBeenCalledWith(
+ expect.objectContaining({ message: 'Mutation failed' }),
+ variables,
+ optimisticContext
+ )
+ expect(onSuccess).not.toHaveBeenCalled()
+ } else {
+ expect(queryClient.getQueryState(key)?.isInvalidated).toBe(true)
+ expect(onError).not.toHaveBeenCalled()
+ }
+ } finally {
+ queryClient.clear()
+ }
+ })
+
+ it.each([false, true])('forwards the SDK mutation context (failure: %s)', async (failure) => {
+ const queryClient = new QueryClient({ defaultOptions: { mutations: { retry: false } } })
+ const variables = { projectRef: 'default', awsAccountId: 'test-account' }
+ const key = awsAccountKeys.list(variables.projectRef)
+ queryClient.setQueryData(key, [])
+ addAPIMock({
+ method: 'post',
+ path: '/platform/projects/:ref/privatelink/associations/aws-account',
+ response: () =>
+ failure
+ ? HttpResponse.json<APIErrorBody>({ message: 'Mutation failed' }, { status: 500 })
+ : HttpResponse.json<null>(null),
+ })
+ const onSuccess = vi.fn()
+ const onError = vi.fn()
+ const { result } = customRenderHook(
+ () =>
+ useAWSAccountCreateMutation({
+ onMutate: () => optimisticContext,
+ onSuccess,
+ onError,
+ }),
+ { queryClient }
+ )
+ try {
+ await act(async () => {
+ if (failure) {
+ await expect(result.current.mutateAsync(variables)).rejects.toThrow('Mutation failed')
+ } else {
+ const data = await result.current.mutateAsync(variables)
+ expect(onSuccess).toHaveBeenCalledWith(
+ data,
+ variables,
+ optimisticContext,
+ expect.objectContaining({ client: queryClient })
+ )
+ }
+ })
+ if (failure) {
+ expect(onError).toHaveBeenCalledWith(
+ expect.objectContaining({ message: 'Mutation failed' }),
+ variables,
+ optimisticContext,
+ expect.objectContaining({ client: queryClient })
+ )
+ expect(onSuccess).not.toHaveBeenCalled()
+ } else {
+ expect(queryClient.getQueryState(key)?.isInvalidated).toBe(true)
+ expect(onError).not.toHaveBeenCalled()
+ }
+ } finally {
+ queryClient.clear()
+ }
+ })
+})
diff --git a/apps/studio/data/prefetchers/project.$ref.editor.$id.tsx b/apps/studio/data/prefetchers/project.$ref.editor.$id.tsx
index 59fbeb5edc2..2f5ea108a11 100644
--- a/apps/studio/data/prefetchers/project.$ref.editor.$id.tsx
+++ b/apps/studio/data/prefetchers/project.$ref.editor.$id.tsx
@@ -54,7 +54,8 @@ export function prefetchEditorTablePage({
const { sorts: localSorts = [], filters: localFilters = [] } =
loadTableEditorStateFromLocalStorage(projectRef, entity.id) ?? {}
- prefetchTableRows(queryClient, {
+ // Returned so the caller's catch handles it: a cancelled prefetch rejects with CancelledError.
+ return prefetchTableRows(queryClient, {
projectRef,
connectionString,
readReplicaIdentifier,
diff --git a/apps/studio/data/profile/profile-set-password-mutation.ts b/apps/studio/data/profile/profile-set-password-mutation.ts
index 62437117c42..2bf3d3b9bb3 100644
--- a/apps/studio/data/profile/profile-set-password-mutation.ts
+++ b/apps/studio/data/profile/profile-set-password-mutation.ts
@@ -30,20 +30,20 @@ export const useSetPasswordMutation = ({
const queryClient = useQueryClient()
return useMutation({
mutationFn: (vars) => setPassword(vars),
- async onSuccess(data, variables, context) {
+ async onSuccess(data, variables, context, mutationContext) {
// logout all other sessions after setting a password
await auth.signOut({ scope: 'others' })
await Promise.all([
auth.refreshSession(),
queryClient.invalidateQueries({ queryKey: profileKeys.identities() }),
])
- await onSuccess?.(data, variables, context)
+ await onSuccess?.(data, variables, context, mutationContext)
},
- async onError(error, variables, context) {
+ async onError(error, variables, context, mutationContext) {
if (onError === undefined) {
toast.error(`Failed to add password: ${error.message}`)
} else {
- onError(error, variables, context)
+ onError(error, variables, context, mutationContext)
}
},
...options,
diff --git a/apps/studio/data/scoped-access-tokens/scoped-access-tokens-delete-mutation.ts b/apps/studio/data/scoped-access-tokens/scoped-access-tokens-delete-mutation.ts
index 9bdf6533b9c..7c27df2239d 100644
--- a/apps/studio/data/scoped-access-tokens/scoped-access-tokens-delete-mutation.ts
+++ b/apps/studio/data/scoped-access-tokens/scoped-access-tokens-delete-mutation.ts
@@ -32,17 +32,17 @@ export const useScopedAccessTokenDeleteMutation = ({
return useMutation<ScopedAccessTokenDeleteData, ResponseError, ScopedAccessTokenDeleteVariables>({
mutationFn: (vars) => deleteScopedAccessToken(vars),
- async onSuccess(data, variables, context) {
+ async onSuccess(data, variables, context, mutationContext) {
await queryClient.invalidateQueries({ queryKey: scopedAccessTokenKeys.list() })
await queryClient.invalidateQueries({ queryKey: scopedAccessTokenKeys.detail(variables.id) })
- await onSuccess?.(data, variables, context)
+ await onSuccess?.(data, variables, context, mutationContext)
},
- async onError(data, variables, context) {
+ async onError(data, variables, context, mutationContext) {
if (onError === undefined) {
toast.error(`Failed to delete access token: ${data.message}`)
} else {
- onError(data, variables, context)
+ onError(data, variables, context, mutationContext)
}
},
...options,
diff --git a/apps/studio/data/storage/vector-bucket-create-mutation.ts b/apps/studio/data/storage/vector-bucket-create-mutation.ts
index 8d6ca5c45e9..e154d8c3310 100644
--- a/apps/studio/data/storage/vector-bucket-create-mutation.ts
+++ b/apps/studio/data/storage/vector-bucket-create-mutation.ts
@@ -39,16 +39,16 @@ export const useVectorBucketCreateMutation = ({
return useMutation<VectorBucketCreateData, ResponseError, VectorBucketCreateVariables>({
mutationFn: (vars) => createVectorBucket(vars),
- async onSuccess(data, variables, context) {
+ async onSuccess(data, variables, context, mutationContext) {
const { projectRef } = variables
await queryClient.invalidateQueries({ queryKey: storageKeys.vectorBuckets(projectRef) })
- await onSuccess?.(data, variables, context)
+ await onSuccess?.(data, variables, context, mutationContext)
},
- async onError(data, variables, context) {
+ async onError(data, variables, context, mutationContext) {
if (onError === undefined) {
toast.error(`Failed to create vector bucket: ${data.message}`)
} else {
- onError(data, variables, context)
+ onError(data, variables, context, mutationContext)
}
},
...options,
diff --git a/apps/studio/data/storage/vector-bucket-delete-mutation.ts b/apps/studio/data/storage/vector-bucket-delete-mutation.ts
index 684f63f0492..fe8ccd65aee 100644
--- a/apps/studio/data/storage/vector-bucket-delete-mutation.ts
+++ b/apps/studio/data/storage/vector-bucket-delete-mutation.ts
@@ -38,16 +38,16 @@ export const useVectorBucketDeleteMutation = ({
return useMutation<VectorBucketDeleteData, ResponseError, VectorBucketDeleteVariables>({
mutationFn: (vars) => deleteVectorBucket(vars),
- async onSuccess(data, variables, context) {
+ async onSuccess(data, variables, context, mutationContext) {
const { projectRef } = variables
await queryClient.invalidateQueries({ queryKey: storageKeys.vectorBuckets(projectRef) })
- await onSuccess?.(data, variables, context)
+ await onSuccess?.(data, variables, context, mutationContext)
},
- async onError(data, variables, context) {
+ async onError(data, variables, context, mutationContext) {
if (onError === undefined) {
toast.error(`Failed to delete vector bucket: ${data.message}`)
} else {
- onError(data, variables, context)
+ onError(data, variables, context, mutationContext)
}
},
...options,
diff --git a/apps/studio/data/storage/vector-bucket-index-create-mutation.ts b/apps/studio/data/storage/vector-bucket-index-create-mutation.ts
index b96d701d5bb..2fbf008affe 100644
--- a/apps/studio/data/storage/vector-bucket-index-create-mutation.ts
+++ b/apps/studio/data/storage/vector-bucket-index-create-mutation.ts
@@ -50,18 +50,18 @@ export const useVectorBucketIndexCreateMutation = ({
return useMutation<VectorBucketIndexCreateData, ResponseError, VectorBucketIndexCreateVariables>({
mutationFn: (vars) => createVectorBucketIndex(vars),
- async onSuccess(data, variables, context) {
+ async onSuccess(data, variables, context, mutationContext) {
const { projectRef, bucketName } = variables
await queryClient.invalidateQueries({
queryKey: storageKeys.vectorBucketsIndexes(projectRef, bucketName),
})
- await onSuccess?.(data, variables, context)
+ await onSuccess?.(data, variables, context, mutationContext)
},
- async onError(data, variables, context) {
+ async onError(data, variables, context, mutationContext) {
if (onError === undefined) {
toast.error(`Failed to create vector bucket index: ${data.message}`)
} else {
- onError(data, variables, context)
+ onError(data, variables, context, mutationContext)
}
},
...options,
diff --git a/apps/studio/data/storage/vector-bucket-index-delete-mutation.ts b/apps/studio/data/storage/vector-bucket-index-delete-mutation.ts
index ffaded0b0b9..54ba5898e1a 100644
--- a/apps/studio/data/storage/vector-bucket-index-delete-mutation.ts
+++ b/apps/studio/data/storage/vector-bucket-index-delete-mutation.ts
@@ -47,18 +47,18 @@ export const useVectorBucketIndexDeleteMutation = ({
return useMutation<VectorBucketIndexDeleteData, ResponseError, VectorBucketIndexDeleteVariables>({
mutationFn: (vars) => deleteVectorBucketIndex(vars),
- async onSuccess(data, variables, context) {
+ async onSuccess(data, variables, context, mutationContext) {
const { projectRef, bucketName } = variables
await queryClient.invalidateQueries({
queryKey: storageKeys.vectorBucketsIndexes(projectRef, bucketName),
})
- await onSuccess?.(data, variables, context)
+ await onSuccess?.(data, variables, context, mutationContext)
},
- async onError(data, variables, context) {
+ async onError(data, variables, context, mutationContext) {
if (onError === undefined) {
toast.error(`Failed to delete vector bucket index: ${data.message}`)
} else {
- onError(data, variables, context)
+ onError(data, variables, context, mutationContext)
}
},
...options,
diff --git a/apps/studio/data/storage/versioning/archived-object-purge-mutation.ts b/apps/studio/data/storage/versioning/archived-object-purge-mutation.ts
index 277bc43c107..df7c3bc1e23 100644
--- a/apps/studio/data/storage/versioning/archived-object-purge-mutation.ts
+++ b/apps/studio/data/storage/versioning/archived-object-purge-mutation.ts
@@ -86,15 +86,15 @@ export const useArchivedObjectPurgeMutation = ({
return useMutation<void, ResponseError, ArchivedObjectPurgeVariables>({
mutationFn: purgeArchivedObject,
- async onSuccess(data, variables, context) {
+ async onSuccess(data, variables, context, mutationContext) {
await queryClient.invalidateQueries({
queryKey: storageKeys.archivedObjects(variables.projectRef, variables.bucketId),
})
- await onSuccess?.(data, variables, context)
+ await onSuccess?.(data, variables, context, mutationContext)
},
- async onError(error, variables, context) {
+ async onError(error, variables, context, mutationContext) {
if (onError === undefined) toast.error(`Failed to delete file: ${error.message}`)
- else onError(error, variables, context)
+ else onError(error, variables, context, mutationContext)
},
...options,
})
diff --git a/apps/studio/data/storage/versioning/archived-object-restore-mutation.ts b/apps/studio/data/storage/versioning/archived-object-restore-mutation.ts
index 89ef0658d60..97e3185e033 100644
--- a/apps/studio/data/storage/versioning/archived-object-restore-mutation.ts
+++ b/apps/studio/data/storage/versioning/archived-object-restore-mutation.ts
@@ -45,15 +45,15 @@ export const useArchivedObjectRestoreMutation = ({
return useMutation<void, ResponseError, ArchivedObjectRestoreVariables>({
mutationFn: restoreArchivedObject,
- async onSuccess(data, variables, context) {
+ async onSuccess(data, variables, context, mutationContext) {
await queryClient.invalidateQueries({
queryKey: storageKeys.archivedObjects(variables.projectRef, variables.bucketId),
})
- await onSuccess?.(data, variables, context)
+ await onSuccess?.(data, variables, context, mutationContext)
},
- async onError(error, variables, context) {
+ async onError(error, variables, context, mutationContext) {
if (onError === undefined) toast.error(`Failed to restore file: ${error.message}`)
- else onError(error, variables, context)
+ else onError(error, variables, context, mutationContext)
},
...options,
})
diff --git a/apps/studio/data/storage/versioning/archived-object-version-delete-mutation.ts b/apps/studio/data/storage/versioning/archived-object-version-delete-mutation.ts
index 1850bae9f9e..329c6829597 100644
--- a/apps/studio/data/storage/versioning/archived-object-version-delete-mutation.ts
+++ b/apps/studio/data/storage/versioning/archived-object-version-delete-mutation.ts
@@ -48,15 +48,15 @@ export const useArchivedObjectVersionDeleteMutation = ({
return useMutation<void, ResponseError, ArchivedObjectVersionDeleteVariables>({
mutationFn: deleteArchivedObjectVersion,
- async onSuccess(data, variables, context) {
+ async onSuccess(data, variables, context, mutationContext) {
await queryClient.invalidateQueries({
queryKey: storageKeys.archivedObjects(variables.projectRef, variables.bucketId),
})
- await onSuccess?.(data, variables, context)
+ await onSuccess?.(data, variables, context, mutationContext)
},
- async onError(error, variables, context) {
+ async onError(error, variables, context, mutationContext) {
if (onError === undefined) toast.error(`Failed to delete version: ${error.message}`)
- else onError(error, variables, context)
+ else onError(error, variables, context, mutationContext)
},
...options,
})
diff --git a/apps/studio/data/storage/versioning/object-purge-mutation.ts b/apps/studio/data/storage/versioning/object-purge-mutation.ts
index 5da31817e68..eab9c158f4c 100644
--- a/apps/studio/data/storage/versioning/object-purge-mutation.ts
+++ b/apps/studio/data/storage/versioning/object-purge-mutation.ts
@@ -69,7 +69,7 @@ export const useObjectPurgeMutation = ({
return useMutation<void, ResponseError, ObjectPurgeVariables>({
mutationFn: purgeObject,
- async onSuccess(data, variables, context) {
+ async onSuccess(data, variables, context, mutationContext) {
// The object list lives in the explorer's state, not React Query.
await queryClient.invalidateQueries({
queryKey: storageKeys.objectVersions(
@@ -78,11 +78,11 @@ export const useObjectPurgeMutation = ({
variables.path
),
})
- await onSuccess?.(data, variables, context)
+ await onSuccess?.(data, variables, context, mutationContext)
},
- async onError(error, variables, context) {
+ async onError(error, variables, context, mutationContext) {
if (onError === undefined) toast.error(`Failed to delete object: ${error.message}`)
- else onError(error, variables, context)
+ else onError(error, variables, context, mutationContext)
},
...options,
})
diff --git a/apps/studio/data/storage/versioning/object-version-delete-mutation.ts b/apps/studio/data/storage/versioning/object-version-delete-mutation.ts
index 9b994040e6a..91ec2d281e4 100644
--- a/apps/studio/data/storage/versioning/object-version-delete-mutation.ts
+++ b/apps/studio/data/storage/versioning/object-version-delete-mutation.ts
@@ -45,7 +45,7 @@ export const useObjectVersionDeleteMutation = ({
return useMutation<void, ResponseError, ObjectVersionDeleteVariables>({
mutationFn: deleteObjectVersion,
- async onSuccess(data, variables, context) {
+ async onSuccess(data, variables, context, mutationContext) {
await queryClient.invalidateQueries({
queryKey: storageKeys.objectVersions(
variables.projectRef,
@@ -53,11 +53,11 @@ export const useObjectVersionDeleteMutation = ({
variables.path
),
})
- await onSuccess?.(data, variables, context)
+ await onSuccess?.(data, variables, context, mutationContext)
},
- async onError(error, variables, context) {
+ async onError(error, variables, context, mutationContext) {
if (onError === undefined) toast.error(`Failed to delete version: ${error.message}`)
- else onError(error, variables, context)
+ else onError(error, variables, context, mutationContext)
},
...options,
})
diff --git a/apps/studio/data/storage/versioning/object-version-restore-mutation.ts b/apps/studio/data/storage/versioning/object-version-restore-mutation.ts
index 5b999b6bb9c..e21f45fa7df 100644
--- a/apps/studio/data/storage/versioning/object-version-restore-mutation.ts
+++ b/apps/studio/data/storage/versioning/object-version-restore-mutation.ts
@@ -45,7 +45,7 @@ export const useObjectVersionRestoreMutation = ({
return useMutation<void, ResponseError, ObjectVersionRestoreVariables>({
mutationFn: restoreObjectVersion,
- async onSuccess(data, variables, context) {
+ async onSuccess(data, variables, context, mutationContext) {
await queryClient.invalidateQueries({
queryKey: storageKeys.objectVersions(
variables.projectRef,
@@ -53,11 +53,11 @@ export const useObjectVersionRestoreMutation = ({
variables.path
),
})
- await onSuccess?.(data, variables, context)
+ await onSuccess?.(data, variables, context, mutationContext)
},
- async onError(error, variables, context) {
+ async onError(error, variables, context, mutationContext) {
if (onError === undefined) toast.error(`Failed to restore version: ${error.message}`)
- else onError(error, variables, context)
+ else onError(error, variables, context, mutationContext)
},
...options,
})
diff --git a/apps/studio/hooks/misc/__tests__/useTableEditorFiltersSort.navigation.test.tsx b/apps/studio/hooks/misc/__tests__/useTableEditorFiltersSort.navigation.test.tsx
new file mode 100644
index 00000000000..cc9630d40b2
--- /dev/null
+++ b/apps/studio/hooks/misc/__tests__/useTableEditorFiltersSort.navigation.test.tsx
@@ -0,0 +1,161 @@
+import {
+ createBrowserHistory,
+ createRootRoute,
+ createRoute,
+ createRouter,
+ Outlet,
+ RouterProvider,
+ useParams,
+ type AnyRouter,
+} from '@tanstack/react-router'
+import { act, fireEvent, render, screen, waitFor } from '@testing-library/react'
+import { useMemo } from 'react'
+import { describe, expect, it, vi } from 'vitest'
+
+import Link from '@/compat/next/link'
+import { useSyncFiltersToUrl } from '@/components/grid/hooks/useFilterLifeCycle'
+import { ENTITY_TYPE } from '@/data/entity-types/entity-type-constants'
+import { parseSearch, stringifySearch } from '@/lib/router-search-params'
+import {
+ createTableEditorTableState,
+ TableEditorTableStateContext,
+} from '@/state/table-editor-table'
+
+vi.mock('next/router', () => import('@/compat/next/router'))
+
+function FilterSync() {
+ useSyncFiltersToUrl()
+ return null
+}
+
+function TablePage() {
+ const { id } = useParams<AnyRouter, undefined, false>({ strict: false })
+ const state = useMemo(
+ () =>
+ createTableEditorTableState({
+ projectRef: 'default',
+ table: {
+ id: Number(id),
+ schema: 'public',
+ name: `table_${id}`,
+ entity_type: ENTITY_TYPE.FOREIGN_TABLE,
+ comment: null,
+ columns: [],
+ foreign_server_name: 'fixture',
+ foreign_data_wrapper_name: 'fixture',
+ foreign_data_wrapper_handler: 'fixture',
+ },
+ onAddColumn: vi.fn(),
+ onExpandJSONEditor: vi.fn(),
+ onExpandTextEditor: vi.fn(),
+ }),
+ [id]
+ )
+
+ return (
+ <TableEditorTableStateContext.Provider value={state}>
+ <FilterSync key={id} />
+ <output data-testid="table">{id}</output>
+ <Link href="/project/default/editor/17607?schema=public&extra=kept#selection">Table B</Link>
+ <Link href="/project/default/editor/17489?schema=public&extra=kept#selection">Table A</Link>
+ <button
+ tabIndex={0}
+ onClick={() => state.setFilters([{ column: 'id', operator: '=', value: '1' }])}
+ >
+ Filter rows
+ </button>
+ <button
+ tabIndex={0}
+ onClick={() => state.setFilters([{ column: 'id', operator: '=', value: '2' }])}
+ >
+ Change filter
+ </button>
+ </TableEditorTableStateContext.Provider>
+ )
+}
+
+// Allow the production filter synchronizer's 500ms debounce to finish before traversing.
+const settleFilters = () => act(async () => new Promise((resolve) => setTimeout(resolve, 650)))
+
+for (const basepath of ['/', '/dashboard']) {
+ describe(`table filter history at ${basepath}`, () => {
+ it.each([false, true])(
+ 'preserves repeated Back/Forward with retained application state: %s',
+ async (hasApplicationState) => {
+ const prefix = basepath === '/' ? '' : basepath
+ const tableA = `${prefix}/project/default/editor/17489?schema=public&extra=kept#selection`
+ const tableB = `${prefix}/project/default/editor/17607?schema=public&extra=kept#selection`
+ window.history.replaceState(null, '', tableA)
+ const history = createBrowserHistory()
+ const root = createRootRoute({ component: Outlet })
+ const table = createRoute({
+ getParentRoute: () => root,
+ path: '/project/$ref/editor/$id',
+ component: TablePage,
+ })
+ const router = createRouter({
+ routeTree: root.addChildren([table]),
+ history,
+ basepath,
+ parseSearch,
+ stringifySearch,
+ isServer: false,
+ })
+ await router.load()
+ const view = render(<RouterProvider router={router} />)
+ const push = vi.spyOn(window.history, 'pushState')
+
+ try {
+ await settleFilters()
+ if (hasApplicationState) {
+ const retainedState = { ...history.location.state, legacyState: 'retained' }
+ await act(async () => history.replace(tableA, retainedState))
+ }
+ fireEvent.click(screen.getByText('Table B'))
+ await waitFor(() => expect(screen.getByTestId('table')).toHaveTextContent('17607'))
+ await settleFilters()
+
+ for (let cycle = 0; cycle < 2; cycle++) {
+ push.mockClear()
+ act(() => window.history.back())
+ await waitFor(() => expect(screen.getByTestId('table')).toHaveTextContent('17489'))
+ await settleFilters()
+ expect(window.location.pathname + window.location.search + window.location.hash).toBe(
+ tableA
+ )
+ expect(push).not.toHaveBeenCalled()
+ if (hasApplicationState) expect(window.history.state.legacyState).toBe('retained')
+
+ act(() => window.history.forward())
+ await waitFor(() => expect(screen.getByTestId('table')).toHaveTextContent('17607'))
+ await settleFilters()
+ expect(window.location.pathname + window.location.search + window.location.hash).toBe(
+ tableB
+ )
+ }
+
+ fireEvent.click(screen.getByText('Filter rows'))
+ await waitFor(() => expect(window.location.search).toContain('filter=id%3Aeq%3A1'))
+ expect(window.location.search).toContain('schema=public')
+ expect(window.location.search).toContain('extra=kept')
+ expect(window.location.hash).toBe('#selection')
+
+ // Leaving before the next debounce must cancel the old table's pending URL update.
+ fireEvent.click(screen.getByText('Change filter'))
+ await act(async () => new Promise((resolve) => setTimeout(resolve, 0)))
+ fireEvent.click(screen.getByText('Table A'))
+ await waitFor(() => expect(screen.getByTestId('table')).toHaveTextContent('17489'))
+ await settleFilters()
+ expect(window.location.pathname + window.location.search + window.location.hash).toBe(
+ tableA
+ )
+ } finally {
+ view.unmount()
+ push.mockRestore()
+ history.destroy()
+ }
+ },
+ 10000
+ )
+ })
+}
diff --git a/apps/studio/hooks/misc/__tests__/useTableEditorFiltersSort.test.ts b/apps/studio/hooks/misc/__tests__/useTableEditorFiltersSort.test.ts
index f32de0395bc..a0ebb9225a1 100644
--- a/apps/studio/hooks/misc/__tests__/useTableEditorFiltersSort.test.ts
+++ b/apps/studio/hooks/misc/__tests__/useTableEditorFiltersSort.test.ts
@@ -1,4 +1,5 @@
-import { renderHook } from '@testing-library/react'
+import { act, renderHook } from '@testing-library/react'
+import mockRouter from 'next-router-mock'
import { useRouter } from 'next/router'
import { withNuqsTestingAdapter } from 'nuqs/adapters/testing'
import { describe, expect, it, vi } from 'vitest'
@@ -61,4 +62,43 @@ describe('useTableEditorFilters', () => {
expect(result.current.sorts).toEqual([])
})
+
+ it('keeps unchanged filters and sorts out of Next navigation history', async () => {
+ const router = mockRouter
+ await act(async () => {
+ await router.push('/test?schema=public&filter=id:eq:1&sort=id:asc#selection')
+ })
+ const { result } = renderHook(() => useTableEditorFiltersSort())
+ const onNavigation = vi.fn()
+ router.events.on('routeChangeStart', onNavigation)
+ try {
+ act(() => result.current.setParams((prev) => ({ ...prev })))
+ act(() => result.current.setParams(() => ({ filter: ['id:eq:1'] })))
+ act(() => result.current.setParams(() => ({ sort: ['id:asc'] })))
+ expect(onNavigation).not.toHaveBeenCalled()
+
+ await act(async () => result.current.setParams(() => ({ filter: ['id:eq:2'] })))
+ expect(onNavigation).toHaveBeenCalledTimes(1)
+ expect(router.asPath).toBe('/test?schema=public&filter=id%3Aeq%3A2&sort=id%3Aasc#selection')
+
+ await act(async () =>
+ result.current.setParams(() => ({ sort: ['id:desc', 'created_at:asc'] }))
+ )
+ expect(onNavigation).toHaveBeenCalledTimes(2)
+ expect(result.current.filters).toEqual(['id:eq:2'])
+ expect(result.current.sorts).toEqual(['id:desc', 'created_at:asc'])
+
+ await act(async () =>
+ result.current.setParams(() => ({ sort: ['created_at:asc', 'id:desc'] }))
+ )
+ expect(onNavigation).toHaveBeenCalledTimes(3)
+ expect(result.current.sorts).toEqual(['created_at:asc', 'id:desc'])
+
+ await act(async () => result.current.setParams(() => ({ filter: [], sort: [] })))
+ expect(onNavigation).toHaveBeenCalledTimes(4)
+ expect(router.asPath).toBe('/test?schema=public#selection')
+ } finally {
+ router.events.off('routeChangeStart', onNavigation)
+ }
+ })
})
diff --git a/apps/studio/hooks/misc/useTableEditorFiltersSort.ts b/apps/studio/hooks/misc/useTableEditorFiltersSort.ts
index 830436444c5..67dd6d4b885 100644
--- a/apps/studio/hooks/misc/useTableEditorFiltersSort.ts
+++ b/apps/studio/hooks/misc/useTableEditorFiltersSort.ts
@@ -1,3 +1,4 @@
+import { isEqual } from 'lodash'
import { useRouter } from 'next/router'
import { useCallback, useEffect, useMemo } from 'react'
@@ -49,7 +50,7 @@ export const useTableEditorFiltersSort = () => {
}, [])
const urlParams = useMemo(() => {
- return new URLSearchParams(router.asPath.split('?')[1])
+ return new URLSearchParams(router.asPath.split('?')[1]?.split('#')[0])
}, [router.asPath])
const filters = useMemo(() => {
@@ -78,17 +79,32 @@ export const useTableEditorFiltersSort = () => {
const hasFilter = newParams.filter !== undefined
const hasSort = newParams.sort !== undefined
+ // Compare to the query this push would build on (the in-flight edit, or the URL). A no-op
+ // sync must not create an entry that discards browser Forward history.
+ const areFiltersUnchanged = !hasFilter || isEqual(newParams.filter, prevParams.filter)
+ const areSortsUnchanged = !hasSort || isEqual(newParams.sort, prevParams.sort)
+ if (areFiltersUnchanged && areSortsUnchanged) return
const query = {
...baseQuery,
...(hasFilter ? { filter: newParams.filter } : {}),
...(hasSort ? { sort: newParams.sort } : {}),
}
+ const hashStart = router.asPath.indexOf('#')
const push = { fromAsPath: router.asPath, query }
inFlightPush = push
- void router.push({ query }, undefined, { shallow: true }).finally(() => {
- if (inFlightPush === push) inFlightPush = null
- })
+ void router
+ .push(
+ {
+ hash: hashStart === -1 ? undefined : router.asPath.slice(hashStart),
+ query,
+ },
+ undefined,
+ { shallow: true }
+ )
+ .finally(() => {
+ if (inFlightPush === push) inFlightPush = null
+ })
},
[latestRouter]
)
diff --git a/apps/studio/lib/router-ssr-query.test.tsx b/apps/studio/lib/router-ssr-query.test.tsx
new file mode 100644
index 00000000000..a7da499af64
--- /dev/null
+++ b/apps/studio/lib/router-ssr-query.test.tsx
@@ -0,0 +1,104 @@
+import { QueryClient, useSuspenseQuery } from '@tanstack/react-query'
+import {
+ createMemoryHistory,
+ createRootRouteWithContext,
+ createRoute,
+ createRouter,
+ Outlet,
+ RouterProvider,
+} from '@tanstack/react-router'
+import { setupRouterSsrQueryIntegration } from '@tanstack/react-router-ssr-query'
+import { attachRouterServerSsrUtils } from '@tanstack/react-router/ssr/server'
+import { renderToString } from 'react-dom/server'
+import { describe, expect, it } from 'vitest'
+
+const queryOptions = {
+ queryKey: ['router-ssr-regression'],
+ queryFn: async () => 'server query result',
+ staleTime: Infinity,
+}
+
+function QueryPage() {
+ const { data } = useSuspenseQuery(queryOptions)
+ return <div>{data}</div>
+}
+
+function createFixture(isServer: boolean) {
+ const queryClient = new QueryClient({
+ defaultOptions: { queries: { retry: false, gcTime: Infinity } },
+ })
+ const rootRoute = createRootRouteWithContext<{ queryClient: QueryClient }>()({
+ component: Outlet,
+ })
+ const page = createRoute({
+ getParentRoute: () => rootRoute,
+ path: '/',
+ loader: ({ context }) => context.queryClient.ensureQueryData(queryOptions),
+ component: QueryPage,
+ })
+ const router = createRouter({
+ routeTree: rootRoute.addChildren([page]),
+ history: createMemoryHistory({ initialEntries: ['/'] }),
+ context: { queryClient },
+ isServer,
+ })
+ setupRouterSsrQueryIntegration({
+ router,
+ queryClient,
+ })
+ if (isServer) attachRouterServerSsrUtils({ router, manifest: undefined })
+ return { router, queryClient }
+}
+
+describe('router SSR query integration', () => {
+ it('loads and renders cached queries through SSR dehydration, then releases request state', async () => {
+ const server = createFixture(true)
+ try {
+ await server.router.load()
+ expect(server.router.state.matches.every((match) => match.status === 'success')).toBe(true)
+ const dehydrate = server.router.options.dehydrate!
+ let dehydrated: Awaited<ReturnType<typeof dehydrate>> | undefined
+ server.router.options.dehydrate = async () => {
+ dehydrated = await dehydrate()
+ return dehydrated
+ }
+ await server.router.serverSsr?.dehydrate()
+ if (!dehydrated) throw new Error('Router did not dehydrate the query cache')
+ expect(dehydrated).toMatchObject({
+ query: { initial: [{ state: { data: 'server query result', status: 'success' } }] },
+ })
+ expect(renderToString(<RouterProvider router={server.router} />)).toContain(
+ 'server query result'
+ )
+ } finally {
+ server.router.serverSsr?.cleanup()
+ }
+ expect(server.queryClient.getQueryCache().getAll()).toEqual([])
+ })
+
+ it('hydrates initial and streamed queries, then releases their request cache', async () => {
+ const server = createFixture(true)
+ const client = createFixture(false)
+ const pending = Promise.withResolvers<string>()
+ try {
+ await server.router.load()
+ const dehydrated = await server.router.options.dehydrate?.()
+ if (!dehydrated) throw new Error('Router did not dehydrate the query cache')
+ await client.router.options.hydrate?.(dehydrated)
+ expect(client.queryClient.getQueryData(queryOptions.queryKey)).toBe('server query result')
+ const request = server.queryClient.fetchQuery({
+ queryKey: ['late-query'],
+ queryFn: () => pending.promise,
+ })
+ pending.resolve('streamed query result')
+ await request
+ await expect
+ .poll(() => client.queryClient.getQueryData(['late-query']))
+ .toBe('streamed query result')
+ } finally {
+ server.router.serverSsr?.cleanup()
+ client.queryClient.clear()
+ }
+ expect(server.queryClient.getQueryCache().getAll()).toEqual([])
+ })
+})
diff --git a/apps/studio/package.json b/apps/studio/package.json
index a053d47e805..7f953ac7f09 100644
--- a/apps/studio/package.json
+++ b/apps/studio/package.json
@@ -83,10 +83,10 @@
"@supabase/supabase-js": "catalog:",
"@tanstack/react-devtools": "^0.10.3",
"@tanstack/react-hotkeys": "^0.10.0",
- "@tanstack/react-query": "~5.83.0",
- "@tanstack/react-query-devtools": "~5.90.2",
+ "@tanstack/react-query": "~5.104.3",
+ "@tanstack/react-query-devtools": "~5.104.3",
"@tanstack/react-router": "catalog:",
- "@tanstack/react-router-devtools": "^1.166.13",
+ "@tanstack/react-router-devtools": "^1.167.2",
"@tanstack/react-router-ssr-query": "^1.167.3",
"@tanstack/react-start": "catalog:",
"@tanstack/react-table": "catalog:",
diff --git a/apps/studio/router.tsx b/apps/studio/router.tsx
index 9e0d5832f68..8da4e7be936 100644
--- a/apps/studio/router.tsx
+++ b/apps/studio/router.tsx
@@ -42,12 +42,7 @@ export function getRouter() {
// No-op on the server and when no DSN is configured (see module).
initSentryTanStackClient(router)
- // @tanstack/[email protected] pulls in @tanstack/[email protected]
- // as a peer, but our app pins react-query to 5.83. The QueryClient class is
- // structurally identical between the two, but TS treats them as nominally
- // distinct types because each version has its own `#private` field.
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
- setupRouterSsrQueryIntegration({ router, queryClient: context.queryClient as any })
+ setupRouterSsrQueryIntegration({ router, queryClient: context.queryClient })
return router
}
diff --git a/apps/studio/routes/__root.tsx b/apps/studio/routes/__root.tsx
index 8a63fd3b6d9..f0fcb8b67b4 100644
--- a/apps/studio/routes/__root.tsx
+++ b/apps/studio/routes/__root.tsx
@@ -276,7 +276,7 @@ function ErrorBoundaryRoute({ error }: ErrorComponentProps) {
scope.setTag('routerErrorComponent', true)
const eventId = Sentry.captureException(error)
if (eventId && error && typeof error === 'object') {
- ;(error as Error & { sentryId?: string }).sentryId = eventId
+ Object.assign(error, { sentryId: eventId })
}
})
console.error(error instanceof Error ? error.stack : error)
diff --git a/apps/studio/server.ts b/apps/studio/server.ts
index da49f228372..2f4ad344ec5 100644
--- a/apps/studio/server.ts
+++ b/apps/studio/server.ts
@@ -1,7 +1,5 @@
-// TanStack Start server entry; Nitro bundles it into the server for every
-// target. Sentry's init must run before the route tree evaluates, so the
-// instrument module is imported first; `wrapFetchWithSentry` then captures
-// request-scoped errors, including ones swallowed into a 500 downstream.
+// wrapFetchWithSentry only adds a span, trace meta tags, and a flush. errors
+// are captured in start.ts, because only the sentry middleware sees handler throws.
import './instrument.server.mjs'
import { wrapFetchWithSentry } from '@sentry/tanstackstart-react'
diff --git a/apps/studio/types/react-query.ts b/apps/studio/types/react-query.ts
index fbb8048193f..c52e0cd905a 100644
--- a/apps/studio/types/react-query.ts
+++ b/apps/studio/types/react-query.ts
@@ -13,13 +13,27 @@ export type UseCustomQueryOptions<
TQueryKey extends QueryKey = QueryKey,
> = Omit<UseQueryOptions<TQueryFnData, TError, TData, TQueryKey>, 'queryKey'>
-// @deprecated Just use UseMutationOptions directly
+type CustomMutationCallback<TCallback extends (...args: never[]) => unknown> = (
+ dataOrError: Parameters<TCallback>[0],
+ variables: Parameters<TCallback>[1],
+ optimisticContext: Parameters<TCallback>[2]
+) => ReturnType<TCallback>
+
+// Studio mutation hooks forward the optimistic result as their third argument.
+// Their custom callbacks retain that contract separately from the SDK's mutation context.
export type UseCustomMutationOptions<
TData = unknown,
TError = unknown,
TVariables = void,
TContext = unknown,
-> = UseMutationOptions<TData, TError, TVariables, TContext>
+> = Omit<UseMutationOptions<TData, TError, TVariables, TContext>, 'onSuccess' | 'onError'> & {
+ onSuccess?: CustomMutationCallback<
+ NonNullable<UseMutationOptions<TData, TError, TVariables, TContext>['onSuccess']>
+ >
+ onError?: CustomMutationCallback<
+ NonNullable<UseMutationOptions<TData, TError, TVariables, TContext>['onError']>
+ >
+}
export type UseCustomInfiniteQueryOptions<
TQueryFnData = unknown,
diff --git a/apps/ui-library/content/docs/tanstack/password-based-auth.mdx b/apps/ui-library/content/docs/tanstack/password-based-auth.mdx
index c7cb7ad5608..6e1eca78ebc 100644
--- a/apps/ui-library/content/docs/tanstack/password-based-auth.mdx
+++ b/apps/ui-library/content/docs/tanstack/password-based-auth.mdx
@@ -13,6 +13,12 @@ preview: |-
This block includes the [Supabase client](/library/docs/tanstack/client). If you already have one installed, you can skip overwriting it.
+<Callout type="info">
+
+This block requires `@tanstack/react-start` 1.168.25 or later.
+
+</Callout>
+
## Usage
Once you install the block in your TanStack Start project, you'll get all the necessary pages and components to set up a password-based authentication flow.
diff --git a/apps/ui-library/content/docs/tanstack/social-auth.mdx b/apps/ui-library/content/docs/tanstack/social-auth.mdx
index 038fe54ccb4..04816dc2457 100644
--- a/apps/ui-library/content/docs/tanstack/social-auth.mdx
+++ b/apps/ui-library/content/docs/tanstack/social-auth.mdx
@@ -18,6 +18,12 @@ preview: |-
This block includes the [Supabase client](/library/docs/tanstack/client). If you already have one installed, you can skip overwriting it.
+<Callout type="info">
+
+This block requires `@tanstack/react-start` 1.168.25 or later.
+
+</Callout>
+
## Usage
Once you install the block in your Tanstack Start project, you'll get all the necessary pages and components to set up a social authentication flow.
diff --git a/apps/ui-library/public/r/password-based-auth-tanstack.json b/apps/ui-library/public/r/password-based-auth-tanstack.json
index 7600f1a4274..2e13e6f8320 100644
--- a/apps/ui-library/public/r/password-based-auth-tanstack.json
+++ b/apps/ui-library/public/r/password-based-auth-tanstack.json
@@ -41,7 +41,7 @@
},
{
"path": "registry/default/blocks/password-based-auth-tanstack/routes/auth/confirm.ts",
- "content": "import { type EmailOtpType } from '@supabase/supabase-js'\nimport { createFileRoute, redirect } from '@tanstack/react-router'\nimport { createServerFn } from '@tanstack/react-start'\nimport { getRequest } from '@tanstack/react-start/server'\n\nimport { safeNextPath } from '@/registry/default/blocks/safe-next-path/lib/safe-next-path'\nimport { createClient } from '@/registry/default/clients/tanstack/lib/supabase/server'\n\nconst confirmFn = createServerFn({ method: 'GET' })\n .inputValidator((searchParams: unknown) => {\n if (\n searchParams &&\n typeof searchParams === 'object' &&\n 'token_hash' in searchParams &&\n 'type' in searchParams &&\n 'next' in searchParams\n ) {\n return searchParams\n }\n throw new Error('Invalid search params')\n })\n .handler(async (ctx) => {\n const request = getRequest()\n\n if (!request) {\n throw redirect({ to: `/auth/error`, search: { error: 'No request' } })\n }\n\n const searchParams = ctx.data\n const token_hash = searchParams['token_hash'] as string\n const type = searchParams['type'] as EmailOtpType | null\n const _next = searchParams['next'] as string\n const origin = new URL(request.url).origin\n const next = safeNextPath(\n _next?.startsWith(`${origin}/`) ? _next.slice(origin.length) : _next,\n '/',\n origin\n )\n\n if (token_hash && type) {\n const supabase = createClient()\n\n const { error } = await supabase.auth.verifyOtp({\n type,\n token_hash,\n })\n if (!error) {\n // redirect user to specified redirect URL or root of app\n throw redirect({ href: next })\n } else {\n // redirect the user to an error page with some instructions\n console.log(error?.message)\n throw redirect({\n to: `/auth/error`,\n search: { error: error?.message },\n })\n }\n }\n\n // redirect the user to an error page with some instructions\n throw redirect({\n to: `/auth/error`,\n search: { error: 'No token hash or type' },\n })\n })\n\nexport const Route = createFileRoute('/auth/confirm')({\n preload: false,\n loader: (opts) => confirmFn({ data: opts.location.search }),\n})\n",
+ "content": "import { type EmailOtpType } from '@supabase/supabase-js'\nimport { createFileRoute, redirect } from '@tanstack/react-router'\nimport { createServerFn } from '@tanstack/react-start'\nimport { getRequest } from '@tanstack/react-start/server'\n\nimport { safeNextPath } from '@/registry/default/blocks/safe-next-path/lib/safe-next-path'\nimport { createClient } from '@/registry/default/clients/tanstack/lib/supabase/server'\n\nconst confirmFn = createServerFn({ method: 'GET' })\n .validator((searchParams: unknown) => {\n if (\n searchParams &&\n typeof searchParams === 'object' &&\n 'token_hash' in searchParams &&\n 'type' in searchParams &&\n 'next' in searchParams\n ) {\n return searchParams\n }\n throw new Error('Invalid search params')\n })\n .handler(async (ctx) => {\n const request = getRequest()\n\n if (!request) {\n throw redirect({ to: `/auth/error`, search: { error: 'No request' } })\n }\n\n const searchParams = ctx.data\n const token_hash = searchParams['token_hash'] as string\n const type = searchParams['type'] as EmailOtpType | null\n const _next = searchParams['next'] as string\n const origin = new URL(request.url).origin\n const next = safeNextPath(\n _next?.startsWith(`${origin}/`) ? _next.slice(origin.length) : _next,\n '/',\n origin\n )\n\n if (token_hash && type) {\n const supabase = createClient()\n\n const { error } = await supabase.auth.verifyOtp({\n type,\n token_hash,\n })\n if (!error) {\n // redirect user to specified redirect URL or root of app\n throw redirect({ href: next })\n } else {\n // redirect the user to an error page with some instructions\n console.log(error?.message)\n throw redirect({\n to: `/auth/error`,\n search: { error: error?.message },\n })\n }\n }\n\n // redirect the user to an error page with some instructions\n throw redirect({\n to: `/auth/error`,\n search: { error: 'No token hash or type' },\n })\n })\n\nexport const Route = createFileRoute('/auth/confirm')({\n preload: false,\n loader: (opts) => confirmFn({ data: opts.location.search }),\n})\n",
"type": "registry:file",
"target": "routes/auth/confirm.ts"
},
diff --git a/apps/ui-library/public/r/social-auth-tanstack.json b/apps/ui-library/public/r/social-auth-tanstack.json
index 556093d8136..999ff2384cd 100644
--- a/apps/ui-library/public/r/social-auth-tanstack.json
+++ b/apps/ui-library/public/r/social-auth-tanstack.json
@@ -43,7 +43,7 @@
},
{
"path": "registry/default/blocks/social-auth-tanstack/routes/auth/oauth.ts",
- "content": "import { createFileRoute, redirect } from '@tanstack/react-router'\nimport { createServerFn } from '@tanstack/react-start'\nimport { getRequest } from '@tanstack/react-start/server'\n\nimport { createClient } from '@/registry/default/clients/tanstack/lib/supabase/server'\n\nconst confirmFn = createServerFn({ method: 'GET' })\n .inputValidator((searchParams: unknown) => {\n if (\n searchParams &&\n typeof searchParams === 'object' &&\n 'code' in searchParams &&\n 'next' in searchParams\n ) {\n return searchParams\n }\n throw new Error('Invalid search params')\n })\n .handler(async (ctx) => {\n const request = getRequest()\n\n if (!request) {\n throw redirect({ to: `/auth/error`, search: { error: 'No request' } })\n }\n\n const searchParams = ctx.data\n const code = searchParams['code'] as string\n const _next = (searchParams['next'] ?? '/') as string\n const next = _next?.startsWith('/') ? _next : '/'\n\n if (code) {\n const supabase = createClient()\n\n const { error } = await supabase.auth.exchangeCodeForSession(code)\n if (!error) {\n // redirect user to specified redirect URL or root of app\n throw redirect({ href: next })\n } else {\n // redirect the user to an error page with some instructions\n throw redirect({\n to: `/auth/error`,\n search: { error: error?.message },\n })\n }\n }\n\n // redirect the user to an error page with some instructions\n throw redirect({\n to: `/auth/error`,\n search: { error: 'No code found' },\n })\n })\n\nexport const Route = createFileRoute('/auth/confirm')({\n preload: false,\n loader: (opts) => confirmFn({ data: opts.location.search }),\n})\n",
+ "content": "import { createFileRoute, redirect } from '@tanstack/react-router'\nimport { createServerFn } from '@tanstack/react-start'\nimport { getRequest } from '@tanstack/react-start/server'\n\nimport { createClient } from '@/registry/default/clients/tanstack/lib/supabase/server'\n\nconst confirmFn = createServerFn({ method: 'GET' })\n .validator((searchParams: unknown) => {\n if (\n searchParams &&\n typeof searchParams === 'object' &&\n 'code' in searchParams &&\n 'next' in searchParams\n ) {\n return searchParams\n }\n throw new Error('Invalid search params')\n })\n .handler(async (ctx) => {\n const request = getRequest()\n\n if (!request) {\n throw redirect({ to: `/auth/error`, search: { error: 'No request' } })\n }\n\n const searchParams = ctx.data\n const code = searchParams['code'] as string\n const _next = (searchParams['next'] ?? '/') as string\n const next = _next?.startsWith('/') ? _next : '/'\n\n if (code) {\n const supabase = createClient()\n\n const { error } = await supabase.auth.exchangeCodeForSession(code)\n if (!error) {\n // redirect user to specified redirect URL or root of app\n throw redirect({ href: next })\n } else {\n // redirect the user to an error page with some instructions\n throw redirect({\n to: `/auth/error`,\n search: { error: error?.message },\n })\n }\n }\n\n // redirect the user to an error page with some instructions\n throw redirect({\n to: `/auth/error`,\n search: { error: 'No code found' },\n })\n })\n\nexport const Route = createFileRoute('/auth/confirm')({\n preload: false,\n loader: (opts) => confirmFn({ data: opts.location.search }),\n})\n",
"type": "registry:file",
"target": "routes/auth/oauth.ts"
},
diff --git a/apps/ui-library/registry/default/blocks/password-based-auth-tanstack/routes/auth/confirm.ts b/apps/ui-library/registry/default/blocks/password-based-auth-tanstack/routes/auth/confirm.ts
index a0e472d6308..5363caae879 100644
--- a/apps/ui-library/registry/default/blocks/password-based-auth-tanstack/routes/auth/confirm.ts
+++ b/apps/ui-library/registry/default/blocks/password-based-auth-tanstack/routes/auth/confirm.ts
@@ -7,7 +7,7 @@ import { safeNextPath } from '@/registry/default/blocks/safe-next-path/lib/safe-
import { createClient } from '@/registry/default/clients/tanstack/lib/supabase/server'
const confirmFn = createServerFn({ method: 'GET' })
- .inputValidator((searchParams: unknown) => {
+ .validator((searchParams: unknown) => {
if (
searchParams &&
typeof searchParams === 'object' &&
diff --git a/apps/ui-library/registry/default/blocks/social-auth-tanstack/routes/auth/oauth.ts b/apps/ui-library/registry/default/blocks/social-auth-tanstack/routes/auth/oauth.ts
index 881672b99d2..9c81cdee747 100644
--- a/apps/ui-library/registry/default/blocks/social-auth-tanstack/routes/auth/oauth.ts
+++ b/apps/ui-library/registry/default/blocks/social-auth-tanstack/routes/auth/oauth.ts
@@ -5,7 +5,7 @@ import { getRequest } from '@tanstack/react-start/server'
import { createClient } from '@/registry/default/clients/tanstack/lib/supabase/server'
const confirmFn = createServerFn({ method: 'GET' })
- .inputValidator((searchParams: unknown) => {
+ .validator((searchParams: unknown) => {
if (
searchParams &&
typeof searchParams === 'object' &&
diff --git a/apps/ui-library/tests/sign-up-redirect.test.tsx b/apps/ui-library/tests/sign-up-redirect.test.tsx
index 2b64bc531fd..490ed348eba 100644
--- a/apps/ui-library/tests/sign-up-redirect.test.tsx
+++ b/apps/ui-library/tests/sign-up-redirect.test.tsx
@@ -21,7 +21,7 @@ vi.mock('@tanstack/react-router', () => ({
}))
vi.mock('@tanstack/react-start', () => ({
createServerFn: () => ({
- inputValidator: () => ({
+ validator: () => ({
handler: (handler: (ctx: { data: Record<string, unknown> }) => Promise<unknown>) => {
confirm.mockImplementation(handler)
return confirm
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 5ebef913d83..06b006b48d8 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -31,11 +31,11 @@ catalogs:
specifier: 2.117.3
version: 2.117.3
'@tanstack/react-router':
- specifier: ^1.170.41
- version: 1.170.41
+ specifier: ^1.170.44
+ version: 1.170.44
'@tanstack/react-start':
- specifier: ^1.168.60
- version: 1.168.60
+ specifier: ^1.169.2
+ version: 1.169.2
'@tanstack/react-table':
specifier: ^8.21.3
version: 8.21.3
@@ -1127,28 +1127,28 @@ importers:
version: 2.117.3(@opentelemetry/[email protected])
'@tanstack/react-devtools':
specifier: ^0.10.3
'@tanstack/react-hotkeys':
specifier: ^0.10.0
'@tanstack/react-query':
- specifier: ~5.83.0
- version: 5.83.0([email protected])
+ specifier: ~5.104.3
+ version: 5.104.3([email protected])
'@tanstack/react-query-devtools':
- specifier: ~5.90.2
+ specifier: ~5.104.3
'@tanstack/react-router':
specifier: 'catalog:'
'@tanstack/react-router-devtools':
- specifier: ^1.166.13
+ specifier: ^1.167.2
'@tanstack/react-router-ssr-query':
specifier: ^1.167.3
'@tanstack/react-start':
specifier: 'catalog:'
'@tanstack/react-table':
specifier: 'catalog:'
@@ -1283,7 +1283,7 @@ importers:
nuqs:
specifier: 2.7.1
openai:
specifier: ^4.104.0
@@ -1717,10 +1717,10 @@ importers:
version: 2.117.3(@opentelemetry/[email protected])
'@tanstack/react-router':
specifier: 'catalog:'
'@tanstack/react-start':
specifier: 'catalog:'
'@types/common-tags':
specifier: ^1.8.4
version: 1.8.4
@@ -1969,7 +1969,7 @@ importers:
nuqs:
specifier: ^2.8.1
ogl:
specifier: ^1.0.11
version: 1.0.11
@@ -3858,6 +3858,11 @@ packages:
'@configcat/[email protected]':
resolution: {integrity: sha512-oSueg7jIk6in+XreRjnV+U6lQfgu5W2w6TqtO1CjEcyR2zRrVC7fLLZoySHnRlPwExXrvbp4olDYWEbfj1zL0A==}
+ '@corvu/[email protected]':
+ resolution: {integrity: sha512-Ox2kYyxy7NoXdKWdHeDEjZxClwzO4SKM8plAaVwmAJPxHMqA0rLOoAsa+hBDwRLpctf+ZRnAd/ykguuJidnaTA==}
+ peerDependencies:
+ solid-js: ^1.8
+
'@csstools/[email protected]':
resolution: {integrity: sha512-LMGQLS9EuADloEFkcTBR3BwV/CGHV7zyDxVRtVDTwdI2Ca4it0CCVTT9wCkxSgokjE5Ho41hEPgb8OEUwoXr6Q==}
engines: {node: '>=20.19.0'}
@@ -5250,6 +5255,9 @@ packages:
'@types/node':
optional: true
+ '@internationalized/[email protected]':
+ resolution: {integrity: sha512-GgWy2caO/+hV9sT/oCTWGHvbjmJMPT9kkXzoKRLnkEq7adghhR7UprhvY9sXrKfrp3NcDfhF6QQHXR1KfQbB8g==}
+
'@ioredis/[email protected]':
resolution: {integrity: sha512-JH8ZL/ywcJyR9MmJ5BNqZllXNZQqQbnVZOqpPQqE1vHiFgAw4NHbvE0FOduNU8IX9babitBT46571OnPTT0Zcw==}
@@ -5280,6 +5288,16 @@ packages:
'@jridgewell/[email protected]':
resolution: {integrity: sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==}
+ '@kobalte/[email protected]':
+ resolution: {integrity: sha512-SBVB1lnvYbYt2x3t7fG0lo5fGLEbHQ6PII3NDPva8vD5e2v53On84ZVQiuIk0XI/55R4GQhden7Yem+R/XR8uQ==}
+ peerDependencies:
+ solid-js: ^1.9.8
+
+ '@kobalte/[email protected]':
+ resolution: {integrity: sha512-jRVXr+zsVHxzDXRoh+CDeXzvCsFJ6uiHhqqNQ26Cw9ZsZ3D6nqPUBt1gGVtj2ZPmRL3a9Uk1v8D1aJ8/I12Dow==}
+ peerDependencies:
+ solid-js: ^1.8.8
+
'@kwsites/[email protected]':
resolution: {integrity: sha512-m9/5YGR18lIwxSFDwfE3oA7bWuq9kdau6ugN4H2rJeyhFQZcG9AgSHkQtSD15a8WvTgfz9aikZMrKPHvbpqFiw==}
@@ -8311,31 +8329,96 @@ packages:
peerDependencies:
solid-js: ^1.6.12
+ '@solid-primitives/[email protected]':
+ resolution: {integrity: sha512-5I0YJcTVYIWoMmgBSROBZGcz+ymhew/pGTg2dHW74BUjFKsV8Li4bOZYl0YAGP4mHw5o4UBd9/BEesqBci3wxw==}
+ peerDependencies:
+ solid-js: ^1.6.12
+
'@solid-primitives/[email protected]':
resolution: {integrity: sha512-sav+l+PL+74z3yaftVs7qd8c2SXkqzuxPOVibUe5wYMt+U5Hxp3V3XCPgBPN2I6cANjvoFtz0NiU8uHVLdi9FQ==}
peerDependencies:
solid-js: ^1.6.12
+ '@solid-primitives/[email protected]':
+ resolution: {integrity: sha512-zNadtyYBhJSOjXtogkGHmRxjGdz9KHc8sGGVAGlUABkE8BED2tbIZoxkwSqzOwde8OcUEH0bb5DLZUWIMvyBSA==}
+ peerDependencies:
+ solid-js: ^1.6.12
+
+ '@solid-primitives/[email protected]':
+ resolution: {integrity: sha512-B1zyFbsiTQvqPr+cuPCXO72sRuczG9Swncqk5P74NCGw1VE8qa/Ry9GlfI1e/VdeQYHjan+XkbE3rO2GW/qKew==}
+ peerDependencies:
+ solid-js: ^1.6.12
+
+ '@solid-primitives/[email protected]':
+ resolution: {integrity: sha512-pk49gPOq/UMRUJ+pTSrOfBiR8xJjRYHXIf1iR/jSnyQ/KroU+ZXhkZzavC7hvfp2vJeOTW5k2/HN0r3Q1VJ7Pw==}
+ peerDependencies:
+ solid-js: ^1.6.12
+
+ '@solid-primitives/[email protected]':
+ resolution: {integrity: sha512-MXXdvi2TSB6d+0N6ueA/HP1j/Kh9SEc4WdF1ZDMLwPagxW6pIHHSS9xbRO0RjqSVpNP4j0nxCWT1hx3CkJNhNA==}
+ peerDependencies:
+ solid-js: ^1.6.12
+
+ '@solid-primitives/[email protected]':
+ resolution: {integrity: sha512-bLjwIs6ZPu8NQnuw04sU3Zc8qKSpbc0umUU/O4SHf6oWOdO4+dHY8vb1T7C4b/Tg103+9WGr6sEE0+NFlbaB/A==}
+ peerDependencies:
+ solid-js: ^1.6.12
+
'@solid-primitives/[email protected]':
resolution: {integrity: sha512-AiyTknKcNBaKHbcSMuxtSNM8FjIuiSuFyFghdD0TcCMU9hKi9EmsC5pjfjDwxE+5EueB1a+T/34PLRI5vbBbKw==}
peerDependencies:
solid-js: ^1.6.12
+ '@solid-primitives/[email protected]':
+ resolution: {integrity: sha512-9Fuu/EWBeGj+atGHRJp70HKhdfalmpjwxY8a32NZixdLNmfCJ45AfhLQNr6uOzETbbiMx4iCKlTrJ8KZCHC2Ww==}
+ peerDependencies:
+ solid-js: ^1.6.12
+
'@solid-primitives/[email protected]':
resolution: {integrity: sha512-N8cIDAHbWcLahNRLr0knAAQvXyEdEMoAZvIMZKmhNb1mlx9e2UOv9BRD5YNwQUJwbNoYVhhLwFOEOcVXFx0HqA==}
peerDependencies:
solid-js: ^1.6.12
+ '@solid-primitives/[email protected]':
+ resolution: {integrity: sha512-TOIZa1VUfVJ+9nkCcRajw3U4t9vBOP1HxX1WHNTbXq32mXwlqTvUnC4CRIilohcryBkT9u2ZkhUDSHRTaGp55g==}
+ peerDependencies:
+ solid-js: ^1.6.12
+
'@solid-primitives/[email protected]':
resolution: {integrity: sha512-uxez7SXnr5GiRnzqO2IEDjOJRIXaG+0LZLBizmUA1FwSi+hrpuMzVBwyk70m4prcl8X6FDDXUl9O8hSq8wHbBQ==}
peerDependencies:
solid-js: ^1.6.12
+ '@solid-primitives/[email protected]':
+ resolution: {integrity: sha512-LgtVaVBtB7EbmS4+M0b8xY5Iq6pUWXBsIC4VgtrFKDGDdyCaDt88sHk0fUlx1Enxm/XZnZyLXJABRoa39RjJqA==}
+ peerDependencies:
+ solid-js: ^1.6.12
+
+ '@solid-primitives/[email protected]':
+ resolution: {integrity: sha512-PpQWR3TaTxHIJFbI9ZssYTM4Aa67g1vJIgps4TPhcXzHqqomrPAIveFC2FG7SDQoi9YQia8FVBjigELziJpfIg==}
+ peerDependencies:
+ solid-js: ^1.6.12
+
+ '@solid-primitives/[email protected]':
+ resolution: {integrity: sha512-gnHS0OmcdjeoHN9n7Khu8KNrOlRc8a2weETDt2YT6o1zeW/XtUC6Db3Q9pkMU/9cCKdEmN4b0a/41MKAHRhzWA==}
+ peerDependencies:
+ solid-js: ^1.6.12
+
+ '@solid-primitives/[email protected]':
+ resolution: {integrity: sha512-Ju0e+ZOD7hpOp7nptJimvDSZHWFvIvF9iBWMvuwt30smX7c5wmB8Kmc0AdDuv0wOTi06PQ1J5IrP1WJbH2yUBQ==}
+ peerDependencies:
+ solid-js: ^1.6.12
+
'@solid-primitives/[email protected]':
resolution: {integrity: sha512-AeGTBg8Wtkh/0s+evyLtP8piQoS4wyqqQaAFs2HJcFMMjYAtUgo+ZPduRXLjPlqKVc2ejeR544oeqpbn8Egn8A==}
peerDependencies:
solid-js: ^1.6.12
+ '@solid-primitives/[email protected]':
+ resolution: {integrity: sha512-ISSB5QX1qP2ynrheIpYwc4oKR5Ny4siNuUyf1qZniy+Il+p/PtDB0QK1Dnle8noiHpwRD3gpPdubOC3qI/Zamg==}
+ peerDependencies:
+ solid-js: ^1.6.12
+
'@speed-highlight/[email protected]':
resolution: {integrity: sha512-G4ewlBNhUtlLvrJTb88d2mdy2KRijzs4UhnlrOSRT4bmjh/IqNElZa3zkrZ+TC47TwtlDWzVLFADljF1Ijp5hA==}
@@ -8638,22 +8721,26 @@ packages:
peerDependencies:
eslint: ^8.57.0 || ^9.0.0
- '@tanstack/[email protected]':
- resolution: {integrity: sha512-utTS5L2OkeYUzXGohL1Z8sefu1GLNOJcxe8Hd6iIdc/Xo1K1nDB2JEp4iSFhvYh33xKC9V91TxrS8qfrpoKobQ==}
+ '@tanstack/[email protected]':
+ resolution: {integrity: sha512-w1+YvwmTkwt5n8yUqEH3IWZ9DsmorCZW/EQ3KYHnqEgIkOZpH54NvW6/Epq3Dzb8H0ifIeYX8PExvrNLIH5FIA==}
engines: {node: '>=20.19'}
'@tanstack/[email protected]':
resolution: {integrity: sha512-vqH7X9nb0MTJ/O08++dB5bP9jgj4+BIPOUu/U+6myG86lDsirZSVSobpq5UQpE7nBuk62i8eIYeOhd+OMl/UrA==}
engines: {node: '>=18'}
- '@tanstack/[email protected]':
- resolution: {integrity: sha512-JrC2r/JQlXt7khBSdUpsgxNvybzOg+aITa+ARRMlP2AFo93Y8vIqz077rp+e61mJetSZ0T6AJbwW1JHer1vrPQ==}
+ '@tanstack/[email protected]':
+ resolution: {integrity: sha512-DIpUSOhPfQ7u/qfUi/Wgm0wBO56MyBYXGvnlI0NcauDRPqdBUlAZZjW2Dxm92m+k1UWVhKw8YJ4f47+75Aujyw==}
+ engines: {node: '>=20'}
+
+ '@tanstack/[email protected]':
+ resolution: {integrity: sha512-DZY9TuJAOgU3UyHUhXb4CcTYEHNZszlwkPg4VViIwTxOKzLprPUU+rbaPZQd3srqkGOtpaDdKpW972UV/LKlcg==}
'@tanstack/[email protected]':
resolution: {integrity: sha512-0M8dA+amXUkyz5cVUm/B+zSk3xkQAcuXuz5/Q/LveT4ots2rBpPTZOzd7yJa2Utsf8D2Upl5KyjhHRY+9lB/XA==}
- '@tanstack/[email protected]':
- resolution: {integrity: sha512-GtINOPjPUH0OegJExZ70UahT9ykmAhmtNVcmtdnOZbxLwT7R5OmRztR5Ahe3/Cu7LArEmR6/588tAycuaWb1xQ==}
+ '@tanstack/[email protected]':
+ resolution: {integrity: sha512-2Hd8r9G7352GmM9Olu5rdgbslRFH71F5gVxknhgpkgPMgKse7IantVDu1NIeZbynlgsz6K3HhiY7dyq47mAb2A==}
'@tanstack/[email protected]':
resolution: {integrity: sha512-AYHQH06uuK07Asqq8eASgJjpILlaFBpjnTesxx1JVHGoBl4ijwbyIlKnj3Z8+M8sEOPn5mvtV5o6mielPXKHWg==}
@@ -8671,10 +8758,16 @@ packages:
react: '>=16.8'
react-dom: '>=16.8'
- '@tanstack/[email protected]':
- resolution: {integrity: sha512-vAXJzZuBXtCQtrY3F/yUNJCV4obT/A/n81kb3+YqLbro5Z2+phdAbceO+deU3ywPw8B42oyJlp4FhO0SoivDFQ==}
+ '@tanstack/[email protected]':
+ resolution: {integrity: sha512-5wRAGOZYQ+YUow/qKCnwXuB+UoHOymeyjC5vs5rJyGdir5yZ+JSyp3D59gqxvnFAXnjfFtzCepArR46f1PfSwg==}
+ peerDependencies:
+ '@tanstack/react-query': ^5.104.3
+ '@types/react': ^18 || ^19
+ react: ^18 || ^19
+
+ '@tanstack/[email protected]':
+ resolution: {integrity: sha512-5Ts1ImwJKqoJgPkLxl9WrPQy1JEoEmti3MaaODCfBamHUGFk57IFrc+AIksPq+BAm10EsroX56qm398Z42LG7w==}
peerDependencies:
- '@tanstack/react-query': ^5.90.2
react: ^18 || ^19
'@tanstack/[email protected]':
@@ -8682,12 +8775,12 @@ packages:
peerDependencies:
react: ^18 || ^19
- '@tanstack/[email protected]':
- resolution: {integrity: sha512-nGw095EG7IHx0h5NtlEmzf6vcCTaFNPWdTSuDKazajhN0ct/v/TkekJ9J6KYUCeV1a8/2ZmToc58M+0rrOyn7w==}
+ '@tanstack/[email protected]':
+ resolution: {integrity: sha512-VuoqB7OhDUrBa4WOFSKiAQ8xI8sJpeZdo9sYE1hQa89iMuVFUQu1iWE4iCiQhB+6TYOZDZ9e+iHKxYjop4ZVYw==}
engines: {node: '>=20.19'}
peerDependencies:
- '@tanstack/react-router': ^1.170.0
- '@tanstack/router-core': ^1.170.0
+ '@tanstack/react-router': ^1.170.36
+ '@tanstack/router-core': ^1.171.30
react: '>=18.0.0 || >=19.0.0'
react-dom: '>=18.0.0 || >=19.0.0'
peerDependenciesMeta:
@@ -8704,22 +8797,22 @@ packages:
react: '>=18.0.0 || >=19.0.0'
react-dom: '>=18.0.0 || >=19.0.0'
- '@tanstack/[email protected]':
- resolution: {integrity: sha512-Mpvw8Wm5MGDbTqI8Yc9flLKxbOHwoWocv0H2aGKcgw2a017oK5nZWqa954P+DrUx/8fI98YNywnHP5XcD3tQ9w==}
+ '@tanstack/[email protected]':
+ resolution: {integrity: sha512-uIIZ3CHU1yWlkMkmbnGFX3WIfZozF+tNrOMMEoM9lo+jzPInCRq80LBqW3DH9ixNHWjB3TM/cNIvr05uGIlP3A==}
engines: {node: '>=20.19'}
peerDependencies:
react: '>=18.0.0 || >=19.0.0'
react-dom: '>=18.0.0 || >=19.0.0'
- '@tanstack/[email protected]':
- resolution: {integrity: sha512-Uby0uo37JlQgUKHU0snDwH9nYiEeAjm9+7pUOFgycU/UszEILC2SO2DSCoNnCMuHKj9z+4URKzBYIP2exT9+wg==}
+ '@tanstack/[email protected]':
+ resolution: {integrity: sha512-t3Jcn1nKjeEsPv0WVrW31HzWyMtIYkNhW0FcZ2FnTHDDne64d+XK5hJ3Y5AP/heUXLhBcoHfnxWjBFzqECOZOw==}
engines: {node: '>=22.12.0'}
peerDependencies:
react: '>=18.0.0 || >=19.0.0'
react-dom: '>=18.0.0 || >=19.0.0'
- '@tanstack/[email protected]':
- resolution: {integrity: sha512-M2Lqxkk5C1zQncQs5paqX+/OLdOht51pg6D84YfLMrNsjhU/nzb6wd92MIja0mi5i23+L+fxLLjQYR2DObjBlw==}
+ '@tanstack/[email protected]':
+ resolution: {integrity: sha512-/U6mz5u1VrXiYT23+ylzw4lsjkMFMeO6oZ5DnQmea5Oj2mluMS/GT7OOPyp+OWpw/SU5rTt6Xoon2PJgPzxa9Q==}
engines: {node: '>=22.12.0'}
peerDependencies:
'@rspack/core': '>=2.0.0-0'
@@ -8735,22 +8828,22 @@ packages:
react-server-dom-rspack:
optional: true
- '@tanstack/[email protected]':
- resolution: {integrity: sha512-K7z8xBOEdp8u5CZCxWrbS0tFtk5XZGMdhssLeZlRZKlLDbX7BKLdMtJ7th5sR6QVt9MTUAg3LcoqvJMPSFF+lg==}
+ '@tanstack/[email protected]':
+ resolution: {integrity: sha512-nBRVv3NUG5KarMB8q+gjC1QNUXXvZRuhGGt4qESPHo8b3r1vr4+kOHLoMqBCdGT3/4XsLn7guWeRt0rFiVfoMA==}
engines: {node: '>=22.12.0'}
peerDependencies:
react: '>=18.0.0 || >=19.0.0'
react-dom: '>=18.0.0 || >=19.0.0'
- '@tanstack/[email protected]':
- resolution: {integrity: sha512-WMOM0Xlh2lPbVlbjYM6uOxOpiaWRPvODm/dwkLsGKq5tjyHOHZmKckJgwlrZl7OQUqFlOZHYj8bKUTgoeg8cUQ==}
+ '@tanstack/[email protected]':
+ resolution: {integrity: sha512-2PafKJpBoAzWhn8zF3hFqDr4+saGvTZ2n10VfVJTth3nhRj2rZGX2yp073LDEmBScLv7xqZabDl/jXio/kcezQ==}
engines: {node: '>=22.12.0'}
peerDependencies:
'@rsbuild/core': ^2.0.0
'@vitejs/plugin-rsc': '*'
react: '>=18.0.0 || >=19.0.0'
react-dom: '>=18.0.0 || >=19.0.0'
- vite: '>=7.0.0'
+ vite: '>=8.0.0'
peerDependenciesMeta:
'@rsbuild/core':
optional: true
@@ -8784,30 +8877,30 @@ packages:
react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0
react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0
- '@tanstack/[email protected]':
- resolution: {integrity: sha512-X+19pGuuLVPvvAvPYw9v/+ktRk5cCll8AtfpBpOhDRmVgUMrfqze0467xtq8YRVVs/mmo5rVtWn/7Tp32RDBKw==}
+ '@tanstack/[email protected]':
+ resolution: {integrity: sha512-11Le36++mHNeeFIABz4C3PdTWyJ1ilOmGmANOQOypknZwC1xN674al5BUqWuimKasWane1/XSNcEx8NYNHh0+A==}
engines: {node: '>=20.19'}
- '@tanstack/[email protected]':
- resolution: {integrity: sha512-wQoQhlBK7nlZgqzaqdYXKWNTpdHdsaREdaPhFZVH0/Ador+F+eM3/NF2i3f2LPeS0GgKraZUQXe1Q/1+KHyEYg==}
+ '@tanstack/[email protected]':
+ resolution: {integrity: sha512-pCCdQ5M/NUeWdiAbPmjyfcNdls6G4vaVlIQbPf1IqZk1FLYFr00aQvi578yUuWFBNM2KNS2QcwM1uPucbtGf5Q==}
engines: {node: '>=20.19'}
peerDependencies:
- '@tanstack/router-core': ^1.170.0
+ '@tanstack/router-core': ^1.171.30
csstype: ^3.0.10
peerDependenciesMeta:
csstype:
optional: true
- '@tanstack/[email protected]':
- resolution: {integrity: sha512-WkEueqEvsBBudzO0fx1nWfOmRNW8OAvBoVABTGls9bAWzjdC+KDGHvjCNrvn88ofs1F6gqL8aWnzKCbxW3dCyQ==}
+ '@tanstack/[email protected]':
+ resolution: {integrity: sha512-FUgkLdqXXF0ZSYsyJKmcLubqFfckMJolUM3CplsJidedGYzIcMXYm43wodAhVCU1BqlKXJldXuuCtebqxurvaA==}
engines: {node: '>=20.19'}
- '@tanstack/[email protected]':
- resolution: {integrity: sha512-vAR5WXJh/ErseEWQftDhsJcr2c++ucRQ6FbqN3ygMO44+ZxxRfW3sIpZmddHROVSmBk8jc6MrwjTPNjVhd62Vw==}
+ '@tanstack/[email protected]':
+ resolution: {integrity: sha512-nAQ/13ySmSJ8OVXJh/e4ACg0vn87NjrEIxljxj+K9tr+vdOVuScFWuciJRIXhB3CwV7LnmWt6dDZYwzd0b+tAw==}
engines: {node: '>=20.19'}
peerDependencies:
'@rsbuild/core': '>=1.0.2 || ^2.0.0'
- '@tanstack/react-router': ^1.170.41
+ '@tanstack/react-router': ^1.170.44
vite: '>=5.0.0 || >=6.0.0 || >=7.0.0 || >=8.0.0'
vite-plugin-solid: ^2.11.10 || ^3.0.0-0
webpack: ^5.104.1
@@ -8830,36 +8923,36 @@ packages:
'@tanstack/query-core': '>=5.102.0'
'@tanstack/router-core': '>=1.171.28'
- '@tanstack/[email protected]':
- resolution: {integrity: sha512-Icb0xGuG1+54IV0WMLRcc3ErTx2HeJWyPG661FkQ8UT6guoBq1FJjFRqlG/JS0xi4mFFkBhvwO7tbLa32f3yxA==}
+ '@tanstack/[email protected]':
+ resolution: {integrity: sha512-3TSH3rwAQTqQOtTBF8IXMFXmGNJWnjwIm+l87uguyC/of0pSRKcU9GJrozaf0fY9it8dLQvUZJA2MOlfqbW1sA==}
engines: {node: '>=20.19'}
- '@tanstack/[email protected]':
- resolution: {integrity: sha512-LfwZSbau2MLLZ/uPAoO+NC9fK3J66c0wLhnNQqIa+Goqw7bXPjkHwlsjY7evlUz1AnyhhQ1Qab95v+VmP0TZ9A==}
+ '@tanstack/[email protected]':
+ resolution: {integrity: sha512-bFbhnZuu0fDN4taWREgkopUY5fhB7CA6nyDpITFNNUDNTmu8QDmxEf3EtV4FgNGrPp1dufKq2iaIdldq7KJQ9g==}
engines: {node: '>=22.12.0'}
'@tanstack/[email protected]':
resolution: {integrity: sha512-QWfUZ3Yo923tdQn38LyKMU8rcTw69zc+T4dAvgTWV4O56SqFRsGfS0lSWIMhJRwXIx/bvdi7nTUBDdZtTHtpTQ==}
engines: {node: '>=22.12.0'}
- '@tanstack/[email protected]':
- resolution: {integrity: sha512-HPOb7LnMc71k38cd5uvMybPPUU/Q/56KvSqQzSWz7cps1ZDFXaxUM6EFaFHLCdgTWqGexNGDdRE+sUVPVBM4Xg==}
+ '@tanstack/[email protected]':
+ resolution: {integrity: sha512-pYAKx6o99iHk8Qr+4GTe7y/yrs0phdq1pFhkY9tDaj9AIxNRI9vgYMy0XoXv7LUjwv0kELC+bKYEZQ4pfz55/A==}
engines: {node: '>=22.12.0'}
peerDependencies:
'@rsbuild/core': ^2.0.0
- vite: '>=7.0.0'
+ vite: '>=8.0.0'
peerDependenciesMeta:
'@rsbuild/core':
optional: true
vite:
optional: true
- '@tanstack/[email protected]':
- resolution: {integrity: sha512-pqqkxhXY46nuFSYt6TsMGyABiplUzHFHndKAlRRGC0fWDrJCH1koWxVMoxySa51ZETV79f/z73b5UZ1jfIkXwQ==}
+ '@tanstack/[email protected]':
+ resolution: {integrity: sha512-f53IBLTeN8ajrJ7vTyYclvDh9G8aGmgQuJ0Q68bpUYjxKHaUNW1lsftIx+ySPkWLWD9/ZH1JmHBaAbCHIzDaNA==}
engines: {node: '>=22.12.0'}
- '@tanstack/[email protected]':
- resolution: {integrity: sha512-x+xCXK2GtFzY6NbXqAg8YpU6cwAjDfMeYSNzxfGzntpjbwBRHHrXeC/kYUnBBQCV7wK4kJ8vBBQGP0OyYTasUg==}
+ '@tanstack/[email protected]':
+ resolution: {integrity: sha512-wqIxkepruM4VMGPKhWdkNbr31pzm30/3COlYRbucmWS2TmwdcnIdECudcqTCHAAK8fwAxKhJ+p8stWe2wizKrA==}
engines: {node: '>=22.12.0'}
'@tanstack/[email protected]':
@@ -10967,6 +11060,10 @@ packages:
resolution: {integrity: sha512-yuToqVvRrj6pfDXREyQAAv8SkAEk/8GS3jQRTiUMm66TVtBYmqQeoEjL2Lmq8Rpo6271vH76InTChTitEAm65w==}
engines: {node: '>=22'}
+ resolution: {integrity: sha512-vePst2VLTSqPglW7Q98VwFpGiGpOHTyXIo81MO5VyLecA5zMbZw/P/V1vmwD1jksa2iJpn/YkDrJ3XhTfzUyhQ==}
+ engines: {node: '>=18'}
+
resolution: {integrity: sha512-2KV8NhB5JqC3ky0r9PMCAZKbUHSwtEo4CwCs0KXgruG43gX5PMqDEBbVU4OUzw2MuAWUfsuFmWvEKG5QRfSnJA==}
@@ -12317,8 +12414,8 @@ packages:
resolution: {integrity: sha512-7yAQpD2UMJzLi1Dqv7qFYnPbaPx7ZfFK6PiIxQ4PfkGPyNyl2Ugx+a/umUonmKqjhM4DnfbMvdX6otXq83soQQ==}
engines: {node: ^12.20 || >= 14.13}
- resolution: {integrity: sha512-YoZjBdafyLIop9lSxXVI33oLD5kN31q4Td+CasofLLYeLXRFeOsuOw0Uo+XNRi9PZlbfdlN2GmRtm4tCEQ9/KA==}
+ resolution: {integrity: sha512-PJb4ZTGT2/wK78RmVrxZITStWabhZlKBsL52VOgq+c7clEkdHdEB+0rtzrXCbZJqeYJj+IwNWYqB5/G6vouA6A==}
resolution: {integrity: sha512-zdxgIEddhfsyCaWpJ2SdXEP8ZMrKJ6+5jl4OupODcywU0IhRk6gdXuVGcPICyfx2H97hVK7xmJtRLPjkxAX8Vw==}
@@ -12856,16 +12953,6 @@ packages:
resolution: {integrity: sha512-L3THSe2MPeBwgIZVSH5zLdBBU90TOxarvhK9d04IDY2AmVS8j2Jz2LIWtwsGOU3lu2I5jCN7FNvVfY2+XyF+mg==}
- resolution: {integrity: sha512-28ljodXuUp0fZovdiSRq4G9OgrxCztrJe5VdYzXAB7ueRvI7pIUqLU14Xi3XqdYJ/khXjfpUOOD2EQa6CmBgsg==}
- engines: {node: '>=20.11.1'}
- hasBin: true
- peerDependencies:
- crossws: ^0.4.1
- peerDependenciesMeta:
- crossws:
- optional: true
-
resolution: {integrity: sha512-AG7qZzF99a0BSYoXT3evJgIhwSIUKow7R+hwkLRZS06WJ9nbSb7QXUDgs1ByBjp6svTvl++N/GKA7I9YPz9cQQ==}
engines: {node: '>=20.11.1'}
@@ -16634,6 +16721,9 @@ packages:
resolution: {integrity: sha512-/62tYiOe6DzS5BqVsNpH/nkGlX45C/Sp6V+NtiN6JQNS1Viay7cWkazmRkrQrdFj2eshDe96SIQNIoMxqhzBOg==}
+ resolution: {integrity: sha512-8g3/Otx1eJaVD12e31UbJj1YzdtVvzH85HV7t+9MJYk/u3XmkOUJ5Ys9wQrf9PCPK8+xn4ymzqYCiZl6QWKn+A==}
+
resolution: {integrity: sha512-/hS+Y0u3aOfIETiaiirUFwDBDzmXPvO+jAfKTitUngIPzdKc6Z0LoFjM/CK5PL4C+eKwHohlHAb6H0VFfmmUsw==}
@@ -16793,9 +16883,6 @@ packages:
engines: {node: '>=18.0.0', npm: '>=8.0.0'}
hasBin: true
- resolution: {integrity: sha512-ePa+XGk00/3HuCqrEnK3LxJW7I0SdNg6EFzKUJG73hMAdDcOUC/i/aSz7LSDwLrGr33kal/rqOGydzwl6U7zBA==}
-
resolution: {integrity: sha512-z/sSmzvtwMDDnxsPVhfWMuG6F6mbmhFDXoVqLmMfbpDD9qfV3GDmSQpf0+W296/ZDIpW2wcMmBfpVFzcnOi/nA==}
@@ -16952,22 +17039,12 @@ packages:
resolution: {integrity: sha512-F4LcB0UqUl1zErq+1nYEEzSHJnIwb3AF2XWB94b+afhrekOUijwooAYqFyRbjYkm2PAKBabx6oYv/xDxNi8IBw==}
engines: {node: '>=20.0.0'}
- resolution: {integrity: sha512-S0xQPhUTefAhNvNWFg0c1J8qJArHt5KdtJ/cFAofo06KD1MVSeFWyl4iiu+ApDIuw0WhjpOfCdgConOfAnLgkw==}
- engines: {node: '>=10'}
- peerDependencies:
- seroval: ^1.0
-
- resolution: {integrity: sha512-4Nk35ttD3DTDJW4hgw5StsVAPeU6qnDFnULAouw6tQ7oLTV/ICXrWpsXo2EE52eSP2joUMazbVf52mFEcADqRw==}
+ resolution: {integrity: sha512-kiDK/Tb8IWZ61WEU8pA2PDmAuw37gKph9Y77OZlD56mg0Y2g0Bg7gZ1HeHhs5d40w+nRoUq/wj08V26ilbez9g==}
engines: {node: '>=10'}
peerDependencies:
seroval: ^1.0
- resolution: {integrity: sha512-46uFvgrXTVxZcUorgSSRZ4y+ieqLLQRMlG4bnCZKW3qI6BZm7Rg4ntMW4p1mILEEBZWrFlcpp0AyIIlM6jD9iw==}
- engines: {node: '>=10'}
-
resolution: {integrity: sha512-mPT+SD2TrlB6wvte1KkYOYUkubaTbd6pZ/6Kk3C9nxzrHmCZyhxOO7XGAeL7f+yLKZglzGtM9odUVvg/EhO+vQ==}
engines: {node: '>=10'}
@@ -16976,6 +17053,10 @@ packages:
resolution: {integrity: sha512-AeDcLh0yO2SFm9W71essgnSzLV9DI8ZH0x0knXn2DMnUZj728mpLbxjlbB6IqKCmqh8JA3cEqRyGoNkt584JcQ==}
engines: {node: '>=10'}
+ resolution: {integrity: sha512-UeEzHwAK+yl0YLbsvROV1t5yMYEwZZ0CfKYxDvUgS2fO9Vxdf8djqVIB+OuVpuawRNPqw68LE1Du/GMsW2ZPqA==}
+ engines: {node: '>=10'}
+
resolution: {integrity: sha512-/TMG8SboeiQbZJWRlfTCqMs2DD3SZgWp0kDQePz9yUuCnDfDh/92gf7/PxGhzXTKBIPASIHxFcZndoNbp6QOLQ==}
@@ -17186,8 +17267,24 @@ packages:
resolution: {integrity: sha512-NlGELfPrgX2f1TAAcz0WawlLn+0r3FyhhCRpFFK2CemXenPYvzMWWZINv3eDNo9ucdwme7oCHRY0Jnbs4aIkog==}
engines: {node: '>= 10.0.0', npm: '>= 3.0.0'}
- resolution: {integrity: sha512-6hJeJMOcEX8ktqjpDoJZEmld3ijvcvWBDtiXBm7f4332SiFN66QeAQI1REQshvyUoISsSeJ4PHDauKYbwao9JQ==}
+ resolution: {integrity: sha512-4GAmLOWPfNV8H9Jfn2LSFTpNEG6jiOKPiwd5lnLGQtehHaX6l3TOLzJqQ7mqwB/3k1Yy3zyumFVopmc/tm34ow==}
+
+ resolution: {integrity: sha512-YM92o+jvpzX3XGaD4rLYmq/Kc2ZVh47GSCLEufHBFQQIurvZTs8SoGJxO8BJGNDxBKdcS8F3dYhW1SDXp4BNjA==}
+ peerDependencies:
+ solid-js: ^1.8
+
+ resolution: {integrity: sha512-2PComVCDHaQN/5t7ogEqUYeHasritZKXZ8Sb/VLkl0Web8o9YhEwOo8LSujJEahvMlYCNyKt0zRJeHldOAeWZg==}
+ peerDependencies:
+ solid-js: ^1.8
+
+ resolution: {integrity: sha512-iB72c9N5Kz9ykRqIXl0lQohOau4t0dhel9kjwFvx81UZJbVwaChMuBuyhiZmK24b8aKEK0w3uFM96ZxzcyZGdg==}
+ engines: {node: '>=18.0.0', pnpm: '>=8.6.0'}
+ peerDependencies:
+ solid-js: ^1.6.12
resolution: {integrity: sha512-FBjhG/gnnbN6FY0jaNnqZOMmB73R+5IiyYAw8yBj7L54ER7HB3fOSE5OFiQiE2iXWxeXKvg6fIP4LtVppHEdJA==}
@@ -17501,6 +17598,10 @@ packages:
resolution: {integrity: sha512-JtCR+eDgVs2YtmZl5THdkaTeXex80lax+3V2SXRSuj280SWJPTIKxMLc82iDKjZlqXnt9zrGnJkrWb7DwHGPhQ==}
hasBin: true
+ resolution: {integrity: sha512-H+ue8Zo4vJmV2nRjpx86P35lzwDT3nItnIsocgumgr0hHMQ+ZGq5vrERg9kJBo5AWGmxZDhzDo+WVIJqkB0cGA==}
+ engines: {node: '>=16'}
+
resolution: {integrity: sha512-HRVVSbCCMbj7/kdWF9Q+bbckjBHLtHMEoJWlkmYzzdwhYMkjkOwubLM6t7NbWKjgKamGDrWL1++KrjUO1t9oAQ==}
engines: {node: '>=18'}
@@ -20308,6 +20409,11 @@ snapshots:
'@configcat/[email protected]': {}
+ dependencies:
+ '@floating-ui/dom': 1.8.0
+ solid-js: 1.9.17
+
'@csstools/[email protected]': {}
'@csstools/[email protected](@csstools/[email protected](@csstools/[email protected]))(@csstools/[email protected])':
@@ -21803,6 +21909,10 @@ snapshots:
'@types/node': 24.19.0
optional: true
+ '@internationalized/[email protected]':
+ dependencies:
+ '@swc/helpers': 0.5.23
+
'@ioredis/[email protected]': {}
'@isaacs/[email protected]':
@@ -21842,6 +21952,28 @@ snapshots:
'@jridgewell/resolve-uri': 3.1.2
'@jridgewell/sourcemap-codec': 1.5.5
+ dependencies:
+ '@floating-ui/dom': 1.8.0
+ '@internationalized/number': 3.6.9
+ '@kobalte/utils': 0.9.2([email protected])
+ '@solid-primitives/props': 3.2.4([email protected])
+ '@solid-primitives/resize-observer': 2.1.5([email protected])
+ solid-js: 1.9.17
+ solid-presence: 0.2.0([email protected])
+ solid-prevent-scroll: 0.1.11([email protected])
+
+ dependencies:
+ '@solid-primitives/event-listener': 2.4.5([email protected])
+ '@solid-primitives/keyed': 1.5.3([email protected])
+ '@solid-primitives/map': 0.4.13([email protected])
+ '@solid-primitives/media': 2.3.6([email protected])
+ '@solid-primitives/props': 3.2.4([email protected])
+ '@solid-primitives/refs': 1.1.4([email protected])
+ '@solid-primitives/utils': 6.4.0([email protected])
+ solid-js: 1.9.17
+
dependencies:
debug: 4.4.3([email protected])
@@ -25321,39 +25453,107 @@ snapshots:
dependencies:
tslib: 2.8.1
- '@solid-primitives/[email protected]([email protected])':
+ '@solid-primitives/[email protected]([email protected])':
dependencies:
- '@solid-primitives/utils': 6.4.0([email protected])
- solid-js: 1.9.13
+ '@solid-primitives/utils': 6.4.0([email protected])
+ solid-js: 1.9.17
- '@solid-primitives/[email protected]([email protected])':
+ '@solid-primitives/[email protected]([email protected])':
dependencies:
- '@solid-primitives/event-listener': 2.4.5([email protected])
- '@solid-primitives/rootless': 1.5.3([email protected])
- '@solid-primitives/utils': 6.4.0([email protected])
- solid-js: 1.9.13
+ '@solid-primitives/utils': 6.4.1([email protected])
+ solid-js: 1.9.17
- '@solid-primitives/[email protected]([email protected])':
+ '@solid-primitives/[email protected]([email protected])':
dependencies:
- '@solid-primitives/event-listener': 2.4.5([email protected])
- '@solid-primitives/rootless': 1.5.3([email protected])
- '@solid-primitives/static-store': 0.1.3([email protected])
- '@solid-primitives/utils': 6.4.0([email protected])
- solid-js: 1.9.13
+ '@solid-primitives/event-listener': 2.4.5([email protected])
+ '@solid-primitives/rootless': 1.5.3([email protected])
+ '@solid-primitives/utils': 6.4.0([email protected])
+ solid-js: 1.9.17
- '@solid-primitives/[email protected]([email protected])':
+ '@solid-primitives/[email protected]([email protected])':
dependencies:
- '@solid-primitives/utils': 6.4.0([email protected])
- solid-js: 1.9.13
+ solid-js: 1.9.17
- '@solid-primitives/[email protected]([email protected])':
+ '@solid-primitives/[email protected]([email protected])':
dependencies:
- '@solid-primitives/utils': 6.4.0([email protected])
- solid-js: 1.9.13
+ '@solid-primitives/trigger': 1.2.4([email protected])
+ solid-js: 1.9.17
- '@solid-primitives/[email protected]([email protected])':
+ '@solid-primitives/[email protected]([email protected])':
dependencies:
- solid-js: 1.9.13
+ '@solid-primitives/event-listener': 2.4.6([email protected])
+ '@solid-primitives/rootless': 1.5.4([email protected])
+ '@solid-primitives/static-store': 0.1.4([email protected])
+ '@solid-primitives/utils': 6.4.1([email protected])
+ solid-js: 1.9.17
+
+ '@solid-primitives/[email protected]([email protected])':
+ dependencies:
+ '@solid-primitives/utils': 6.4.1([email protected])
+ solid-js: 1.9.17
+
+ '@solid-primitives/[email protected]([email protected])':
+ dependencies:
+ '@solid-primitives/utils': 6.4.1([email protected])
+ solid-js: 1.9.17
+
+ '@solid-primitives/[email protected]([email protected])':
+ dependencies:
+ '@solid-primitives/event-listener': 2.4.5([email protected])
+ '@solid-primitives/rootless': 1.5.3([email protected])
+ '@solid-primitives/static-store': 0.1.3([email protected])
+ '@solid-primitives/utils': 6.4.0([email protected])
+ solid-js: 1.9.17
+
+ '@solid-primitives/[email protected]([email protected])':
+ dependencies:
+ '@solid-primitives/event-listener': 2.4.6([email protected])
+ '@solid-primitives/rootless': 1.5.4([email protected])
+ '@solid-primitives/static-store': 0.1.4([email protected])
+ '@solid-primitives/utils': 6.4.1([email protected])
+ solid-js: 1.9.17
+
+ '@solid-primitives/[email protected]([email protected])':
+ dependencies:
+ '@solid-primitives/utils': 6.4.0([email protected])
+ solid-js: 1.9.17
+
+ '@solid-primitives/[email protected]([email protected])':
+ dependencies:
+ '@solid-primitives/utils': 6.4.1([email protected])
+ solid-js: 1.9.17
+
+ '@solid-primitives/[email protected]([email protected])':
+ dependencies:
+ '@solid-primitives/utils': 6.4.0([email protected])
+ solid-js: 1.9.17
+
+ '@solid-primitives/[email protected]([email protected])':
+ dependencies:
+ '@solid-primitives/utils': 6.4.1([email protected])
+ solid-js: 1.9.17
+
+ '@solid-primitives/[email protected]([email protected])':
+ dependencies:
+ '@solid-primitives/utils': 6.4.0([email protected])
+ solid-js: 1.9.17
+
+ '@solid-primitives/[email protected]([email protected])':
+ dependencies:
+ solid-js: 1.9.17
+
+ '@solid-primitives/[email protected]([email protected])':
+ dependencies:
+ '@solid-primitives/utils': 6.4.1([email protected])
+ solid-js: 1.9.17
+
+ '@solid-primitives/[email protected]([email protected])':
+ dependencies:
+ solid-js: 1.9.17
+
+ '@solid-primitives/[email protected]([email protected])':
+ dependencies:
+ solid-js: 1.9.17
'@speed-highlight/[email protected]': {}
@@ -25619,12 +25819,12 @@ snapshots:
'@tanstack/[email protected]': {}
dependencies:
clsx: 2.1.1
dayjs: 1.11.23
goober: 2.1.19([email protected])
- solid-js: 1.9.13
+ solid-js: 1.9.17
transitivePeerDependencies:
- csstype
@@ -25646,17 +25846,17 @@ snapshots:
- supports-color
- utf-8-validate
dependencies:
- '@solid-primitives/event-listener': 2.4.5([email protected])
- '@solid-primitives/keyboard': 1.3.5([email protected])
- '@solid-primitives/resize-observer': 2.1.5([email protected])
+ '@solid-primitives/event-listener': 2.4.5([email protected])
+ '@solid-primitives/keyboard': 1.3.5([email protected])
+ '@solid-primitives/resize-observer': 2.1.5([email protected])
'@tanstack/devtools-client': 0.0.7
'@tanstack/devtools-event-bus': 0.4.2
- '@tanstack/devtools-ui': 0.5.3([email protected])([email protected])
+ '@tanstack/devtools-ui': 0.5.3([email protected])([email protected])
clsx: 2.1.1
goober: 2.1.19([email protected])
- solid-js: 1.9.13
+ solid-js: 1.9.17
transitivePeerDependencies:
- bufferutil
- csstype
@@ -25670,21 +25870,39 @@ snapshots:
- supports-color
- typescript
- '@tanstack/[email protected]': {}
+ '@tanstack/[email protected]': {}
'@tanstack/[email protected]':
dependencies:
'@tanstack/store': 0.11.0
- '@tanstack/[email protected]': {}
+ '@tanstack/[email protected]':
+ dependencies:
+ remove-accents: 0.5.0
+
+ '@tanstack/[email protected]': {}
'@tanstack/[email protected]': {}
- '@tanstack/[email protected]': {}
+ dependencies:
+ '@kobalte/core': 0.13.14([email protected])
+ '@solid-primitives/keyed': 1.5.3([email protected])
+ '@solid-primitives/resize-observer': 2.2.0([email protected])
+ '@solid-primitives/storage': 1.3.11([email protected])
+ '@tanstack/match-sorter-utils': 9.2.6
+ '@tanstack/query-core': 5.104.3
+ clsx: 2.1.1
+ goober: 2.1.19([email protected])
+ solid-js: 1.9.17
+ solid-transition-group: 0.2.3([email protected])
+ superjson: 2.2.6
+ transitivePeerDependencies:
+ - csstype
dependencies:
- '@tanstack/devtools': 0.12.4([email protected])([email protected])
+ '@tanstack/devtools': 0.12.4([email protected])([email protected])
'@types/react': 19.2.14
'@types/react-dom': 19.2.3(@types/[email protected])
react: 19.2.6
@@ -25702,10 +25920,18 @@ snapshots:
react: 19.2.6
react-dom: 19.2.6([email protected])
dependencies:
- '@tanstack/query-devtools': 5.90.1
- '@tanstack/react-query': 5.83.0([email protected])
+ '@tanstack/query-devtools': 5.104.3([email protected])
+ '@tanstack/react-query': 5.104.3([email protected])
+ '@types/react': 19.2.14
+ react: 19.2.6
+ transitivePeerDependencies:
+ - csstype
+
+ dependencies:
+ '@tanstack/query-core': 5.104.3
react: 19.2.6
@@ -25713,54 +25939,54 @@ snapshots:
'@tanstack/query-core': 5.83.0
react: 19.2.6
dependencies:
- '@tanstack/react-router': 1.170.41([email protected]([email protected]))([email protected])
- '@tanstack/router-devtools-core': 1.168.0(@tanstack/[email protected])([email protected])
+ '@tanstack/react-router': 1.170.44([email protected]([email protected]))([email protected])
+ '@tanstack/router-devtools-core': 1.168.2(@tanstack/[email protected])([email protected])
react: 19.2.6
react-dom: 19.2.6([email protected])
optionalDependencies:
- '@tanstack/router-core': 1.171.34
+ '@tanstack/router-core': 1.171.37
transitivePeerDependencies:
- csstype
dependencies:
- '@tanstack/query-core': 5.104.0
- '@tanstack/react-query': 5.83.0([email protected])
- '@tanstack/react-router': 1.170.41([email protected]([email protected]))([email protected])
- '@tanstack/router-ssr-query-core': 1.169.3(@tanstack/[email protected])(@tanstack/[email protected])
+ '@tanstack/query-core': 5.104.3
+ '@tanstack/react-query': 5.104.3([email protected])
+ '@tanstack/react-router': 1.170.44([email protected]([email protected]))([email protected])
+ '@tanstack/router-ssr-query-core': 1.169.3(@tanstack/[email protected])(@tanstack/[email protected])
react: 19.2.6
react-dom: 19.2.6([email protected])
transitivePeerDependencies:
- '@tanstack/router-core'
dependencies:
- '@tanstack/history': 1.162.4
+ '@tanstack/history': 1.162.5
'@tanstack/react-store': 0.11.2([email protected]([email protected]))([email protected])
- '@tanstack/router-core': 1.171.34
+ '@tanstack/router-core': 1.171.37
isbot: 5.1.36
react: 19.2.6
react-dom: 19.2.6([email protected])
dependencies:
- '@tanstack/react-router': 1.170.41([email protected]([email protected]))([email protected])
- '@tanstack/router-core': 1.171.34
- '@tanstack/start-client-core': 1.170.34
+ '@tanstack/react-router': 1.170.44([email protected]([email protected]))([email protected])
+ '@tanstack/router-core': 1.171.37
+ '@tanstack/start-client-core': 1.170.37
react: 19.2.6
react-dom: 19.2.6([email protected])
dependencies:
- '@tanstack/react-router': 1.170.41([email protected]([email protected]))([email protected])
- '@tanstack/router-core': 1.171.34
- '@tanstack/router-utils': 1.162.3([email protected])
- '@tanstack/start-client-core': 1.170.34
+ '@tanstack/react-router': 1.170.44([email protected]([email protected]))([email protected])
+ '@tanstack/router-core': 1.171.37
+ '@tanstack/router-utils': 1.162.4([email protected])
+ '@tanstack/start-client-core': 1.170.37
'@tanstack/start-fn-stubs': 1.162.0
- '@tanstack/start-storage-context': 1.167.36
+ '@tanstack/start-storage-context': 1.167.39
pathe: 2.0.3
react: 19.2.6
react-dom: 19.2.6([email protected])
@@ -25768,7 +25994,6 @@ snapshots:
- '@farmfe/core'
- '@rsbuild/core'
- bun-types-no-globals
- - crossws
- esbuild
- rolldown
- rollup
@@ -25778,91 +26003,24 @@ snapshots:
- vite-plugin-solid
- webpack
- dependencies:
- '@tanstack/react-router': 1.170.41([email protected]([email protected]))([email protected])
- '@tanstack/router-core': 1.171.34
- '@tanstack/router-utils': 1.162.3([email protected])
- '@tanstack/start-client-core': 1.170.34
- '@tanstack/start-fn-stubs': 1.162.0
- '@tanstack/start-storage-context': 1.167.36
- pathe: 2.0.3
- react: 19.2.6
- react-dom: 19.2.6([email protected])
- transitivePeerDependencies:
- - '@farmfe/core'
- - '@rsbuild/core'
- - bun-types-no-globals
- - crossws
- - esbuild
- - rolldown
- - rollup
- - supports-color
- - unloader
- - vite
- - vite-plugin-solid
- - webpack
-
- dependencies:
- '@tanstack/react-router': 1.170.41([email protected]([email protected]))([email protected])
- '@tanstack/router-core': 1.171.34
- '@tanstack/start-server-core': 1.169.39([email protected]([email protected]))
- react: 19.2.6
- react-dom: 19.2.6([email protected])
- transitivePeerDependencies:
- - crossws
-
- dependencies:
- '@tanstack/react-router': 1.170.41([email protected]([email protected]))([email protected])
- '@tanstack/router-core': 1.171.34
- '@tanstack/start-server-core': 1.169.39([email protected]([email protected]))
- react: 19.2.6
- react-dom: 19.2.6([email protected])
- transitivePeerDependencies:
- - crossws
-
dependencies:
- '@tanstack/react-router': 1.170.41([email protected]([email protected]))([email protected])
- '@tanstack/react-start-client': 1.168.39([email protected]([email protected]))([email protected])
- '@tanstack/router-utils': 1.162.3([email protected])
- '@tanstack/start-client-core': 1.170.34
- '@tanstack/start-server-core': 1.169.39([email protected]([email protected]))
- pathe: 2.0.3
+ '@tanstack/react-router': 1.170.44([email protected]([email protected]))([email protected])
+ '@tanstack/router-core': 1.171.37
+ '@tanstack/start-server-core': 1.169.43
react: 19.2.6
react-dom: 19.2.6([email protected])
- optionalDependencies:
- transitivePeerDependencies:
- - '@farmfe/core'
- - '@rspack/core'
- - bun-types-no-globals
- - crossws
- - esbuild
- - react-server-dom-rspack
- - rolldown
- - rollup
- - supports-color
- - unloader
- - vite-plugin-solid
- - webpack
dependencies:
- '@tanstack/react-router': 1.170.41([email protected]([email protected]))([email protected])
- '@tanstack/react-start-client': 1.168.39([email protected]([email protected]))([email protected])
- '@tanstack/router-utils': 1.162.3([email protected])
- '@tanstack/start-client-core': 1.170.34
- '@tanstack/start-server-core': 1.169.39([email protected]([email protected]))
+ '@tanstack/react-router': 1.170.44([email protected]([email protected]))([email protected])
+ '@tanstack/react-start-client': 1.168.42([email protected]([email protected]))([email protected])
+ '@tanstack/react-start-server': 1.167.50([email protected]([email protected]))([email protected])
+ '@tanstack/router-utils': 1.162.4([email protected])
+ '@tanstack/start-client-core': 1.170.37
+ '@tanstack/start-server-core': 1.169.43
pathe: 2.0.3
react: 19.2.6
react-dom: 19.2.6([email protected])
@@ -25872,7 +26030,6 @@ snapshots:
- '@farmfe/core'
- '@rspack/core'
- bun-types-no-globals
- - crossws
- esbuild
- react-server-dom-rspack
- rolldown
@@ -25908,26 +26065,26 @@ snapshots:
react: 19.2.6
react-dom: 19.2.6([email protected])
- '@tanstack/[email protected]':
+ '@tanstack/[email protected]':
dependencies:
- '@tanstack/history': 1.162.4
+ '@tanstack/history': 1.162.5
cookie-es: 3.1.1
- seroval: 1.6.7
- seroval-plugins: 1.6.7([email protected])
+ seroval: 1.6.9
+ seroval-plugins: 1.6.9([email protected])
dependencies:
- '@tanstack/router-core': 1.171.34
+ '@tanstack/router-core': 1.171.37
clsx: 2.1.1
goober: 2.1.19([email protected])
optionalDependencies:
csstype: 3.2.3
dependencies:
'@babel/types': 7.29.8
- '@tanstack/router-core': 1.171.34
- '@tanstack/router-utils': 1.162.3([email protected])
+ '@tanstack/router-core': 1.171.37
+ '@tanstack/router-utils': 1.162.4([email protected])
'@tanstack/virtual-file-routes': 1.162.0
jiti: 2.7.0
magic-string: 0.30.21
@@ -25936,19 +26093,19 @@ snapshots:
transitivePeerDependencies:
- supports-color
dependencies:
'@babel/core': 7.29.7([email protected])
'@babel/template': 7.29.7
'@babel/types': 7.29.8
- '@tanstack/router-core': 1.171.34
- '@tanstack/router-generator': 1.167.40([email protected])
- '@tanstack/router-utils': 1.162.3([email protected])
+ '@tanstack/router-core': 1.171.37
+ '@tanstack/router-generator': 1.167.44([email protected])
+ '@tanstack/router-utils': 1.162.4([email protected])
chokidar: 5.0.0
zod: 4.6.5
optionalDependencies:
- '@tanstack/react-router': 1.170.41([email protected]([email protected]))([email protected])
+ '@tanstack/react-router': 1.170.44([email protected]([email protected]))([email protected])
webpack: 5.105.4([email protected])
transitivePeerDependencies:
@@ -25961,90 +26118,51 @@ snapshots:
- supports-color
- unloader
- '@tanstack/[email protected](@tanstack/[email protected])(@tanstack/[email protected])':
+ '@tanstack/[email protected](@tanstack/[email protected])(@tanstack/[email protected])':
dependencies:
- '@tanstack/query-core': 5.104.0
- '@tanstack/router-core': 1.171.34
+ '@tanstack/query-core': 5.104.3
+ '@tanstack/router-core': 1.171.37
dependencies:
'@babel/generator': 7.29.8
'@babel/parser': 7.29.8
'@babel/types': 7.29.8
ansis: 4.3.1
babel-dead-code-elimination: 1.0.12([email protected])
- diff: 8.0.4
+ diff: 9.0.0
pathe: 2.0.3
tinyglobby: 0.2.17
transitivePeerDependencies:
- supports-color
- '@tanstack/[email protected]':
+ '@tanstack/[email protected]':
dependencies:
- '@tanstack/router-core': 1.171.34
+ '@tanstack/router-core': 1.171.37
'@tanstack/start-fn-stubs': 1.162.0
- '@tanstack/start-storage-context': 1.167.36
+ '@tanstack/start-storage-context': 1.167.39
seroval: 1.6.7
'@tanstack/[email protected]': {}
dependencies:
'@babel/code-frame': 7.29.7
'@babel/core': 7.29.7([email protected])
'@babel/types': 7.29.8
'@jridgewell/remapping': 2.3.5
- '@tanstack/router-core': 1.171.34
- '@tanstack/router-generator': 1.167.40([email protected])
- '@tanstack/router-utils': 1.162.3([email protected])
- '@tanstack/start-server-core': 1.169.39([email protected]([email protected]))
+ '@tanstack/router-core': 1.171.37
+ '@tanstack/router-generator': 1.167.44([email protected])
+ '@tanstack/router-utils': 1.162.4([email protected])
+ '@tanstack/start-server-core': 1.169.43
exsolve: 1.1.1
lightningcss: 1.33.0
pathe: 2.0.3
picomatch: 4.0.7
seroval: 1.6.7
source-map: 0.7.6
- srvx: 0.11.22
- tinyglobby: 0.2.17
- ufo: 1.6.4
- xmlbuilder2: 4.0.3
- zod: 4.6.5
- optionalDependencies:
- transitivePeerDependencies:
- - '@farmfe/core'
- - '@rspack/core'
- - '@tanstack/react-router'
- - bun-types-no-globals
- - crossws
- - esbuild
- - rolldown
- - rollup
- - supports-color
- - unloader
- - vite-plugin-solid
- - webpack
-
- dependencies:
- '@babel/code-frame': 7.29.7
- '@babel/core': 7.29.7([email protected])
- '@babel/types': 7.29.8
- '@jridgewell/remapping': 2.3.5
- '@tanstack/router-core': 1.171.34
- '@tanstack/router-generator': 1.167.40([email protected])
- '@tanstack/router-utils': 1.162.3([email protected])
- '@tanstack/start-server-core': 1.169.39([email protected]([email protected]))
- exsolve: 1.1.1
- lightningcss: 1.33.0
- pathe: 2.0.3
- picomatch: 4.0.7
- seroval: 1.6.7
- source-map: 0.7.6
- srvx: 0.11.22
+ srvx: 1.0.5
tinyglobby: 0.2.17
ufo: 1.6.4
@@ -26057,7 +26175,6 @@ snapshots:
- '@rspack/core'
- '@tanstack/react-router'
- bun-types-no-globals
- - crossws
- esbuild
- rolldown
- rollup
@@ -26066,33 +26183,19 @@ snapshots:
- vite-plugin-solid
- webpack
+ '@tanstack/[email protected]':
dependencies:
- '@tanstack/history': 1.162.4
- '@tanstack/router-core': 1.171.34
- '@tanstack/start-client-core': 1.170.34
- '@tanstack/start-storage-context': 1.167.36
- fetchdts: 0.1.7
- seroval: 1.6.7
- transitivePeerDependencies:
- - crossws
-
- dependencies:
- '@tanstack/history': 1.162.4
- '@tanstack/router-core': 1.171.34
- '@tanstack/start-client-core': 1.170.34
- '@tanstack/start-storage-context': 1.167.36
- fetchdts: 0.1.7
+ '@tanstack/history': 1.162.5
+ '@tanstack/router-core': 1.171.37
+ '@tanstack/start-client-core': 1.170.37
+ '@tanstack/start-storage-context': 1.167.39
+ cookie-es: 3.1.1
+ fetchdts: 0.2.0
seroval: 1.6.7
- transitivePeerDependencies:
- - crossws
- '@tanstack/[email protected]':
+ '@tanstack/[email protected]':
dependencies:
- '@tanstack/router-core': 1.171.34
+ '@tanstack/router-core': 1.171.37
'@tanstack/[email protected]': {}
@@ -28601,6 +28704,8 @@ snapshots:
+
dependencies:
toggle-selection: 1.0.6
@@ -28706,11 +28811,6 @@ snapshots:
optionalDependencies:
srvx: 1.0.4
- optionalDependencies:
- srvx: 1.0.5
- optional: true
-
@@ -30223,7 +30323,7 @@ snapshots:
node-domexception: 1.0.0
web-streams-polyfill: 3.2.1
@@ -30806,20 +30906,6 @@ snapshots:
ufo: 1.6.4
uncrypto: 0.1.3
- dependencies:
- rou3: 0.8.1
- srvx: 0.11.22
- optionalDependencies:
- crossws: 0.4.12([email protected])
-
- dependencies:
- rou3: 0.8.1
- srvx: 0.11.22
- optionalDependencies:
- crossws: 0.4.12([email protected])
-
dependencies:
rou3: 0.9.2
@@ -34002,21 +34088,21 @@ snapshots:
mitt: 3.0.1
dependencies:
'@standard-schema/spec': 1.0.0
react: 19.2.6
optionalDependencies:
- '@tanstack/react-router': 1.170.41([email protected]([email protected]))([email protected])
+ '@tanstack/react-router': 1.170.44([email protected]([email protected]))([email protected])
dependencies:
'@standard-schema/spec': 1.0.0
react: 19.2.6
optionalDependencies:
- '@tanstack/react-router': 1.170.41([email protected]([email protected]))([email protected])
+ '@tanstack/react-router': 1.170.44([email protected]([email protected]))([email protected])
@@ -35828,6 +35914,8 @@ snapshots:
+
@@ -36007,8 +36095,6 @@ snapshots:
'@rollup/rollup-win32-x64-msvc': 4.60.3
fsevents: 2.3.3
-
@@ -36215,20 +36301,16 @@ snapshots:
dependencies:
- seroval: 1.5.4
-
- dependencies:
- seroval: 1.6.7
-
+ seroval: 1.6.9
+
dependencies:
defu: 6.1.7
@@ -36609,11 +36691,27 @@ snapshots:
ip-address: 10.2.0
smart-buffer: 4.2.0
dependencies:
csstype: 3.2.3
- seroval: 1.5.4
- seroval-plugins: 1.5.4([email protected])
+ seroval: 1.6.9
+ seroval-plugins: 1.6.9([email protected])
+
+ dependencies:
+ '@corvu/utils': 0.4.2([email protected])
+ solid-js: 1.9.17
+
+ dependencies:
+ '@corvu/utils': 0.4.2([email protected])
+ solid-js: 1.9.17
+
+ dependencies:
+ '@solid-primitives/refs': 1.1.4([email protected])
+ '@solid-primitives/transition-group': 1.1.2([email protected])
+ solid-js: 1.9.17
dependencies:
@@ -36673,8 +36771,7 @@ snapshots:
- optional: true
@@ -36954,6 +37051,10 @@ snapshots:
'@supabase/cli-windows-arm64': 2.114.0
'@supabase/cli-windows-x64': 2.114.0
+ dependencies:
+ copy-anything: 4.1.5
+
diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml
index 691fa7fd465..a6876016899 100644
--- a/pnpm-workspace.yaml
+++ b/pnpm-workspace.yaml
@@ -19,8 +19,8 @@ catalog:
'@supabase/realtime-js': 2.117.3
'@supabase/ssr': 0.12.7
'@supabase/supabase-js': 2.117.3
- '@tanstack/react-router': ^1.170.41
- '@tanstack/react-start': ^1.168.60
+ '@tanstack/react-router': ^1.170.44
+ '@tanstack/react-start': ^1.169.2
'@tanstack/react-table': ^8.21.3
'@types/node': ^22.0.0
'@types/react': ^19.2.14
@@ -100,20 +100,6 @@ minimumReleaseAgeExclude:
- react-use
- '@astrojs/[email protected]'
- - '@tanstack/[email protected]'
- - '@tanstack/[email protected]'
- - '@tanstack/[email protected]'
- - '@tanstack/[email protected]'
- - '@tanstack/[email protected]'
- - '@tanstack/[email protected]'
- - '@tanstack/[email protected]'
- - '@tanstack/[email protected]'
- - '@tanstack/[email protected]'
- - '@tanstack/[email protected]'
- - '@tanstack/[email protected]'
- - '@tanstack/[email protected]'
- - '@tanstack/[email protected]'
- - '@tanstack/[email protected]'
overrides:
'@ardatan/relay-compiler>immutable': ^3.8.3