Packages

vite

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

Upgrading vite From 5.4.8 to 8.3.8

135 releases in betweennotes for 133

Other targets from 5.4.8Newest 5.x5.4.21Clears its 18 advisories6.4.4
  1. 5.4.8yours
  2. 13 releases
  3. 6.0.0security
  4. 8 releases
  5. 6.0.9breaking
  6. 31 releases
  7. 6.4.2security
  8. 4 releases
  9. 7.0.0major
  10. 36 releases
  11. 8.0.0major
  12. 4 releases
  13. 8.0.5security
  14. 28 releases
  15. 8.3.4breaking
  16. 3 releases
  17. 8.3.8target
  18. 2 pre
42+
changes to make
18
advisories fixed
194+
new
551+
fixes

Counted from 133 of 135 release notes. Advisories are counted from the advisory database, in full.

Start here

Before you upgrade

Tick each one off as you go
  • Breaking8.3.4
  • Breaking8.0.0
  • Breaking8.0.0
  • Breaking8.0.0
  • Breaking8.0.0
  • Breaking7.0.0
  • Breaking7.0.0
  • Breaking7.0.0
  • Breaking7.0.0
  • Breaking7.0.0

Security

Fixes 18 advisories affecting 5.4.8

  • Avoid path traversal with optimize deps sourcemap handler

    8.0.5
  • Avoid path traversal with optimize deps sourcemap handler (#22161) (ca4da5d), closes #22161

    6.4.2
  • deps: upgrade rollup 4.22.4+ to ensure avoiding XSS

    6.0.0

Release by release

  1. 8.3.8

    11 Nov 20261 new · 3 fixes
    • New

      Defer net use until a UNC path is resolved on Windows

    • Fixed

      build: keep magicString and ast in transform hook meta

    • Fixed

      deps: update all non-major dependencies

    • Fixed

      Hide console window when running yarn config get on Windows

  2. 8.3.7nothing new or fixed in the note

  3. 8.3.6

    5 Nov 20261 new · 9 fixes
    • New

      build: remove preload link listeners on settle (fix #23920)

    • Fixed

      Await overlapping plugin container close calls

    • Fixed

      build: resolve dynamic imports with queries appended when collecting CSS dependencies

    • Fixed

      build: use stable module ids in chunk import map hash signatures (fix #23975)

  4. 8.3.5

    21 Oct 20262 fixes
    • Fixed

      build: handle missing chunk import maps

    • Fixed

      build: include preload dependencies to chunk import map hashing

  5. 8.3.4

    Migration needed8 Oct 20264 fixes
    • Breaking

      Remove input option unescaping for now

    • Fixed

      Avoid mutating hmr defaults (fix #23575)

    • Fixed

      build: correct preloads when chunkImportMap is enabled with non-root base

    • Fixed

      build: wait for in-flight stylesheets in preload helper (fix #23652)

    • Fixed

      Don't treat modules ending with js-like query as js

  6. 8.3.3

    6 Oct 20263 fixes
    • Fixed

      html: filename passed to transformIndexHtml should not include queries

    • Fixed

      server: check fs.serve for ?vite-wasm-instance

    • Fixed

      server: store ids to safeModulePaths rather than URLs

  7. 8.3.2

    1 Oct 20263 new · 4 fixes
    • New

      Avoid encoding intermediate source maps

    • New

      build: avoid quadratic link scan in the preload helper

    • New

      Only register time middleware when debug logging is enabled

    • Fixed

      build: preload CSS correctly when renderBuiltUrl returns URLs with queries

    • Fixed

      Limit size of object and array printing via forwardConsole

    • Fixed

      Merge build.rolldownOptions.output.minify correctly

    • Fixed

      Pass queries to renderBuiltUrl

  8. 8.3.1

    24 Sep 20262 fixes
    • Fixed

      Handle server.ws: false in mergeConfig

    • Fixed

      Merge build.rolldownOptions.output.comments correctly

6 other lines we could not sort, mostly version bumps

393 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.