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
Closed
chore(deps): bump vue-router from 4.6.3 to 5.1.0 in /src/frontend#1015dependabot[bot] wants to merge 3 commits into
dependabot[bot] wants to merge 3 commits into
Conversation
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>
9237d9c to
a14d280
Compare
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>
a14d280 to
da3f2dd
Compare
… 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>
Contributor
|
Superseded by #1133, which rebuilds this change against
Thanks @dolho for the v5 guard migration + vite-8 fold-in — both carried over. |
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 If you change your mind, just re-open this PR and I'll resolve any conflicts on it. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps vue-router from 4.6.3 to 5.1.0.
Release notes
Sourced from vue-router's releases.
... (truncated)
Commits
c0e3226release: vue-router@5.1.09ca7672chore: fix playgroundc usage315cc09refactor(experimental): remove defineQueryParamParser and definePathParamParser7fa42f4docs: fix gen and dead links1b3a068refactor: organize imports and exports add back Router665be2ddocs: links update5d79bd2chore: unused param9ccf3d1docs: experimentaleee8ac6chore: playground param parsers testing0194b85build: build before test:typesMaintainer changes
This version was pushed to npm by GitHub Actions, a new releaser for vue-router since your current version.