Packages

vite

8.3.8 · 11 Nov 2026MIT286.5M / weekRepositoryHomepagenpmAtom feed

Your version

7.1.0

7 Aug 2025Where it was published

7.3.8 is the newest release of 7.x.

Summary· from the note as AI read it

Migration neededRead before upgrading: 1 change to make.

Before you upgrade

  • Check SSR externalized package resolution with new module-sync default condition

Deprecated

  • Plan to move off server.pluginContainer usage
  • Plan to move off server.reloadModule usage
  • Plan to move off server.warmupRequest usage
  • Plan to move off ssrFixStacktrace and ssrRewriteStacktrace
  • Plan to stop relying on the ssr argument in plugin hooks
  • Plan to move off server.hot usage

New

  • support files with more than 1000 lines by generateCodeFrame
  • add import.meta.main support in config (bundle config loader)
  • optimizer: improve dependency optimization error messages with esbuild formatMessages
  • ssr: add import.meta.main support for Node.js module runner
  • add future: 'warn'

In short

1 breaking6 deprecated11 new1 faster15 fixed13 internal

  • Breaking

    ssr: resolve externalized packages with resolve.externalConditions and add module-sync to default external condition

  • Deprecated

    add removeServerPluginContainer future deprecation

  • Deprecated

    add removeServerReloadModule future deprecation

  • Deprecated

    add server.warmupRequest to future deprecation

  • Deprecated

    add ssrFixStacktrace / ssrRewriteStacktrace to removeSsrLoadModule future deprecation

  • Deprecated

    implement removePluginHookSsrArgument future deprecation

  • Deprecated

    implement removeServerHot future deprecation

Security

13 advisories affect 7.1.0; 7.3.7 fixes them

8 more

Release note

The section about vite of a note shared by several packages.

Features

  • Support files with more than 1000 lines by generateCodeFrame

  • Add import.meta.main support in config (bundle config loader)

  • optimizer: improve dependency optimization error messages with esbuild formatMessages

  • ssr: add import.meta.main support for Node.js module runner

  • Add future: 'warn'

  • Add removeServerPluginContainer future deprecation

  • Add removeServerReloadModule future deprecation

  • Add server.warmupRequest to future deprecation

  • Add ssrFixStacktrace / ssrRewriteStacktrace to removeSsrLoadModule future deprecation

  • client: ping from SharedWorker

  • dev: add this.fs support

  • Export defaultExternalConditions

  • Implement removePluginHookSsrArgument future deprecation

  • Implement removeServerHot future deprecation

  • Resolve server URLs before calling other listeners

  • ssr: resolve externalized packages with resolve.externalConditions and add module-sync to default external condition

  • ssr: support import.meta.resolve in module runner

Bug Fixes

  • css: avoid warnings for image-set containing __VITE_ASSET__

  • css: empty CSS entry points should generate CSS files, not JS files

  • dev: denied request stalled when requested concurrently

  • manifest: initialize entryCssAssetFileNames as an empty Set

  • Skip prepareOutDirPlugin in workers

  • asset: only watch existing files for new URL(, import.meta.url)

  • client: keep ping on WS constructor error

  • deps: update all non-major dependencies

  • Don't resolve as relative for specifiers starting with a dot

  • html: allow control character in input stream

  • Merge old and new noExternal: true correctly

  • deps: update all non-major dependencies

  • dev: denied requests overly

  • hmr: register css deps as type: asset

  • optimizer: discover correct jsx runtime during scan

  • preview: set correct host for resolvedUrls

  • worker: resolve WebKit compat with inline workers by deferring blob URL revocation

Performance Improvements

  • client: reduce reload debounce

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.