Skip to content

vite 7.1.0

7.1.0 (2025-08-07)

Features

  • support files with more than 1000 lines by generateCodeFrame (#20508) (e7d0b2a)
  • add import.meta.main support in config (bundle config loader) (#20516) (5d3e3c2)
  • optimizer: improve dependency optimization error messages with esbuild formatMessages (#20525) (d17cfed)
  • ssr: add import.meta.main support for Node.js module runner (#20517) (794a8f2)
  • add future: 'warn' (#20473) (e6aaf17)
  • add removeServerPluginContainer future deprecation (#20437) (c1279e7)
  • add removeServerReloadModule future deprecation (#20436) (6970d17)
  • add server.warmupRequest to future deprecation (#20431) (8ad388a)
  • add ssrFixStacktrace / ssrRewriteStacktrace to removeSsrLoadModule future deprecation (#20435) (8c8f587)
  • client: ping from SharedWorker (#19057) (5c97c22)
  • dev: add this.fs support (#20301) (0fe3f2f)
  • export defaultExternalConditions (#20279) (344d302)
  • implement removePluginHookSsrArgument future deprecation (#20433) (95927d9)
  • implement removeServerHot future deprecation (#20434) (259f45d)
  • resolve server URLs before calling other listeners (#19981) (45f6443)
  • ssr: resolve externalized packages with resolve.externalConditions and add module-sync to default external condition (#20409) (c669c52)
  • ssr: support import.meta.resolve in module runner (#20260) (62835f7)

Bug Fixes

  • css: avoid warnings for image-set containing __VITE_ASSET__ (#20520) (f1a2635)
  • css: empty CSS entry points should generate CSS files, not JS files (#20518) (bac9f3e)
  • dev: denied request stalled when requested concurrently (#20503) (64a52e7)
  • manifest: initialize entryCssAssetFileNames as an empty Set (#20542) (6a46cda)
  • skip prepareOutDirPlugin in workers (#20556) (97d5111)
  • asset: only watch existing files for new URL(, import.meta.url) (#20507) (1b211fd)
  • client: keep ping on WS constructor error (#20512) (3676da5)
  • deps: update all non-major dependencies (#20537) (fc9a9d3)
  • don't resolve as relative for specifiers starting with a dot (#20528) (c5a10ec)
  • html: allow control character in input stream (#20483) (c12a4a7)
  • merge old and new noExternal: true correctly (#20502) (9ebe4a5)
  • deps: update all non-major dependencies (#20489) (f6aa04a)
  • dev: denied requests overly (#20410) (4be5270)
  • hmr: register css deps as type: asset (#20391) (7eac8dd)
  • optimizer: discover correct jsx runtime during scan (#20495) (10d48bb)
  • preview: set correct host for resolvedUrls (#20496) (62b3e0d)
  • worker: resolve WebKit compat with inline workers by deferring blob URL revocation (#20460) (8033e5b)

Performance Improvements

Miscellaneous Chores

Code Refactoring

Tests

Beta Changelogs