Skip to content

chore(deps): bump vue-router from 4.6.3 to 5.1.0 in /src/frontend#1015

Closed
dependabot[bot] wants to merge 3 commits into
mainfrom
dependabot/npm_and_yarn/src/frontend/vue-router-5.1.0
Closed

chore(deps): bump vue-router from 4.6.3 to 5.1.0 in /src/frontend#1015
dependabot[bot] wants to merge 3 commits into
mainfrom
dependabot/npm_and_yarn/src/frontend/vue-router-5.1.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 1, 2026

Copy link
Copy Markdown
Contributor

Bumps vue-router from 4.6.3 to 5.1.0.

Release notes

Sourced from vue-router's releases.

v5.1.0

   🚀 Features

   🐞 Bug Fixes

    View changes on GitHub

v5.0.7

   🚀 Features

   🐞 Bug Fixes

... (truncated)

Commits
  • c0e3226 release: vue-router@5.1.0
  • 9ca7672 chore: fix playgroundc usage
  • 315cc09 refactor(experimental): remove defineQueryParamParser and definePathParamParser
  • 7fa42f4 docs: fix gen and dead links
  • 1b3a068 refactor: organize imports and exports add back Router
  • 665be2d docs: links update
  • 5d79bd2 chore: unused param
  • 9ccf3d1 docs: experimental
  • eee8ac6 chore: playground param parsers testing
  • 0194b85 build: build before test:types
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by GitHub Actions, a new releaser for vue-router since your current version.


Bumps [vue-router](https://github.com/vuejs/router) from 4.6.3 to 5.1.0.
- [Release notes](https://github.com/vuejs/router/releases)
- [Commits](vuejs/router@v4.6.3...v5.1.0)

---
updated-dependencies:
- dependency-name: vue-router
  dependency-version: 5.1.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency frontend Frontend/UI changes labels Jun 1, 2026
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/src/frontend/vue-router-5.1.0 branch 2 times, most recently from 9237d9c to a14d280 Compare June 3, 2026 12:21
Dependabot's vue-router 4->5 bump (#1015) failed install: vue-router 5's
optional `vite` peer is ^7||^8 and npm hard-errors on the present-but-
mismatched vite 6.

- Merge origin/main (branch was 13 commits behind) to pick up the current
  frontend toolchain (@vitejs/plugin-vue 6, etc.)
- Bump vite ^6.4.2 -> ^7.0.0 to satisfy vue-router 5's peer. plugin-vue 6
  already supports vite 7/8, so no further cascade. vite 7 only drops
  Node <20 (CI/dev on 20).
- Migrate both navigation guards (global beforeEach + AgentWorkspace
  beforeEnter) off the `next` callback, which v5 deprecates, to the
  return-value style (true/undefined = proceed, location = redirect).

Our router usage (createWebHistory, useRouter, useRoute, router.resolve)
is otherwise unchanged in v5.

Verified locally: clean install resolves vite@7.3.5 + vue-router@5.1.0 +
plugin-vue@6.0.7; prod build passes; vite-7 dev server boots and still
emits the dev security headers (CSP/X-Frame-Options) via the
configureServer plugin.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@dolho dolho force-pushed the dependabot/npm_and_yarn/src/frontend/vue-router-5.1.0 branch from a14d280 to da3f2dd Compare June 5, 2026 09:22
… 7 step

vue-router 5's optional peer accepts vite ^7||^8; #1063 independently bumps
vite 6->8. Rather than land vite 7 here and 8 separately (guaranteed
package.json/lock conflict between the two PRs), jump straight to vite
8.0.16 so vue-router 5 + the latest vite ship atomically. plugin-vue 6
already lists vite ^8 as a supported peer.

vite 8 switches the production bundler to rolldown; verified locally:
clean install dedupes vite@8.0.16 across vue-router + plugin-vue, prod
build succeeds (2596 modules), and the vite-8 dev server still emits the
dev security headers (CSP/X-Frame-Options) via the configureServer plugin.

#1063 is now redundant and can be closed in favor of this PR.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@vybe

vybe commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

Superseded by #1133, which rebuilds this change against dev (per the repo's feature → dev → main flow):

Thanks @dolho for the v5 guard migration + vite-8 fold-in — both carried over.

@vybe vybe closed this Jun 10, 2026
@dependabot @github

dependabot Bot commented on behalf of github Jun 10, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot Bot deleted the dependabot/npm_and_yarn/src/frontend/vue-router-5.1.0 branch June 10, 2026 14:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency frontend Frontend/UI changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants