GoldFrosch
03f82c6bb2
feat: add routeFileIgnorePattern option to generator ( #1310 )
2024-03-15 12:17:07 +01:00
Tanner Linsley
dfe1e0f313
release: v1.19.15
v1.19.15
2024-03-14 19:57:30 +00:00
Nirjhor Nath
b0619d58ac
fix: add to path when syncing url ( #1314 )
2024-03-14 20:56:16 +01:00
Tanner Linsley
9a7b568249
release: v1.19.14
v1.19.14
2024-03-14 18:38:12 +00:00
Ryan Staniforth
af2b7dcbcc
fix: Fix Link children type when passing a function. ( #1307 )
2024-03-14 12:36:28 -06:00
Christopher Horobin
5b64be47d3
examples: add example to generate large routes for typescript diagnostics ( #1308 )
...
* chore: add large file based routing example to test peformance
- ensure each Link points to a different route to make test realistic
- support absolute and relative pathing for now
* chore: remove posts
* chore: update pnpm lock file
* chore: rename to relative and absolute
* chore: add content to README
2024-03-14 19:07:03 +01:00
Tanner Linsley
443ead202d
release: v1.19.13
v1.19.13
2024-03-13 17:04:32 +00:00
Nirjhor Nath
ff47268e2f
fix: use transformer to parse data ( #1306 )
2024-03-13 18:03:18 +01:00
thomas-ndlss
9920aab9e1
chore: fix formatting issue on router provider ( #1305 )
...
Co-authored-by: Thomas ACCHIARDO <thomas.acchiardo@bigbagngo.com>
2024-03-13 10:43:49 +01:00
Tanner Linsley
f7b04a3797
release: v1.19.12
v1.19.12
2024-03-12 23:39:36 +00:00
Nirjhor Nath
cafae10557
fix: don't hydrate assets for notFound or redirected matches ( #1303 )
2024-03-12 17:37:21 -06:00
Rui Saraiva
89bacc3341
docs: fix TanStack & TypeScript typos ( #1291 )
...
* docs: fix TanStack & TypeScript typos
* docs: fix TanStack & TypeScript typos
---------
Co-authored-by: Rui Saraiva <ruisaraiva@mbp-14.lan>
2024-03-12 22:41:15 +01:00
Tanner Linsley
e60c016d69
release: v1.19.11
v1.19.11
2024-03-12 20:44:15 +00:00
Tanner Linsley
091c00cb40
fix: force release
2024-03-12 14:42:33 -06:00
thomas-ndlss
d988fb7821
(fix) routers - update url search params according to validate search ( #1293 )
...
Co-authored-by: Thomas ACCHIARDO <thomas.acchiardo@bigbagngo.com>
2024-03-12 14:41:21 -06:00
Tanner Linsley
0c7bdf4c24
release: v1.19.10
v1.19.10
2024-03-12 20:29:16 +00:00
Nirjhor Nath
a4f0f5681a
fix: deserialize notFound errors ( #1300 )
...
* fix: deserialize notFound errors
* chore: format
2024-03-12 21:27:42 +01:00
Efstratios Bektasiadis
74f570832e
docs: fixed broken authenticated routes example url ( #1298 )
2024-03-12 21:17:58 +01:00
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