vue-router
5.5.1 · 13 Nov 2026MIT13.4M / weekRepositoryHomepagenpmAtom feed
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 useRoutein 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
falseinEditableTreeNodeunplugin: 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
json5andyamlwithconfboxAvoid 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.