chore(deps): update vite monorepo (major) - autoclosed #809
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
4.5.0->5.0.03.0.2->3.2.46.3.5->7.1.03.0.2->3.2.4Release Notes
vitejs/vite-plugin-react (@vitejs/plugin-react)
v5.0.0Compare Source
v4.7.0Compare Source
Add HMR support for compound components (#518)
HMR now works for compound components like this:
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:v4.6.0Compare Source
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.
v4.5.2Compare Source
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.
v4.5.1Compare Source
Add explicit semicolon in preambleCode #485
This fixes an edge case when using HTML minifiers that strips line breaks aggressively.
v4.5.0Compare Source
Add
filterfor rolldown-vite #470Added
filterso that it is more performant when running this plugin with rolldown-powered version of Vite.Skip HMR for JSX files with hooks #480
This removes the HMR warning for hooks with JSX.
v4.4.1Compare Source
Fix type issue when using
moduleResolution: "node"in tsconfig #462v4.4.0Compare Source
Make compatible with rolldown-vite
This plugin is now compatible with rolldown-powered version of Vite.
Note that currently the
__sourceproperty value position might be incorrect. This will be fixed in the near future.vitest-dev/vitest (@vitest/coverage-v8)
v3.2.4Compare Source
🐞 Bug Fixes
vitest run --watchshould be watch-mode - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/8128 (657e8)--shard x/<count>exceeds count of test files - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/8112 (8a18c)minWorkerswhen onlymaxWorkersspecified - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/8110 (14dc0)task.metashould be available in custom reporter's errors - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/8115 (27df6)View changes on GitHub
v3.2.3Compare Source
🚀 Features
🐞 Bug Fixes
expect.anyreturn type - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8129 (47514)process.send()- by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/8125 (dfe81)View changes on GitHub
v3.2.2Compare Source
🚀 Features
🐞 Bug Fixes
createTesterscall on the main thread - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8101 (142c7)vitest-browser-*packages - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8103 (247ef)toEqual- by @dubzzz in https://github.com/vitest-dev/vitest/issues/8094 (02ec8)dotreporter to work in non interactive terminals - by @bstephen1 and @AriPerkkio in https://github.com/vitest-dev/vitest/issues/7994 (6db9f)View changes on GitHub
v3.2.1Compare Source
🐞 Bug Fixes
DeeplyAllowMatchers- by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8078 (30ab4)View changes on GitHub
v3.2.0Compare Source
🚀 Features
ctx.signal- by @sheremet-va in https://github.com/vitest-dev/vitest/issues/7878 (e761f)test.name- by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/7809 (4af5d)vi.mockObjectto automock any object - by @hi-ogawa and @sheremet-va in https://github.com/vitest-dev/vitest/issues/7761 (465bd)watchTriggerPatternsoption - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/7778 (a0675)workspacein favor ofprojects- by @sheremet-va and @AriPerkkio in https://github.com/vitest-dev/vitest/issues/7923 (41beb)sequence.groupOrderoption - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/7852 (d1a1d)connectoption forplaywrightbrowser provider - by @egfx-notifications and @sheremet-va in https://github.com/vitest-dev/vitest/issues/7915 (029c0)screenshot.saveoption - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/7777 (d9f51)onWritePathoption togithub-actions- by @nwalters512 and @AriPerkkio in https://github.com/vitest-dev/vitest/issues/8015 (abd3b)🐞 Bug Fixes
micromatchwithpicomatch- by @sapphi-red in https://github.com/vitest-dev/vitest/issues/7951 (df076)anytypes toAsymmetricMatcher<unknown>, withDeeplyAllowMatchers<T>- by @JoshuaKGoldberg in https://github.com/vitest-dev/vitest/issues/7016 (8ec44)stackproperties - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/7995 (330f9)toJSONserialisation - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8053 (3bdf0)uploadfiles relative to the project root - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8042 (b9a31)thistype tolocators.extend- by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8069 (70fb0)--silentvalues properly - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/8055 (8fad7)@types/chai- by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7937 (525f5)vitest listcommand - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/7933 (ba6da)__vite_ssr_exportName__- by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7925 (76091)getWorkerMemoryLimitpriority for vmForks - by @pengooseDev in https://github.com/vitest-dev/vitest/issues/7960 (5a91e)View changes on GitHub
v3.1.4Compare Source
🐞 Bug Fixes
View changes on GitHub
v3.1.3Compare Source
🐞 Bug Fixes
inline: trueis set - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/7856 (a83f3)--merge-reportsto show each total run times - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/7877 (d613b)View changes on GitHub
v3.1.2Compare Source
🐞 Bug Fixes
chaivariable invitest/globals(fix: #7474) - by @Jay-Karia in https://github.com/vitest-dev/vitest/issues/7771 and https://github.com/vitest-dev/vitest/issues/7474 (d9297)test.excludewhen same object passed incoverage.exclude- by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/7774 (c3751)envionmentOptions- by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7795 (67430)awaitprofiler calls - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/7763 (795a6)🏎 Performance
View changes on GitHub
v3.1.1Compare Source
🐞 Bug Fixes
View changes on GitHub
v3.1.0Compare Source
🚀 Features
%$option to add number of the test to its title - by @kemuridama in https://github.com/vitest-dev/vitest/issues/7412 (df347)diff.maxDepthoption and set non-Infinityvalue as a default to reduce crash - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7481 (eacab)test.each/fortitle formatting - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7522 (ea3d6)--configLoaderCLI option - by @Carnageous and @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7574 (2a852)vitest-browser-littovitest init browserand docs - by @EskiMojo14 and @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7705 (5659a)and,orandfilterlocators - by @sheremet-va and @AriPerkkio in https://github.com/vitest-dev/vitest/issues/7463 (63949)--silent=passed-onlyto log failed tasks only - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/7530 (f9e1c)test.scopedto overridetest.extendfixtures per-suite - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/7233 (e5851)context.skip(boolean)- by @sheremet-va and @AriPerkkio in https://github.com/vitest-dev/vitest/issues/7659 (6adec)🐞 Bug Fixes
diff.expand: falseas default - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7697 (f3420)--hideSkippedTestsshould hide suites too - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/7695 (ba9b5)🏎 Performance
View changes on GitHub
v3.0.9Compare Source
🐞 Bug Fixes
ctx.skip()asnever- by @sirlancelot in https://github.com/vitest-dev/vitest/issues/7608 (09f35)resolveConfigAPI - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7623 (db14a)toHaveBeenCalledWith(asymmetricMatcher)withundefinedarguments - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7624 (0fb21)getState().testPathduring collection with no isolation - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7640 (3fb3f)Configuration
📅 Schedule: Branch creation - "after 5pm" in timezone Europe/London, Automerge - "before 9am" in timezone Europe/London.
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.