Vue Router v5.6.1
vuejs/router
Summary
Vue Router v5.6.1 introduces experimental support for trailing slashes in MatcherPatternPathStatic and exposes new utilities for path matching. Additionally, it fixes issues with skipping in-component guards during SSR and improves path parsing by unescaping static parts and decoding segments in Pascal case route names.
Full release notes
🚀 Features
- experimental: Add trailingSlash to MatcherPatternPathStatic - by @posva in https://github.com/vuejs/router/issues/2989 (b69af)
- unplugin: Expose compilePathMatcher and comparePathScore - by @posva in https://github.com/vuejs/router/issues/2982 (007e2)
🐞 Bug Fixes
- guards:
- Skip in-component guards during SSR - by @onmax in https://github.com/vuejs/router/issues/2861 (3ea73)
- unplugin:
- Unescape static parts of parsed paths - by @posva in https://github.com/vuejs/router/issues/2981 (4beb5)
- Decode segments in pascal case route names - by @posva in https://github.com/vuejs/router/issues/2983 (b58c1)