0
Fork 0
mirror of https://github.com/TanStack/router.git synced 2026-11-16 19:38:07 +00:00
router/docs
Manuel Schiller 75637991a3 fix(router): reject notFoundRoute and explain not-found rejections
- Neither test router supports the deprecated `notFoundRoute` option. The
  option types declare it as `never`, and both functions throw when it is
  passed anyway. In `createIsolatedTestRouter` it rendered the app's
  not-found route after a navigation, and the root used it to catch a
  `notFound()` thrown by the element, which then crashed.
- When `params.parse` threw `notFound()`, `createIsolatedTestRouter`
  rejected with "is not matched", although the route was matched with a
  not-found. When `validateSearch` threw it, the router wraps it in a
  `SearchParamError` without a message, so the rejection had none. Both
  now name the route and the step that threw.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
History 2026-11-15 00:34:23 +01:00
..
router fix(router): reject notFoundRoute and explain not-found rejections 2026-11-15 00:34:23 +01:00
start chore(pnpm): upgrade to pnpm 12 (#8912) 2026-11-09 13:24:08 +01:00
AGENTS.md agents (#8258) 2026-09-15 22:36:13 +02:00