0
Fork 0
mirror of https://github.com/TanStack/router.git synced 2026-11-16 19:38:07 +00:00
router/packages
Manuel Schiller e2340871e8 fix(start): pre-bundle Router Core's browser deps in test runs, wait for the callback in runInRequest
- A browser test run found `cookie-es`, `seroval` and
  `seroval-plugins/web` only when a test imported them, because Start's
  packages are not pre-bundled and Vite's start-up scan does not look
  into them. Vite then pre-bundled them and reloaded the page, and in CI
  a test iframe did not start ("did not become ready within 60000ms").
  The test-run plan now includes them by a path from the Start package.
- `runInRequest` resolved before the callback had finished when a
  request middleware did not wait for `next()`, and reported that the
  middleware had ended the request. It now keeps the callback's promise
  and always waits for it. That replaces two flags.
- The generator test compared route file paths built with `path.join`,
  which fails on Windows: the generator names them with forward slashes.
- Simpler: the mock registries register their maps with the setup file
  instead of a snapshot function each, the client function of a
  middleware is wrapped only when it has one, and the scope no longer
  carries a handler type that was always `router`.
- Docs: tests that run concurrently share the mocks registered outside
  `runInRequest`.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
History 2026-11-15 17:39:12 +01:00
..
arktype-adapter chore(deps): upgrade Vitest to 5 and migrate benchmarks to the bench fixture (#8723) 2026-10-16 00:41:32 +02:00
eslint-plugin-router test: fix Nx sandbox violations in CI tasks (#8400) 2026-09-14 10:54:23 +02:00
eslint-plugin-start test: fix Nx sandbox violations in CI tasks (#8400) 2026-09-14 10:54:23 +02:00
history ci: Version Packages (#8580) 2026-10-10 09:25:30 +02:00
react-router ci: Version Packages (#8745) 2026-10-22 22:05:39 +02:00
react-router-devtools ci: Version Packages (#8854) 2026-11-08 02:00:36 +01:00
react-router-ssr-query ci: Version Packages (#8429) 2026-09-16 23:07:33 +02:00
react-start feat(start): experimental Vitest support and typed test helpers 2026-11-15 17:10:33 +01:00
react-start-client ci: Version Packages (#8854) 2026-11-08 02:00:36 +01:00
react-start-rsc fix(react-start-rsc): bump RSC bundler deps for RSC (#8919) 2026-11-12 09:33:28 +01:00
react-start-server ci: Version Packages (#8745) 2026-10-22 22:05:39 +02:00
router-cli ci: Version Packages (#8854) 2026-11-08 02:00:36 +01:00
router-core ci: upgrade Nx and migrate worker configuration (#8807) 2026-10-25 01:21:10 +02:00
router-devtools ci: Version Packages (#8854) 2026-11-08 02:00:36 +01:00
router-devtools-core ci: Version Packages (#8854) 2026-11-08 02:00:36 +01:00
router-generator fix(start): pre-bundle Router Core's browser deps in test runs, wait for the callback in runInRequest 2026-11-15 17:39:12 +01:00
router-plugin feat(start): experimental Vitest support and typed test helpers 2026-11-15 17:10:33 +01:00
router-ssr-query-core ci: upgrade Nx and migrate worker configuration (#8807) 2026-10-25 01:21:10 +02:00
router-utils ci: Version Packages (#8854) 2026-11-08 02:00:36 +01:00
router-vite-plugin ci: Version Packages (#8854) 2026-11-08 02:00:36 +01:00
solid-router ci: Version Packages (#8745) 2026-10-22 22:05:39 +02:00
solid-router-devtools ci: Version Packages (#8854) 2026-11-08 02:00:36 +01:00
solid-router-ssr-query ci: Version Packages (#8429) 2026-09-16 23:07:33 +02:00
solid-start feat(start): experimental Vitest support and typed test helpers 2026-11-15 17:10:33 +01:00
solid-start-client ci: Version Packages (#8745) 2026-10-22 22:05:39 +02:00
solid-start-server ci: Version Packages (#8745) 2026-10-22 22:05:39 +02:00
start-client-core fix(start): pre-bundle Router Core's browser deps in test runs, wait for the callback in runInRequest 2026-11-15 17:39:12 +01:00
start-fn-stubs chore: localize package dependencies (#8078) 2026-08-15 13:42:24 +02:00
start-plugin-core fix(start): pre-bundle Router Core's browser deps in test runs, wait for the callback in runInRequest 2026-11-15 17:39:12 +01:00
start-server-core fix(start): pre-bundle Router Core's browser deps in test runs, wait for the callback in runInRequest 2026-11-15 17:39:12 +01:00
start-static-server-functions ci: Version Packages (#8745) 2026-10-22 22:05:39 +02:00
start-storage-context feat(start): experimental Vitest support and typed test helpers 2026-11-15 17:10:33 +01:00
valibot-adapter chore(deps): upgrade Vitest to 5 and migrate benchmarks to the bench fixture (#8723) 2026-10-16 00:41:32 +02:00
virtual-file-routes chore: localize package dependencies (#8078) 2026-08-15 13:42:24 +02:00
vue-router ci: Version Packages (#8745) 2026-10-22 22:05:39 +02:00
vue-router-devtools ci: Version Packages (#8854) 2026-11-08 02:00:36 +01:00
vue-router-ssr-query ci: Version Packages (#8429) 2026-09-16 23:07:33 +02:00
vue-start feat(start): experimental Vitest support and typed test helpers 2026-11-15 17:10:33 +01:00
vue-start-client ci: Version Packages (#8745) 2026-10-22 22:05:39 +02:00
vue-start-server ci: Version Packages (#8745) 2026-10-22 22:05:39 +02:00
zod-adapter chore(deps): upgrade Vitest to 5 and migrate benchmarks to the bench fixture (#8723) 2026-10-16 00:41:32 +02:00
AGENTS.md agents (#8258) 2026-09-15 22:36:13 +02:00