fix: check server.fs after stripping query as well by sapphi-red · Pull Request #22160 · vitejs/vite (original) (raw)
eleboucher pushed a commit to eleboucher/memini that referenced this pull request
This PR contains the following updates:
| Package | Change | Age | Confidence |
|---|---|---|---|
| vite (source) | ^7.0.0 → ^8.0.0 |
⚠️ Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
vitejs/vite (vite)
v8.0.16
Bug Fixes
- deps: reject UNC paths for launch-editor-middleware (#22571) (50b9512)
- reject windows alternate paths (#22572) (dc245c7)
v8.0.15
Features
Bug Fixes
- capitalize error messages and remove spurious space in parse error (#22488) (85a0eff)
- deps: update all non-major dependencies (#22511) (2686d7d)
- dev: fix html-proxy cache key mismatch for /@fs/ HTML paths (#21762) (47c4213)
- glob: error on relative glob in virtual module when no files match (#22497) (5c8e98f)
- optimizer: close the rolldown bundle when write() rejects (#22528) (e3cfb9d)
- resolve: provide onWarn for viteResolvePlugin in JS plugin containers (#22509) (40985f1)
Miscellaneous Chores
Code Refactoring
v8.0.14
Features
Bug Fixes
- deps: update all non-major dependencies (#22471) (98b8163)
- dev: handle errors when sending messages to vite server (#22450) (e8e9a34)
- html: handle trailing slash paths in transformIndexHtml (#22480) (5d94d1b)
- optimizer: pass oxc jsx options to transformSync in dependency scan (#22342) (b3132da)
Miscellaneous Chores
- deps: update rolldown-related dependencies (#22470) (7cb728e)
- remove irrelevant commits from changelog (2c69495)
Code Refactoring
Tests
v8.0.13
Features
- bundled-dev: add lazy bundling support (#21406) (4f0949f)
- optimizer: improve the esbuild plugin converter to pass some properties of build result to
onEnd(#22357) (47071ce) - update rolldown to 1.0.1 (#22444) (8c766a6)
Bug Fixes
- build: copy public directory after building same environment with
write=false(#22328) (158e8ae) - css: await sass/less/styl worker disposal on teardown (fix #22274) (#22275) (b7edcb7)
- css: keep deprecated
name/originalFileNamein syntheticassetFileNamescall (#22439) (8e59c97) - make
isBundledper environment (#22257) (a576326) - ssr: avoid rewriting labels that collide with imports (#22451) (d9b18e0)
Miscellaneous Chores
v8.0.12
Features
Bug Fixes
- deps: update all non-major dependencies (#22420) (2be6000)
- module-runner: prevent partial-exports race on concurrent imports of in-flight invalidated re-export chains (#22369) (f5a22e6)
- refer to
rolldownOptionsinstead of deprecatedrollupOptionsin messages (#22400) (b675c7b) - worker: apply
build.targetto worker bundle (#22404) (3c93fde) - worker: forward define to worker bundle transform (#22408) (d4838a0)
Miscellaneous Chores
- deps: update dependency eslint-plugin-n to v18 (#22423) (2fe7bd2)
- deps: update rolldown-related dependencies (#22421) (66b9eb3)
v8.0.11
Features
Bug Fixes
- deps: update all non-major dependencies (#22334) (672c962)
- deps: update all non-major dependencies (#22382) (5c0cfcb)
- glob: align hmr matcher options with glob enumeration (#22306) (30028f9)
- make separate object instance for each environment (#22276) (7c2aa3b)
Documentation
- create-vite: list react-compiler templates in README (#22347) (7c3a61f)
- explain mergeConfig skips null/undefined (#22325) (2151f70)
- mention native config loader in CLI options (#22348) (0420c5d)
- update evan's x handle (640202a)
Miscellaneous Chores
- deps: update dependency tsdown to ^0.21.10 (#22333) (3b51e05)
- deps: update rolldown-related dependencies (#22383) (555ff36)
- deps: update transitive packages to fix npm audit alerts (#22316) (86aee62)
Code Refactoring
- devtools integration (#22312) (3c8bf06)
- remove unnecessary async (#22296) (b31fd35)
- show direct path type in bad character warning (#22339) (0c162e9)
Tests
v8.0.10
Features
Bug Fixes
hmrClient.logger.debugandhmrClient.logger.errorlooked different from other HMR logs (#22147) (a4d828f)- css: show filename in CSS minification warnings for
.css?inline(#22292) (83f0a78) - optimizer: allow user transform.target to override default in optimizeDeps (#22273) (5c7cec6)
- remove format sniffing module resolution from JS resolver (#22297) (b8a21cc)
Code Refactoring
v8.0.9
Features
Bug Fixes
- allow binding when strictPort is set but wildcard port is in use (#22150) (dfc8aa5)
- build: emptyOutDir should happen for watch rebuilds (#22207) (ee52267)
- bundled-dev: reject requests to HMR patch files in non potentially trustworthy origins (#22269) (868f141)
- css: use unique key for cssEntriesMap to prevent same-basename collision (#22039) (374bb5d)
- deps: update all non-major dependencies (#22219) (4cd0d67)
- deps: update all non-major dependencies (#22268) (c28e9c1)
- detect Deno workspace root (fix #22237) (#22238) (1b793c0)
- dev: handle errors in
watchChangehook (#22188) (fc08bda) - optimizer: handle more chars that will be sanitized (#22208) (3f24533)
- skip fallback sourcemap generation for
?rawimports (#22148) (3ec9cda)
Documentation
- align the descriptions in READMEs (#22231) (44c42b9)
- fix reuses wording in dev environment comment (#22173) (9163412)
- fix wording in sass error comment (#22214) (bc5c6a7)
- update build CLI defaults (#22261) (605bb97)
Miscellaneous Chores
v8.0.8
Features
Bug Fixes
- avoid
dns.getDefaultResultOrdertemporary (#22202) (15f1c15) - ssr: class property keys hoisting matching imports (#22199) (e137601)
v8.0.7
Bug Fixes
v8.0.6
Features
Bug Fixes
- css: avoid mutating sass error multiple times (#22115) (d5081c2)
- optimize-deps: hoist CJS interop assignment (#22156) (17a8f9e)
Performance Improvements
Miscellaneous Chores
- create-vite: remove unnecessary DOM.Iterable (#22168) (bdc53ab)
- replace remaining prettier script (#22179) (af71fb2)
v8.0.5
Bug Fixes
- apply server.fs check to env transport (#22159) (f02d9fd)
- avoid path traversal with optimize deps sourcemap handler (#22161) (79f002f)
- check
server.fsafter stripping query as well (#22160) (a9a3df2) - disallow referencing files outside the package from sourcemap (#22158) (f05f501)
v8.0.4
Features
- allow esbuild 0.28 as peer deps (#22155) (b0da973)
- hmr: truncate list of files on hmr update (#21535) (d00e806)
- optimizer: log when dependency scanning or bundling takes over 1s (#21797) (f61a1ab)
Bug Fixes
hasBothRollupOptionsAndRolldownOptionsshould returnfalsefor proxy case (#22043) (99897d2)- add types for
vite/modulepreload-polyfill(#22126) (17330d2) - deps: update all non-major dependencies (#22073) (6daa10f)
- deps: update all non-major dependencies (#22143) (22b0166)
- resolve: resolve tsconfig paths starting with
#(#22038) (3460fc5) - ssr: use browser platform for webworker SSR builds (fix #21969) (#21963) (364c227)
Documentation
Miscellaneous Chores
Code Refactoring
v8.0.3
Features
Bug Fixes
- html: cache unfiltered CSS list to prevent missing styles across entries (#22017) (5464190)
- module-runner: handle non-ascii characters in base64 sourcemaps (#21985) (77c95bf)
- module-runner: skip re-import if the runner is closed (#22020) (ee2c2cd)
- optimizer: scan is not resolving sub path import if used in a glob import (#22018) (ddfe20d)
- ssr: ssrTransform incorrectly rewrites
metaidentifier insideimport.metawhen a binding namedmetaexists (#22019) (cff5f0c)
Miscellaneous Chores
Tests
v8.0.2
Features
Bug Fixes
Miscellaneous Chores
- deps: update dependency @vitejs/devtools to ^0.1.5 (#21992) (b2dd65b)
v8.0.1
Bug Fixes
- deps: reject UNC paths for launch-editor-middleware (#22571) (50b9512)
- reject windows alternate paths (#22572) (dc245c7)
v8.0.0

Today, we're thrilled to announce the release of the next Vite major:
- Vite 8.0 announcement blog post
- Docs (translations: 简体中文, 日本語, Español, Português, 한국어, Deutsch, فارسی)
- Migration Guide
⚠ BREAKING CHANGES
- remove
import.meta.hot.acceptresolution fallback (#21382) (71d0797) - update default browser target (#21193) (8c3dd06)
- the epic
rolldown-vitemerge (#21189) (4a7f8d4)
Features
- update rolldown to 1.0.0-rc.9 (#21813) (f05be0e)
- warn when
vite-tsconfig-pathsplugin is detected (#21781) (ada493e) - css: support es2025 build target for lightningcss (#21769) (08906e7)
- forward browser console logs and errors to dev server terminal (#20916) (2540ed0)
- update rolldown to 1.0.0-rc.8 (#21790) (a0c950e)
- export
VisitorandESTreefromrolldown/utils(#21664) (45de31e) - update rolldown to 1.0.0-rc.6 (#21714) (37a65f8)
- use util.inspect for CLI error display (#21668) (5f425a9)
- update rolldown to 1.0.0-rc.5 (#21660) (b3ddbc5)
- update rolldown to 1.0.0-rc.4 (#21617) (1ee5c7f)
- wasm: add SSR support for
.wasm?init(#21102) (216a3b5) - integrate devtools (#21331) (acbf507)
- update rolldown to 1.0.0-rc.3 (#21554) (43358e9)
- manifest: add
assetsfield for standalone CSS entry points (#21015) (f289b9b) - update rolldown to 1.0.0-rc.2 (#21512) (fa136a9)
- bundled-dev: support worker in initial bundle (#21415) (f3d3149)
- dev: detect port conflicts on wildcard hosts (#21381) (b0dd5a9)
- shortcuts case insensitive (#21224) (7796ade)
- update rolldown to 1.0.0-rc.1 (#21463) (ff9dd7f)
- warn if
envPrefixcontains spaces (#21292) (9fcde3c) - update rolldown to 1.0.0-beta.60 (#21408) (c33aa7c)
- update rolldown to 1.0.0-beta.59 (#21374) (0037943)
- add
ignoreOutdatedRequestsoption tooptimizeDeps(#21364) (b2e75aa) - add ios to default esbuild targets (#21342) (daae6e9)
- update rolldown to 1.0.0-beta.58 (#21354) (ba40cef)
- update rolldown to 1.0.0-beta.57 (#21335) (d5412ef)
- css: support es2024 build target for lightningcss (#21294) (bd33b8e)
- update rolldown to 1.0.0-beta.56 (#21323) (9847a63)
- introduce v2 native plugins and enable it by default (#21268) (42f2ab3)
- ssr: avoid errors when rewriting already rewritten stacktrace (#21269) (98d9a33)
- update rolldown to 1.0.0-beta.55 (#21300) (2c8db85)
- update rolldown to 1.0.0-beta.54 (#21267) (c751172)
- add a warning that is output when a plugin sets esbuild related options (#21218) (200646b)
- highly experimental full bundle mode (#21235) (83d8c99)
- print esbuild options when both esbuild and oxc options are set (#21216) (08ae87b)
- update default browser target (#21193) (8c3dd06)
- the epic
rolldown-vitemerge (#21189) (4a7f8d4)
Bug Fixes
- deps: update all non-major dependencies (#21786) (eaa4352)
- use
watch.watcherinstead ofwatch.notify(#21793) (88953b3) - css: apply
server.originto public file URLs in CSS (fix #18457) (#21697) (c967f48) - deps: update all non-major dependencies (#21732) (5c921ca)
- dev: disable extglobs for consistency (#21745) (1958eeb)
- lib: keep annotation comments for es output (#21740) (dd3c4f4)
- optimizer: avoid error happening with a package with asset entrypoint (#21766) (f7e1d07)
- ssr: throw friendly error when calling
ssrLoadModulewith non-runnable ssr env (#21739) (1fa736e) - types: remove extends ImportMeta from ModuleRunnerImportMeta (#21710) (0176d45)
- wasm: reset assetUrlRE.lastIndex before .test() in SSR builds (#21780) (3a0d8d9)
- deps: update all non-major dependencies (#21691) (521fdc0)
- optimizer: avoid duplicate modules when
preserveSymlinksis enabled (#21720) (72165e0) - dev: only treat EADDRINUSE as port conflict in wildcard pre-check (#21642) (e54e25f)
- dev: prevent concurrent server restarts (#21636) (8ce23a3)
- dev: return "502 Bad Gateway" on proxy failures instead of 500 (#21652) (e240df2)
- clear tsconfig cache only when tsconfig.json is cached (#21622) (50c9675)
- deps: update all non-major dependencies (#21594) (becdc5d)
- lib: CSS injection point error with nested name IIFE output (#21606) (5003de6)
- module-runner: incorrect column with
sourcemapInterceptor: "prepareStackTrace"(#21562) (416c095) - module-runner: prevent crash on negative column in stacktrace (#21585) (a075590)
- rolldownOptions/rollupOptions merging at environment level (#21612) (db2ecc7)
- scanner: respect tsconfig.json (#21547) (c6c04db)
- avoid registering customization hook for import meta resolver multiple times (#21518) (8bb3203)
- config: avoid watching rolldown runtime virtual module (#21545) (d18b139)
- deps: update all non-major dependencies (#21540) (9ebaeaa)
- populate originalFileNames when resolving CSS asset paths (#21542) (8b47ff7)
- deps: update all non-major dependencies (#21488) (2b32ca2)
- disable
tsconfigoption when loading config (#21517) (5025c35) - optimizer: map relative
new URLpaths to correct relative file location (#21434) (ca96cbc) - avoid using deprecated
output.inlineDynamicImportoption (#21464) (471ce62) - use separate hook object for each environment (#21472) (66347f6)
- deps: update all non-major dependencies (#21440) (1835995)
- dev: avoid event emitter leak caused by
server.listencallback (#21451) (602d786) - lazy hook filter should work (#21443) (bc0c207)
- optimizer: skip
rolldownCjsExternalPluginforplatform: neutral(#21452) (d2fc4be) - deps: update all non-major dependencies (#21389) (30f48df)
- deps: update esbuild peerDependency version (#21398) (4266c97)
- hmr: trigger prune event when last import is removed (#20781) (#21093) (7576735)
- module-runner: use
process.getBuiltinModuleinstead ofimport('node:module')(#21402) (6633bcb) - support .env file mounts (FIFOs) (#21365) (6e6f82a)
- css: stylus Evaluator support (#21376) (cf9ace1)
- deps: update all non-major dependencies (#21321) (9bc7c2e)
- import-analysis: avoid cjs interop for built browser external module (#21333) (dc5a2fb)
- worker: handle
new Worker(..., new URL(import.meta.url))with trailing comma (#21325) (4a47241) - detect
import.meta.resolvewhen formatted across multiple lines (#21312) (130e718) - allow no-cors requests for non-script tag requests (#21299) (ef3d596)
- deps: update all non-major dependencies (#21285) (4635b2e)
- unreachable error when building with
experimental.bundledDevis enabled (#21296) (e81c183) - deps: update all non-major dependencies (#21231) (859789c)
- don't strip base from imports (#21221) (7da742b)
- allow exiting process before optimizer cleanup is done (#21170) (55ceffc)
- plugin shortcut support (#21211) (6a3aca0)
Performance Improvements
- ssr: skip circular import check for already-evaluated modules (#21632) (235140b)
- use tsconfig cache for oxc transform in dev (#21643) (57ff177)
Documentation
- bulk of typo fixes (#21507) (80755da)
- update
build.dynamicImportVarsOptions(#21477) (54ce2ed) - clarify the pronunciation of
vitein IPA symbols (#21238) (9b1d4d6) - ensure https links (#21266) (2eb259a)
Miscellaneous Chores
- deps-dev: bump rollup from 4.57.1 to 4.59.0 (#21717) (25227bb)
- deps: update dependency cac to v7 (#21788) (44e33ae)
- deps: update dependency rolldown-plugin-dts to ^0.22.2 (#21731) (d8ea652)
- deps: remove
fdirand@rollup/plugin-commonjs(#21639) (5abffd5) - deps: update dependency @rollup/plugin-alias to v6 (#21097) (44b5bdf)
- fix broken link for future deprecations (#21603) (25f4501)
- update
customResolverdeprecation message to mentionenforce: 'pre'(#21576) (2ce34d5) - update rolldown-plugin-dts to 0.22.1 (#21559) (77aab4b)
- deps: update dependency rolldown-plugin-dts to ^0.21.8 (#21539) (33881cb)
- add missing versions to changelog (#21515) (4bfb239)
- deps: update rolldown-related dependencies (#21487) (5863e51)
- deps: update rolldown-related dependencies (#21390) (be9dd4e)
- fix typo in plugin.ts comment (#21435) (d31fc66)
- replace caniuse link for ES2024 (#21355) (2ba4e99)
- cleanup changelog (#21202) (8c8c56e)
- deps: update rolldown-related dependencies (#21230) (9349446)
- fix spelling error (#21223) (cc10e20)
Code Refactoring
- don't add
optimization.inlineConst: { mode: 'smart' }as it's enabled by default (#21794) (22b3d11) - enable some native plugins even with enable native plugin false (#21744) (fc46c79)
- avoid deprecated
legalCommentsoption (#21721) (e06496e) - use
ESTreetypes fromrolldown/utils(#21719) (9239750) - deprecate
customResolverinresolve.alias(#21476) (81275c9) - remove unnecessary
@rolldown/pluginutils(#21560) (c367b62) - enable some native plugins even with enable native plugin false (#21608) (5a4f692)
- use
rolldown/utils(#21577) (e56103f) - use internal devtools config (#21609) (9aea20f)
- use parseEnv (#21586) (f859d2c)
- wasm: remove native wasm helper plugin usage (#21566) (71a86be)
- enable some native plugins even with enable native plugin false (#21511) (b40292c)
- remove
experimental.enableNativePlugin: 'resolver'(#21510) (f9d9213) - use
import.meta.dirnameeverywhere (#21509) (7becf5f) - optimizer: simplify
rolldownCjsExternalPlugin(#21450) (ebda8fd) - remove
import.meta.hot.acceptresolution fallback (#21382) (71d0797) - optimizer: remove dead code (#21334) (e9a2cdb)
Tests
- ssr: incorrect
handleInvokewas called in server-worker-runner.invoke test (#21751) (b95ca22) - add more type tests for
defineConfig(#21698) (4fedbbd) - test case for catching invalid package resolution error (#21601) (c9b9359)
- bundled-dev: add worker test cases (#21557) (569bc98)
Beta Changelogs
8.0.0-beta.18 (2026-03-09)
8.0.0-beta.17 (2026-03-09)
8.0.0-beta.16 (2026-02-27)
8.0.0-beta.15 (2026-02-19)
8.0.0-beta.14 (2026-02-12)
8.0.0-beta.13 (2026-02-05)
8.0.0-beta.12 (2026-02-03)
8.0.0-beta.11 (2026-01-29)
8.0.0-beta.10 (2026-01-24)
8.0.0-beta.9 (2026-01-22)
8.0.0-beta.8 (2026-01-15)
8.0.0-beta.7 (2026-01-08)
8.0.0-beta.6 (2026-01-07)
8.0.0-beta.5 (2025-12-25)
8.0.0-beta.4 (2025-12-22)
8.0.0-beta.3 (2025-12-18)
8.0.0-beta.2 (2025-12-12)
8.0.0-beta.1 (2025-12-08)
8.0.0-beta.0 (2025-12-03)
Rolldown-Vite changelogs
Configuration
📅 Schedule: Branch creation - Between 12:00 AM and 03:59 AM, only on Monday ( * 0-3 * * 1 ) (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
- If you want to rebase/retry this PR, check this box
This PR has been generated by Renovate Bot.
Reviewed-on: https://git.erwanleboucher.dev/eleboucher/memini/pulls/34