Bump vite, @vitejs/plugin-react and vitest
Bumps vite, @vitejs/plugin-react and vitest. These dependencies needed to be updated together.
Updates vite from 4.3.9 to 7.1.5
Release notes
Sourced from vite's releases.
v7.1.5
Please refer to CHANGELOG.md for details.
v7.1.4
Please refer to CHANGELOG.md for details.
v7.1.3
Please refer to CHANGELOG.md for details.
v7.1.2
Please refer to CHANGELOG.md for details.
v7.1.1
Please refer to CHANGELOG.md for details.
[email protected]
Please refer to CHANGELOG.md for details.
[email protected]
Please refer to CHANGELOG.md for details.
[email protected]
Please refer to CHANGELOG.md for details.
v7.1.0
Please refer to CHANGELOG.md for details.
v7.1.0-beta.1
Please refer to CHANGELOG.md for details.
v7.1.0-beta.0
Please refer to CHANGELOG.md for details.
v7.0.7
Please refer to CHANGELOG.md for details.
v7.0.6
Please refer to CHANGELOG.md for details.
v7.0.5
Please refer to CHANGELOG.md for details.
v7.0.4
Please refer to CHANGELOG.md for details.
v7.0.3
Please refer to CHANGELOG.md for details.
[email protected]
Please refer to CHANGELOG.md for details.
... (truncated)
Changelog
Sourced from vite's changelog.
7.1.5 (2025-09-08)
Bug Fixes
- apply
fs.strictcheck to HTML files (#20736) (14015d7)- deps: update all non-major dependencies (#20732) (122bfba)
- upgrade sirv to 3.0.2 (#20735) (09f2b52)
7.1.4 (2025-09-01)
Bug Fixes
- add missing awaits (#20697) (79d10ed)
- deps: update all non-major dependencies (#20676) (5a274b2)
- deps: update all non-major dependencies (#20709) (0401feb)
- pass rollup watch options when building in watch mode (#20674) (f367453)
Miscellaneous Chores
Code Refactoring
7.1.3 (2025-08-19)
Features
- cli: add Node.js version warning for unsupported versions (#20638) (a1be1bf)
- generate code frame for parse errors thrown by terser (#20642) (a9ba017)
- support long lines in
generateCodeFrame(#20640) (1559577)Bug Fixes
- deps: update all non-major dependencies (#20634) (4851cab)
- optimizer: incorrect incompatible error (#20439) (446fe83)
- support multiline new URL(..., import.meta.url) expressions (#20644) (9ccf142)
Performance Improvements
Miscellaneous Chores
Code Refactoring
- replace startsWith with strict equality (#20603) (42816de)
- use
importin worker threads (#20641) (530687a)Tests
... (truncated)
Commits
5647540release: v7.1.509f2b52fix: upgrade sirv to 3.0.2 (#20735)14015d7fix: applyfs.strictcheck to HTML files (#20736)122bfbafix(deps): update all non-major dependencies (#20732)bcc3144release: v7.1.40401febfix(deps): update all non-major dependencies (#20709)537fcf9chore: remove unused constants entry from rolldown.config.ts (#20710)79d10edfix: add missing awaits (#20697)8099582refactor: remove unnecessaryminifyparameter fromfinalizeCss(#20701)f367453fix: pass rollup watch options when building in watch mode (#20674)- Additional commits viewable in compare view
Maintainer changes
This version was pushed to npm by [GitHub Actions](https://www.npmjs.com/~GitHub Actions), a new releaser for vite since your current version.
Updates @vitejs/plugin-react from 4.0.1 to 4.7.0
Release notes
Sourced from @vitejs/plugin-react's releases.
[email protected]
Add HMR support for compound components (#518)
HMR now works for compound components like this:
const Root = () => <div>Accordion Root</div> const Item = () => <div>Accordion Item</div>export const Accordion = { Root, Item }
Return
Plugin[]instead ofPluginOption[](#537)The return type has changed from
react(): PluginOption[]to more specialized typereact(): Plugin[]. This allows for type-safe manipulation of plugins, for example:// previously this causes type errors react({ babel: { plugins: ['babel-plugin-react-compiler'] } }) .map(p => ({ ...p, applyToEnvironment: e => e.name === 'client' }))[email protected]
Add raw Rolldown support
This plugin only worked with Vite. But now it can also be used with raw Rolldown. The main purpose for using this plugin with Rolldown is to use react compiler.
[email protected]
Suggest
@vitejs/plugin-react-oxcif rolldown-vite is detected #491Emit a log which recommends
@vitejs/plugin-react-oxcwhenrolldown-viteis detected to improve performance and use Oxc under the hood. The warning can be disabled by settingdisableOxcRecommendation: falsein the plugin options.Use
optimizeDeps.rollupOptionsinstead ofoptimizeDeps.esbuildOptionsfor rolldown-vite #489This suppresses the warning about
optimizeDeps.esbuildOptionsbeing deprecated in rolldown-vite.Add Vite 7-beta to peerDependencies range #497
React plugins are compatible with Vite 7, this removes the warning when testing the beta.
[email protected]
Add explicit semicolon in preambleCode #485
This fixes an edge case when using HTML minifiers that strips line breaks aggressively.
[email protected]
Add
filterfor rolldown-vite #470Added
filterso that it is more performant when running this plugin with rolldown-powered version of Vite.
... (truncated)
Changelog
Sourced from @vitejs/plugin-react's changelog.
4.7.0 (2025-07-18)
Add HMR support for compound components (#518)
HMR now works for compound components like this:
const Root = () => <div>Accordion Root</div> const Item = () => <div>Accordion Item</div>export const Accordion = { Root, Item }
Return
Plugin[]instead ofPluginOption[](#537)The return type has changed from
react(): PluginOption[]to more specialized typereact(): Plugin[]. This allows for type-safe manipulation of plugins, for example:// previously this causes type errors react({ babel: { plugins: ['babel-plugin-react-compiler'] } }) .map(p => ({ ...p, applyToEnvironment: e => e.name === 'client' }))4.6.0 (2025-06-23)
Add raw Rolldown support
This plugin only worked with Vite. But now it can also be used with raw Rolldown. The main purpose for using this plugin with Rolldown is to use react compiler.
4.5.2 (2025-06-10)
Suggest
@vitejs/plugin-react-oxcif rolldown-vite is detected #491Emit a log which recommends
@vitejs/plugin-react-oxcwhenrolldown-viteis detected to improve performance and use Oxc under the hood. The warning can be disabled by settingdisableOxcRecommendation: truein the plugin options.Use
optimizeDeps.rollupOptionsinstead ofoptimizeDeps.esbuildOptionsfor rolldown-vite #489This suppresses the warning about
optimizeDeps.esbuildOptionsbeing deprecated in rolldown-vite.Add Vite 7-beta to peerDependencies range #497
React plugins are compatible with Vite 7, this removes the warning when testing the beta.
4.5.1 (2025-06-03)
Add explicit semicolon in preambleCode #485
This fixes an edge case when using HTML minifiers that strips line breaks aggressively.
4.5.0 (2025-05-23)
... (truncated)
Commits
8041706release: [email protected]bbfd1b7chore: update changelog for #537fdc9d9afeat: add hmr support for compound components (#518)d14f31dfix(deps): update all non-major dependencies (#568)22be17fbuild: use tsdown for plugin-react / plugin-react-oxc (#554)840f0b1chore(deps): update prettier (#556)cfe2912fix(deps): update all non-major dependencies (#540)11f56d6fix: returnPlugin[]instead ofPluginOption[](#537)9da5e19fix(deps): update all non-major dependencies (#519)1583c5dchore: remove Vite 7 beta from supported range (#517)- Additional commits viewable in compare view
Updates vitest from 0.32.2 to 3.2.4
Release notes
Sourced from vitest's releases.
v3.2.4
🐞 Bug Fixes
- Use correct path for optimisation of strip-literal - by
@mrginglymusin vitest-dev/vitest#8139 (44940)- Print uint and buffer as a simple string - by
@sheremet-vain vitest-dev/vitest#8141 (b86bf)- browser:
- Show a helpful error when spying on an export - by
@sheremet-vain vitest-dev/vitest#8178 (56007)- cli:
vitest run --watchshould be watch-mode - by@AriPerkkioin vitest-dev/vitest#8128 (657e8)- Use absolute path environment on Windows - by
@colinaaain vitest-dev/vitest#8105 (85dc0)- Throw error when
--shard x/<count>exceeds count of test files - by@AriPerkkioin vitest-dev/vitest#8112 (8a18c)- coverage:
- Ignore SCSS in browser mode - by
@sheremet-vain vitest-dev/vitest#8161 (0c3be)- deps:
- Update all non-major dependencies - in vitest-dev/vitest#8123 (93f32)
- expect:
- Handle async errors in expect.soft - by
@lzl0304in vitest-dev/vitest#8145 (68699)- pool:
- Auto-adjust
minWorkerswhen onlymaxWorkersspecified - by@AriPerkkioin vitest-dev/vitest#8110 (14dc0)- reporter:
task.metashould be available in custom reporter's errors - by@AriPerkkioin vitest-dev/vitest#8115 (27df6)- runner:
- Preserve handler wrapping on extend - by
@pengooseDevin vitest-dev/vitest#8153 (a9281)- ui:
- Ensure ui config option works correctly - by
@lzl0304in vitest-dev/vitest#8147 (42eeb)View changes on GitHub
v3.2.3
🚀 Features
- browser: Use base url instead of vitest - by
@sheremet-vain vitest-dev/vitest#8126 (1d8eb)- ui: Show test annotations and metadata in the test report tab - by
@sheremet-vain vitest-dev/vitest#8093 (c69be)🐞 Bug Fixes
- Rerun tests when project's setup file is changed - by
@sheremet-vain vitest-dev/vitest#8097 (0f335)- Revert
expect.anyreturn type - by@sheremet-vain vitest-dev/vitest#8129 (47514)- Run only the name plugin last, not all config plugins - by
@sheremet-vain vitest-dev/vitest#8130 (83862)- pool:
- Throw if user's tests use
process.send()- by@AriPerkkioin vitest-dev/vitest#8125 (dfe81)- runner:
- Fast sequential task updates missing - by
@AriPerkkioin vitest-dev/vitest#8121 (7bd11)- Comments between fixture destructures - by
@AriPerkkioin vitest-dev/vitest#8127 (dc469)- vite-node:
- Unable to handle errors where sourcemap mapping empty - by
@blake-newmanand@hi-ogawain vitest-dev/vitest#8071 (8aa25)View changes on GitHub
v3.2.2
... (truncated)
Commits
c666d14chore: release v3.2.48a18c8efix(cli): throw error when--shard x/\<count>exceeds count of test files (#...8abd7ccchore(deps): updatetinypool(#8174)93f3200fix(deps): update all non-major dependencies (#8123)0c3be6ffix(coverage): ignore SCSS in browser mode (#8161)790bc31chore: update deprecation notice for globs (#8148)c0eae7dchore: update deprecated workspace file log (#8118)14dc072fix(pool): auto-adjustminWorkerswhen onlymaxWorkersspecified (#8110)85dc019fix(cli): use absolute path environment on Windows (#8105)27df68afix(reporter):task.metashould be available in custom reporter's errors (#...- Additional commits viewable in compare view
Maintainer changes
This version was pushed to npm by vitestbot, a new releaser for vitest since your current version.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the Security Alerts page.