Update dependency vue-router to v4 (develop)
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
vue-router | dependencies | major | 3.5.3 -> 4.0.13 |
Release Notes
vuejs/router
v4.0.13
Bug Fixes
-
matcher: add child before parent when using
addRoute
(8744bba) - ssr: reject unfinished initial navigation (509fc0d), closes #1305
v4.0.12
Bug Fixes
Features
- devtools: display router view path (3ce3834), closes #1119
- warn: improve message for onBeforeRoute*() (7d5230e)
v4.0.11
Bug Fixes
- query: empty object with custom stringify (4dd2fbf)
- router: allow null | undefined for params (ebca15a)
- router: invalidate ongoing navigation when unmounting (d8fb7d0)
-
types: Support
undefined
in NavigationGuardNext (#1059) (6cce232)
v4.0.10
Features
-
devtools: display components using
useLink()
(aab8c04), closes #1003 - link: expose useLink on RouterLink as internal (#1002) (57b1468)
v4.0.9
Bug Fixes
- guards: propagate lazy loading rejections (3d465cc)
- hash: force navigation restore on manual navigation (#921) (e08a0d0), closes #916
- link: catch errors (e7b2156)
- query: allow arbitrary keys in queries (a57b5f1), closes #880
- warn: drop unused params on string redirect (bed24df), closes #951
Features
- devtools: group navigation errors (a776a84)
- errors: add to and from to router.onError()` (c76feab)
- errors: log errors when no error handlers (46a354e)
v4.0.8
This release is a correct tag and doesn't contain any extra changes.
v4.0.7
Bug Fixes
- $route: Make $route have an enumerable type (#912) (d90520e)
- devtools: stabilize record id (#897) (c6460f0)
- history: make properties enumerable (8e6ebdf)
- history: proper destroy in memory history (9d188aa)
- query: filter undefined values in arrays (df25fb5)
- query: prevent trailing & in query (#935) (885bb06)
- do not allow invalid hazardous keys in query (#880) (ecd52e0)
v4.0.6
Bug Fixes
- link: let vue merge attrs (4142871), closes #846
- link: use flush post in devtools watcher (4108814), closes #845
Features
- types: allow currentLocation param in resolve (add6ce9)
- warn: throws if history is missing (#844) (dd8bf6c)
v4.0.5
Bug Fixes
- guards: avoid enter guards between aliases (0048b9b)
- guards: ensure beforeRouteUpdate works with aliases (#819) (45ecb20), closes #805
- view: correctly reuse instance guards (#795) (d4fde59)
Features
- devtools: group navigations (d3b5dfb)
v4.0.4
Bug Fixes
- devtools: id and label (#742) (d034307)
- guards: vue-class-component call guards on first... (#755) (06f942d)
- matcher: force leading slash with optional param in multi segments (11c882f)
- warn: should not warn missing optional params in aliases (92f8901)
Features
- types: make meta type safe with unknown (eef0472)
v4.0.3
Bug Fixes
- hash: allow base tag different from base parameter (85b1bff), closes #685
- link: use replace prop (6edba5c), closes #702
Features
- types: expose RouteParamsRaw (09bbc89)
- warn: more specific warnings (2cd8d86)
- warn: warn defineAsyncComponent usage in routes (#682) (9520d66)
v4.0.2
Bug Fixes
- matcher: clear customRe after consuming buffer (#680) (4c0b825), closes #679
- router: allow replace to have query and hash (6a8ccb6), closes #668
- router: do not restore history when ... (db267be), closes #662
- router-view: disable inheritAttrs (1e58574), closes #674
- types: add missing exported types (034c71c)
- spread operator compatible (a2f3e91)
v4.0.1
Bug Fixes
-
matcher: add child before parent when using
addRoute
(8744bba) - ssr: reject unfinished initial navigation (509fc0d), closes #1305
v4.0.0
Bug Fixes
- router-view: properly use route prop when nested (b74051a)
- router-view: return one node when possible (d18e500), closes #537
Features
- expose routerViewLocationKey as internal (f498646)
Configuration
-
If you want to rebase/retry this MR, click this checkbox.
This MR has been generated by Renovate Bot.