vue-router
5.5.1 · 13 Nov 2026MIT13.4M / weekRepositoryHomepagenpmAtom feed
Upgrading vue-router From 0.1.0 to 5.5.1
150 releases in betweennotes for 45
- 8+
- changes to make
- 0
- advisories fixed
- 93+
- new
- 139+
- fixes
Counted from 45 of 150 release notes. Advisories are counted from the advisory database, in full.
Start here
Before you upgrade
Tick each one off as you go- Breaking5.5.1
- Breaking5.4.0
- Breaking5.0.3
- Breaking5.0.3
- Breaking5.0.3
- Breaking4.1.1
- Deprecated5.0.3
- Deprecated5.0.3
Security
- 5.0.7
query: Use Object.create(null) to prevent prototype pollution
Release by release
- Breaking
experimental: Avoid full stack traces for match misses
- New
Warn on repeatable params being passed as scalars
- New
experimental: Warn on relative object locations before the initial navigation
- New
experimental: Add RouterLink and useLink for experimental_createRouter
- Breaking
- New
Warn on colliding query with params
- New
experimental: Customize scroll restoration capture listeners
- New
experimental: Export default scroll capture listener setup
- New
experimental: Support type safe route record props
- New
- Breaking
experimental: Normalize query values to arrays
- New
Accept a prebuilt matcher in
createRouter - New
UseScrollRestoration and onRouteRendered
- New
Diagnose experimental beforeEnter migration
- Breaking
- Fixed
experimental: Handle non-string params for isActive
- Fixed
- New
Prevent race condition dev-only error
- New
scroll: Skip scroll computation based on history.scrollRestoration
- New
unplugin: Don't crash on duplicate definePage() calls
- New
volar: Narrow
typeof useRoutein a type context
- New
- New
Add helpful diagnostics
- Fixed
Allow pinia 4
- Fixed
scroll: Ignore stale async scrollBehavior results
- Fixed
unplugin: Reject invalid hex digits in [x+hh] character codes
- New
- New
Typed definePage params.path
- New
Strict type for definePage param default
- New
Support raw param parsers
- New
Force array type raw param parsers
- New
- Security
query: Use Object.create(null) to prevent prototype pollution
- New
Upgrade to babel 8
- New
Make
defineParamParser()more intuitive - New
Upgrade
@vue/devtools-api
- Security
5 other lines we could not sort, mostly version bumps
- 4.3.2
Revert "fix: avoid normalizing the fullPath (#2189)" (b78aa98), closes vuejs/router#2216
- 4.0.0
Better Developer experience with existing tooling (Vetur, Vite, Devtools, etc)
- 4.0.0
Better integration with modern features like Suspense
- 4.0.0
RFCs to improve the existing API or bring new ones
- 4.0.0
Lighter versions of the router
4 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.