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

1,662 commits

Author SHA1 Message Date
Tanner Linsley
468edac9f1 release: v1.120.0 2025-05-06 19:48:31 +00:00
ihaback
8672ec7b04
chore(examples): match env.example with config for authenticated-routes-firebase (#4079) 2025-05-05 03:38:25 +12:00
Tanner Linsley
c1ad053069 release: v1.119.2 2025-05-04 01:47:06 +00:00
Tanner Linsley
d4aaf7eaa3 release: v1.119.1 2025-04-30 13:12:53 +00:00
Tanner Linsley
91ae17d7ea release: v1.119.0 2025-04-30 09:45:19 +00:00
Tanner Linsley
5e1354cf72 release: v1.118.0 2025-04-26 21:27:24 +00:00
Tanner Linsley
a3c8bfed69 release: v1.117.2 2025-04-25 05:04:54 +00:00
Tanner Linsley
5bf73eaa85 release: v1.117.1 2025-04-24 21:11:24 +00:00
Tanner Linsley
3cbb3e8492 release: v1.117.0 2025-04-23 01:48:48 +00:00
Burak Can
1f2642bf28
feat(router-core): allow dynamic ViewTransition types (#4031)
Co-authored-by: SeanCassiere <33615041+SeanCassiere@users.noreply.github.com>
2025-04-23 13:41:23 +12:00
Tanner Linsley
82eb7b6919 release: v1.116.3 2025-04-22 23:18:36 +00:00
Tanner Linsley
231230e22e release: v1.116.2 2025-04-19 22:34:14 +00:00
Eduardo Bouças
afe29b9ad8
examples: Replace redaxios with native fetch (#4000)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-04-15 18:32:35 +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
Tanner Linsley
af455d812f release: v1.115.3 2025-04-11 17:19:44 +00:00
Sean Cassiere
b886a7d357
chore(examples): move the WorkOS content to src (#3972) 2025-04-10 21:14:55 +12:00
Nick Nisi
f9c343e0b5
chore(examples): add TanStack Start WorkOS example (#3966)
Co-authored-by: SeanCassiere <33615041+SeanCassiere@users.noreply.github.com>
2025-04-10 20:41:57 +12:00
Tanner Linsley
03a1cb05bb release: v1.115.2 2025-04-07 20:27:37 +00:00
Tanner Linsley
f087b1a7de release: v1.115.1 2025-04-06 09:21:36 +00:00
Tanner Linsley
361d32b2d5 release: v1.115.0 2025-04-06 04:50:31 +00:00
Sean Cassiere
ad4ec75e77
chore(examples): change types for input arguments for auth examples (#3946) 2025-04-06 16:46:54 +12:00
Ethan Shumate
a41e7cf6e5
chore(examples): do not use GET to send credentials (#3945)
Fixes #3944

---

Co-authored-by: Sean Cassiere <33615041+SeanCassiere@users.noreply.github.com>
2025-04-06 16:41:35 +12: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/@&#8203;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
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
Tanner Linsley
fdc7ddeb22 release: v1.114.31 2025-03-31 21:15:51 +00:00
Tanner Linsley
2bed2c21f4 release: v1.114.30 2025-03-29 16:27:28 +00:00
Tanner Linsley
c67c0e1f3a release: v1.114.29 2025-03-27 00:35:38 +00:00
Tanner Linsley
015053b3bf release: v1.114.28 2025-03-26 16:27:08 +00:00
Robert Soriano
8f2ddedd9f
chore(examples): Use new TanStack React Start + Clerk package name (#3858) 2025-03-26 16:14:26 +01:00
Masum Gökyüz
51cecf9387
chore(examples,e2e): incorrect label value for "email" (#3851)
Change label from "Username" to "Email"
2025-03-26 20:54:26 +13:00
renovate[bot]
8833c1be63
chore(deps): update dependency vite to v6.1.2 [security] (#3857)
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.0` ->
`6.1.2`](https://renovatebot.com/diffs/npm/vite/6.1.0/6.1.2) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/vite/6.1.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vite/6.1.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vite/6.1.0/6.1.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vite/6.1.0/6.1.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

### GitHub Vulnerability Alerts

####
[CVE-2025-30208](https://redirect.github.com/vitejs/vite/security/advisories/GHSA-x574-m823-4x7w)

### 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
`@fs` denies access to files outside of Vite serving allow list. Adding
`?raw??` or `?import&raw??` to the URL bypasses this limitation and
returns the file content if it exists. This bypass exists because
trailing separators such as `?` are removed in several places, but are
not accounted for in query string regexes.

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

$ echo "top secret content" > /tmp/secret.txt

# expected behaviour
$ curl "http://localhost:5173/@&#8203;fs/tmp/secret.txt"

    <body>
      <h1>403 Restricted</h1>
      <p>The request url &quot;/tmp/secret.txt&quot; is outside of Vite serving allow list.

# security bypassed
$ curl "http://localhost:5173/@&#8203;fs/tmp/secret.txt?import&raw??"
export default "top secret content\n"
//# sourceMappingURL=data:application/json;base64,eyJ2...
```

---

### Release Notes

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

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

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

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

###
[`v6.1.1`](https://redirect.github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small611-2025-02-19-small)

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

- fix: ensure `.[cm]?[tj]sx?` static assets are JS mime
([#&#8203;19453](https://redirect.github.com/vitejs/vite/issues/19453))
([e7ba55e](e7ba55e7d5)),
closes
[#&#8203;19453](https://redirect.github.com/vitejs/vite/issues/19453)
- fix: ignore `*.ipv4` address in cert
([#&#8203;19416](https://redirect.github.com/vitejs/vite/issues/19416))
([973283b](973283bf84)),
closes
[#&#8203;19416](https://redirect.github.com/vitejs/vite/issues/19416)
- fix(css): run rewrite plugin if postcss plugin exists
([#&#8203;19371](https://redirect.github.com/vitejs/vite/issues/19371))
([bcdb51a](bcdb51a1ac)),
closes
[#&#8203;19371](https://redirect.github.com/vitejs/vite/issues/19371)
- fix(deps): bump tsconfck
([#&#8203;19375](https://redirect.github.com/vitejs/vite/issues/19375))
([746a583](746a583d42)),
closes
[#&#8203;19375](https://redirect.github.com/vitejs/vite/issues/19375)
- fix(deps): update all non-major dependencies
([#&#8203;19392](https://redirect.github.com/vitejs/vite/issues/19392))
([60456a5](60456a54fe)),
closes
[#&#8203;19392](https://redirect.github.com/vitejs/vite/issues/19392)
- fix(deps): update all non-major dependencies
([#&#8203;19440](https://redirect.github.com/vitejs/vite/issues/19440))
([ccac73d](ccac73d9d0)),
closes
[#&#8203;19440](https://redirect.github.com/vitejs/vite/issues/19440)
- fix(html): ignore malformed src attrs
([#&#8203;19397](https://redirect.github.com/vitejs/vite/issues/19397))
([aff7812](aff7812f0a)),
closes
[#&#8203;19397](https://redirect.github.com/vitejs/vite/issues/19397)
- fix(worker): fix web worker type detection
([#&#8203;19462](https://redirect.github.com/vitejs/vite/issues/19462))
([edc65ea](edc65eafa3)),
closes
[#&#8203;19462](https://redirect.github.com/vitejs/vite/issues/19462)
- refactor: remove custom .jxl mime
([#&#8203;19457](https://redirect.github.com/vitejs/vite/issues/19457))
([0c85464](0c854645bd)),
closes
[#&#8203;19457](https://redirect.github.com/vitejs/vite/issues/19457)
- feat: add support for injecting debug IDs
([#&#8203;18763](https://redirect.github.com/vitejs/vite/issues/18763))
([0ff556a](0ff556a6d9)),
closes
[#&#8203;18763](https://redirect.github.com/vitejs/vite/issues/18763)
- chore: update 6.1.0 changelog
([#&#8203;19363](https://redirect.github.com/vitejs/vite/issues/19363))
([fa7c211](fa7c211bf3)),
closes
[#&#8203;19363](https://redirect.github.com/vitejs/vite/issues/19363)

</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-26 03:11:35 +00:00
Tanner Linsley
c49d8a2eea release: v1.114.27 2025-03-21 03:13:09 +00:00
Rijk van Wel
49a7a51e06
chore(examples): fix "board update" in start-convex-trellaux (#3802) 2025-03-19 14:55:01 +13:00
Tanner Linsley
7c229b3539 release: v1.114.25 2025-03-18 18:27:26 +00:00
Tanner Linsley
4190c07628 release: v1.114.24 2025-03-18 12:06:26 +00:00
Alex D'Elia
bf5005f17d
docs(react-router): add view transitions example (#3791)
React example showing off view transitions at work.

---

Co-authored-by: Sean Cassiere <33615041+SeanCassiere@users.noreply.github.com>
2025-03-17 14:25:29 +13:00
Tanner Linsley
4d675074b0 release: v1.114.23 2025-03-16 23:20:07 +00:00
Tanner Linsley
f02a7bcecf release: v1.114.22 2025-03-15 22:54:39 +00:00
Tanner Linsley
2b64b789e1 release: v1.114.21 2025-03-13 21:50:11 +00:00
Tanner Linsley
f735529343 release: v1.114.20 2025-03-13 19:45:27 +00:00
Tanner Linsley
1f320113ed release: v1.114.19 2025-03-13 12:48:59 +00:00
Tanner Linsley
02a4f79ade release: v1.114.18 2025-03-13 06:29:56 +00:00
Tanner Linsley
11a4d9d96f release: v1.114.17 2025-03-12 12:55:31 +00:00
Tanner Linsley
bf5bd47225 release: v1.114.16 2025-03-12 12:32:10 +00:00
Tanner Linsley
b90b3f2c83 release: v1.114.15 2025-03-11 17:48:06 +00:00
Tanner Linsley
5a7c98b656 release: v1.114.14 2025-03-11 15:41:23 +00:00