v5.0.0
Vue Router 5 is a boring release, it merges unplugin-vue-router into the core package with no breaking changes. The only exception is that the iife build no longer includes @vue/devtools-api because it has been upgraded to v8 and does not expose an IIFE build itself. You can track that change in this issue. See the migration guide for instructions on how to upgrade from unplugin-vue-router to Vue Router 5.
🚀 Features
- experimental: Query params are optional by default - by @posva (78913)
- Add volar plugins - by @posva (530ac)
- Add data loaders as experimental - by @posva (ab895)
- Add route json schema - by @posva (20675)
- Upgrade devtools-api to v7 - by @posva (17b84)
- Upgrade devtools to v8 - by @posva (b8aa2)
- Runtime error on missing param parsers - by @posva (3444b)
- volar: Allow rootDir option - by @posva (df65a)
🐞 Bug Fixes
- Avoid breaking older browsers support - by @posva (c7ba4)
- Trigger navigation guards when keep-alive component is reactivated for different route - by @babu-ch and @posva in #2604 (c7735)
- Add automatic types for param parsers - by @posva (0fb5d)
- Param parsers when dts is not at root - by @posva (16b39)
- Expose resolveOptions for unplugin - by @posva (35543)
- Escape tildes in paths - by @posva (aac2e)
- volar: Upgrade config read - by @posva (e3024)