mirror of
https://github.com/TanStack/router.git
synced 2026-11-16 19:38:07 +00:00
- 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
|
|
|---|---|---|
| .. | ||
| router | ||
| start | ||
| AGENTS.md | ||