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

144 commits

Author SHA1 Message Date
Manuel Schiller
d3024394f2 run code generator and format 2025-05-09 01:23:12 +02:00
Manuel Schiller
d180d06a42 Merge remote-tracking branch 'origin/main' into HEAD 2025-05-08 23:44:22 +02:00
Tanner Linsley
14be184843 release: v1.120.3 2025-05-08 21:15:31 +00:00
Birk Skyum
c89099ab49 routeTree for solid start exampels 2025-05-08 19:32:55 +02:00
Manuel Schiller
1b1fa7d7a2 fix formatting 2025-05-08 19:29:05 +02:00
SeanCassiere
e7569ce2e3
fix conflicts 2025-05-08 08:04:38 +12:00
Tanner Linsley
163aaa33f2 release: v1.120.2 2025-05-06 23:32:39 +00:00
Tanner Linsley
3ab84a8d73 release: v1.120.1 2025-05-06 20:13:30 +00:00
Tanner Linsley
468edac9f1 release: v1.120.0 2025-05-06 19:48:31 +00:00
SeanCassiere
94a10ce090
Merge remote-tracking branch 'origin/main' into devinxi 2025-05-04 13:57:03 +12:00
Tanner Linsley
c1ad053069 release: v1.119.2 2025-05-04 01:47:06 +00:00
SeanCassiere
bdc694d4b8
Merge remote-tracking branch 'origin/main' into devinxi 2025-04-30 22:10:32 +12:00
Tanner Linsley
91ae17d7ea release: v1.119.0 2025-04-30 09:45:19 +00:00
Tanner Linsley
ea3cc78712 Redirects use redirect responses 2025-04-30 00:20:03 -06:00
Birk Skyum
af38e5e137 catch up solid start 2025-04-29 13:40:31 +02:00
Tanner Linsley
5e1354cf72 release: v1.118.0 2025-04-26 21:27:24 +00:00
SeanCassiere
832acf3ea1
Merge remote-tracking branch 'origin/main' into devinxi 2025-04-25 18:54:31 +12:00
Tanner Linsley
a3c8bfed69 release: v1.117.2 2025-04-25 05:04:54 +00:00
SeanCassiere
aec638a714
Merge remote-tracking branch 'origin/main' into devinxi 2025-04-25 14:32:27 +12:00
Tanner Linsley
5bf73eaa85 release: v1.117.1 2025-04-24 21:11:24 +00:00
SeanCassiere
8cb2bbc816
Merge remote-tracking branch 'origin/main' into devinxi 2025-04-23 13:53:35 +12:00
Tanner Linsley
3cbb3e8492 release: v1.117.0 2025-04-23 01:48:48 +00:00
Tanner Linsley
82eb7b6919 release: v1.116.3 2025-04-22 23:18:36 +00:00
Tanner Linsley
d0540a5d56 checkpoint 2025-04-22 16:44:36 -06:00
SeanCassiere
ad85333351
Merge remote-tracking branch 'origin/main' into devinxi 2025-04-20 11:35:16 +12:00
Tanner Linsley
231230e22e release: v1.116.2 2025-04-19 22:34:14 +00:00
Manuel Schiller
b1da22b412 Merge remote-tracking branch 'origin/main' into HEAD 2025-04-17 09:24:14 +02:00
Tanner Linsley
6e183bae4f release: v1.116.1 2025-04-13 21:20:12 +00:00
Tanner Linsley
d843f83057 release: v1.116.0 2025-04-13 19:59:11 +00:00
Birk Skyum
08f9e4c64c sync solid start example and e2e 2025-04-12 16:00:24 +02:00
Birk Skyum
1fcd95225d format with prettier 2025-04-12 15:54:48 +02:00
Birk Skyum
f2c34f7442 sync solid 2025-04-12 15:37:12 +02:00
Tanner Linsley
af455d812f release: v1.115.3 2025-04-11 17:19:44 +00:00
SeanCassiere
c1fdc50753
Merge remote-tracking branch 'origin/main' into devinxi 2025-04-10 20:50:24 +12:00
Tanner Linsley
03a1cb05bb release: v1.115.2 2025-04-07 20:27:37 +00:00
Birk Skyum
7bc761ba8a
chore(examples): Update solid query examples (#3956) 2025-04-07 13:31:42 +02:00
SeanCassiere
62166cc7c6
Merge remote-tracking branch 'origin/main' into devinxi 2025-04-06 21:32:37 +12:00
Tanner Linsley
f087b1a7de release: v1.115.1 2025-04-06 09:21:36 +00:00
SeanCassiere
0c41d0e960
Merge remote-tracking branch 'origin/main' into devinxi 2025-04-06 20:21:14 +12:00
Tanner Linsley
361d32b2d5 release: v1.115.0 2025-04-06 04:50:31 +00:00
renovate[bot]
1bb39b96ad
chore(deps): update dependency vite to v6.1.4 [security] (#3939)
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [vite](https://vite.dev)
([source](https://redirect.github.com/vitejs/vite/tree/HEAD/packages/vite))
| [`6.1.3` ->
`6.1.4`](https://renovatebot.com/diffs/npm/vite/6.1.3/6.1.4) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/vite/6.1.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vite/6.1.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vite/6.1.3/6.1.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vite/6.1.3/6.1.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

### GitHub Vulnerability Alerts

####
[CVE-2025-31486](https://redirect.github.com/vitejs/vite/security/advisories/GHSA-xcj6-pq6g-qj4x)

### Summary

The contents of arbitrary files can be returned to the browser.

### Impact

Only apps explicitly exposing the Vite dev server to the network (using
--host or [server.host config
option](https://vitejs.dev/config/server-options.html#server-host)) are
affected..

### Details

#### `.svg`

Requests ending with `.svg` are loaded at this line.

037f801075/packages/vite/src/node/plugins/asset.ts (L285-L290)
By adding `?.svg` with `?.wasm?init` or with `sec-fetch-dest: script`
header, the restriction was able to bypass.

This bypass is only possible if the file is smaller than
[`build.assetsInlineLimit`](https://vite.dev/config/build-options.html#build-assetsinlinelimit)
(default: 4kB) and when using Vite 6.0+.

#### relative paths

The check was applied before the id normalization. This allowed requests
to bypass with relative paths (e.g. `../../`).

### PoC

```bash
npm create vite@latest
cd vite-project/
npm install
npm run dev
```

send request to read `etc/passwd`

```bash
curl 'http://127.0.0.1:5173/etc/passwd?.svg?.wasm?init'
```

```bash
curl 'http://127.0.0.1:5173/@​fs/x/x/x/vite-project/?/../../../../../etc/passwd?import&?raw'
```

---

### Release Notes

<details>
<summary>vitejs/vite (vite)</summary>

###
[`v6.1.4`](https://redirect.github.com/vitejs/vite/releases/tag/v6.1.4)

[Compare
Source](https://redirect.github.com/vitejs/vite/compare/v6.1.3...v6.1.4)

Please refer to
[CHANGELOG.md](https://redirect.github.com/vitejs/vite/blob/v6.1.4/packages/vite/CHANGELOG.md)
for details.

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "" (UTC), Automerge - At any time (no
schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these
updates again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/TanStack/router).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMjcuMyIsInVwZGF0ZWRJblZlciI6IjM5LjIyNy4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-04 21:59:55 +00:00
SeanCassiere
25d438b21c
Merge remote-tracking branch 'origin/main' into devinxi 2025-04-03 12:56:30 +13:00
Tanner Linsley
dfa641dc9c release: v1.114.34 2025-04-02 22:52:22 +00:00
Tanner Linsley
f8015e7629 release: v1.114.33 2025-04-02 18:43:59 +00:00
Tanner Linsley
9ca08f4756 release: v1.114.32 2025-04-01 14:24:37 +00:00
renovate[bot]
d0bbf662e5
chore(deps): update dependency vite to v6.1.3 [security] (#3900)
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [vite](https://vite.dev)
([source](https://redirect.github.com/vitejs/vite/tree/HEAD/packages/vite))
| [`6.1.2` ->
`6.1.3`](https://renovatebot.com/diffs/npm/vite/6.1.2/6.1.3) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/vite/6.1.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vite/6.1.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vite/6.1.2/6.1.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vite/6.1.2/6.1.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

### GitHub Vulnerability Alerts

####
[CVE-2025-31125](https://redirect.github.com/vitejs/vite/security/advisories/GHSA-4r4m-qw57-chr8)

### Summary

The contents of arbitrary files can be returned to the browser.

### Impact
Only apps explicitly exposing the Vite dev server to the network (using
`--host` or [`server.host` config
option](https://vitejs.dev/config/server-options.html#server-host)) are
affected.

### Details

- base64 encoded content of non-allowed files is exposed using
`?inline&import` (originally reported as `?import&?inline=1.wasm?init`)
- content of non-allowed files is exposed using `?raw?import`

`/@&#8203;fs/` isn't needed to reproduce the issue for files inside the
project root.

### PoC

Original report (check details above for simplified cases):

The ?import&?inline=1.wasm?init ending allows attackers to read
arbitrary files and returns the file content if it exists. Base64
decoding needs to be performed twice
```
$ npm create vite@latest
$ cd vite-project/
$ npm install
$ npm run dev
```

Example full URL
`http://localhost:5173/@&#8203;fs/C:/windows/win.ini?import&?inline=1.wasm?init`

---

### Release Notes

<details>
<summary>vitejs/vite (vite)</summary>

###
[`v6.1.3`](https://redirect.github.com/vitejs/vite/releases/tag/v6.1.3)

[Compare
Source](https://redirect.github.com/vitejs/vite/compare/v6.1.2...v6.1.3)

Please refer to
[CHANGELOG.md](https://redirect.github.com/vitejs/vite/blob/v6.1.3/packages/vite/CHANGELOG.md)
for details.

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "" (UTC), Automerge - At any time (no
schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these
updates again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/TanStack/router).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMDcuMSIsInVwZGF0ZWRJblZlciI6IjM5LjIwNy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-31 22:02:41 +00:00
SeanCassiere
6a4157b6f1
Merge remote-tracking branch 'origin/main' into devinxi 2025-04-01 11:00:24 +13:00
Tanner Linsley
fdc7ddeb22 release: v1.114.31 2025-03-31 21:15:51 +00:00
SeanCassiere
eeb6bf3fee
Merge remote-tracking branch 'origin/main' into devinxi 2025-03-31 21:42:08 +13:00
Birk Skyum
daecd771a9 sync validation in solid/start-basic example 2025-03-30 20:53:48 +02:00