Doug Richar
7b2b155d43
docs: fix router.invalidate() example in Data Mutations guide ( #1299 )
2024-03-12 21:16:40 +01:00
Tanner Linsley
930b027717
release: v1.19.9
v1.19.9
2024-03-12 17:07:10 +00:00
Tanner Linsley
3cde4c01ff
fix: redirects
...
Fixes #1295
2024-03-12 11:04:13 -06:00
Lachlan Collins
7995d0a123
docs: Update docs/config.json ( #1294 )
...
* docs: Update docs/config.json
* Update schema
2024-03-12 20:42:45 +11:00
Tanner Linsley
7a18e00580
release: v1.19.8
v1.19.8
2024-03-12 07:05:47 +00:00
Tanner Linsley
d73ee82566
fix: default strict:false for getRouteApi instances
2024-03-12 01:01:59 -06:00
Tanner Linsley
d64f0c00de
fix: ResolvedRedirect
2024-03-12 01:01:59 -06:00
Tanner Linsley
0629fe0c5f
release: v1.19.7
v1.19.7
2024-03-11 22:52:32 +00:00
Tanner Linsley
c2fbb56b25
fix: experimental support for createLink
2024-03-11 16:50:12 -06:00
Sekamatte Soul Solomon
2094ca89c8
docs: Update decisions-on-dx.md ( #1288 )
...
Fix: Grammatical errors in docs
2024-03-11 17:38:54 +01:00
Tanner Linsley
4c0baa1bad
release: v1.19.6
v1.19.6
2024-03-10 18:35:46 +00:00
Manuel Schiller
80ab1ec5e7
fix: correctly generate route tree for nested layouts with path params ( #1287 )
2024-03-10 19:34:39 +01:00
Tanner Linsley
48d8424f45
release: v1.19.5
v1.19.5
2024-03-09 23:37:16 +00:00
Sean Cassiere
f855ec15b0
fix(router-generator): incorrect route-tree generation for nested layout routes ( #1285 )
...
* its working for now!
* actual working state
* kitchen sink expensive example being broken
* execute the `handleNode` function in order of the preRouteNodes
2024-03-10 00:35:01 +01:00
Tanner Linsley
c389cade73
release: v1.19.4
v1.19.4
2024-03-09 20:37:10 +00:00
Christopher Horobin
92a5c6b40e
fix: eliminate omit and reduce intersections to improve file based routing typescript performance ( #1283 )
...
* perf: eliminate omit and reduce intersections
* chore: correct TLoaderData
* chore: preserve type params
2024-03-09 21:35:56 +01:00
Nils Hartmann
734970aacc
docs: fix useMatchHook ( #1282 )
...
- options argument is not optional
- clarify opts.from/opts.strict dependency
2024-03-09 16:21:58 +01:00
Tanner Linsley
8ee4cf4104
release: v1.19.3
v1.19.3
2024-03-09 12:35:11 +00:00
Sean Cassiere
1d176caefa
fix: invalid formation of ids and attaching of child layout routes ( #1280 )
...
* fix: child routes not being correctly placed in the route tree
* chore: remove unused commented code
* fix: correctly determining the `node.path` based on the parent for _layout routes that require a virtual parent
* fix: unintended addition of spaces in the route template
* feat: only rendering layout routes if they have children
* fix: grandchild nested layout not being attached to parent layouts up the tree
* chore: remove unused check
2024-03-09 13:34:07 +01:00
Manuel Schiller
409b06dbb7
chore: fix doc formatting
2024-03-09 11:57:34 +01:00
Sean Cassiere
e4bc7d7e0a
docs: normalizing the hierarchy content in the reference pages ( #1232 )
...
* createFileRoute
* createRootRoute
* createRouteFunction
* createRouteFunction and RouteClass
* defer, awaitComponent, useAwaitedHook
* getRouteApiFunction and RouteApiClass
* isNotFoundFunction
* isRedirectFunction
* lazyRouteComponentFunction
* createRootRouteWithContext
* createRootRouteFunction
* new notFound conventions
* NotFoundRouteClass
* redirectFunction
* RedirectType
* catchBoundaryComponent
* catchNotFoundComponent
* DefaultGlobalNotFound
* useLinkPropsHook
* ActiveLinkOptions
* errorComponentComponent
* linkComponent
* LinkOptionsType
* LinkPropsType
* navigateComponent
* NavigateOptionsType
* outletComponent
* ToOptionsType
* FileRouteClass
* add the word type
* rootRouteWithContextFunction
* matchRouteComponent
* MatchRouteOptionsType
* useChildMatchesHook
* useLinkPropsHook
* UseLinkPropsOptionsType
* useLoaderDataHook
* useMatchesHook
* useMatchHook
* useMatchRouteHook
* UseMatchRouteOptionsType
* useNavigateHook
* useParamsHook
* useParentMatchesHook
* AllParamsType, RegisteredRouterType, RegisterType
* alphabetical sorting
* add link to the RouteMatchType
* useLoaderDataHook
* AnyRouteMatchType
* bulk for types
* consistency in page linking
* remove backticks from heading items that do not wrap inline-code-blocks
2024-03-08 11:37:02 +01:00
Tanner Linsley
3a8ec613d2
release: v1.19.2
v1.19.2
2024-03-08 09:46:10 +00:00
Sean Cassiere
52afeee214
fix: incorrect route generation for nested layout routes ( #1272 )
...
* feat: looks jank but it works
* feat: definitely never ship this
* feat: got virtual parent routes to begin printing
* feat: checkpoint
* feat: fully working
* chore: jsdoc comments
* chore: reduce some complexity
* chore: 🥲
* feat: simplifying the comments (and commented code) and remove the variable segment reducing function
* chore: remove unused `isParentRoot` prop
* fix: cases where two routes need the same virtual parent route node
* fix: attaching non-layout routes to the virtual parent route
2024-03-08 10:43:13 +01:00
orlik
3677eb8586
fix: resolvePathWithBase without dest.to ( #1275 )
...
https://github.com/TanStack/router/issues/1273
2024-03-08 10:43:01 +01:00
Seedy
4e78898280
docs: Update scroll-restoration.md ( #1270 )
2024-03-07 21:13:07 +01:00
Alejandra
2600d771f2
docs: Update authenticated-routes.md ( #1267 )
2024-03-06 21:27:13 +01:00
Alejandra
4422ed294c
focs: fix typos in route-trees.md ( #1266 )
...
* fix: minor typo in `route-trees.md`
* Update route-trees.md
* Update route-trees.md
* Update route-trees.md
2024-03-05 21:36:30 +01:00
Tanner Linsley
18aa0234b2
release: v1.19.1
v1.19.1
2024-03-04 21:22:31 +00:00
Tanner Linsley
35dbdd406d
fix: simplify link impl
2024-03-04 14:20:02 -07:00
Tanner Linsley
9615176130
release: v1.19.0
v1.19.0
2024-03-04 20:36:58 +00:00
Christopher Horobin
6484449053
fix: allow '../' and './' without 'from' but lose type saftety ( #1261 )
2024-03-04 21:34:29 +01:00
Norbert Elter
1a95d98250
feat: optionally allow to disable logging in generator ( #1256 )
...
* feat: disableLogging
* feat: logging util
2024-03-04 21:34:03 +01:00
Tanner Linsley
7bc9c6988b
release: v1.18.5
v1.18.5
2024-03-04 19:13:50 +00:00
Tanner Linsley
ad0d804358
fix: react-router-server version
2024-03-04 12:11:42 -07:00
Tanner Linsley
e182fc50fa
release: v1.18.4
v1.18.4
2024-03-04 18:26:17 +00:00
Tanner Linsley
3b559fc931
fix: ssr improvements ( #1248 )
...
* fix: ssr improvements
* fix: remove log
* fix: remove log
* fix: remove comments
* docs: root abstraction
* fix: remove commented code
* fix: remove old TLoaderData fix attempt
* fix: remove commented code
* fix: imports
* docs: format
* fix: deprecate and handle not found "global" option
2024-03-04 11:23:41 -07:00
Yiheng
1a37474f84
docs: Update file-based-routing.md ( #1257 )
...
* Update file-based-routing.md
* Update file-based-routing.md
2024-03-04 11:20:59 +01:00
Abdullah_Aleiti
aa3da31925
docs: Fix route-trees.md to use appropriate article. ( #1254 )
2024-03-03 19:54:13 +01:00
Pawel Fajfer
73fc10b195
docs: make loader function async in deferred-data-loading guide ( #1258 )
2024-03-03 19:50:11 +01:00
Tanner Linsley
b7c34f4a89
release: v1.18.3
v1.18.3
2024-03-02 16:53:37 +00:00
Manuel Schiller
9cdb87b7ac
fix: remove route group from id for lazy file routes ( #1253 )
2024-03-02 17:52:34 +01:00
Tanner Linsley
e10833c334
release: v1.18.2
v1.18.2
2024-03-02 14:55:16 +00:00
Manuel Schiller
6fb0ddda81
fix: correct typing for of route id when route groups are used ( #1252 )
...
* fix: correct typing for of route id when route groups are used
* chore: fix formatting
2024-03-02 15:54:15 +01:00
Tanner Linsley
49e0ce0c98
release: v1.18.1
v1.18.1
2024-03-01 21:59:55 +00:00
Manuel Schiller
419cb45975
fix: correct typing for route groups ( #1245 )
...
since we need to handle the path replacements in typescript as well, we cannot let the user configure the route group pattern
2024-03-01 14:58:31 -07:00
Leo Vigna
37256b22d1
docs: fix contributing guide to explicilty mention build:all command ( #1244 )
...
* fix contributing guide to explicilty mention build:all command
* add example usage link to README.md
2024-03-01 22:22:15 +01:00
Tanner Linsley
507fd80375
release: v1.18.0
v1.18.0
2024-03-01 18:05:23 +00:00
Manuel Schiller
7731a3926b
feat: add route grouping for file based routing ( #1241 )
2024-03-01 11:04:21 -07:00
Tanner Linsley
23be96ccf7
release: v1.17.5
v1.17.5
2024-03-01 15:45:33 +00:00
Manuel Schiller
46b154e431
fix: Route.useMatch and RouteApi.useMatch use correct typing ( #1239 )
2024-03-01 08:20:50 -07:00