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

6,483 commits

Author SHA1 Message Date
Tanner Linsley
97dcfe6e4b release: v1.43.13 v1.43.13 2024-07-08 21:39:04 +00:00
Corbin Crutchley
8048bcadfb
fix(start): export FetchFnCtx type for library usage (#1923) 2024-07-09 09:36:24 +12:00
Igor Adrov
08d3e61b4c
docs: Fix typo in migrate-from-react-router.md (#1914) 2024-07-07 20:20:05 +02:00
Lachlan Collins
9c5ab682ed
ci: Add local TS version tests (#1910)
* ci: Add local TS version tests

* Add tests to rest of packages

* Add test:types:ts55

* Update test:pr

* Remove TS_VERSION
2024-07-07 14:23:40 +10:00
Lachlan Collins
13463010cb
ci: Use pkg-pr-new templates (#1905) 2024-07-06 16:04:16 +02:00
Sean Cassiere
37b74fa143
docs: add links to the github examples on the file-based routing guide for each supported bundler (#1903)
* docs: grammatical errors

* docs: add links to the quickstart examples
2024-07-06 11:29:05 +12:00
Sean Cassiere
e78ab9bebc
style(workspace): more patterns for prettier to ignore (#1902) 2024-07-06 11:15:10 +12:00
Corbin Crutchley
780b778137
docs: add quickstart guide for TanStack Start (#1857)
* docs: add quickstart guide for TanStack Start

* docs: add initial documentation for createServerFn (#1858)

* docs: add initial documentation for createServerFn

* chore: fix broken code sample

* docs(start): more explanation on the mental model of server functions (#1859)

* grammatical error in what are server functions?

---------

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

* docs: address feedback for Start Guide

* chore: fix PNPM file

---------

Co-authored-by: Sean Cassiere <33615041+SeanCassiere@users.noreply.github.com>
2024-07-05 19:32:29 +02:00
Lachlan Collins
f9ecd0e7f1
ci: Only preview on approved PRs (#1898) 2024-07-05 13:46:38 +10:00
Lachlan Collins
bda7e68e84
ci: Add preview workflow (#1897) 2024-07-05 13:17:26 +10:00
Tanner Linsley
a86969d10d release: v1.43.12 v1.43.12 2024-07-05 03:06:16 +00:00
Lachlan Collins
c29b5d5f77
fix: Update package.json fields (#1896) 2024-07-05 13:04:23 +10:00
Sean Cassiere
941d671d13
chore(examples): move from @tanstack/router-vite-plugin to @tanstack/router-plugin (#1894) 2024-07-05 10:40:35 +12:00
Tanner Linsley
56e4e32ed0 release: v1.43.11 v1.43.11 2024-07-04 21:39:38 +00:00
Sean Cassiere
1493b76335
refactor(start-vite-plugin): code-transformation to match the patterns in @tanstack/router-plugin (#1893)
* chore(start-vite-plugin): add babel parser

* refactor(start-vite-plugin): create a compiler using the same format as whats used in router-plugin

* style(start-vite-plugin): eslint errors prefers `import.meta.dirname` over `__dirname`

* test(start-vite-plugin): update the tests to use the new compiler function

* refactor(start-vite-plugin): update the implementation

* chore(start-vite-plugin): cleanup the old implementation

* chore(workspace): dedupe the lockfile
2024-07-05 09:37:38 +12:00
Tanner Linsley
9616d0193b release: v1.43.10 v1.43.10 2024-07-04 08:18:52 +00:00
Sean Cassiere
f30654274f
style(examples): prettier on the start-trellaux example (#1890) 2024-07-04 20:17:22 +12:00
Tanner Linsley
894c97d372 chore: update pnpm-lock 2024-07-04 00:21:01 -06:00
Tanner Linsley
751a0c9f87 examples(trellaux): update example
examples: upgrade trellaux
2024-07-04 00:21:01 -06:00
Tanner Linsley
f3a919fea7 fix(router): do not stream match data if empty 2024-07-04 00:19:28 -06:00
Tanner Linsley
b8ca97a63d fix(router): Remove html injections after streaming 2024-07-04 00:18:43 -06:00
Tanner Linsley
39ccb719be fix(tsr+query): only stream queries once 2024-07-04 00:18:43 -06:00
Tanner Linsley
fb31c9b7a7 release: v1.43.9 v1.43.9 2024-07-03 08:49:40 +00:00
Sean Cassiere
db2673a340
fix(router-plugin): regenerating the route-tree when the dev server is running and a new route is created (#1887)
* chore(router-plugin): bump unplugin to `1.11.0`

* fix(router-plugin): rspack watching the routes directory for route-tree generation

* chore(examples): turn off the auto open in the webpack example

* refactor(router-plugin): match the config between rspack and webpack
2024-07-03 20:48:08 +12:00
Tanner Linsley
83030a1831 release: v1.43.8 v1.43.8 2024-07-03 07:55:27 +00:00
Sean Cassiere
4b9bf31deb
style(router-generator): prettier ignore the file-modification tests (#1884) 2024-07-03 19:53:36 +12:00
Honza Hrubý
bcc316eb1a
fix(router-plugin): add webpack support and resolve rspack code-splitting blockers (#1864)
* basic webpack example

* setup webpack plugin

* use webpack plugin

* add missing webpack config

* disable code split

* fix docs

* add watcher

* code split config

* documentation

* lazy load chokidar

* chore(router-plugin): set the webpack peerDeps

* feat(router-plugin): get code-splitting working for webpack

* refactor(router-plugin): better detection of the build mode

* chore(router-plugin): remove this console.log

* fix(router-plugin): remove the blockers for codesplitting with rspack

* chore(router-plugin): remove the unstable flags for webpack and rspack

* docs(router-plugin): remove the unsupported warnings for `experimental.enableCodeSplitting` for webpack and rspack

---------

Co-authored-by: Sean Cassiere <33615041+SeanCassiere@users.noreply.github.com>
2024-07-03 19:42:45 +12:00
Sean Cassiere
16cd10ec99
chore: update the gitignore to cover more vite timestamp files (#1881) 2024-07-03 13:18:58 +12:00
Tanner Linsley
e827545220 release: v1.43.7 v1.43.7 2024-07-03 01:04:17 +00:00
Sean Cassiere
2d5596a242
fix(start): argument properties for defineConfig should be optional (#1879)
* fix(start): argument properties for `defineConfig` should be optional

* chore(start): cleanup

* chore(start): add the comment back in
2024-07-03 13:02:39 +12:00
Sean Cassiere
e899ca1136
ci(docs): add a CI step to check for formatting of the documentation (#1874)
* ci: add ci for checking docs on main and prs

* ci: ignore the docs from the CI package handling publishing

* ci(docs): favor using `paths`

* ci(docs): add media as an ignore folder

* Add test:format to test:ci

* ci: remove `path-ignores` from both workflows

---------

Co-authored-by: Lachlan Collins <1667261+lachlancollins@users.noreply.github.com>
2024-07-03 11:15:21 +12:00
Tanner Linsley
048bcce209 release: v1.43.6 v1.43.6 2024-07-02 09:11:09 +00:00
Sean Cassiere
a522c8b78c
fix(start): stronger typing of the tsrRoutesManifest plugin in start/config (#1875)
* fix(start): reduce the `any`s on the `tsrRoutesManifest` plugin for the start/config

* refactor(react-router): add filePath to the manifest for what is parsed from the routeTree

* fix(start): reduce the `any`s
2024-07-02 21:09:12 +12:00
Tanner Linsley
642f9a038e release: v1.43.5 v1.43.5 2024-07-02 08:54:04 +00:00
Sean Cassiere
d10dc9ba48
fix(router-plugin): bump babel-dead-code-elimination to 1.0.6 (#1873)
* fix(router-plugin): bump `babel-dead-code-elimination` to `1.0.6`

* chore(react-router-with-query): try setting the devDeps for Query using "^"

* chore(react-router-with-query): undo devDep stuff

* pnpm dedupe

---------

Co-authored-by: Lachlan Collins <1667261+lachlancollins@users.noreply.github.com>
2024-07-02 18:52:16 +10:00
Sean Cassiere
9040999892
style: prettier on the docs (#1872) 2024-07-02 12:16:28 +12:00
friendlywavingrobot
994453b436
docs: remove the unnecessary encode and decode URIComponent calls in the zipson example of the "custom search param serialization" guide (#1870) 2024-07-02 12:07:27 +12:00
Tanner Linsley
9bd371865c release: v1.43.4 v1.43.4 2024-07-01 06:43:58 +00:00
Tanner Linsley
2998584c15 fix: lockfile 2024-07-01 00:42:26 -06:00
Tanner Linsley
c821eab606 fix: deps 2024-07-01 00:40:04 -06:00
Tanner Linsley
cbe2b896bd fix: tests 2024-07-01 00:21:30 -06:00
Tanner Linsley
23614fa79a fix: add react-router-with-query experimental package 2024-07-01 00:15:41 -06:00
Tanner Linsley
bf52d5af9c release: v1.43.3 v1.43.3 2024-06-30 06:58:43 +00:00
Tanner Linsley
23dcbc9570 fix: better streaming order, experimental React Query streaming example 2024-06-30 00:55:35 -06:00
Lachlan Collins
b02c35bad1
docs(examples): Correctly set "type": "module" (#1863)
* docs(examples): Correctly set `"type": "module"`

* Config cleanup
2024-06-30 15:10:11 +10:00
Lachlan Collins
3d41307fb3
ci: Optimise Nx workflow (#1862)
* ci: Optimise Nx workflow

* Reduce dynamic-changesets
2024-06-30 13:07:09 +10:00
Sean Cassiere
2d28367b84
docs: add a diagram on the "custom search param serialization" guide on the need for idempotency (#1860)
* docs: add the image

* docs: update the page with the diagram
2024-06-29 23:30:30 +12:00
Tanner Linsley
b1c6eac968 release: v1.43.2 v1.43.2 2024-06-29 07:28:25 +00:00
Sean Cassiere
c506bbd5db
style(start): prefer node: prefixed imports (#1856) 2024-06-29 19:26:55 +12:00
Tanner Linsley
f419ae4a61 examples: simplify deferred 2024-06-28 23:57:49 -06:00