Packages

vue-router

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

Your version

5.1.0

28 May 2026Where it was published

5.5.1 is the newest release of 5.x.

In short

9 new7 fixed

Release note

Features

  • Typed definePage params.path

  • Strict type for definePage param default

  • Support raw param parsers

  • Force array type raw param parsers

  • Allow overriding the global Router type

  • Emit runtime warning for invalid format in query params

  • Override useRouter() return with experimental types config

  • Allow string as a param parser for convenience

Bug Fixes

  • Fix auto import fixes and make experimental esm only

  • Deterministic param parser types order

  • Avoid importing unused param parsers

  • Filter invalid query params without failing to match

  • Detect not set format

  • Allow undefined values for params in query

  • experimental: Repeatable params in subsegments

  • types: Add vite as optional peer dependency

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.