Skip to content
This repository was archived by the owner on Sep 29, 2023. It is now read-only.

chore(deps): update dependency vite to v4#112

Open
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/vite-4.x
Open

chore(deps): update dependency vite to v4#112
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/vite-4.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Dec 9, 2022

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
vite (source) ^3.2.7 -> ^4.0.0 age adoption passing confidence

Release Notes

vitejs/vite (vite)

v4.4.9

Compare Source

v4.4.8

Compare Source

v4.4.7

Compare Source

v4.4.6

Compare Source

v4.4.5

Compare Source

v4.4.4

Compare Source

v4.4.3

Compare Source

v4.4.2

Compare Source

v4.4.1

Compare Source

v4.4.0

Compare Source

Experimental support for Lightning CSS

Starting from Vite 4.4, there is experimental support for Lightning CSS. You can opt into it by adding css.transformer: 'lightningcss' to your config file and install the optional lightningcss dev dependency. If enabled, CSS files will be processed by Lightning CSS instead of PostCSS.

Lightning CSS can also be used as the CSS minifier with build.cssMinify: 'lightningcss'.

See beta docs at the Lighting CSS guide.

esbuild 0.18 update

esbuild 0.18 contains backwards-incompatible changes to esbuild's handling of tsconfig.json files. We think they shouldn't affect Vite users, you can review #​13525 for more information.

Templates for Solid and Qwik in create-vite

New starter templates have been added to create-vite for Solid and Qwik. Try them online at vite.new/solid-ts and vite.new/qwik-ts.

Korean Translation

Vite's docs are now translated to Korean, available at ko.vitejs.dev.

Features
Bug Fixes
Previous Changelogs
4.4.0-beta.4 (2023-07-03)

See 4.4.0-beta.4 changelog

4.4.0-beta.3 (2023-06-25)

See 4.4.0-beta.3 changelog

4.4.0-beta.2 (2023-06-22)

See 4.4.0-beta.2 changelog

4.4.0-beta.1 (2023-06-21)

See 4.4.0-beta.1 changelog

4.4.0-beta.0 (2023-06-20)

See 4.4.0-beta.0 changelog

v4.3.9

Compare Source

v4.3.8

Compare Source

v4.3.7

Compare Source

v4.3.6

Compare Source

v4.3.5

Compare Source

v4.3.4

Compare Source

v4.3.3

Compare Source

v4.3.2

Compare Source

v4.3.1

Compare Source

v4.3.0

Compare Source

Vite 4.3 is out! Read the announcement blog post here

Vite 4.3, It's Fast

In this minor, we focused on improving the dev server performance. The resolve logic got streamlined, improving hot paths and implementing smarter caching for finding package.json, TS config files, and resolved URL in general.

You can read a detailed walkthrough of the performance work done in this blog post by one of Vite Contributors: How we made Vite 4.3 faaaaster 🚀.

This sprint resulted in speed improvements across the board compared to Vite 4.2.

These are the performance improvements as measured by sapphi-red/performance-compare, which tests an app with 1000 React Components cold and warm dev server startup time as well as HMR times for a root and a leaf component:

Vite (babel) Vite 4.2 Vite 4.3 Improvement
dev cold start 17249.0ms 5132.4ms -70.2%
dev warm start 6027.8ms 4536.1ms -24.7%
Root HMR 46.8ms 26.7ms -42.9%
Leaf HMR 27.0ms 12.9ms -52.2%
Vite (swc) Vite 4.2 Vite 4.3 Improvement
dev cold start 13552.5ms 3201.0ms -76.4%
dev warm start 4625.5ms 2834.4ms -38.7%
Root HMR 30.5ms 24.0ms -21.3%
Leaf HMR 16.9ms 10.0ms -40.8%

You can read more information about the benchmark here

Features
Performance

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), 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 Mend Renovate. View repository job log here.

@renovate
Copy link
Copy Markdown
Contributor Author

renovate Bot commented Dec 9, 2022

⚠ Artifact update problem

