Skip to content

fix(deps): update dependency vue-router to v5#20

Merged
matthieugouel merged 4 commits intomainfrom
renovate/vue-router-5.x
Mar 9, 2026
Merged

fix(deps): update dependency vue-router to v5#20
matthieugouel merged 4 commits intomainfrom
renovate/vue-router-5.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Jan 30, 2026

This PR contains the following updates:

Package Change Age Confidence
vue-router (source) ^4.5.0^5.0.0 age confidence

Release Notes

vuejs/router (vue-router)

v5.0.3

Compare Source

   🚨 Breaking Changes
   🚀 Features
   🐞 Bug Fixes
   🏎 Performance
    View changes on GitHub

v5.0.2

Compare Source

   🐞 Bug Fixes
    View changes on GitHub

v5.0.1

Compare Source

   🐞 Bug Fixes
    View changes on GitHub

v5.0.0

Compare Source

Vue Router 5 is a boring release, it merges unplugin-vue-router into the core package with no breaking changes. The only exception is that the iife build no longer includes @vue/devtools-api because it has been upgraded to v8 and does not expose an IIFE build itself. You can track that change in this issue. See the migration guide for instructions on how to upgrade from unplugin-vue-router to Vue Router 5.

   🚀 Features
   🐞 Bug Fixes
    View changes on GitHub

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
Copy link
Copy Markdown
Contributor Author

renovate Bot commented Jan 30, 2026

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: package-lock.json
npm warn Unknown env config "store". This will stop working in the next major version of npm.
npm error code ERESOLVE
npm error ERESOLVE could not resolve
npm error
npm error While resolving: @auth0/auth0-vue@2.5.0
npm error Found: vue-router@5.0.3
npm error node_modules/vue-router
npm error   vue-router@"^5.0.0" from the root project
npm error
npm error Could not resolve dependency:
npm error peerOptional vue-router@"^4.0.12" from @auth0/auth0-vue@2.5.0
npm error node_modules/@auth0/auth0-vue
npm error   @auth0/auth0-vue@"^2.5.0" from the root project
npm error
npm error Conflicting peer dependency: vue-router@4.6.4
npm error node_modules/vue-router
npm error   peerOptional vue-router@"^4.0.12" from @auth0/auth0-vue@2.5.0
npm error   node_modules/@auth0/auth0-vue
npm error     @auth0/auth0-vue@"^2.5.0" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /runner/cache/others/npm/_logs/2026-03-09T09_44_51_637Z-eresolve-report.txt
npm error A complete log of this run can be found in: /runner/cache/others/npm/_logs/2026-03-09T09_44_51_637Z-debug-0.log

@renovate renovate Bot force-pushed the renovate/vue-router-5.x branch from a52f31b to fe31733 Compare February 2, 2026 18:55
@renovate renovate Bot force-pushed the renovate/vue-router-5.x branch from fe31733 to e04ce23 Compare February 12, 2026 17:57
@renovate renovate Bot force-pushed the renovate/vue-router-5.x branch from e04ce23 to c22625e Compare March 5, 2026 20:18
@renovate renovate Bot changed the title Update dependency vue-router to v5 fix(deps): update dependency vue-router to v5 Mar 7, 2026
@matthieugouel
Copy link
Copy Markdown
Member

@claude can you fix this renovate dependency update change error? The CI is failing.

@matthieugouel
Copy link
Copy Markdown
Member

matthieugouel commented Mar 9, 2026

Claude finished @matthieugouel's task in 3m 28s —— View job


Fixing Dependency Conflict

  • Analyze the dependency conflict
  • Apply fix (.npmrc with legacy-peer-deps=true)
  • Commit and push changes

Root Cause: @auth0/auth0-vue@2.5.0 declares vue-router@"^4.0.12" as an optional peer dependency, but npm v7+ enforces peer dependency version ranges strictly. Since vue-router v5 is outside the ^4.0.12 range, npm refused to regenerate the lockfile — leaving package.json (v5) and package-lock.json (v4) out of sync, which caused npm ci in Docker to fail.

Fix applied: Added .npmrc with legacy-peer-deps=true. This is safe because:

  • vue-router is only an optional peer dependency of @auth0/auth0-vue
  • vue-router v5 is API-compatible with v4 (per the v5.0.0 release notes)

One more step needed: The package-lock.json still needs to be regenerated with vue-router v5. To trigger this, check the "rebase/retry" checkbox in the PR description above — Renovate will re-run and regenerate the lockfile using the new .npmrc setting, which will unblock the CI.
|

@renovate renovate Bot force-pushed the renovate/vue-router-5.x branch from 90b1c52 to db57be1 Compare March 9, 2026 09:44
@matthieugouel
Copy link
Copy Markdown
Member

@claude the rebase of renovate remove your commit, could you add it back? I'll regenerate the package-lock.json myself

@matthieugouel
Copy link
Copy Markdown
Member

matthieugouel commented Mar 9, 2026

Claude finished @matthieugouel's task in 36s —— View job


Adding back .npmrc fix

  • Analyze the request
  • Create .npmrc with legacy-peer-deps=true
  • Commit and push

Done! The .npmrc file has been added back. You can now regenerate package-lock.json locally with:

npm install

github-actions Bot and others added 3 commits March 9, 2026 09:58
@auth0/auth0-vue@2.5.0 declares vue-router@"^4.0.12" as an optional
peer dependency. npm v7+ enforces peer deps strictly, so we need
legacy-peer-deps=true to allow vue-router v5 to coexist.

Co-authored-by: Matthieu Gouel <matthieugouel@users.noreply.github.com>
@renovate
Copy link
Copy Markdown
Contributor Author

renovate Bot commented Mar 9, 2026

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@matthieugouel matthieugouel merged commit ddfb9d6 into main Mar 9, 2026
6 checks passed
@matthieugouel matthieugouel deleted the renovate/vue-router-5.x branch March 9, 2026 10:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant