Packages

vite

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

Upgrading vite From 4.4.2 to 6.4.4

135 releases in betweennotes for 133

Other targets from 4.4.2Newest 4.x4.5.14Latest8.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.2yours
  2. 24 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. 1 release
  13. 6.4.4target
21+
changes to make
23
advisories fixed
116+
new
493+
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
  • 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

1 advisory still affects 6.4.4

Upgrading to 6.4.5 clears it.

Fixes 23 advisories affecting 4.4.2

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

  2. 6.4.3

    1 Jun 20261 fix
  3. 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

  4. 6.4.1

    20 Oct 20251 fix
    • Fixed

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

  5. 6.4.0

    15 Oct 20251 new
    • New

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

  6. 6.3.7

    14 Oct 20251 fix
    • Fixed

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

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

  8. 6.3.5

    5 May 20251 fix
    • Fixed

      ssr: handle uninitialized export access as undefined

7 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
  • "fix: use string manipulation instead of regex to inject esbuild helpers (54e1275), closes #14094

    4.4.11

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