Packages

vite

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

Upgrading vite From 5.3.3 to 5.4.21

25 releases in betweenevery note read

Other targets from 5.3.3Clears its 20 advisories6.4.4Latest8.3.8
  1. 5.3.3yours
  2. 15 releases
  3. 5.4.12breaking
  4. 8 releases
  5. 5.4.21target

Before you upgrade

Tick each one off as you go
  • Breaking5.4.12
  • Breaking5.4.12

Security

Release by release

  1. 5.4.21

    20 Oct 20251 fix
    • Fixed

      dev: Trim trailing slash before server.fs.deny check (#20968) (#20970) (cad1d31), closes #20968 #20970

  2. 5.4.20

    8 Sep 20252 fixes
    • Fixed

      Apply fs.strict check to HTML files (#20736) (482000f), closes #20736

    • Fixed

      Port sirv@3.0.2 changes to sirv@2.0.4 (#20737) (4f1c35b), closes #20737

  3. 5.4.19

    30 Apr 20251 fix
    • Fixed

      Backport #19965, check static serve file inside sirv (#19966) (766947e), closes #19965 #19966

  4. 5.4.18

    10 Apr 20251 fix
    • Fixed

      Backport #19830, reject requests with # in request-target (#19831) (823675b), closes #19830 #19831

  5. 5.4.17

    3 Apr 20251 fix
    • Fixed

      Backport #19782, fs check with svg and relative paths (#19784) (84b2b46), closes #19782 #19784

  6. 5.4.16

    31 Mar 20251 fix
    • Fixed

      Backport #19761, fs check in transform middleware (#19762) (b627c50), closes #19761 #19762

  7. 5.4.15

    24 Mar 20251 fix
    • Fixed

      Backport #19702, fs raw query with query separators (#19703) (807d7f0), closes #19702 #19703

  8. 5.4.14

    21 Jan 20252 fixes
    • Fixed

      preview.allowedHosts with specific values was not respected (#19246) (9df6e6b), closes #19246

    • Fixed

      Allow CORS from loopback addresses by default (#19249) (7d1699c), closes #19249

1 other line we could not sort, mostly version bumps
  • fix(logger): truncate log over 5000 characters long (#16581) (#17729) (f4f488f), closes #16581 #17729

    5.3.5

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