Packages

vue-router

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

Your version

5.4.0

7 Oct 2026Where it was published

5.5.1 is the newest release of 5.x.

In short

1 breaking9 new1 faster12 fixed

  • Breaking

    experimental: Normalize query values to arrays

Release note

Breaking Changes

  • Breaking

    experimental: Normalize query values to arrays

Features

  • Accept a prebuilt matcher in createRouter

  • UseScrollRestoration and onRouteRendered

  • Diagnose experimental beforeEnter migration

  • experimental: Warn about legacy optional param removal

  • experimental: Extract hash params with definePage

  • experimental: Configure required and default hash params

  • experimental: Never decode the hash, protect-only encoding

  • experimental: Allow custom regexp for path params in definePage

  • router: Restore hashes and top by default

Bug Fixes

  • Resolve experimental guard redirects against target on history navigation

  • experimental: Keep declared case of static prefix in MatcherPatternPathStar.build()

  • experimental: Make hash params optional and nullable

  • experimental: Exclude defaults from required hash params

  • experimental: Align hash parameter parsing with queries

  • experimental: Keep last hash param instead of throwing

  • experimental: Disallow required with a default for query params

  • experimental: Make query params with a default optional on push

  • experimental: Do not inherit params, query, or hash on redirects

  • history: Invalidate obsolete scroll positions

  • unplugin: Sanitize named view in definePage import

  • unplugin: Keep hex character codes in param segments regexp

Performance

  • unplugin: Cache merged route overrides

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.