Packages

vite

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

Upgrading vite From 8.0.7 to 8.1.6

16 releases in betweenevery note read

Other targets from 8.0.7Newest 8.x, Latest8.3.8
  1. 8.0.7yours
  2. 15 releases
  3. 8.1.6target

Before you upgrade

Tick each one off as you go
  • Deprecated8.1.0

Security

Release by release

  1. 8.1.6

    6 Oct 20262 fixes
    • Fixed

      html: filename passed to transformIndexHtml should not include queries

    • Fixed

      server: store ids to safeModulePaths rather than URLs

  2. 8.1.5

    16 Jul 20267 fixes
    • Fixed

      bundled-dev: avoid duplicated buildEnd

    • Fixed

      client: overlay error message format align rolldown

    • Fixed

      deps: update all non-major dependencies

    • Fixed

      deps: update rolldown-related dependencies

    • Fixed

      module-runner: don't crash stack-trace source mapping when globalThis.Buffer is absent

    • Fixed

      optimizer: respect importer module format for dynamic import interop with CJS deps

    • Fixed

      ssr: scope switch-case declarations to the switch, not the function

  3. 8.1.4

    9 Jul 20262 new · 5 fixes
    • New

      legacy: prefer oxc as minifier (fix #21973)

    • New

      build: add workaround for building on stackblitz

    • Fixed

      build: keep import.meta.url in preload function as-is

    • Fixed

      html: avoid backtracking in import-only check

    • Fixed

      optimizer: avoid optimizer run for transform request before init

    • Fixed

      ssr: align named export function call stacktrace column with Node

    • Fixed

      Strip pure CSS chunk imports when chunkImportMap is enabled

  4. 8.1.3

    2 Jul 20263 fixes
    • Fixed

      css: inject inlined CSS after the shebang line

    • Fixed

      Preload css for nested dynamic imports

    • Fixed

      ssr: correct stacktrace column position for first line

  5. 8.1.2

    30 Jun 20263 fixes
    • Fixed

      deps: revert es-module-lexer to 2.1.0

    • Fixed

      Restore, "fix: resolve pnpm .modules.yaml from workspace root instead of cwd (#22757)"

    • Fixed

      Revert, "fix: escape ids with multiple null bytes (#22687)"

  6. 8.1.1

    30 Jun 20261 new · 14 fixes
    • New

      Update dynamic import warning to link to Vite docs

    • Fixed

      bundled-dev: avoid stack overflow on import.meta.hot.invalidate()

    • Fixed

      bundled-dev: serve assets emitted during HMR/lazy compile

    • Fixed

      bundledDev: skip plugin transform hooks for rolldown-lazy stub modules

  7. 8.1.0

    Deprecation23 Jun 202614 new · 13 fixes
    • Deprecated

      Warn on deprecated envFile

    • New

      Extend server.fs.deny list with common files

    • New

      Use ~ for Rolldown

    • New

      import.meta.glob support caseSensitive option

  8. 8.0.16

    1 Jun 20262 fixes
    • Fixed

      deps: reject UNC paths for launch-editor-middleware

    • Fixed

      Reject windows alternate paths

65 internal lines (docs, tests, tooling) left out.

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.