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

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
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] <[email protected]>
@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 [email protected] + [email protected] +
[email protected]; 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) <[email protected]>
@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 [email protected] 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) <[email protected]>
@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
vybe pushed a commit that referenced this pull request Jun 27, 2026
…return-style

Rebuilds dependabot PR #1015 (+ dolho's vite-8 fold-in of #1063) against
dev — the original targeted main, but dev's router/index.js was
restructured by #1109 (Operations consolidation) and still carried 11
next()-callback guard sites, guaranteeing a conflict at the next
release cut.

- vue-router ^5.1.0: migrate beforeEach + AgentWorkspace beforeEnter
  from the deprecated next() callback to return-style (true = proceed,
  location = redirect). All 11 sites converted; behavior preserved.
- vite ^8.0.16 (rolldown): production build verified in node:20-alpine
  (matches docker/frontend images, Node 20.20 ≥ vite 8's 20.19 floor).
- package-lock.json regenerated in a clean container.

Supersedes #1015.

Co-Authored-By: Claude Fable 5 <[email protected]>
vybe added a commit that referenced this pull request Jul 3, 2026
…return-style (#1133)

Rebuilds dependabot PR #1015 (+ dolho's vite-8 fold-in of #1063) against
dev — the original targeted main, but dev's router/index.js was
restructured by #1109 (Operations consolidation) and still carried 11
next()-callback guard sites, guaranteeing a conflict at the next
release cut.

- vue-router ^5.1.0: migrate beforeEach + AgentWorkspace beforeEnter
  from the deprecated next() callback to return-style (true = proceed,
  location = redirect). All 11 sites converted; behavior preserved.
- vite ^8.0.16 (rolldown): production build verified in node:20-alpine
  (matches docker/frontend images, Node 20.20 ≥ vite 8's 20.19 floor).
- package-lock.json regenerated in a clean container.

Supersedes #1015.

Co-authored-by: Eugene Vyborov <[email protected]>
Co-authored-by: Claude Fable 5 <[email protected]>
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