Sean Cassiere
e425fd7332
fix(router-vite-plugin): experimental.enableCodeSplitting eliminating FunctionExpression identifiers in hooks ( #1445 )
...
* fix(router-vite-plugin): add condition for identifying the `FunctionExpression` node type
* test(router-vite-plugin): add tests
2024-04-08 21:12:09 +12:00
Tanner Linsley
358b4ebb0b
release: v1.26.13
v1.26.13
2024-04-08 07:29:17 +00:00
Dominik Dorfmeister
50c8acf3eb
fix: widen signature of event ( #1443 )
...
There are situations where persist doesn't exist, see: https://github.com/TanStack/router/pull/1365#discussion_r1552986706
2024-04-08 09:27:12 +02:00
Tanner Linsley
dac25a2fac
release: v1.26.12
v1.26.12
2024-04-07 10:04:51 +00:00
Christopher Horobin
c5eaf1ce1f
fix: improve performance of search params merging to avoid instantation errors ( #1436 )
...
* perf: improve performance of search params merging
* perf: improve performance by not using omit
* fix: avoid deep insantiation errors
* fix: exclude root search schema
* fix: return TSearchSchema when at the root
* fix: include root schema
2024-04-07 12:02:50 +02:00
Christopher Horobin
04f63671f6
tests: add fileRoute and route type tests ( #1428 )
...
* tests: add fileRoute and route type tests
* chore: change tests to not have auth
2024-04-07 11:15:53 +02:00
dependabot[bot]
2bdc791b66
chore(deps-dev): bump vite from 5.0.12 to 5.0.13 ( #1421 )
...
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite ) from 5.0.12 to 5.0.13.
- [Release notes](https://github.com/vitejs/vite/releases )
- [Changelog](https://github.com/vitejs/vite/blob/v5.0.13/packages/vite/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite/commits/v5.0.13/packages/vite )
---
updated-dependencies:
- dependency-name: vite
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-06 19:08:28 +02:00
Tanner Linsley
6d044793b0
release: v1.26.11
v1.26.11
2024-04-06 11:25:17 +00:00
Manuel Schiller
eb7c5874f8
fix: type optimizations ( #1434 )
...
- made `Replace` tail-recursive
- cache type in FileRoutePath
- remove unused type and outdated comments
2024-04-06 13:23:11 +02:00
Tanner Linsley
e85c9290c7
release: v1.26.10
v1.26.10
2024-04-06 04:39:17 +00:00
Sean Cassiere
e98302f970
fix(router-vite-plugin): trigger release ( #1432 )
...
RELEASE_ALL
2024-04-06 17:37:50 +13:00
Sean Cassiere
d233a7235a
chore(router-vite-plugin): move the tests outside of the source folder ( #1431 )
2024-04-06 17:31:47 +13:00
Dave Keen
43d08080c1
docs: fix a typo in the static-route-data guide ( #1426 )
2024-04-05 23:05:23 +13:00
Don Denton
4febb24b03
docs: Update bug_report template with latest Stackblitz links ( #1424 )
2024-04-04 18:46:09 +02:00
Tanner Linsley
ac91340ba2
release: v1.26.9
v1.26.9
2024-04-04 16:44:27 +00:00
Christopher Horobin
03a91d8988
tests: fix type tests for Link, make sure type tests fail in ci and add type tests for union to and difference in params ( #1418 )
...
* tests: fix type tests for Link, make sure type tests fail in ci and add type tests for union `to` and difference in params
* tests: refactor tests to only include scenario and group expects
There was a lot of repetition in the tests, I think its simpler to group
the tests by use cases and have multiple expects for the use case
2024-04-04 18:42:13 +02:00
Manuel Schiller
c25543fcf2
fix: correctly infer loader data type ( #1422 )
...
fixes #1409
2024-04-03 17:19:07 -06:00
Tanner Linsley
46792b2b7d
release: v1.26.8
v1.26.8
2024-04-03 19:58:31 +00:00
Tanner Linsley
9e8cf99384
fix(experimental-code-splitting): leave array destructuring structure during treeshake
2024-04-03 13:56:15 -06:00
Tanner Linsley
ac6598fe74
release: v1.26.7
v1.26.7
2024-04-02 23:11:52 +00:00
Sean Cassiere
ee5bb089f2
fix(react-router): incorrectly splitting the key-values pairs from the querystring ( #1405 )
...
* fix(react-router): incorrect splitting of key-value pairs during decoding
the value in the key-value pair was prematurely being sliced off and as such the full value wasn't being extracted for each key
* chore(react-router): add JSDoc comments
* test(react-router): testing for the qss encode and decode functions
* fix(react-router): a test output that I messed up
* test(react-router): tests for the prefix field in the encode and decode qss functions
2024-04-03 12:09:14 +13:00
Tanner Linsley
4ef78725af
docs: prep for migration of tanstack.com to TSR ( #1419 )
2024-04-02 16:46:22 -06:00
Tanner Linsley
0ba67ee235
release: v1.26.6
v1.26.6
2024-04-02 17:53:49 +00:00
Tanner Linsley
de40b30ad6
fix: no debugging on experimental features
2024-04-02 11:51:45 -06:00
Manuel Schiller
6858d28fd5
fix: do not include tests in package ( #1417 )
...
fixes #1412
2024-04-02 19:33:10 +02:00
Tanner Linsley
7d3bab6510
release: v1.26.5
v1.26.5
2024-04-02 17:15:10 +00:00
advancedtw
8fe3a36dd0
fix(react-router-server): do not spread a key prop including keys from manifest ( #1413 )
...
* fix(react-router-server): do not spread a key prop including keys from manisfest
* fix eslint error Array type using T[]
2024-04-03 06:13:00 +13:00
Kevin Herklotz
40af8ec334
docs: broken link to "using search params in loaders" in data-loading.md from search-params.md ( #1416 )
2024-04-03 06:12:40 +13:00
Tanner Linsley
6cdc6dfaef
release: v1.26.4
v1.26.4
2024-04-02 08:45:31 +00:00
Sean Cassiere
2c9987e95d
fix(react-router): using the initialized history instance for creating the href on the Link component ( #1414 )
2024-04-02 21:43:33 +13:00
Tanner Linsley
a95f2fcd73
release: v1.26.3
v1.26.3
2024-04-01 12:52:51 +00:00
Sean Cassiere
b8a043fc4d
fix(history): subscribers not being notified on go, back, and forward events affecting the memory router ( #1408 )
2024-04-01 14:50:37 +02:00
ajschlosser
d2c12172e6
Update quick-start.md to include installation of devtools cited throughout rest of document ( #1403 )
2024-03-31 19:35:17 -06:00
Tanner Linsley
9a37006ae1
release: v1.26.2
v1.26.2
2024-03-31 07:36:36 +00:00
Sean Cassiere
4c79bc866b
fix(react-router-server): do not spread a key prop inside the <Asset> component ( #1399 )
...
* fix(react-router-server): dont spread the `key`
* feat(react-router-server): using the same keys as before
* feat(react-router-server): fallbacks
* feat(react-router-server): just use something simple
2024-03-31 01:35:06 -06:00
Leonardo Montini
e84815cdc0
docs: improve links to not found pages ( #1396 )
2024-03-31 00:56:55 +13:00
Tanner Linsley
481b4c8a34
release: v1.26.1
v1.26.1
2024-03-30 05:44:18 +00:00
Jason Galea
469a833dce
fix: prevent undefined values in props returned by useLinkProps for external links ( #1395 )
2024-03-30 06:42:03 +01:00
Tanner Linsley
eb2ea8bc59
release: v1.26.0
v1.26.0
2024-03-29 22:33:53 +00:00
Manuel Schiller
f5cea3a571
chore: remove export of internal component ( #1394 )
2024-03-29 23:31:48 +01:00
Dominik Dorfmeister
9f9b847ea7
feat: add reset prop to errorComponent ( #1358 )
...
* feat: add reset prop to errorComponent
* fix: types of defaultErrorComponent
* fix: put match into pending state when being invalidated if it was in error state
* docs: reset
* docs: error handling
* docs: integrate error handling into example
* chore: prettier on md files
* chore: fix wrong auto import
* fix: reset error boundaries from react-query in an effect
so that navigating away from a route will also re-trigger the query
* docs: error handling with TanStack Query
* chore: fix eslint
* fix: not all error components have a `preload`
* fix: merge conflict
2024-03-29 23:21:04 +01:00
Manuel Schiller
190c921726
fix: correctly support to for unions which include the index route / ( #1393 )
...
* fix: correctly support `to` for unions which include the index route `/`
* chore: ignore snapshots from formatting
2024-03-29 23:20:54 +01:00
Tanner Linsley
da949949ab
release: v1.25.1
v1.25.1
2024-03-29 20:01:09 +00:00
Jason Galea
add3bd67d9
fix: prevent props being populated with undefined or empty values ( #1386 )
2024-03-29 20:58:35 +01:00
Tanner Linsley
f9a3973f4a
release: v1.25.0
v1.25.0
2024-03-29 17:05:53 +00:00
Tanner Linsley
482f50d1e7
tests: fix tests
2024-03-29 11:03:44 -06:00
Tanner Linsley
72593f0c2d
feat: experimental codesplitting
2024-03-29 10:49:30 -06:00
Tanner Linsley
527e52d96a
release: v1.24.1
v1.24.1
2024-03-28 22:42:41 +00:00
Sean Cassiere
eb87c1827d
refactor(router-vite-plugin): trigger the route-tree generation using the watchChange hook ( #1378 )
...
* feat(router-vite-plugin): trigger router-generator on all events
* feat: safe-guard against additional future events being added in
* feat(router-vite-plugin): use the watchChange hook to handle the route-tree generation
2024-03-29 11:41:04 +13:00
Tanner Linsley
10b8396c67
release: v1.24.0
v1.24.0
2024-03-28 18:08:09 +00:00