Tanner Linsley
c572286f14
release: v1.56.5
v1.56.5
2024-09-07 11:37:56 +00:00
Manuel Schiller
21caad3e48
fix(react-router): correct typings ( #2284 )
2024-09-07 13:34:33 +02:00
Manuel Schiller
f17b805efa
fix(react-router): correct peerDependenciesMeta ( #2283 )
2024-09-07 13:32:31 +02:00
Tanner Linsley
919bd13961
release: v1.56.4
v1.56.4
2024-09-07 07:11:00 +00:00
Manuel Schiller
aeb35938f2
fix(router-generator): export generated interfaces ( #2282 )
2024-09-07 09:09:44 +02:00
Tanner Linsley
db346b8761
release: v1.56.3
v1.56.3
2024-09-07 05:15:15 +00:00
Manuel Schiller
c0c3569c26
fix(react-router): allow to narrow by id and fullPath in useParentMatches and useChildMatches ( #2281 )
2024-09-07 07:14:04 +02:00
ridwansameer
89f920941b
chore(start): add Start example with supabase for auth ( #2277 )
...
* Example: Add Supabase Auth example
* Docs: Add Supabase auth to docs config
* Fix: Remove extra files and rename supabase
* Fix: remove comment
* ci: apply automated fixes
* Refactor: Rename supabase client to not violate react hook rules
---------
Co-authored-by: Ridwan Sameer <ridsameer2000@gmail.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Sean Cassiere <33615041+SeanCassiere@users.noreply.github.com>
2024-09-07 15:13:00 +12:00
Zach
da78bd9fa7
chore(examples): update @clerk/tanstack-start to 0.3.5 ( #2274 )
...
* update clerk auth version
* ci: apply automated fixes
* style: eslint fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: SeanCassiere <33615041+SeanCassiere@users.noreply.github.com>
2024-09-07 12:51:43 +12:00
Tanner Linsley
0c04462f30
release: v1.56.2
v1.56.2
2024-09-06 17:26:03 +00:00
Manuel Schiller
ef95a0564f
fix: make router-generator a peer dep of react-router ( #2278 )
...
type tests of generated code must be implemented in a separate package to break up this circular dependency
2024-09-06 19:24:02 +02:00
Sean Cassiere
5fa21ad90e
chore(examples): regenerate route-tree files ( #2272 )
2024-09-06 13:59:33 +12:00
Tanner Linsley
05dc8bdaaf
release: v1.56.1
v1.56.1
2024-09-05 23:34:49 +00:00
Christopher Horobin
0482da561a
perf(react-router): constant editor performance regardless how large a file based route tree is ( #2243 )
2024-09-06 01:33:37 +02:00
Tanner Linsley
3ecffa39b9
release: v1.56.0
v1.56.0
2024-09-05 21:23:14 +00:00
Manuel Schiller
f64587fe83
feat(router-generator): allow virtual subtree in file based routing ( #2271 )
2024-09-05 23:22:06 +02:00
Tanner Linsley
423728f412
Update already released virtual-file-routes to 1.54.0
2024-09-05 09:57:40 -06:00
Tanner Linsley
1f92ff086d
release: v1.55.0
v1.55.0
2024-09-05 11:24:03 +00:00
Sean Cassiere
93fb3dfb13
test(router-generator): add tests to the utils ( #2270 )
2024-09-05 23:22:12 +12:00
SeanCassiere
5f791faae8
docs: linking to the virtual files routes page
2024-09-05 10:03:07 +12:00
Manuel Schiller
72b1eac979
feat: publish virtual-file-routes ( #2266 )
2024-09-04 23:41:26 +02:00
Tanner Linsley
b15d310fa7
release: v1.54.0
v1.54.0
2024-09-04 21:38:14 +00:00
Manuel Schiller
a941696174
feat(router-generator): custom route tree configuration based on virtual file routes ( #2265 )
2024-09-04 23:37:02 +02:00
Tanner Linsley
0250d89721
release: v1.53.1
v1.53.1
2024-09-04 09:21:12 +00:00
Binbin
c984aa1e9f
fix(react-router): do not decode already escaped URL path segments ( #2261 )
...
Closes #2046
2024-09-04 21:16:43 +12:00
Tanner Linsley
10abfc747c
release: v1.53.0
v1.53.0
2024-09-03 21:50:23 +00:00
Sean Cassiere
0d75025bb9
refactor(start): return JSON response when 'content-type' matches ( #2259 )
...
* refactor(start): returning a JSON server error when content-type matches
* refactor(start): reuse the isJson stuff
2024-09-04 09:46:30 +12:00
Manuel Schiller
7ffdf93a9e
feat: pass matches into context() and beforeLoad() ( #2258 )
...
this will allow typesafe access to the matches so something like this can be done:
```tsx
const leafMatch = c.matches[c.matches.length - 1];
if (leafMatch.fullPath === '/dashboard/invoices/$invoiceId') {
if (leafMatch.params.invoiceId === '1') {
throw notFound();
}
}
```
2024-09-03 23:46:21 +02:00
Tanner Linsley
2e6a54354f
release: v1.52.5
v1.52.5
2024-09-03 04:34:48 +00:00
Maciej Garncarski
fe08fb5301
fix(react-router): pendingComponent not rendering with preload='intent' ( #2247 )
...
* fix(router): pendingComponent not showing
* remove unused variable
* tests: add test
2024-09-03 06:30:52 +02:00
Luca Lee
82404056ac
docs(react): add missing .md extension to link paths in route-trees.md ( #2252 )
2024-09-03 04:30:53 +02:00
Luca Lee
ae8c33af5f
docs(react): remove reference to deleted examples in route-trees.md ( #2250 )
...
Co-authored-by: Sean Cassiere <33615041+SeanCassiere@users.noreply.github.com>
2024-09-03 11:23:39 +12:00
Luca Lee
12fd81129d
docs(router): fix broken links in route-trees.md and routing-concepts.md ( #2249 )
2024-09-03 11:20:07 +12:00
NekoChan
f32b01daab
docs(start): fix tsconfig ( #2246 )
2024-09-03 11:18:28 +12:00
Tanner Linsley
71c5ceae43
release: v1.52.4
v1.52.4
2024-09-02 17:16:43 +00:00
Langa Cristian
17d9885977
fix(react-router): reset error boundary after the new matches are ready ( #2244 )
...
* fix(react-router)(issue-2162): reset error boundary after the new matches are ready
* tests: reproducer for #2043
---------
Co-authored-by: Cristian Langa <cristian.langa@flywire.com>
Co-authored-by: Manuel Schiller <manuel.schiller@caligano.de>
2024-09-02 19:12:27 +02:00
Sean Cassiere
bbc5148399
chore: update the issue template to ask for Start or Router ( #2242 )
...
* chore: issue template to ask for start or router
* make the selection required
* update the label and description
2024-09-02 08:47:30 +12:00
Tanner Linsley
16ca2ac837
release: v1.52.3
v1.52.3
2024-09-01 06:41:59 +00:00
Manuel Schiller
1e64284b1d
fix(react-router): disable route properties check until HMR bug is fixed ( #2240 )
2024-09-01 08:40:53 +02:00
Tanner Linsley
01d5efd1c2
release: v1.52.2
v1.52.2
2024-09-01 00:54:32 +00:00
Manuel Schiller
2c93e4bbcf
fix(react-router): if loader is running async for revalidation, do not overwrite isFetching ( #2239 )
2024-09-01 02:52:59 +02:00
Tanner Linsley
a57398e1c4
release: v1.52.1
v1.52.1
2024-08-31 21:10:34 +00:00
Manuel Schiller
55a272721d
fix(react-router): do not use routeId as key when rendering route component ( #2237 )
...
this avoids re-mounting
2024-08-31 23:07:17 +02:00
Tanner Linsley
5340eda583
release: v1.52.0
v1.52.0
2024-08-31 20:40:37 +00:00
Manuel Schiller
6dbe4b0eed
feat(router-generator): allow to customize index and route token ( #2203 )
...
* feat(router-generator): allow to customize `index` and `route` token
* semantically validate generator config in a single place
* ci: apply automated fixes
* remove usage of CHECK_USER_FLAGS_TO_BE_CHANGED
* check indexToken / routeToken before determining isLayout status
* use tokens with leading and trailing slashes
* ci: apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-08-31 22:36:58 +02:00
Brian
0d77cbf2e3
docs(react): remove duplicated line in overview.md ( #2236 )
2024-08-31 19:42:51 +02:00
Tanner Linsley
7f51877da0
release: v1.51.9
v1.51.9
2024-08-31 17:39:18 +00:00
Manuel Schiller
e5cfb31a5a
fix(react-router): throw invariant exception when trying to access route properties prior to initialization ( #2235 )
...
* fix(react-router): throw invariant exception when trying to access route properties prior to initialization
closes #2231
* remove outdated / commented out tests
* tests for invariants
* do not throw if path is undefined for pathless routes
2024-08-31 19:38:03 +02:00
Tanner Linsley
665e0bf7a6
release: v1.51.8
v1.51.8
2024-08-31 13:37:12 +00:00
kshramt
d39d0fd15a
fix(react-router): decode search keys ( #2227 )
...
* fix: Decode search keys
* chore: Add a few more tests for search param key decoding
* ci: apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-08-31 15:33:20 +02:00