note: la synthèse et les notes de version sont en anglais
ok: mise à jour sûre
0 breaking change4 points clés
Vite 8.3.0 adds a preload performance improvement and fixes CRLF code frames and node_modules matching.
points clés
- note[1]: Preload handling avoids settling dependencies that were already seen, which improves build performance.release-notes:3
- note[2]: Proxy context matchers are now pre-compiled when the server is created.release-notes:12
- note[3]: Only whole
node_modulespath segments are now treated as dependencies.release-notes:8 - note[4]: Code frame positions are now handled correctly for files with CRLF line endings.release-notes:7
release-notesgithub.com/vitejs/vite · 12 lignes
- ### Features
- * **build:** avoid settling seen preload dependencies for performance ([#23446](https://github.com/vitejs/vite/issues/23446)) ([e6f6b3e](https://github.com/vitejs/vite/commit/e6f6b3e3119256daa837b2dc399058c8aa45b470))
- ### Bug Fixes
- * handle CRLF line endings in code frame positions ([#23219](https://github.com/vitejs/vite/issues/23219)) ([9913672](https://github.com/vitejs/vite/commit/9913672bee9c34a2df7fff4c2538783cd4f43b4e))
- * only treat whole `node_modules` path segments as dependencies (fix [#17467](https://github.com/vitejs/vite/issues/17467)) ([#23437](https://github.com/vitejs/vite/issues/23437)) ([ef0dc17](https://github.com/vitejs/vite/commit/ef0dc17ada53d1169ae5a89cb8f6482831466755))
- ### Performance Improvements
- * **proxy:** pre-compile context matchers at server creation ([#23263](https://github.com/vitejs/vite/issues/23263)) ([8abf700](https://github.com/vitejs/vite/commit/8abf700eeb2411d8402d08f8e2696effafdbe774))