mirror of
https://github.com/TanStack/router.git
synced 2026-11-16 19:38:07 +00:00
37 commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
2946ffff52 |
chore(solid): bump @tanstack/solid-query to 6.0.0-rc.4 (#8465)
* chore(solid): bump @tanstack/solid-query to 6.0.0-rc.4 Catalog entry and the solid-router-ssr-query devDependency move from rc.1 to rc.4. rc.2 gave QueryClientProvider its own "sq" single-flight consumer and dehydrateSettled, rc.3 sweeps X-Revalidate keys, rc.4 fixes disabled-query SSR renders and removed-query resurrection. Peer range now wants solid-js >=2.0.0-rc.6; the branch is on rc.8. @tanstack/solid-query-devtools stays on rc.1, now pinned exactly: its rc.2-rc.4 builds import patchableRaw, registerPatch, registerRowOps and registerSlotPatch from solid-js, which 2.0.0-rc.8 does not export, so every app rendering the devtools fails to bundle. A caret on rc.1 would let pnpm re-resolve to rc.4 (its peer range admits solid-query rc.4), which is exactly what happened on the first pass. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> * test(solid-start): expect solid-query's flight source on the single-flight request solid-query 6.0.0-rc.2+ subscribes QueryClientProvider under its own "sq" single-flight source, so the mutation's request header now lists it next to the router's "tsr". The response still folds only "tsr": this app registers no "sq" collector. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> --------- Co-authored-by: Brenley Dueck <brenleydueck@Brenleys-Mac-mini.local> Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com> |
||
|
|
22fd367d81 |
chore(solid): bump to solid-js 2.0.0-rc.4 and @solidjs/vite-plugin 3.0.0-next.35 (#8189)
* chore(solid): bump to solid-js 2.0.0-rc.4 and @solidjs/vite-plugin 3.0.0-next.35 Also: - Migrate the webpack example and docs off the deleted babel-preset-solid onto @solidjs/babel-plugin (compiler packages were renamed in rc.3). - Bump @rsbuild/plugin-solid to ^2.0.0-beta.2 so the rsbuild path compiles with the rc-line preset. - Adapt the server function transport to rc.4: function ids resolve from the request url pathname (X-Server-Function header removed), and the client reference derives its url from the configured endpoint. - Wire per-call AbortSignals through Solid's new invoke() channel and re-enable the previously skipped abort e2e tests. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * fix(solid-start): rc.4 CI fallout — rsbuild native loader ssr mode, benchmark wire protocol - @rsbuild/plugin-solid >= 2.0.0-beta.1 compiles through its own solid loader (native compiler) instead of registering babel-preset-solid, so the babel preset patch never fired and node-target rsbuild bundles were compiled in dom mode, throwing "Client-only API called on the server side" at import. Patch the loader's solid options (generate ssr on node targets, hydratable) alongside the legacy preset patch. - The benchmark server-function request builders still spoke the pre-rc.4 wire protocol (id in the removed X-Server-Function-Id header, bare endpoint url). Ids now ride the url pathname. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * chore(solid): bump @tanstack/solid-query to 6.0.0-rc.1 The rc.1 adapter is rewritten onto Solid 2.0's native async model (TanStack/query#11308) and peer-requires solid-js >=2.0.0-rc.4, so it rides this branch's rc.4 bump. Catalog entry plus the non-catalogued solid-query-devtools pins move in lockstep. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> --------- Co-authored-by: Claude Fable 5 <noreply@anthropic.com> |
||
|
|
252caa8534 |
feat(solid-router): delegate lazyRouteComponent to Solid 2's lazy() (#8081)
* feat(solid-router): register head tags through Solid's useHead registry
HeadContent now feeds the route-derived tags (useTags output, semantics
unchanged) to Solid's head registry as one reactive group instead of
rendering <Asset> elements in-tree. The registry owns head emission on
both runtimes: SSR splices/streams resolved winners into <head>, the
client patches document.head reactively — replacing the manual
relocate-into-head, imperative script injection, and document.title
syncing that Asset.tsx carried for head tags.
The dev-only dev-styles handling (filter DEV_STYLES_ATTR links post
hydration) is a no-op in production, so it folds into the single
HeadContent — retiring HeadContent.dev.tsx, index.dev.tsx, and the
package's development export conditions.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
* test(solid-start): pin SSR'd lazy() modulepreload hints and hydration asset map
The client-assets manifest wiring (
|
||
|
|
56cc90ea2c |
Upgrade solidjs rc 0 and rename vite-plugin-solid to @solidjs/vite-plugin
`vite-plugin-solid` has been renamed to `@solidjs/vite-plugin`. Its final release under the old name (`3.0.0-next.27`) is a re-export shim over the new package, and `next.28`+ ships only under the new name. The rename and the `rc` bump are forced together: `@solidjs/vite-plugin@3.0.0-next.28` peer-requires `solid-js`/`@solidjs/web` `^2.0.0-rc.0`. - solid-js, @solidjs/web, babel-preset-solid: 2.0.0-beta.32 -> ^2.0.0-rc.0 - vite-plugin-solid ^3.0.0-next.23 -> @solidjs/vite-plugin ^3.0.0-next.28 - @tanstack/solid-query + solid-query-devtools -> ^6.0.0-rc.0 (solid-query rc.0 peer-requires solid-js >=2.0.0-rc.0) - @tanstack/query-core converged on 5.101.4: solid-query depends on query-core 5.101.0, which previously resolved to a stale 5.99.0 and produced two structurally incompatible `QueryClient` types, failing @tanstack/solid-router-ssr-query's build `packages/router-devtools-core` intentionally stays on `vite-plugin-solid@^2.11.10` — it builds against Solid 1.9.12 and `@solidjs/vite-plugin` has no 2.x line. `@tanstack/router-plugin` is intentionally untouched: it detects the Solid JSX plugin by its Vite plugin name (`solid`), which the renamed package still registers, and its `vite-plugin-solid` peer is optional — so it keeps working for both Solid 1 and Solid 2 consumers without a change. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> |
||
|
|
e958330a1d |
Merge branch 'main' into solid-router-v2-pre-main-merge-2
# Conflicts: # benchmarks/client-nav/package.json # e2e/solid-start/basic-auth/package.json # e2e/solid-start/basic-solid-query/package.json # e2e/solid-start/basic-tsr-config/package.json # e2e/solid-start/csp/package.json # e2e/solid-start/query-integration/package.json # e2e/solid-start/query-integration/src/routeTree.gen.ts # e2e/solid-start/scroll-restoration/package.json # e2e/solid-start/serialization-adapters/package.json # e2e/solid-start/server-functions/package.json # e2e/solid-start/server-routes/package.json # e2e/solid-start/virtual-routes/package.json # e2e/solid-start/website/package.json # examples/react/start-rscs/package.json # examples/solid/authenticated-routes-firebase/package.json # examples/solid/authenticated-routes/package.json # examples/solid/basic-default-search-params/package.json # examples/solid/basic-devtools-panel/package.json # examples/solid/basic-file-based/package.json # examples/solid/basic-non-nested-devtools/package.json # examples/solid/basic-solid-query-file-based/package.json # examples/solid/basic-solid-query/package.json # examples/solid/basic-ssr-file-based/package.json # examples/solid/basic-ssr-streaming-file-based/package.json # examples/solid/basic-virtual-file-based/package.json # examples/solid/basic-virtual-inside-file-based/package.json # examples/solid/basic/package.json # examples/solid/deferred-data/package.json # examples/solid/i18n-paraglide/package.json # examples/solid/kitchen-sink-file-based/package.json # examples/solid/kitchen-sink-solid-query-file-based/package.json # examples/solid/kitchen-sink-solid-query/package.json # examples/solid/kitchen-sink/package.json # examples/solid/large-file-based/package.json # examples/solid/location-masking/package.json # examples/solid/navigation-blocking/package.json # examples/solid/quickstart-esbuild-file-based/package.json # examples/solid/quickstart-file-based/package.json # examples/solid/quickstart-rspack-file-based/package.json # examples/solid/quickstart-webpack-file-based/package.json # examples/solid/quickstart/package.json # examples/solid/router-monorepo-simple-lazy/package.json # examples/solid/router-monorepo-simple-lazy/packages/app/package.json # examples/solid/router-monorepo-simple-lazy/packages/post-feature/package.json # examples/solid/router-monorepo-simple-lazy/packages/router/package.json # examples/solid/router-monorepo-simple/package.json # examples/solid/router-monorepo-simple/packages/app/package.json # examples/solid/router-monorepo-simple/packages/post-feature/package.json # examples/solid/router-monorepo-simple/packages/router/package.json # examples/solid/router-monorepo-solid-query/package.json # examples/solid/router-monorepo-solid-query/packages/app/package.json # examples/solid/router-monorepo-solid-query/packages/post-feature/package.json # examples/solid/router-monorepo-solid-query/packages/post-query/package.json # examples/solid/router-monorepo-solid-query/packages/router/package.json # examples/solid/scroll-restoration/package.json # examples/solid/search-validator-adapters/package.json # examples/solid/start-basic-auth/package.json # examples/solid/start-basic-authjs/package.json # examples/solid/start-basic-cloudflare/package.json # examples/solid/start-basic-netlify/package.json # examples/solid/start-basic-nitro/package.json # examples/solid/start-basic-solid-query/package.json # examples/solid/start-basic-static/package.json # examples/solid/start-basic/package.json # examples/solid/start-bun/package.json # examples/solid/start-convex-better-auth/package.json # examples/solid/start-counter/package.json # examples/solid/start-i18n-paraglide/package.json # examples/solid/start-large/package.json # examples/solid/start-streaming-data-from-server-functions/package.json # examples/solid/start-supabase-basic/package.json # examples/solid/start-tailwind-v4/package.json # examples/solid/view-transitions/package.json # examples/solid/with-framer-motion/package.json # examples/solid/with-trpc/package.json # packages/router-devtools-core/package.json # packages/solid-router-devtools/CHANGELOG.md # packages/solid-router-devtools/package.json # packages/solid-router/CHANGELOG.md # packages/solid-router/package.json # packages/solid-router/src/CatchBoundary.tsx # packages/solid-router/src/Match.tsx # packages/solid-router/src/Matches.tsx # packages/solid-router/src/Scripts.tsx # packages/solid-router/src/Transitioner.tsx # packages/solid-router/src/headContentUtils.tsx # packages/solid-router/src/lazyRouteComponent.tsx # packages/solid-router/src/link.tsx # packages/solid-router/src/routerStores.ts # packages/solid-router/src/ssr/RouterClient.tsx # packages/solid-router/src/useMatch.tsx # packages/solid-router/tests/link.test.tsx # packages/solid-router/tests/loaders.test.tsx # packages/solid-router/tests/routeContext.test.tsx # packages/solid-router/tests/store-updates-during-navigation.test.tsx # packages/solid-start-client/CHANGELOG.md # packages/solid-start-client/package.json # packages/solid-start-server/CHANGELOG.md # packages/solid-start-server/package.json # packages/solid-start/CHANGELOG.md # packages/solid-start/package.json # pnpm-lock.yaml |
||
|
|
3d40733d4a |
Upgrade solidjs beta 29 + solid-query beta 7 (#7928)
* Upgrade solidjs beta 29 Upgrade `solid-js`, `@solidjs/web` and `babel-preset-solid` to `2.0.0-beta.29`, and `vite-plugin-solid` to `3.0.0-next.20` (peer-requires `>=2.0.0-beta.28`). Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> * Upgrade vite-plugin-solid to 3.0.0-next.21 Peer-requires `>=2.0.0-beta.29` (already satisfied) and ships `@dom-expressions/compiler@0.50.0-next.34`. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> * Upgrade @tanstack/solid-query to 6.0.0-beta.7 Bump `@tanstack/solid-query` and `@tanstack/solid-query-devtools` to `6.0.0-beta.7`. The devtools package peer-requires `@tanstack/solid-query: ^6.0.0-beta.7`, so the two must move together. `@tanstack/solid-query` is pinned through the `catalog:` entry in pnpm-workspace.yaml and forced repo-wide via `overrides`, so the catalog value is bumped alongside the package.json ranges — editing the package.json ranges alone has no effect on resolution. Both packages are added to `minimumReleaseAgeExclude`; the repo gates on `minimumReleaseAge: 1440` and these betas are newer than that. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5 <noreply@anthropic.com> |
||
|
|
ebe104c01c |
Upgrade solidjs beta 19 (#7813)
* chore: upgrade Solid v2 packages to 2.0.0-beta.16 Bumps solid-js, @solidjs/web, and babel-preset-solid from 2.0.0-beta.15 to 2.0.0-beta.16 across packages, examples, e2e apps, benchmarks, and the pnpm overrides in pnpm-workspace.yaml. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * chore: upgrade Solid v2 packages to 2.0.0-beta.17 Bumps solid-js, @solidjs/web, and babel-preset-solid from 2.0.0-beta.16 to 2.0.0-beta.17 across packages, examples, e2e apps, and benchmarks. The scoped babel-preset-solid overrides in pnpm-workspace.yaml are removed instead of bumped: vite-plugin-solid@3.0.0-next.5 and @rsbuild/plugin-solid@2.0.0-beta.0 both declare '>=2.0.0-beta.0 <2.0.0-experimental.0', which resolves to the newest v2 beta on its own, while Solid 1.x consumers keep babel-preset-solid 1.x. A stale override here silently kept the beta.16 compiler (with its broken omitLastClosingTag marker handling) in the build pipeline. The @dom-expressions/* scope is added to minimumReleaseAgeExclude, covering the renamed compiler package (@dom-expressions/babel-plugin-jsx, formerly babel-plugin-jsx-dom-expressions). Two unrelated loose specs are pinned to their locked versions because re-resolving the lockfile pulled broken releases: @platformatic/flame 1.7.0 fails pnpm's trust-downgrade policy, and the nitro-nightly 'latest' tag depends on an unpublished h3 version. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * fix(solid-router): suspend on the match loadPromise only during SSR On the client, returning the loadPromise from MatchInner's pending branch keeps a live async source in the tree whenever a match is pending. Since Solid 2.0.0-beta.16, that routes every signal write into a transition hold for the rest of the flush, which breaks router-core's synchronous write-then-load flows: invalidate() on a notFound match never re-ran the loader, and writes to unrelated signals were held too. SSR keeps the suspension so the streaming engine waits for the match to settle; the client now renders just the pending component. Verified on beta.17: without this, "re-runs loaders that throw notFound() when invalidated via HMR filter" and "keeps rendering a route notFoundComponent when loader returns notFound() after invalidate" fail. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * fix(lockfile): restore all @rspack/binding@2.0.8 platform binaries The lockfile entry for @rspack/binding@2.0.8 only listed the darwin-arm64 binding, so linux CI runners had no matching native binding and rspack fell back to a hoisted 2.0.0 binary, crashing the bundle-size benchmark with a core/binding version mismatch. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * chore: add changesets for solid-js beta.17 upgrade and SSR-only match suspension Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * fix(examples): replace broken nitro-nightly pin with nitro beta in start-rscs The pinned nitro-nightly@4.0.0-20251010 self-imports 'nitro/runtime/meta', which under pnpm's isolated layout resolves to the hoisted nitro 3.x beta and crashes vite config loading. Mirrors upstream fix |
||
|
|
a41f26547c |
chore(deps): bump @playwright/test to ^1.61.0 across the workspace (#7772) | ||
|
|
caebc57045 |
fix deps (#7810) | ||
|
|
adc6ed5712 |
Merge remote-tracking branch 'upstream/main' into solid-router-v2-pre
# Conflicts: # benchmarks/client-nav/package.json # examples/solid/authenticated-routes-firebase/package.json # examples/solid/authenticated-routes/package.json # examples/solid/basic-default-search-params/package.json # examples/solid/basic-devtools-panel/package.json # examples/solid/basic-file-based/package.json # examples/solid/basic-non-nested-devtools/package.json # examples/solid/basic-solid-query-file-based/package.json # examples/solid/basic-solid-query/package.json # examples/solid/basic-ssr-file-based/package.json # examples/solid/basic-ssr-streaming-file-based/package.json # examples/solid/basic-virtual-file-based/package.json # examples/solid/basic-virtual-inside-file-based/package.json # examples/solid/basic/package.json # examples/solid/deferred-data/package.json # examples/solid/i18n-paraglide/package.json # examples/solid/kitchen-sink-file-based/package.json # examples/solid/kitchen-sink-solid-query-file-based/package.json # examples/solid/kitchen-sink-solid-query/package.json # examples/solid/kitchen-sink/package.json # examples/solid/large-file-based/package.json # examples/solid/location-masking/package.json # examples/solid/navigation-blocking/package.json # examples/solid/quickstart-esbuild-file-based/package.json # examples/solid/quickstart-file-based/package.json # examples/solid/quickstart-rspack-file-based/package.json # examples/solid/quickstart-webpack-file-based/package.json # examples/solid/quickstart/package.json # examples/solid/router-monorepo-simple-lazy/package.json # examples/solid/router-monorepo-simple-lazy/packages/router/package.json # examples/solid/router-monorepo-simple/package.json # examples/solid/router-monorepo-simple/packages/router/package.json # examples/solid/router-monorepo-solid-query/package.json # examples/solid/router-monorepo-solid-query/packages/router/package.json # examples/solid/scroll-restoration/package.json # examples/solid/search-validator-adapters/package.json # examples/solid/start-basic-auth/package.json # examples/solid/start-basic-authjs/package.json # examples/solid/start-basic-cloudflare/package.json # examples/solid/start-basic-netlify/package.json # examples/solid/start-basic-nitro/package.json # examples/solid/start-basic-solid-query/package.json # examples/solid/start-basic-static/package.json # examples/solid/start-basic/package.json # examples/solid/start-bun/package.json # examples/solid/start-convex-better-auth/package.json # examples/solid/start-counter/package.json # examples/solid/start-i18n-paraglide/package.json # examples/solid/start-large/package.json # examples/solid/start-streaming-data-from-server-functions/package.json # examples/solid/start-supabase-basic/package.json # examples/solid/start-tailwind-v4/package.json # examples/solid/view-transitions/package.json # examples/solid/with-framer-motion/package.json # examples/solid/with-trpc/package.json # package.json # packages/solid-router/CHANGELOG.md # packages/solid-router/package.json # packages/solid-start-client/CHANGELOG.md # packages/solid-start-client/package.json # packages/solid-start-server/CHANGELOG.md # packages/solid-start-server/package.json # packages/solid-start/CHANGELOG.md # packages/solid-start/package.json # pnpm-lock.yaml # pnpm-workspace.yaml |
||
|
|
259efbe530 |
chore: upgrade solid-js to 2.0.0-beta.15 (#7688)
Bump solid-js and @solidjs/web from 2.0.0-beta.14 to 2.0.0-beta.15 across all packages, examples, and e2e apps. - Pin solid-js as an explicit devDependency in @tanstack/solid-router (it previously only declared a floating peer range, so pnpm kept it on beta.14). - Update the scoped vite-plugin-solid babel-preset-solid override to beta.15 and add a matching scoped override for @rsbuild/plugin-solid. - Add minimumReleaseAgeExclude for the freshly published solid betas. - router-devtools-core intentionally stays on Solid v1. Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com> |
||
|
|
3d86aee264 |
pnpm: fix minReleaseAge to 1 day (#7686) | ||
|
|
80d098f5a4 |
fix pnpm trustPolicy (for good) (#7681) | ||
|
|
d71af0bbcf |
add undici 6 to trustPolicyExclude for vite ecosystem ci (#7680) | ||
|
|
1362bf22d0 |
ci: pnpm trustPolicy no-downgrade exclude semver@6.3.1 (#7645) | ||
|
|
734f9072e4 |
ci: pnpm trustPolicy no-downgrade exclude chokidar@4.0.3 (#7643) | ||
|
|
854ac95b0d |
benchmark: memory (codspeed) (#7623) | ||
|
|
f013849cc6 |
Merge remote-tracking branch 'origin/main' into sync-main-to-solidl-v2-pre | ||
|
|
0a7e958c80 |
chore: solid router v2 pre main sync (#7517)
* fix: republish react-start-rsc dependency chain * ci: changeset release * chore: sync published start package versions * ci: changeset release * fix publishing * ci: changeset release * fix * ci: apply automated fixes * ci: changeset release * refactor: switch router stores to atom get/set API (#7150) * ci: changeset release * refactor: shorten internal router store names (#7152) * ci: changeset release * chore(types): re-export SearchMiddleware type from react-router (#7087) * fix(start-plugin-core): reuse deduped server function ids across compilers (#7153) * ci: changeset release * fix(router-core): avoid false notFound matches for proxied loader data (#7156) * fix(router-core): avoid false notFound matches for proxied loader data * test(react-start): cover proxied loader data notFound regression * test(react-start): move notFound regression to rsc direct loader * chore: add changeset * ci: changeset release * fix: reduce start SSR manifest asset duplication (#7157) Co-authored-by: schiller-manuel <schiller-manuel@users.noreply.github.com> Co-authored-by: nx-cloud[bot] <71083854+nx-cloud[bot]@users.noreply.github.com> * ci: changeset release * docs: fix file extension syntax for prefix/suffix routing examples (#7149) docs: fix file-based routing examples with literal dots * chore: bump to h3 v2 rc.20 (#7140) * ci: changeset release * chore: stabilize tests (#7159) * chore: add vite 8 to peer deps (#7160) Co-authored-by: schiller-manuel <6340397+schiller-manuel@users.noreply.github.com> Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: nx-cloud[bot] <71083854+nx-cloud[bot]@users.noreply.github.com> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> * ci: changeset release * chore(start-server-core): remove unnecessary `any` in `getRequestHeaders` (#7164) * fix(router-generator): harden route file transform rewrites (#7167) * fix docs (#7168) * ci: changeset release * fix(router-plugin): update vite-plugin-solid peer dependency to support version 3.0.0-0 (#7170) * ci: changeset release * fix(router-generator): normalize virtual physical subtree paths (#7169) Co-authored-by: schiller-manuel <6340397+schiller-manuel@users.noreply.github.com> Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> * ci: changeset release * fix: unify virtual module handling for Start Vite plugins (#7178) Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> Co-authored-by: CodeRabbit <noreply@coderabbit.ai> Co-authored-by: schiller-manuel <schiller-manuel@users.noreply.github.com> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: nx-cloud[bot] <71083854+nx-cloud[bot]@users.noreply.github.com> * ci: changeset release * fix: add react-server server export for react-start (#7180) * ci: changeset release * fix(docs): correct server function name in example (#7173) * fix react server exports for start and react-router (#7183) Co-authored-by: nx-cloud[bot] <71083854+nx-cloud[bot]@users.noreply.github.com> * chore: stabilize tests (#7185) * ci: changeset release * fix(router-core): avoid intermediate success state for async notFound (#7184) * ci: changeset release * Add a React Start server-components skill (#7181) Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> * chore: add sharding for playwright tests (#7187) * add sharding * fix dependnancy * fix playwright shard port reuse * full bust * throw more runners into this run * try to throw money at it and see the effect * tune * fix react-router shared route css persistence on nav (#7186) Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> * ci: changeset release * chore: stabilize test (#7192) * fix(start): include Vite style.css when cssCodeSplit is disabled (#7191) Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> * ci: changeset release * chore: bump solid-js override 1.9.12 (#7202) * chore: bump query override to 5.99.0 (#7203) * fix(solid-router): use keyed Show in Outlet to fix child route rendering with useQuery (#7204) * ci: changeset release * docs(start): fix authenticated routes doc URL (#7214) * chore(deps): vitest 4.1.4 (#7212) * stabilize rsc tests (#7217) * fix(react-router): prevent webpack static analysis of React.use with let binding (#7182) * ci: changeset release * stabilize test (#7220) * chore: unify react-start basic e2e mode projects (#7206) * feat(nx): support rsbuild in Playwright inference (#7221) * test(e2e-rsc): migrate to playwrightModes and dynamic inferred dist (#7222) * fix(nx): align playwright mode build target naming (#7223) * docs(start): add missing space after comma in 'Handling requests with a body' (#7234) * update intent workflow (#7243) * rsbuild plugin (#7228) Co-authored-by: neverland <chenjiahan.jait@bytedance.com> Co-authored-by: Keven Arroyo <dake.3601@gmail.com> * ci: changeset release * fix: Split Start plugin core (#7249) * ci: changeset release * update intent workflow (#7244) * fix: asset sorting (#7251) * ci: changeset release * chore(deps): update Rsbuild related deps to v2.0.1 (#7245) * fix actions again? (#7252) * inline css (#7253) * ci: changeset release * fix: do not import 'react-refresh/runtime' (#7255) Co-authored-by: nx-cloud[bot] <71083854+nx-cloud[bot]@users.noreply.github.com> * ci: changeset release * chore(examples): checkin git outdated route-tree files for react and solid examples (#7257) * add new bundlesize measurements for rsbuild (#7256) Co-authored-by: nx-cloud[bot] <71083854+nx-cloud[bot]@users.noreply.github.com> * refactor(router-plugin): upgrade unplugin to `v3` (#7258) * refactor(router-plugin): upgrade unplugin to `v3` * refactor(start-client-core): use a more explicit typing to `CustomFetch` type * chore(examples): runtime enforce for needing the `VITE_CONVEX_URL` * ci: changeset release * fix: issue 7240 causing fouc (#7250) * fix: server middleware type in solid-router (#7260) * replace tsx by jiti (#7261) Co-authored-by: nx-cloud[bot] <71083854+nx-cloud[bot]@users.noreply.github.com> * ci: changeset release * docs: Fix server function middleware prop (#7262) * feat(query): add support for custom dehydrate and hydrate options in SSR integration (#7246) Co-authored-by: schiller-manuel <6340397+schiller-manuel@users.noreply.github.com> Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> * ci: changeset release * fix: use loader data goes undefined (#7265) * fix: streaming when using Await component (#7264) * ci: changeset release * fix(solid-start): bundle solid-query packages during SSR to fix duplicate QueryClientContext (#6151) (#7267) * ci: changeset release * fix(solid-router): hydration mismatch for ssr='data-only' with pendingComponent (#7266) * docs(router): fix typo in doc (#7268) * ci: changeset release * fix(router-core): wildcard nodes respect DFS priority like other nodes in route matching (#7273) * ci: changeset release * fix(solid-router): enable route component HMR for Solid * ci: apply automated fixes * Revert "ci: apply automated fixes" This reverts commit |
||
|
|
86b5ca062e |
security: stricter pnpm config blockExoticSubdeps & trustPolicy (#7425) | ||
|
|
dfcffab661 |
chore(pnpm): update pnpm to v11 (#7392) | ||
|
|
f920527e8d |
efp (#7144)
Co-authored-by: Tanner Linsley <tannerlinsley@gmail.com> |
||
|
|
1acc8eaf3a |
test: add cross-framework client navigation benchmarks (#6800) | ||
|
|
d8171c3994 |
feat(benchmarks): add file-based bundle-size suite + PR trend reporting (#6723) | ||
|
|
b1b8c9ed99 |
ci: move pnpm settings to pnpm-workspace.yaml (#6076) | ||
|
|
4f64ab97e1 |
Vue start (#6055) | ||
|
|
3d6aa41f58 |
Vue router (#5997) | ||
|
|
e2ac863540 |
SolidJS driver for TanStack Start (#3522)
This PR introduce support for Solid to be used with TanStack Start. There are several ongoing refactors that can influence the timing of when it's most feasible to merge this. ### Status (build and run e2e/solid-start/basic) - [X] SSR - [x] API Routes - [x] Server Functions - [x] HMR - [x] Streaming (/stream route) - [X] Timely hydration ### Ongoing refactors Refactor to make router packages (aka. client-only features) more agnostic: - #3552 - #3540 - #3538 - #3171 Refactor to make start packages (aka. server features) more agnostic: - #3546 - #3563 - #3565 ### Upstream changes to solid-router - #3592 - #3591 - #3589 - #3616 ### Passing E2E test suites - [x] basic - [x] website - [x] scroll-restoration - [x] server-functions --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: Brenley Dueck <brenleydueck@gmail.com> Co-authored-by: Iha Shin <me@xiniha.dev> Co-authored-by: Brenley Dueck <brenley@crowdbotics.com> |
||
|
|
6279354663 |
refactor(react-start): rename e2e/start to e2e/react-start (#3565) | ||
|
|
ad20a68491 |
feat(solid-router): Add a SolidJS driver for TanStack Router (#3276)
* copy react-router * update * Move forward branch * cleanup * cleanup * add publish * bump deps * ci: apply automated fixes * remove unused imports * ci: apply automated fixes * bump vite plugin solid * fix imports * ci: apply automated fixes * remove react lint from solid-router * fix types * ci: apply automated fixes * add structuralSharing * downgrade vite plugin solid * fix scroll-restoration in solid-router * fix Transitioner * fix imports from ScrollRestoration * Fix tests * Fix more tests * Remove the react $$typeof * add accessors to useLocation * add remountDeps * cleanup * remove tanstack/store * format * add missing call to setupScrollRestoration * format * add optional * align match component * make matches a signal * Bump vite-plugin-solid to stable * add missing await * Fix unknown error * Tweak the tests to call functions * remove unused vars * fix lockfile * Down to 25 failures * Remove .only * call search() * remove the structuralSharing * fix type test * fix structuralSharing * comment out structured sharing validation check * fix typings * comment out serialization check * comment out serialization check * cleanup * improve types of useSearch * fix "when setting search params with 2 parallel navigate calls" * fix useParams * fix types * fix useParams types * cleanup debug * fix link data loader * fix data loader signal * fix type test * fix Link "when navigating away from a route with a loader that errors" * setup on() simpler * make initial load a createRenderEffect * Fix some link preload tests * add accessor to UseMatchRoute * fix: when navigating to /posts with a beforeLoad that returns context * call parentRouteId * re-enable invariant * fix when navigating from /invoices to ./invoiceId and the current route is /posts/$postId/details * use memo for prev * remove browserhistory workaround * fix "after a navigation, should have emitted the "onResolved" event twice" * skip remount * add types to useSearch * fix search middleware * don't need a getter * sync react-router * solid kitchen sink * add the example to workspace * lockfile * fix solid kitchensink name * add solid template * fix example * rename react to solid * work on example * add accessor * fix type tests * Fix login in example * Don't destructure * Fix stuck on pending component * Fix where loaderData can be undefined * Use For component * More refactor * Hacky way to fix loading spinner * Fix one test * Better MatchRoute fix * Down to 1 failing test * Fix last test * cleanup subscription * lockfile * eslint * ci: apply automated fixes * fix router-core lint * ci: apply automated fixes * add e2e test for solid-router * ci: apply automated fixes * work on solid-router e2e suites * fix comment * use solid-virtualizer * work on scroll-restauration * work on scroll-restauration * skip react-specific useRenderEffect test * fix errorcomponent being used before it's defined * set solid target for esbuild * ci: apply automated fixes * fix rspack tests * fix query tets * add solid-query example * use memo for post * add memo for posts * fix example * add jsx compiler flags to esbuild commands * add esbuild-plugin-solid * Fix some e2e * ci: apply automated fixes * port #3423 from react-router * fix useLoaderData test-d * add codeSplitGroupings * Scroll restoration fixes * add asset headcontent script * remove solid-router-copy * fix react use * fix scroll restoration test * skip esbuild because it's broken in react-router * wait for timeout * update scroll-restoration to match react * useLocation * use on() in match * align useNavigate with react-router * lockfile * fix Scripts test * align __TSR_SSR__ in ScriptOnce * remove solid-router from publish * lint * ci: apply automated fixes * align to react-router * port over "exclude props from state equality check to prevent history push for equal url and state" * align with react-router * add shouldThrow * fix typePrimitives * use searchStr to fix the search middleware * ci: add solid-router to the labeler * use patched vite-plugin-solid * eslint * ci: apply automated fixes * use vite-plugin-solid 2.11.2 * remove only modifier * move vite-plugin-solid peerDep to router-plugin * use latest vite-plugin-solid * move vitest to root * bump vitest * revert onRendered * lint * add to publish * fix scroll restoration * ci: apply automated fixes * align version with react-router * sync to react-router * sync with react-router * sync navigate tests to react-router * ci: apply automated fixes * use Solid.JSX.Element consistently instead of Solid.JSXElement * remove irrelevant test * ci: apply automated fixes * remove unused suite * lint --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: Brenley Dueck <brenleydueck@gmail.com> Co-authored-by: SeanCassiere <33615041+SeanCassiere@users.noreply.github.com> |
||
|
|
3f1f24f9ef |
tests: create shared, non-published package for e2e utils (#3296) | ||
|
|
ed09f91a1e |
docs(examples): add lazy loaded monorepo example (#3244)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> |
||
|
|
45d598240f |
docs: add monorepo with simple and react query example (#2479)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: Manuel Schiller <manuel.schiller@caligano.de> |
||
|
|
a9017a9a7a |
chore: copying e2e test sandboxes from examples/ to e2e/ (#2357)
|
||
|
|
5596fcb598 |
feat: Migrate build to @tanstack/config and common Nx config (#1037)
* Root level and example changes * Fix non-workspace links * Rework scripts directory * Change package build, tsconfig, exports * Fix cli package * Run prettier format * Update github workflows * Update repository field * Slight package.json reorder * Remove unused dependencies * Small vite/tsconfig tweaks * Remove unnecessary config * Add @ts-check to generate.js * Fix pnpm-workspace * Update Nx * Update workspace links |
||
|
|
78c14875ed | checkpoint | ||
|
|
2b51caccb9 | feat: Router context and RouterProvider refactor |