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

6,470 commits

Author SHA1 Message Date
Tanner Linsley
3a72111d6a fix: noexternal start-router-manifest 2025-01-22 01:32:31 -07:00
Tanner Linsley
2329c65f99 release: v1.97.10 v1.97.10 2025-01-22 08:22:23 +00:00
Tanner Linsley
662261c6d7 fix: noExternal start-server-functions-handler 2025-01-22 01:17:44 -07:00
Tanner Linsley
745eef6f52 release: v1.97.9 v1.97.9 2025-01-22 07:53:44 +00:00
Tanner Linsley
9c7fa5f260 fix: noExternal tsr:server-fn-manifest 2025-01-22 00:47:00 -07:00
Tanner Linsley
6860b0a564 release: v1.97.8 v1.97.8 2025-01-22 06:50:04 +00:00
Tanner Linsley
dcbca22a8a chore: back to 3 2025-01-21 23:46:52 -07:00
Tanner Linsley
24716c5324 fix: RELEASE_ALL
RELEASE_ALL
2025-01-21 23:34:30 -07:00
Tanner Linsley
db6c8ac833 release: v1.97.7 v1.97.7 2025-01-22 06:30:02 +00:00
Tanner Linsley
678b72fa95 fix: RELEASE_ALL
RELEASE_ALL
2025-01-21 23:16:33 -07:00
Tanner Linsley
85f5a858eb chore: bump the parallel 2025-01-21 23:16:33 -07:00
Tanner Linsley
6446c57f7d release: v1.97.6 v1.97.6 2025-01-22 06:07:00 +00:00
Tanner Linsley
f8cc5a7887 fix: RELEASE_ALL
RELEASE_ALL
2025-01-21 22:56:41 -07:00
Tanner Linsley
2ffbf71fa3 release: v1.97.5 v1.97.5 2025-01-22 05:49:19 +00:00
Tanner Linsley
95ba9b04e1 fix: RELEASE_ALL
RELEASE_ALL
2025-01-21 22:47:25 -07:00
renovate[bot]
bb00e04679
chore(deps): update dependency vite to v6.0.9 [security] (#3205)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-22 01:18:58 +00:00
Tanner Linsley
84f6745610 release: v1.97.4 v1.97.4 2025-01-22 00:02:44 +00:00
Tanner Linsley
f9fb1bdca0
fix: Move @tanstack/start build to separate packages, keep sub modules (#3206)
* fix: no sub modules

* Revert "fix: no sub modules"

This reverts commit 7186b92209.

* fix: start package, builds, tests

* fix: router manifest dir name

* fix: lockfile
2025-01-21 17:00:35 -07:00
fwio
b16c2c1dde
docs(preloading): correct effect snippets (#3204) 2025-01-21 19:48:16 +01:00
Lenz Weber-Tronic
76fd97eeff
fix(start): discard stream controller errors when closed (#3161)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-01-21 19:47:06 +01:00
Tanner Linsley
43a0ba131a fix: lockfile 2025-01-21 00:24:29 -07:00
Tanner Linsley
de1f4092b4 tests: trpc example deps 2025-01-21 00:03:30 -07:00
Tanner Linsley
2d182c7441 fix: replace vinxi/https exports with start/server exports 2025-01-20 17:33:42 -07:00
autofix-ci[bot]
f21186e4c5
ci: apply automated fixes 2025-01-20 18:45:04 +00:00
Swizec Teller
27f3c4eede
docs: Update build-from-scratch.md (#3197) 2025-01-20 19:44:09 +01:00
Mark Vu
d8d6bcd886
docs: correct typo (#3198) 2025-01-20 19:43:14 +01:00
Andrei
80eab58051
docs(router): fix docs related to parsed state (#3194)
* docs(router): fix docs related to parsed state

* docs(router): clarify usage of history state interface

* ci: apply automated fixes

* mention file where history state should be extended

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-01-19 15:53:36 +01:00
renovate[bot]
18610d8ebf
chore(deps): update autofix-ci/action digest to 551dded (#3150)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-18 14:59:35 +01:00
Tanner Linsley
bb7ade0ef2 release: v1.97.3 v1.97.3 2025-01-18 10:58:01 +00:00
Manuel Schiller
1c9a74026c silence linter 2025-01-18 11:52:06 +01:00
autofix-ci[bot]
24a900cca7
ci: apply automated fixes 2025-01-18 10:45:04 +00:00
Manuel Schiller
fdafdd0738 silence linter 2025-01-18 11:43:51 +01:00
Manuel Schiller
124722d962
fix: minify injected script at build time (#3187) 2025-01-18 08:55:57 +01:00
Manuel Schiller
40dd906868
fix: do not minify during code splitting (#3189)
fixes #3183
2025-01-18 08:55:48 +01:00
Tanner Linsley
ede1655a81 release: v1.97.2 v1.97.2 2025-01-16 00:08:21 +00:00
Tanner Linsley
068b0a5a98 fix: do not include server functions in ssr bundle 2025-01-15 16:58:54 -07:00
Tanner Linsley
3669e9ab59 release: v1.97.1 v1.97.1 2025-01-15 22:58:24 +00:00
Tanner Linsley
ab0a92b126 fix: do not include server functions in ssr bundle 2025-01-15 15:53:24 -07:00
Christopher Horobin
0cc3e14f7c
chore: update zod and arktype (#3178)
* chore: update zod and arktype

* ci: apply automated fixes

* chore: fix tests

* chore: remove ts ignore

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-01-15 23:17:28 +01:00
Tanner Linsley
8f7c193ac6 release: v1.97.0 v1.97.0 2025-01-15 05:27:48 +00:00
SeanCassiere
27c66707fa
feat: RELEASE_ALL 2025-01-15 18:26:19 +13:00
Sean Cassiere
b0d73fb568
build: publish directive-functions-plugin & server-functions-plugin (#3172)
RELEASE_ALL
2025-01-15 18:18:02 +13:00
Tanner Linsley
e7a13d3bf2 release: v1.96.0 v1.96.0 2025-01-15 03:38:28 +00:00
Tanner Linsley
e9781b777e
feat: Agnostic Server Fn Plugin (#2993)
* checkpoint

* checkpoint

* cleanup

* checkpoint

* client babel now works, runtime and rpc injection

* fix: dont touch anything outside of the function

* server functions now import a tsr-serverfn-split file version

* checkpoint

* checkpoint

* fis tests

* It's working!!!

* move serverFnFetcher to start client

* fix: no extra context, throw errors from middleware

* docs: add custom link example for mantine (#3033)

* ci: apply automated fixes

* fix(react-router): make sure full matches are passed into route functions (#3039)

* release: v1.91.3

* docs: minor typo in code-based-routing.md (#3043)

* feat(start): create-start cli (#2920)

* create start cli

* update lockfile

* ci: apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>

* docs: Minor typo in middleware.md (#3042)

* release: v1.92.0

* refactor(react-router): expose `scrollBehavior` on the `ScrollRestoration` component (#3053)

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Sean Cassiere <33615041+SeanCassiere@users.noreply.github.com>

* release: v1.92.1

* fix(start): returning `null` from server functions (#3048)

Co-authored-by: SeanCassiere <33615041+SeanCassiere@users.noreply.github.com>

* release: v1.92.2

* fix: allow serverFn errors to also have context (#3037)

* fix: allow serverFn errors to also have context

* fix: allow errors, undefined from server functions

* remove logs

* fix: transformer and tests

* ci: apply automated fixes

* no logs

* fix conficts

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>

* release: v1.92.3

* move directive plugin to own package

* fixes, tests

* suggested fixes from sean

* fix tests

* fix: import specifier

* fix: dev imports

* fix: simpler config, better logging, more reliable plugin coordination

* fix: update test snapshots

* fix: non-split directives, clean up compilers, logging, and

* fix: production server fn builds

* feat(start): explicitly enable and disable route generation

* fix: $fetch during dev

* ci: apply automated fixes

* Update comparison.md

* docs: remove duplicate word (#3125)

* docs: remove duplicate word

* docs: correct typo in learn-the-basics.md

* chore: add skipLibCheck to examples (#3134)

* docs: Typo issue - getParent Does not Exists in type RouteOptions (#3131)

* docs: Fix notFound import (#3133)

* docs: fix dead link and typo in guide (#3136)

Typo introduced in https://github.com/TanStack/router/pull/2963.

* fix(react-router): separate internal and user provided history state (#3119)

* release: v1.95.2

* fix(router-generator) use explicit routes export by default (#3109)

Co-authored-by: Vladimir Panov <vladimir.panov@motorsport.com>

* fix(start): serialize `FormData` for server function input (#3138)

* release: v1.95.3

* test(react-router): check `FormData` serialization in transformer (#3139)

* docs(router): missing character in code-splitting guide (#3143)

* fix(create-start): readme changes and little fixes (#3142)

* release: v1.95.4

* fix(start): preserve multiple values for same key in `FormData` serialization (#3140)

Co-authored-by: SeanCassiere <33615041+SeanCassiere@users.noreply.github.com>

* release: v1.95.5

* docs(migrate): correct typo in migration documentation (#3153)

* docs(start): fix `FormData` server functions examples (#3062)

Co-authored-by: Sean Cassiere <33615041+SeanCassiere@users.noreply.github.com>

* docs(router): require the use of React's `createRoot` function (#3151)

Co-authored-by: Sean Cassiere <33615041+SeanCassiere@users.noreply.github.com>

* fix: order of injected scripts (#3158)

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>

* release: v1.95.6

* perf(start): reduce instantiations of server fn and middleware (again) (#3168)

* perf: reduce instantiations of server fns

* perf(start): reduce instantiations of middleware

* release: v1.95.7

* fix imports

* fix: build test

---------

Co-authored-by: Youssef Benlemlih <youssefbenlemlih7@gmail.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Manuel Schiller <manuel.schiller@caligano.de>
Co-authored-by: Tanner Linsley <tannerlinsley@users.noreply.github.com>
Co-authored-by: AlexisPin <72150908+AlexisPin@users.noreply.github.com>
Co-authored-by: timoconnellaus <tim.oconnell.australia@gmail.com>
Co-authored-by: Arnaud Kleinpeter <arnaud.kleinpeter@gmail.com>
Co-authored-by: Joshua Knauber <49953016+joshuaKnauber@users.noreply.github.com>
Co-authored-by: Sean Cassiere <33615041+SeanCassiere@users.noreply.github.com>
Co-authored-by: alakhpc <alakhpc@gmail.com>
Co-authored-by: Mark Vu <markvu.work@gmail.com>
Co-authored-by: Christopher Horobin <chrishorobin@hotmail.com>
Co-authored-by: Muthu Kumar <muthu32@users.noreply.github.com>
Co-authored-by: Jeff Hertzler <jeffhertzler@gmail.com>
Co-authored-by: Philippe Serhal <philippe.serhal@gmail.com>
Co-authored-by: Andrei <andreiradoidev@gmail.com>
Co-authored-by: Volodymyr <vpanov.me@gmail.com>
Co-authored-by: Vladimir Panov <vladimir.panov@motorsport.com>
Co-authored-by: pierluigigiancola <pierluigi.giancola@gmail.com>
Co-authored-by: Tom Ballinger <tom@convex.dev>
Co-authored-by: Ben Durrant <ben.durrant@marketdojo.com>
Co-authored-by: Lukas Frey <lukas.frey03@outlook.de>
Co-authored-by: John <12599934+jorroll@users.noreply.github.com>
2025-01-14 20:36:33 -07:00
Tanner Linsley
255f31603d release: v1.95.7 v1.95.7 2025-01-14 20:48:41 +00:00
Christopher Horobin
8ea6a7a0b3
perf(start): reduce instantiations of server fn and middleware (again) (#3168)
* perf: reduce instantiations of server fns

* perf(start): reduce instantiations of middleware
2025-01-14 21:42:43 +01:00
Tanner Linsley
13b76f7793 release: v1.95.6 v1.95.6 2025-01-14 00:52:46 +00:00
Manuel Schiller
6c400e160b
fix: order of injected scripts (#3158)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-01-14 01:51:20 +01:00
John
bea54d1f4b
docs(router): require the use of React's createRoot function (#3151)
Co-authored-by: Sean Cassiere <33615041+SeanCassiere@users.noreply.github.com>
2025-01-14 10:50:40 +13:00
Lukas Frey
a7fece12f6
docs(start): fix FormData server functions examples (#3062)
Co-authored-by: Sean Cassiere <33615041+SeanCassiere@users.noreply.github.com>
2025-01-14 10:37:01 +13:00