Packages

vite

8.3.8 · 11 Nov 2026MIT285.1M / weekRepositoryHomepagenpmAtom feed

Upgrading vite From 4.4.12 to 6.4.5

126 releases in betweennotes for 124

Other targets from 4.4.12Newest 4.x4.5.14Clears its 22 advisories6.4.4Latest8.3.8
5.0.0 has no release note on GitHub or in the repository's changelog, so its breaking changes are missing from the counts below; the migration guide covers them.
  1. 4.4.12yours
  2. 14 releases
  3. 5.0.0major
  4. 18 releases
  5. 5.1.5security
  6. 47 releases
  7. 6.0.0security
  8. 8 releases
  9. 6.0.9breaking
  10. 31 releases
  11. 6.4.2security
  12. 2 releases
  13. 6.4.5target
21+
changes to make
22
advisories fixed
106+
new
444+
fixes

Counted from 124 of 126 release notes. Advisories are counted from the advisory database, in full.

Start here

Before you upgrade

Tick each one off as you go
  • Breaking6.0.9
  • Breaking6.0.9
  • Breaking6.0.0
  • Breaking6.0.0
  • Breaking6.0.0
  • Breaking6.0.0
  • Breaking6.0.0
  • Breaking6.0.0
  • Breaking6.0.0
  • Breaking6.0.0

Security

Fixes 22 advisories affecting 4.4.12

  • 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
  • __vite__mapDeps code injection (#15732) (aff54e1), closes #15732

    5.1.5

Release by release

  1. 6.4.5

    21 Oct 20261 fix
    • Fixed

      Check server.fs after stripping query as well (#22160) (#23855) (91e40d7), closes #22160 #23855

  2. 6.4.4

    6 Oct 20263 fixes
    • Fixed

      html: Filename passed to transformIndexHtml should not include queries (#23653) (19902cf), closes #23653

    • Fixed

      server: Check resolved ids for transform access (#20410) (eec6464), closes #20410

    • Fixed

      server: Store ids to safeModulePaths rather than URLs (#23656) (e570d8d), closes #23656

  3. 6.4.3

    1 Jun 20261 fix
  4. 6.4.2

    Security fix6 Apr 20261 fix
    • Security

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

    • Fixed

      Apply server.fs check to env transport (#22159) (#22163) (fe28e47), closes #22159 #22163

  5. 6.4.1

    20 Oct 20251 fix
    • Fixed

      dev: Trim trailing slash before server.fs.deny check (#20968) (#20969) (1114b5d), closes #20968 #20969

  6. 6.4.0

    15 Oct 20251 new
    • New

      Allow passing down resolved config to vite's createServer (#20932) (ca6455e), closes #20932

  7. 6.3.7

    14 Oct 20251 fix
    • Fixed

      esbuild: Inject esbuild helpers correctly for esbuild 0.25.9+ (#20940) (c59a222), closes #20940

  8. 6.3.6

    8 Sep 20252 fixes
    • Fixed

      Apply fs.strict check to HTML files (#20736) (0ab19ea), closes #20736

    • Fixed

      Upgrade sirv to 3.0.2 (#20735) (e11d240), closes #20735

6 other lines we could not sort, mostly version bumps
  • Unpin esbuild version

    6.0.6
  • Update moduleResolution value casing

    6.0.1
  • Use chokidar v3

    6.0.0
  • fix(logger): truncate log over 5000 characters long (#16581) (#17729) (f4f488f), closes #16581 #17729

    5.3.5
  • perf: use workspace root for fs cache (#15712) (#16476) (77e7359), closes #15712 #16476

    5.2.10
  • "fix: upgrade esbuild to 0.20.x" (#16072) (11cceea), closes #16072

    5.1.5

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