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

6,555 commits

Author SHA1 Message Date
Tanner Linsley
02a4f79ade release: v1.114.18 v1.114.18 2025-03-13 06:29:56 +00:00
Luca
4e79261534
fix(react-router-devtools): remove router devtools duplicate peer dependency (#3758)
Fixes duplicate dependency (both in dependencies and peerDependencies).

Closes #3755
2025-03-13 07:25:04 +01:00
Birk Skyum
378720862a
docs(quickstart): use create-tsrouter-app for scaffolding a tsrouter app (#3759)
This use the new create-tsrouter-app to scaffold tsrouter apps.

On this quickstart page
https://tanstack.com/router/latest/docs/framework/react/quick-start
https://tanstack.com/router/latest/docs/framework/solid/quick-start
2025-03-12 23:31:28 +01:00
autofix-ci[bot]
a73dcdcec3
ci: apply automated fixes 2025-03-12 15:50:19 +00:00
Aleksander
5975a398af
docs: Add "response" option details to server-functions.md (#3753)
Added information about "response" option and returning non-standard
return types
2025-03-12 16:49:04 +01:00
Rolf Timmermans
92763e3ce3
Add example for virtualization for the whole window. (#3752)
Based on
https://github.com/TanStack/router/pull/3191#issuecomment-2717415282
2025-03-12 15:55:38 +01:00
Birk Skyum
5ee4d310c4
chore(tanstack-solid-start-example-basic): add example (#3751) 2025-03-12 15:48:44 +01:00
Tanner Linsley
11a4d9d96f release: v1.114.17 v1.114.17 2025-03-12 12:55:31 +00:00
Birk Skyum
dfdb9f467d
fix(router-core): move ThrowConstraint to core utils (#3749) 2025-03-12 13:54:05 +01:00
Tanner Linsley
bf5bd47225 release: v1.114.16 v1.114.16 2025-03-12 12:32:10 +00:00
Birk Skyum
215d6f5202
fix(router-core): move typePrimitives to shared package (#3748)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-03-12 13:30:19 +01:00
Tanner Linsley
b90b3f2c83 release: v1.114.15 v1.114.15 2025-03-11 17:48:06 +00:00
Birk Skyum
032dc2f49e
fix(router-core): agnostic scroll restoration (#3740)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-03-11 18:46:51 +01:00
Tanner Linsley
5a7c98b656 release: v1.114.14 v1.114.14 2025-03-11 15:41:23 +00:00
Tanner Linsley
7553dcb5d2 fix: Allow window as element scroll restoration element 2025-03-11 09:35:14 -06:00
Tanner Linsley
dc1848c4ce release: v1.114.13 v1.114.13 2025-03-10 19:02:50 +00:00
Birk Skyum
1bf017aedf
fix(docs): update path-alias example from app to src (#3733) 2025-03-10 20:00:21 +01:00
Levin Rickert
6f2c25dcd6
fix(react-router): pin version of router-core (#3730)
closes #3728
2025-03-10 19:54:36 +01:00
Tanner Linsley
2483a9741d release: v1.114.12 v1.114.12 2025-03-10 12:05:39 +00:00
Birk Skyum
335e16577b fix: RELEASE_ALL 2025-03-10 12:56:38 +01:00
Tanner Linsley
e3157112b8 release: v1.114.11 v1.114.11 2025-03-10 11:39:12 +00:00
Birk Skyum
96e0a1df5c
fix(solid-router-devtools,react-router-devtools): add core package and solid-js as deps (#3732)
Attempt to close
- https://github.com/TanStack/router/issues/3719
2025-03-10 12:38:01 +01:00
Tanner Linsley
698c92a15f release: v1.114.10 v1.114.10 2025-03-10 10:53:55 +00:00
Birk Skyum
df1ff398ca
refactor: make start-server-functions packages agnostic (#3729)
Removes
- react-start-server-functions-fetcher/handler/client/ssr
- solid-start-server-functions-fetcher/handler/client/ssr

Introduces (as they were called in the past)
- start-server-functions-fetcher/handler/client/ssr
2025-03-10 11:52:43 +01:00
Tanner Linsley
3973a65825 release: v1.114.9 v1.114.9 2025-03-10 09:43:06 +00:00
Birk Skyum
73af05551e
refactor(start-client-core): move createServerFn to core (#3727)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-03-10 10:40:34 +01:00
Tanner Linsley
7dc9b4ae8e release: v1.114.8 v1.114.8 2025-03-10 09:26:38 +00:00
Birk Skyum
ceeaff113a
refactor: use router-core in server-functions packages (#3726) 2025-03-10 10:25:07 +01:00
Tanner Linsley
26ffdb586b release: v1.114.7 v1.114.7 2025-03-10 09:15:55 +00:00
Birk Skyum
391b02692b
refactor: use start-server-core package in server-functions packages (#3724)
instead of
- solid-start-server
- react-start-server

Use in the *-start-server-functions-* packages the agnostic
- start-server-core
2025-03-10 10:10:16 +01:00
Birk Skyum
bea9e4d58d
refactor(router-core): move isNotFound and isRedirect to router-core (#3725)
this will unlock agnostic server-functions packages

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-03-10 10:10:02 +01:00
Tanner Linsley
700b5aa28c release: v1.114.6 v1.114.6 2025-03-10 07:41:45 +00:00
Birk Skyum
a0ac44326b fix: RELEASE_ALL 2025-03-10 08:40:11 +01:00
Birk Skyum
1b402d502f
chore(start-api-routes): make agnostic package (#3722)
The API routes only rely on h3, which is in start-server-core, so the
entire start-api-routes package can now be agnostic.

Removes
- react-start-api-routes
- solid-start-api-routes

Introduces
- start-api-routes
2025-03-10 06:22:00 +01:00
Tanner Linsley
935ff7901e release: v1.114.5 v1.114.5 2025-03-10 04:56:51 +00:00
Birk Skyum
82fde85c0b
refactor(start-server-core): use h3 barrel import (#3721)
mirror refactor from devinxi branch, to clean up the ./index.ts file
2025-03-10 05:52:29 +01:00
Birk Skyum
2d2551bf92
chore(start-server-core): agnostic package (#3720) 2025-03-10 05:12:07 +01:00
Birk Skyum
77a4dee2ed
chore(start-client-core): move middleware and serverfn to core (#3717)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-03-10 04:11:46 +01:00
Birk Skyum
e47b57ccb0
chore(start-client-core): move envonly and json to core (#3716)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-03-10 03:02:08 +01:00
Birk Skyum
ef79bfd5e5
chore(start-client-core): move createIsomorphicFn to core (#3715) 2025-03-10 02:27:02 +01:00
Tanner Linsley
fa485a8e38 release: v1.114.4 v1.114.4 2025-03-10 01:03:38 +00:00
Birk Skyum
97e2ed3f30
refactor(start-client-core): move ssr-client to core package (#3714) 2025-03-10 02:00:44 +01:00
Birk Skyum
76414f1d56
chore: bump zod 3.24.2 (#3713)
This is to cut down the diff to the devinxi branch here
- https://github.com/TanStack/router/tree/devinxi
2025-03-10 00:44:28 +01:00
Birk Skyum
398458e16d
chore(start-client-core): move mergeHeaders and startSerializer to shared package (#3709)
Move the 100% duplicates:
- ./headers.ts
- ./serializer.ts
- ./tests/transformer.test.tsx

From solid/react-start-client to start-client-core.

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-03-10 00:09:53 +01:00
Birk Skyum
f616ba9c07
chore: move start e2e and example projects from ./app to ./src (#3712)
Using the below setting, the examples and e2e projects opt into the
future behavior of using `./src` as the app directory, rather than
'./app':

```ts
tsr: {
  appDirectory: 'src',
},
```

The `./src` directory is typically used for pure-TS Router projects, as
well as CRA. Thus this reduces the churn for a TS Router SPA to opt into
server features with TS Start.
2025-03-09 23:35:20 +01:00
Robin Hos
a73bf99f14
docs(router): Add example for search params validation with Effect/Sc… (#3710)
Added an example for validating Search Params with
[Effect](https://effect.website) because
[Effect/Schema](https://effect.website/docs/schema/standard-schema/)
also implements [Standard
Schema](https://github.com/standard-schema/standard-schema).

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-03-09 21:16:42 +01:00
Birk Skyum
0d2129cd54
chore(react-start-config,solid-start-config): remove unused router deps (#3704) 2025-03-09 13:15:49 +01:00
Birk Skyum
fcecd7cfa3
chore(react-start,solid-start): update imports to use router-core (#3703)
Update start package imports after much router code has been moved to
the agnostic router-core package.
2025-03-09 12:49:14 +01:00
Alex D'Elia
e9f7efc4bf
docs(router): improve navigation guide and NavigateOptions documentation (#3701)
This PR adds missing documentation for both the NavigationOptions type
and the Navigation guide.
2025-03-09 11:56:27 +01:00
Tanner Linsley
9f953e9785 release: v1.114.3 v1.114.3 2025-03-09 08:37:06 +00:00