0
Fork 0
mirror of https://github.com/TanStack/router.git synced 2026-11-16 19:38:07 +00:00
router/package.json

87 lines
5 KiB

2019-01-14 07:40:27 -07:00
2021-10-20 08:12:04 -06:00
2026-05-21 23:04:09 +02:00
2026-05-21 23:04:09 +02:00
Chained Server Fn Syntax, ServerFn Middleware (#2513) * init * Refactor createServerFn, add createServerMiddleware * checkpoint * checkpoint * checkpoint * update docs and examples to use new server function syntax * fix: compilers, and update examples * refactor: added merging of context and some type tests * feat: createServerMiddleware context and input validation types * checkpoint * Server function middleware * checkpoint * checkpoint * fix: return types from handlers, merging inputs etc * checkpoint * checkpoint * checkpoint * checkpoint * feat: add types for client context and server context * fix: merge server context * checkpoint * docs * fix: better compilation of server functions * fix: deferred example * Html, Head, Body... be GONE! * fix: API Routes * checkpoint * fix: support optional input types * checkpoint * fix lossy merge * ci: fix build * ci: fix start examples * checkpoint * feat: add client after context types * test: add type tests * checkpoint * checkpoint * Remove now-unnecessary data type headers * checkpoint * fix e2e test * fix up merge conflicts * ci: apply automated fixes * fix: a few tests and a runtime bug * chore: pnpm dedupe except the search-validator-adapters example, everything else builds fine * fix merge conflict --------- Co-authored-by: chorobin <chrishorobin@hotmail.com> Co-authored-by: Manuel Schiller <manuel.schiller@caligano.de> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: SeanCassiere <33615041+SeanCassiere@users.noreply.github.com>
2024-11-14 11:43:20 -05:00
fix(start-plugin-core): pass Start's router options through to the generator and code splitter (#8861) * fix(start-plugin-core): pass Start's router options through to the generator and splitter - `router.plugins` reach the route generator (#7768): one shared `startGeneratorConfig` (from #8817) appends them after Start's own generator plugins, on Vite and Rsbuild. - A function-form `routeTreeFileFooter` is called at every print; Vite no longer caches its first result. - Rsbuild's server build keeps `codeSplittingOptions.deleteNodes`. - Vite matches the client route tree by its exact id (#8839), not by an unescaped `new RegExp(path)`. Regression tests build and serve real Start apps with the built `@tanstack/react-start` plugins (`tests/integration/start-app.ts`). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * test(start-plugin-core): link the test apps' packages with junctions on Windows Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * test(start-plugin-core): run the real-build tests in their own test:integration target The cross-platform unit-test job (Linux arm64, Windows) timed out in the Vite dev footer test: the dev server never picked up the new route file. `test:unit` goes back to main's dependencies (`^build`); the real-build tests move to a `test:integration` target that builds this package and `@tanstack/react-start` first. `test:pr`/`test:ci` run it, so it runs in the Linux `Test` job only. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * test(start-plugin-core): wait for the dev server's file watcher before adding a route The generator prints the first route tree in `configResolved`, before Vite creates its watcher, so the first tree says nothing about the watcher being ready. A route file written during the watcher's initial scan is taken as an existing file and never reported (no `add`), which is how the footer test timed out on Linux arm64 and Windows. The test now writes a file the generator ignores until the watcher reports it, then adds the route once. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 21:39:54 +01:00
2024-04-08 11:23:47 -06:00
2026-06-12 22:04:10 +02:00
2026-06-14 12:51:10 +02:00
2026-03-11 00:00:51 +01:00
2025-05-24 01:36:54 -06:00
2022-01-31 12:06:06 -07:00
2026-03-11 00:00:51 +01:00
2025-05-24 01:36:54 -06:00
2022-01-31 12:06:06 -07:00