Manuel Schiller
15b8ed6af3
chore: various fixes ( #4187 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-05-16 19:51:24 +02:00
Tanner Linsley
fda41798f8
release: v1.120.4-alpha.25
2025-05-16 12:53:27 +00:00
Tanner Linsley
cb21bb52e0
release: v1.120.4-alpha.23
2025-05-15 23:42:22 +00:00
Tanner Linsley
7cf6487c55
release: v1.120.4-alpha.22
2025-05-15 22:54:58 +00:00
Yeoh Joer
f209861069
fix: resolve custom server entry path on windows fs ( #4180 )
...
Co-authored-by: SeanCassiere <33615041+SeanCassiere@users.noreply.github.com>
2025-05-16 10:48:39 +12:00
Tanner Linsley
b5affb2631
release: v1.120.4-alpha.21
2025-05-15 21:42:53 +00:00
Tanner Linsley
4aa766b988
release: v1.120.4-alpha.20
2025-05-15 20:42:37 +00:00
Tanner Linsley
52cdc7edef
release: v1.120.4-alpha.19
2025-05-15 17:48:37 +00:00
Tanner Linsley
fbfd8019a5
release: v1.120.4-alpha.18
2025-05-15 04:05:34 +00:00
Sean Cassiere
16705fab53
fix: resolve custom client and server entry paths ( #4172 )
...
This PR fixes it, so that a user can define a custom framework entry for both
the `client` and `server` (in either `src/client.tsx` or `src/server.tsx`).
This PR also removes the unneeded `src/server.ts` files present as part of the
`devinxi` migration.
Additionally, the React client entry has been change to wrap `hydrateRoot`
with `startTransition`. This change useful, since after the SSR-rendered
markup is sent to the client, `startTransition` lets React know to defer the
hydration in favor of user events.
fixes #4138
2025-05-15 16:04:03 +12:00
Tanner Linsley
595b0d0fe9
release: v1.120.4-alpha.17
2025-05-14 23:00:08 +00:00
Tanner Linsley
063ccf6115
release: v1.120.4-alpha.16
2025-05-13 22:53:57 +00:00
Manuel Schiller
1417d177c6
fix: ensure compatibility with vite plugins that don't support the vite environment API ( #4167 )
...
fixes #4132
2025-05-14 00:51:42 +02:00
Tanner Linsley
3cbd11adfe
release: v1.120.4-alpha.15
2025-05-13 22:34:01 +00:00
Tanner Linsley
0a661471aa
release: v1.120.4-alpha.14
2025-05-13 17:17:47 +00:00
Tanner Linsley
55e54e1edb
release: v1.120.4-alpha.13
2025-05-12 23:36:04 +00:00
Ryan Gillie
4e0638bd65
feat(react-start): Wrap default client entry with <StrictMode> ( #4159 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-05-13 01:31:31 +02:00
Tanner Linsley
6d428d3602
release: v1.120.4-alpha.12
2025-05-12 22:20:03 +00:00
Tanner Linsley
6f764c2a21
release: v1.120.4-alpha.11
2025-05-12 21:05:05 +00:00
Manuel Schiller
3f33f04a29
fix: remove set/get global origin ( #4157 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
fixes #4141
fixes #4153
2025-05-12 23:03:53 +02:00
Tanner Linsley
8d4a7e8b7f
release: v1.120.4-alpha.10
2025-05-11 22:32:04 +00:00
Tanner Linsley
32f1a8bdc9
release: v1.120.4-alpha.9
2025-05-11 21:56:14 +00:00
Tanner Linsley
a57676eacb
release: v1.120.4-alpha.6
2025-05-11 02:21:32 +00:00
Tanner Linsley
016e5f0089
release: v1.120.4-alpha.5
2025-05-11 01:41:27 +00:00
Tanner Linsley
ef337e70b2
release: v1.120.4-alpha.4
2025-05-11 00:14:02 +00:00
Tanner Linsley
99a944b797
release: v1.120.4-alpha.3
2025-05-10 23:45:42 +00:00
Sean Cassiere
736a572cc7
fix: declare vite as a peerDependency ( #4135 )
...
Currently, none of the packages (i.e `packages/*`) need `vite`
bundled as a `dependency`. So its been moved to the
`devDependencies` and had the version opened using
`"peerDependencies": { "vite": ">=6.0.0" }`.
Additionally, `vite` has been added as a `dependency` to
the Start end-to-end sandboxes.
In a later PR, `vite` will need to be added to all the
TanStack Start examples (i.e. `examples/**/start-*`).
2025-05-11 11:44:17 +12:00
Tanner Linsley
c997f90c15
release: v1.120.4-alpha.2
2025-05-10 17:35:23 +00:00
Iha Shin (신의하)
e3fd36bbce
fix: clean up Vite versions ( #4130 )
2025-05-10 19:19:33 +02:00
Tanner Linsley
bc2dfa1210
release: v1.120.4-alpha.1
2025-05-10 14:39:52 +00:00
Tanner Linsley
1ceda304ef
release: v1.20.3-alpha.1
2025-05-10 12:58:56 +00:00
Tanner Linsley
855b03f990
Devinxi ( #4111 )
2025-05-10 14:54:51 +02: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 ) |
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](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
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 ) |
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](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`
`/@​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/@​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
2bed2c21f4
release: v1.114.30
2025-03-29 16:27:28 +00:00
Manuel Schiller
1cb9443912
fix: bump babel-dead-code-elimination ( #3881 )
...
fixes #3824
2025-03-29 17:25:03 +01: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
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 ) |
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](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 "/tmp/secret.txt" is outside of Vite serving allow list.
# security bypassed
$ curl "http://localhost:5173/@​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
([#​19453](https://redirect.github.com/vitejs/vite/issues/19453 ))
([e7ba55e](e7ba55e7d5 )),
closes
[#​19453](https://redirect.github.com/vitejs/vite/issues/19453 )
- fix: ignore `*.ipv4` address in cert
([#​19416](https://redirect.github.com/vitejs/vite/issues/19416 ))
([973283b](973283bf84 )),
closes
[#​19416](https://redirect.github.com/vitejs/vite/issues/19416 )
- fix(css): run rewrite plugin if postcss plugin exists
([#​19371](https://redirect.github.com/vitejs/vite/issues/19371 ))
([bcdb51a](bcdb51a1ac )),
closes
[#​19371](https://redirect.github.com/vitejs/vite/issues/19371 )
- fix(deps): bump tsconfck
([#​19375](https://redirect.github.com/vitejs/vite/issues/19375 ))
([746a583](746a583d42 )),
closes
[#​19375](https://redirect.github.com/vitejs/vite/issues/19375 )
- fix(deps): update all non-major dependencies
([#​19392](https://redirect.github.com/vitejs/vite/issues/19392 ))
([60456a5](60456a54fe )),
closes
[#​19392](https://redirect.github.com/vitejs/vite/issues/19392 )
- fix(deps): update all non-major dependencies
([#​19440](https://redirect.github.com/vitejs/vite/issues/19440 ))
([ccac73d](ccac73d9d0 )),
closes
[#​19440](https://redirect.github.com/vitejs/vite/issues/19440 )
- fix(html): ignore malformed src attrs
([#​19397](https://redirect.github.com/vitejs/vite/issues/19397 ))
([aff7812](aff7812f0a )),
closes
[#​19397](https://redirect.github.com/vitejs/vite/issues/19397 )
- fix(worker): fix web worker type detection
([#​19462](https://redirect.github.com/vitejs/vite/issues/19462 ))
([edc65ea](edc65eafa3 )),
closes
[#​19462](https://redirect.github.com/vitejs/vite/issues/19462 )
- refactor: remove custom .jxl mime
([#​19457](https://redirect.github.com/vitejs/vite/issues/19457 ))
([0c85464](0c854645bd )),
closes
[#​19457](https://redirect.github.com/vitejs/vite/issues/19457 )
- feat: add support for injecting debug IDs
([#​18763](https://redirect.github.com/vitejs/vite/issues/18763 ))
([0ff556a](0ff556a6d9 )),
closes
[#​18763](https://redirect.github.com/vitejs/vite/issues/18763 )
- chore: update 6.1.0 changelog
([#​19363](https://redirect.github.com/vitejs/vite/issues/19363 ))
([fa7c211](fa7c211bf3 )),
closes
[#​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
2483a9741d
release: v1.114.12
2025-03-10 12:05:39 +00:00
Tanner Linsley
700b5aa28c
release: v1.114.6
2025-03-10 07:41:45 +00:00
Tanner Linsley
9f953e9785
release: v1.114.3
2025-03-09 08:37:06 +00:00
Tanner Linsley
672116725b
release: v1.114.1
2025-03-08 20:05:26 +00: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
Tanner Linsley
b04a9fbcf2
release: v1.112.14
2025-03-05 17:12:44 +00:00
Paul Grau
051e2d5efa
fix: transform should return null to preserve source maps. Fixes #3661 ( #3663 )
...
Fixes #3661
I tested this in my own codebase. With this change, the warnings are
gone.
Rollup plugin docs specifically say that you should return `null` if you
didn't transform anything. Vite follows rollup's API.
2025-03-05 18:07:40 +01:00
Sean Cassiere
74a3a06267
refactor: move routing documentation into its own section ( #3567 )
2025-02-26 12:33:22 +13:00