Bump vue-router from 4.6.4 to 5.4.0
DE
2d ago+505+505+012345678901234567890123456789-51-51-01234567890123456789
Bumps vue-router from 4.6.4 to 5.4.0.
Release notes
Sourced from vue-router's releases.
v5.4.0
🚨 Breaking Changes
- experimental: Normalize query values to arrays - by
@posvain vuejs/router#2824 (f1fbc)🚀 Features
- Accept a prebuilt matcher in
createRouter- by@danielroein vuejs/router#2804 (9de96)- UseScrollRestoration and onRouteRendered - by
@posvain vuejs/router#2805 (e3dde)- Diagnose experimental beforeEnter migration - by
@posva(b695c)- experimental:
- Warn about legacy optional param removal - by
@posvain vuejs/router#2818 (c2f92)- Extract hash params with definePage - by
@posva(dbf2d)- Configure required and default hash params - by
@posva(cef5c)- Never decode the hash, protect-only encoding - by
@posvain vuejs/router#2760 (aca2c)- Allow custom regexp for path params in definePage - by
@posvain vuejs/router#2822 (3a192)- router:
🐞 Bug Fixes
- Resolve experimental guard redirects against target on history navigation - by
@posva(2c5fb)- experimental:
- Keep declared case of static prefix in MatcherPatternPathStar.build() - by
@contactjawadin vuejs/router#2798 (4dc6b)- Make hash params optional and nullable - by
@posva(d9a4c)- Exclude defaults from required hash params - by
@posva(346e2)- Align hash parameter parsing with queries - by
@posva(cf251)- Keep last hash param instead of throwing - by
@posva(d1e8a)- Disallow required with a default for query params - by
@posva(f60e9)- Make query params with a default optional on push - by
@posva(fb604)- Do not inherit params, query, or hash on redirects - by
@posva(02a92)- history:
- Invalidate obsolete scroll positions - by
@posvaand@liuly0322in vuejs/router#2814 (071f1)- unplugin:
- Sanitize named view in definePage import - by
@giaBaoJSin vuejs/router#2809 (0711d)- Keep hex character codes in param segments regexp - by
@kwy404in vuejs/router#2811 (07663)🏎 Performance
- unplugin: Cache merged route overrides - by
@posvain vuejs/router#2821 (732b7)View changes on GitHub
v5.3.1
🐞 Bug Fixes
View changes on GitHub
... (truncated)
Commits
596d481release: vue-router@5.4.02970e8echore: fix back extends16a62f8chore(deps): upgrade dependencies (#2828)b810a7echore: remove unused typesa0efbdedocs: adapt2c5fbd6fix: resolve experimental guard redirects against target on history navigation6ef3163refactor: allow undefined on optional param8e89a60chore: comment72ceb99refactor: absolute position57dd1d6refactor: allow guards to return relative location- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Summary by cubic
Bumps vue-router from 4.6.4 to 5.4.0, a major version with breaking changes. Only the catalog spec and lockfile are updated; no application code changes are included.
Migration
- Resolve the merge conflict before merging; the PR is currently not mergeable.
- Verify routing behavior after 5.x normalizes query values to arrays and adds optional peer dependencies (
vite,@vue/compiler-sfc,pinia,@pinia/colada).