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)
This PR contains the following updates:
| Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
| [vue-router](https://router.vuejs.org) ([source](https://github.com/vuejs/router)) | [`4.6.4` → `5.0.6`](https://renovatebot.com/diffs/npm/vue-router/4.6.4/5.0.6) |  |  |
---
### Release Notes
<details>
<summary>vuejs/router (vue-router)</summary>
### [`v5.0.6`](https://github.com/vuejs/router/releases/tag/v5.0.6)
[Compare Source](https://github.com/vuejs/router/compare/v5.0.5...v5.0.6)
##### 🐞 Bug Fixes
- Missing closing quote in generated import - by [@​zjy040525](https://github.com/zjy040525) and [@​posva](https://github.com/posva) in [#​2688](https://github.com/vuejs/router/issues/2688) [<samp>(32f78)</samp>](https://github.com/vuejs/router/commit/32f78c77)
##### [View changes on GitHub](https://github.com/vuejs/router/compare/v5.0.5...v5.0.6)
### [`v5.0.5`](https://github.com/vuejs/router/releases/tag/v5.0.5)
[Compare Source](https://github.com/vuejs/router/compare/v5.0.4...v5.0.5)
##### 🚀 Features
- Enable standard schema param parsers - by [@​posva](https://github.com/posva) [<samp>(ea8e3)</samp>](https://github.com/vuejs/router/commit/ea8e3e21)
- Normalize param parsers once - by [@​posva](https://github.com/posva) [<samp>(48087)</samp>](https://github.com/vuejs/router/commit/480877cc)
##### 🐞 Bug Fixes
- Track definePage imports per-file to fix named view race condition - by [@​posva](https://github.com/posva) [<samp>(11191)</samp>](https://github.com/vuejs/router/commit/11191bca)
- Avoid double decoding hash on string location - by [@​posva](https://github.com/posva) [<samp>(1578c)</samp>](https://github.com/vuejs/router/commit/1578c9e9)
##### [View changes on GitHub](https://github.com/vuejs/router/compare/v5.0.4...v5.0.5)
### [`v5.0.4`](https://github.com/vuejs/router/releases/tag/v5.0.4)
[Compare Source](https://github.com/vuejs/router/compare/v5.0.3...v5.0.4)
##### 🐞 Bug Fixes
- Avoid iterator helpers for Node 20 compat - by [@​cwandev](https://github.com/cwandev) in [#​2635](https://github.com/vuejs/router/issues/2635) [<samp>(47130)</samp>](https://github.com/vuejs/router/commit/4713069d)
- Escape backslahes in string literals - by [@​posva](https://github.com/posva) [<samp>(71fdb)</samp>](https://github.com/vuejs/router/commit/71fdbf36)
- Avoid false duplicate route warning for named views - by [@​posva](https://github.com/posva) [<samp>(72012)</samp>](https://github.com/vuejs/router/commit/72012ab0)
- Allow pushing to auto routes - by [@​posva](https://github.com/posva) [<samp>(47f03)</samp>](https://github.com/vuejs/router/commit/47f0334b)
- **loaders**: Restore context in sequential awaits - by [@​posva](https://github.com/posva) [<samp>(fce5d)</samp>](https://github.com/vuejs/router/commit/fce5d1e3)
##### [View changes on GitHub](https://github.com/vuejs/router/compare/v5.0.3...v5.0.4)
### [`v5.0.3`](https://github.com/vuejs/router/releases/tag/v5.0.3)
[Compare Source](https://github.com/vuejs/router/compare/v5.0.2...v5.0.3)
##### 🚨 Breaking Changes
- **experimental**:
- Make miss() throw internally and return never - by [@​posva](https://github.com/posva) [<samp>(077e1)</samp>](https://github.com/vuejs/router/commit/077e1740)
- Add reroute() and deprecate NavigationResult - by [@​posva](https://github.com/posva) [<samp>(308db)</samp>](https://github.com/vuejs/router/commit/308db14a)
- Remove selectNavigationResult - by [@​posva](https://github.com/posva) [<samp>(9e88a)</samp>](https://github.com/vuejs/router/commit/9e88aed4)
##### 🚀 Features
- Support \_parent in nested folders - by [@​posva](https://github.com/posva) [<samp>(0a37f)</samp>](https://github.com/vuejs/router/commit/0a37f474)
- Warn on \_parent conflict - by [@​posva](https://github.com/posva) [<samp>(182fe)</samp>](https://github.com/vuejs/router/commit/182fe03a)
- Set \_parent as non matchable by default - by [@​posva](https://github.com/posva) [<samp>(8f91c)</samp>](https://github.com/vuejs/router/commit/8f91c99f)
- Warn on conflicting components for routes - by [@​posva](https://github.com/posva) [<samp>(34ace)</samp>](https://github.com/vuejs/router/commit/34aceb98)
- Use type module - by [@​posva](https://github.com/posva) [<samp>(dc9ff)</samp>](https://github.com/vuejs/router/commit/dc9ffe81)
- Add deprecation warning for next() callback in navigation guards - by [@​posva](https://github.com/posva) [<samp>(797f5)</samp>](https://github.com/vuejs/router/commit/797f55de)
- Extract alias from definePage - by [@​posva](https://github.com/posva) [<samp>(835df)</samp>](https://github.com/vuejs/router/commit/835df1ff)
- Display aliases in logs - by [@​posva](https://github.com/posva) [<samp>(7aa60)</samp>](https://github.com/vuejs/router/commit/7aa607fc)
- Deprecate new NavigationResult(to) in favor of reroute(to) - by [@​posva](https://github.com/posva) [<samp>(382e3)</samp>](https://github.com/vuejs/router/commit/382e34b4)
- **experimental**:
- Handle aliasOf in resolvers - by [@​posva](https://github.com/posva) [<samp>(8fe45)</samp>](https://github.com/vuejs/router/commit/8fe453c9)
- Generate aliases from override in resolver - by [@​posva](https://github.com/posva) [<samp>(a00ac)</samp>](https://github.com/vuejs/router/commit/a00ac355)
- Warn against non absolute aliases - by [@​posva](https://github.com/posva) [<samp>(476c6)</samp>](https://github.com/vuejs/router/commit/476c6697)
##### 🐞 Bug Fixes
- Avoid non matchable routes in auto-routes - by [@​posva](https://github.com/posva) [<samp>(48649)</samp>](https://github.com/vuejs/router/commit/48649030)
- Handle quotes in d.ts - by [@​posva](https://github.com/posva) [<samp>(d7764)</samp>](https://github.com/vuejs/router/commit/d7764700)
- Avoid route entry in map for \_parent - by [@​posva](https://github.com/posva) [<samp>(1dfcc)</samp>](https://github.com/vuejs/router/commit/1dfccf82)
- Handle nested groups - by [@​posva](https://github.com/posva) [<samp>(4a4be)</samp>](https://github.com/vuejs/router/commit/4a4bed94)
- Stable route ordering for group folders with same path - by [@​posva](https://github.com/posva) [<samp>(1db94)</samp>](https://github.com/vuejs/router/commit/1db9467c)
- Correct route ordering for group nodes with inflated scores - by [@​posva](https://github.com/posva) [<samp>(515f4)</samp>](https://github.com/vuejs/router/commit/515f4843)
- Cleanup old route overrides - by [@​posva](https://github.com/posva) [<samp>(b28a7)</samp>](https://github.com/vuejs/router/commit/b28a71e2)
- Remove name from \_parent.vue files - by [@​posva](https://github.com/posva) [<samp>(6e8f1)</samp>](https://github.com/vuejs/router/commit/6e8f1a11)
- **ci**:
- Format sponsor files before change detection - by [@​posva](https://github.com/posva) [<samp>(f68d6)</samp>](https://github.com/vuejs/router/commit/f68d6fad)
- Use manual git commit in update-sponsors - by [@​posva](https://github.com/posva) [<samp>(8ee99)</samp>](https://github.com/vuejs/router/commit/8ee992cb)
- **experimental**:
- Resolve TS errors in resolver/router type hierarchy - by [@​posva](https://github.com/posva) [<samp>(a86f1)</samp>](https://github.com/vuejs/router/commit/a86f1f3a)
- **types**:
- Relax RouteMapGeneric constraint for interface-based RouteNamedMap - by [@​YevheniiKotyrlo](https://github.com/YevheniiKotyrlo) in [#​2624](https://github.com/vuejs/router/issues/2624) [<samp>(cdf7b)</samp>](https://github.com/vuejs/router/commit/cdf7b442)
- **volar**:
- Use `ts.getTokenPosOfNode` instead of `node.getStart` - by [@​KazariEX](https://github.com/KazariEX) in [#​2630](https://github.com/vuejs/router/issues/2630) [<samp>(0b050)</samp>](https://github.com/vuejs/router/commit/0b0504bd)
##### 🏎 Performance
- Avoid merging empty object in record - by [@​posva](https://github.com/posva) [<samp>(4213e)</samp>](https://github.com/vuejs/router/commit/4213eb66)
##### [View changes on GitHub](https://github.com/vuejs/router/compare/v5.0.2...v5.0.3)
### [`v5.0.2`](https://github.com/vuejs/router/releases/tag/v5.0.2)
[Compare Source](https://github.com/vuejs/router/compare/v5.0.1...v5.0.2)
##### 🐞 Bug Fixes
- Remove devtools from iife build - by [@​posva](https://github.com/posva) [<samp>(58c03)</samp>](https://github.com/vuejs/router/commit/58c033c0)
- Loose version check vue-router - by [@​posva](https://github.com/posva) [<samp>(90e4b)</samp>](https://github.com/vuejs/router/commit/90e4bb80)
- **volar**: Empty options - by [@​posva](https://github.com/posva) [<samp>(02275)</samp>](https://github.com/vuejs/router/commit/022758a7)
##### [View changes on GitHub](https://github.com/vuejs/router/compare/v5.0.1...v5.0.2)
### [`v5.0.1`](https://github.com/vuejs/router/releases/tag/v5.0.1)
[Compare Source](https://github.com/vuejs/router/compare/v5.0.0...v5.0.1)
##### 🐞 Bug Fixes
- **volar**: Make typed plugin work with vue-tsc - by [@​peter50216](https://github.com/peter50216) in [#​2607](https://github.com/vuejs/router/issues/2607) [<samp>(7845e)</samp>](https://github.com/vuejs/router/commit/7845e327)
##### [View changes on GitHub](https://github.com/vuejs/router/compare/v5.0.0...v5.0.1)
### [`v5.0.0`](https://github.com/vuejs/router/releases/tag/v5.0.0)
[Compare Source](https://github.com/vuejs/router/compare/v4.6.4...v5.0.0)
Vue Router 5 is a *boring* release, it merges [unplugin-vue-router](https://uvr.esm.is) 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](https://github.com/vuejs/devtools/issues/989). See [the migration guide](https://router.vuejs.org/guide/migration/v4-to-v5.html) for instructions on how to upgrade from unplugin-vue-router to Vue Router 5.
##### 🚀 Features
- **experimental**: Query params are optional by default - by [@​posva](https://github.com/posva) [<samp>(78913)</samp>](https://github.com/vuejs/router/commit/78913551)
- Add volar plugins - by [@​posva](https://github.com/posva) [<samp>(530ac)</samp>](https://github.com/vuejs/router/commit/530ac53e)
- Add data loaders as experimental - by [@​posva](https://github.com/posva) [<samp>(ab895)</samp>](https://github.com/vuejs/router/commit/ab89513d)
- Add route json schema - by [@​posva](https://github.com/posva) [<samp>(20675)</samp>](https://github.com/vuejs/router/commit/2067515a)
- Upgrade devtools-api to v7 - by [@​posva](https://github.com/posva) [<samp>(17b84)</samp>](https://github.com/vuejs/router/commit/17b841b8)
- Upgrade devtools to v8 - by [@​posva](https://github.com/posva) [<samp>(b8aa2)</samp>](https://github.com/vuejs/router/commit/b8aa2395)
- Runtime error on missing param parsers - by [@​posva](https://github.com/posva) [<samp>(3444b)</samp>](https://github.com/vuejs/router/commit/3444bc94)
- **volar**: Allow rootDir option - by [@​posva](https://github.com/posva) [<samp>(df65a)</samp>](https://github.com/vuejs/router/commit/df65a864)
##### 🐞 Bug Fixes
- Avoid breaking older browsers support - by [@​posva](https://github.com/posva) [<samp>(c7ba4)</samp>](https://github.com/vuejs/router/commit/c7ba4507)
- Trigger navigation guards when keep-alive component is reactivated for different route - by [@​babu-ch](https://github.com/babu-ch) and [@​posva](https://github.com/posva) in [#​2604](https://github.com/vuejs/router/issues/2604) [<samp>(c7735)</samp>](https://github.com/vuejs/router/commit/c7735d30)
- Add automatic types for param parsers - by [@​posva](https://github.com/posva) [<samp>(0fb5d)</samp>](https://github.com/vuejs/router/commit/0fb5da34)
- Param parsers when dts is not at root - by [@​posva](https://github.com/posva) [<samp>(16b39)</samp>](https://github.com/vuejs/router/commit/16b39ff7)
- Expose resolveOptions for unplugin - by [@​posva](https://github.com/posva) [<samp>(35543)</samp>](https://github.com/vuejs/router/commit/355431b6)
- Escape tildes in paths - by [@​posva](https://github.com/posva) [<samp>(aac2e)</samp>](https://github.com/vuejs/router/commit/aac2e265)
- **volar**: Upgrade config read - by [@​posva](https://github.com/posva) [<samp>(e3024)</samp>](https://github.com/vuejs/router/commit/e3024d19)
##### [View changes on GitHub](https://github.com/vuejs/router/compare/v4.6.4...v5.0.0)
</details>
---
### Configuration
📅 **Schedule**: (UTC)
- Branch creation
- At any time (no schedule defined)
- Automerge
- At any time (no schedule defined)
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Mend Renovate](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi45Mi40IiwidXBkYXRlZEluVmVyIjoiNDMuMTQwLjAiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbXX0=-->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
This PR contains the following updates:
4.6.4→5.0.6Release Notes
vuejs/router (vue-router)
v5.0.6Compare Source
🐞 Bug Fixes
View changes on GitHub
v5.0.5Compare Source
🚀 Features
🐞 Bug Fixes
View changes on GitHub
v5.0.4Compare Source
🐞 Bug Fixes
View changes on GitHub
v5.0.3Compare Source
🚨 Breaking Changes
🚀 Features
🐞 Bug Fixes
ts.getTokenPosOfNodeinstead ofnode.getStart- by @KazariEX in #2630 (0b050)🏎 Performance
View changes on GitHub
v5.0.2Compare Source
🐞 Bug Fixes
View changes on GitHub
v5.0.1Compare Source
🐞 Bug Fixes
View changes on GitHub
v5.0.0Compare Source
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-apibecause 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
🐞 Bug Fixes
View changes on GitHub
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate.
9a047b98d7toaca463f0c8aca463f0c8toed9554f818ed9554f818to1bd48ba8491bd48ba849toa31239bc5e