-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Open
Description
Is there an existing issue for this?
- I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues
- I have reviewed the documentation https://docs.sentry.io/
- I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases
How do you use Sentry?
Self-hosted/on-premise
Which SDK are you using?
@sentry/nuxt
SDK Version
10.40.0
Framework Version
4.3.1
Link to Sentry event
No response
Reproduction Example/SDK Setup
No response
Steps to Reproduce
Upgrade to Vue-router 5.0.0 in your nuxt project
Expected Result
No console warning
Actual Result
[Vue Router warn]: The
next()callback in navigation guards is deprecated. Return the value instead of callingnext(value).
Additional Context
sentry-javascript/packages/vue/src/router.ts
Lines 119 to 124 in 89b437f
| // Vue Router 4 no longer exposes the `next` function, so we need to | |
| // check if it's available before calling it. | |
| // `next` needs to be called in Vue Router 3 so that the hook is resolved. | |
| if (next) { | |
| next(); | |
| } |
Priority
React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Projects
Status
Waiting for: Product Owner