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:
^3.1.0
->^4.0.0
^0.31.1
->^1.0.0
^8.8.0
->^9.0.0
^4.2.1
->^5.0.0
^4.0.2
->^5.0.0
^0.151.2
->^0.162.0
^0.31.1
->^1.0.0
Release Notes
vitejs/vite-plugin-react (@vitejs/plugin-react)
v4.2.1
Compare Source
Remove generic parameter on
Plugin
to avoid type error with Rollup 4/Vite 5 andskipLibCheck: false
.I expect very few people to currently use this feature, but if you are extending the React plugin via
api
object, you can get back the typing of the hook by importingViteReactPluginApi
:v4.2.0
Compare Source
Update peer dependency range to target Vite 5
There were no breaking change that impacted this plugin, so any combination of React plugins and Vite core version will work.
Align jsx runtime for optimized dependencies
This will only affect people using internal libraries that contains untranspiled JSX. This change aligns the optimizer with the source code and avoid issues when the published source don't have
React
in the scope.Reminder: While being partially supported in Vite, publishing TS & JSX outside of internal libraries is highly discouraged.
v4.1.1
Compare Source
v4.1.0
Compare Source
@types/babel__cores
to dependencies (fix #211)@babel/core
#212index.d.cts
file so you don't get types errors when settingmoduleResolution
tonode16
ornodenext
in your tsconfig (we recommend usingbundler
which is more close to how Vite works)v4.0.4
Compare Source
v4.0.3
Compare Source
v4.0.2
Compare Source
v4.0.1
Compare Source
v4.0.0
Compare Source
This major version include a revamp of options:
include
/exclude
now allow to completely override the files processed by the plugin (#122). This is more in line with other Rollup/Vite plugins and simplify the setup of enabling Fast Refresh for.mdx
files. This can be done like this:These changes also allow to apply Babel plugins on files outside Vite root (expect in node_modules), which improve support for monorepo (fix #16).
With these changes, only the file extensions is used for filtering processed files and the query param fallback is removed.
fastRefresh
is removed (#122). This should be correctly activated by plugin without configuration.jsxPure
is removed. This is a niche use case that was just passing down the boolean to esbuild.jsxSideEffects. (#129)The support for React auto import whe using classic runtime is removed. This was prone to errors and added complexity for no good reason given the very wide support of automatic runtime nowadays. This migration path should be as simple as removing the runtime option from the config.
This release goes in hand with the upcoming Vite 4.3 release focusing on performances:
Other notable changes:
vitest-dev/vitest (@vitest/ui)
v1.3.1
Compare Source
🚀 Features
🐞 Bug Fixes
View changes on GitHub
v1.3.0
Compare Source
🚀 Features
snapshotSerializers
option - by @fenghan34 in https://github.com/vitest-dev/vitest/issues/5092 (5b102)🐞 Bug Fixes
poolOptions
- by @penalosa in https://github.com/vitest-dev/vitest/issues/5221 (bc5b2)coverage.reportsDirectory
with multiple directories - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5056 (ae73f)--browser=<name>
correctly - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5179 (656e2).tmp
directory conflicts with--shard
option - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5184 (5749d)defineWorkspace
- by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5089 (0bf52)jsdom
variable - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5164 (0f898)optimizeDeps.disabled
warnings on Vite 5.1 - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5215 (1aecd)disableConsoleIntercept
config - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5074 (a55ad)View changes on GitHub
v1.2.2
Compare Source
🐞 Bug Fixes
coverage/.tmp
files after run - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5008 (d53b8)toThrow(asymmetricMatcher)
failure message - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5000 (a199a)VITEST_POOL_ID
- by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5002 (7d0a4)ignoreSourceErrors
in run mode - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5044 (6dae3)useFakeTimers
to fakerequestIdleCallback
on non browser - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5028 (a9a48)import.meta.resolve
- by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5045 (cf564)View changes on GitHub
v1.2.1
Compare Source
🐞 Bug Fixes
thresholds.autoUpdate
to work with arrow function configuration files - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/4959 (4b411)AsymmetricMatcher
- by @hi-ogawa and @sheremet-va in https://github.com/vitest-dev/vitest/issues/4942 (06bae)await vi.hoisted
- by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/4962 (dcf2e)View changes on GitHub
v1.2.0
Compare Source
🚀 Features
--disable-console-intercept
option to allow opting-out from automatic console log interception - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/4786 (43fa6)🐞 Bug Fixes
server.headers
- by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/4890 (55f53)testNamePattern
config - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/4909 (4add9)objDisplay
default truncate option fortest.each
title - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/4917 (9ae9d)process.exit
is called inside the test - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/4903 (8e6c1)pool
andpoolOptions
on project level - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/4765 (e9fe4)View changes on GitHub
v1.1.3
Compare Source
🐞 Bug Fixes
slowTestThreshold
to all reporters - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/4876 (1769c)View changes on GitHub
v1.1.2
Compare Source
🐞 Bug Fixes
expect(...).toMatchFileSnapshot()
matcher. - by @zmullett, Zac Mullett and @sheremet-va in https://github.com/vitest-dev/vitest/issues/4839 (b8140)Promise
inmockImplementation
if it's not in the function signature - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/4859 (072e0)vi.mock
is called - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/4862 (e12a5)memoryLimit
- by @inottn and @AriPerkkio in https://github.com/vitest-dev/vitest/issues/4802 (70e8a)View changes on GitHub
v1.1.1
Compare Source
🐞 Bug Fixes
inline: true
is set - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/4815 (8f622)--no-parallelism
- by @bonyuta0204 in https://github.com/vitest-dev/vitest/issues/4831 (5053a)skip
- by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/4814 (19faf)beforeAll/afterAll
errors in junit reporter - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/4819 (2baea)View changes on GitHub
v1.1.0
Compare Source
🚀 Features
--workspace
option, fix root resolution in workspaces - by @sheremet-va and @AriPerkkio in https://github.com/vitest-dev/vitest/issues/4773 (67d93)--no-file-parallelism
,--maxWorkers
,--minWorkers
flags - by @sheremet-va and @AriPerkkio in https://github.com/vitest-dev/vitest/issues/4705 (fd5d7)--no-isolate
flag to improve performance, add documentation about performance - by @sheremet-va, @AriPerkkio and Pascal Jufer in https://github.com/vitest-dev/vitest/issues/4777 (4d55a)--exclude
CLI flag - by @Namchee and @sheremet-va in https://github.com/vitest-dev/vitest/issues/4279 (f859e)🐞 Bug Fixes
toHaveProperty
assertion error diff - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/4734 (f8f70)defineWorkspace
fix intellisense and report type errors - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/4743 (9cc36)View changes on GitHub
v1.0.4
Compare Source
The previous release was built incorrectly and didn't include the performance fix. This release fixes that.
🐞 Bug Fixes
--coverage.all=false
resolved incorrectly - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/4697 (a7931)🏎 Performance
log-update
to v5 - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/4711 (13ff9)View changes on GitHub
v1.0.3
Compare Source
🐞 Bug Fixes
Configuration
📅 Schedule: Branch creation - "before 4am on the first day of the month" (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.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Mend Renovate. View repository job log here.