Packages

vue-router

5.5.1 · 13 Nov 2026MIT13.4M / weekRepositoryHomepagenpmAtom feed

Your version

5.3.0

27 Aug 2026Where it was published

5.5.1 is the newest release of 5.x.

In short

4 new3 faster7 fixed

Release note

Features

  • Prevent race condition dev-only error

  • scroll: Skip scroll computation based on history.scrollRestoration

  • unplugin: Don't crash on duplicate definePage() calls

  • volar: Narrow typeof useRoute in a type context

Bug Fixes

  • history: Remove visibilitychange listener to prevent focus steal in Edge

  • router: Skip scroll saving for unknown pop direction

  • types: Allow unsetting a route name with false in EditableTreeNode

  • unplugin: Sort and dedupe params in generated types

  • unplugin: Skip unnamed params in generated route types

  • unplugin: Report unnamed params once per route

  • unplugin: Generate param types from override paths and stop inheritance on absolute overrides

Performance

  • Replace json5 and yaml with confbox

  • Avoid depending on the current route to resolve absolute locations

  • experimental: Avoid tracking currentRoute in absolute string locations

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.