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

1,631 commits

Author SHA1 Message Date
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/@​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
Tanner Linsley
dc1848c4ce release: v1.114.13 2025-03-10 19:02:50 +00:00
Tanner Linsley
2483a9741d release: v1.114.12 2025-03-10 12:05:39 +00:00
Tanner Linsley
e3157112b8 release: v1.114.11 2025-03-10 11:39:12 +00:00
Tanner Linsley
698c92a15f release: v1.114.10 2025-03-10 10:53:55 +00:00
Tanner Linsley
3973a65825 release: v1.114.9 2025-03-10 09:43:06 +00:00
Tanner Linsley
7dc9b4ae8e release: v1.114.8 2025-03-10 09:26:38 +00:00
Tanner Linsley
26ffdb586b release: v1.114.7 2025-03-10 09:15:55 +00:00
Tanner Linsley
700b5aa28c release: v1.114.6 2025-03-10 07:41:45 +00:00
Tanner Linsley
935ff7901e release: v1.114.5 2025-03-10 04:56:51 +00:00
Tanner Linsley
fa485a8e38 release: v1.114.4 2025-03-10 01:03:38 +00:00
Birk Skyum
76414f1d56
chore: bump zod 3.24.2 (#3713)
This is to cut down the diff to the devinxi branch here
- https://github.com/TanStack/router/tree/devinxi
2025-03-10 00:44:28 +01:00
Birk Skyum
f616ba9c07
chore: move start e2e and example projects from ./app to ./src (#3712)
Using the below setting, the examples and e2e projects opt into the
future behavior of using `./src` as the app directory, rather than
'./app':

```ts
tsr: {
  appDirectory: 'src',
},
```

The `./src` directory is typically used for pure-TS Router projects, as
well as CRA. Thus this reduces the churn for a TS Router SPA to opt into
server features with TS Start.
2025-03-09 23:35:20 +01:00
Tanner Linsley
9f953e9785 release: v1.114.3 2025-03-09 08:37:06 +00:00
Tanner Linsley
9ea1c83aad release: v1.114.2 2025-03-09 03:03:46 +00:00
Tanner Linsley
672116725b release: v1.114.1 2025-03-08 20:05:26 +00:00
Tanner Linsley
a3cf3961b9 release: v1.114.0 2025-03-08 12:27:37 +00:00
Birk Skyum
e313a1c5a7
feat(router-devtools-core): consolidate devtools logic in core and distributed with framework-specific bindings (#3636)
The original `@tanstack/router-devtools` package still work - it's not
touch by this PR in any way, apart from a migration note saying:

>[@tanstack/router-devtools] Warning: This package has moved to
@tanstack/react-router-devtools. Please switch to the new package, as
this package will be dropped soon.

This introduce three new packages
- @tanstack/router-devtools-core : This is a SolidJS port of the UI

And two adapters on top, that mount this solid app and forward
router/routerState into it.
- @tanstack/solid-router-devtools
- @tanstack/router-router-devtools

For use of devtools in production, a `TanStackRouterDevtoolsInProd` can
be imported instead of the standard `TanStackRouterDevtools` that'll be
tree shaken away in prod.

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: SeanCassiere <33615041+SeanCassiere@users.noreply.github.com>
Co-authored-by: Lachlan Collins <1667261+lachlancollins@users.noreply.github.com>
2025-03-08 13:20:26 +01:00
Tanner Linsley
13ba4929a1 release: v1.113.0 2025-03-07 21:13:29 +00:00
Kilian Finger
cd7a43c9e2
chore(examples): add Material UI example (#3677)
Fixes #2867 

As previously discussed @schiller-manuel.
2025-03-07 13:34:19 +01:00
Tanner Linsley
42d50a58be release: v1.112.19 2025-03-07 11:12:50 +00:00
Manuel Schiller
5bbf49deba
chore: replace <React.Fragment> by <> (#3672)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-03-07 00:30:35 +01:00
Tanner Linsley
06237feeb1 release: v1.112.18 2025-03-06 23:02:15 +00:00
Manuel Schiller
30e869042d
chore: add script to bump typescript version and bump it to 5.8 (#3618)
Co-authored-by: chorobin <chrishorobin@hotmail.com>
2025-03-06 21:06:32 +01:00
Andrew Peacock
d20088e0fb
chore(examples): add authenticated-routes example using firebase (#3669)
Co-authored-by: SeanCassiere <33615041+SeanCassiere@users.noreply.github.com>
2025-03-06 20:38:47 +13:00
Sean Cassiere
ffbcd7278c
chore(examples): fix up the start-trellaux example (#3675) 2025-03-06 16:08:43 +13:00
Tanner Linsley
70351e525e release: v1.112.17 2025-03-06 00:37:45 +00:00
Tanner Linsley
76b0c2e9f3 release: v1.112.16 2025-03-05 23:52:06 +00:00
Tanner Linsley
cbc27fa900 release: v1.112.15 2025-03-05 21:16:53 +00:00
Tanner Linsley
b04a9fbcf2 release: v1.112.14 2025-03-05 17:12:44 +00:00
Tanner Linsley
9b460c4ed0 release: v1.112.13 2025-03-04 23:00:57 +00:00
Tanner Linsley
e6607f367e release: v1.112.12 2025-03-04 20:50:19 +00:00