Renovate failed to update artifacts related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: sites/mock/package-lock.json
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR! 
npm ERR! While resolving: @vitejs/plugin-react@2.1.0
npm ERR! Found: vite@4.3.9
npm ERR! node_modules/vite
npm ERR!   dev vite@"^4.0.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer vite@"^3.0.0" from @vitejs/plugin-react@2.1.0
npm ERR! node_modules/@vitejs/plugin-react
npm ERR!   dev @vitejs/plugin-react@"^2.1.0" from the root project
npm ERR! 
npm ERR! Conflicting peer dependency: vite@3.2.7
npm ERR! node_modules/vite
npm ERR!   peer vite@"^3.0.0" from @vitejs/plugin-react@2.1.0
npm ERR!   node_modules/@vitejs/plugin-react
npm ERR!     dev @vitejs/plugin-react@"^2.1.0" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR! 
npm ERR! See /tmp/worker/3ebe78/ed8134/cache/others/npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /tmp/worker/3ebe78/ed8134/cache/others/npm/_logs/2023-06-08T07_07_21_733Z-debug-0.log

File name: interface/package-lock.json
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR! 
npm ERR! While resolving: @vitejs/plugin-react@2.1.0
npm ERR! Found: vite@4.3.9
npm ERR! node_modules/vite
npm ERR!   dev vite@"^4.0.0" from the root project
npm ERR!   peer vite@">=2.9.0" from vite-plugin-dts@1.6.6
npm ERR!   node_modules/vite-plugin-dts
npm ERR!     dev vite-plugin-dts@"1.6.6" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer vite@"^3.0.0" from @vitejs/plugin-react@2.1.0
npm ERR! node_modules/@vitejs/plugin-react
npm ERR!   dev @vitejs/plugin-react@"2.1.0" from the root project
npm ERR! 
npm ERR! Conflicting peer dependency: vite@3.2.7
npm ERR! node_modules/vite
npm ERR!   peer vite@"^3.0.0" from @vitejs/plugin-react@2.1.0
npm ERR!   node_modules/@vitejs/plugin-react
npm ERR!     dev @vitejs/plugin-react@"2.1.0" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR! 
npm ERR! See /tmp/worker/3ebe78/ed8134/cache/others/npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /tmp/worker/3ebe78/ed8134/cache/others/npm/_logs/2023-06-08T07_07_30_529Z-debug-0.log

@renovate renovate Bot changed the title chore(deps): update dependency vite to v4 Update dependency vite to v4 Dec 17, 2022
@renovate renovate Bot changed the title Update dependency vite to v4 chore(deps): update dependency vite to v4 Dec 17, 2022
@renovate renovate Bot force-pushed the renovate/vite-4.x branch from 61b4dba to da4de82 Compare December 19, 2022 14:35
@renovate renovate Bot force-pushed the renovate/vite-4.x branch 2 times, most recently from 367c557 to d3a2a0d Compare January 13, 2023 14:36
@renovate renovate Bot force-pushed the renovate/vite-4.x branch 2 times, most recently from be0e06c to 32e79b1 Compare February 7, 2023 06:26
@renovate renovate Bot force-pushed the renovate/vite-4.x branch 4 times, most recently from 1d04d62 to ea237b3 Compare February 15, 2023 20:03
@renovate renovate Bot force-pushed the renovate/vite-4.x branch 5 times, most recently from c7bb8f0 to 2ca7161 Compare February 25, 2023 03:28
@renovate renovate Bot force-pushed the renovate/vite-4.x branch from 2ca7161 to 778bae7 Compare February 28, 2023 05:39
@renovate renovate Bot force-pushed the renovate/vite-4.x branch 3 times, most recently from e3b223c to 04fd39e Compare May 12, 2023 17:55
@renovate renovate Bot changed the title chore(deps): update dependency vite to v4 chore(deps): update dependency vite to v4 - autoclosed Jun 6, 2023
@renovate renovate Bot closed this Jun 6, 2023
@renovate renovate Bot deleted the renovate/vite-4.x branch June 6, 2023 06:39
@renovate renovate Bot changed the title chore(deps): update dependency vite to v4 - autoclosed chore(deps): update dependency vite to v4 Jun 8, 2023
@renovate renovate Bot restored the renovate/vite-4.x branch June 8, 2023 06:58
@renovate renovate Bot reopened this Jun 8, 2023
@renovate renovate Bot force-pushed the renovate/vite-4.x branch from 04fd39e to c43af53 Compare June 8, 2023 07:07
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants