Skip to content

feat(vue): Add Options API detection guard - #23568

Merged
s1gr1d merged 1 commit into
developfrom
sig/vue-options-api-detection-guard
Aug 25, 2026
Merged

feat(vue): Add Options API detection guard#23568
s1gr1d merged 1 commit into
developfrom
sig/vue-options-api-detection-guard

Conversation

@s1gr1d

@s1gr1d s1gr1d commented Aug 25, 2026

Copy link
Copy Markdown
Member

Adds an Options API detection guard to warn users in Vue that they would miss out on spans created by the mixin.

Also includes a message for Nuxt as Nuxt 5 disables the Options API by default. For the time being (where we still use the app mixins to create component spans), users have to enable this option.

Ref: #23375

@s1gr1d
s1gr1d requested a review from a team as a code owner August 25, 2026 09:20
@s1gr1d
s1gr1d requested review from chargome and mydea and removed request for a team August 25, 2026 09:20
@github-actions

Copy link
Copy Markdown
Contributor

size-limit report 📦

Path Size % Change Change
@sentry/browser 28.57 kB - -
@sentry/browser - with treeshaking flags 26.92 kB - -
@sentry/browser - with treeshaking flags tracing without tracing 26.82 kB - -
@sentry/browser (incl. Tracing) 48.37 kB - -
@sentry/browser (incl. Tracing + Span Streaming) 48.39 kB - -
@sentry/browser (incl. Tracing, Profiling) 51.27 kB - -
@sentry/browser (incl. Tracing, Replay) 87.77 kB - -
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 77.23 kB - -
@sentry/browser (incl. Tracing, Replay with Canvas) 92.47 kB - -
@sentry/browser (incl. Tracing, Replay, Feedback) 105.14 kB - -
@sentry/browser (incl. Feedback) 45.81 kB - -
@sentry/browser (incl. sendFeedback) 33.36 kB - -
@sentry/browser (incl. FeedbackAsync) 38.47 kB - -
@sentry/browser (incl. Metrics) 29.52 kB - -
@sentry/browser (incl. Logs) 29.8 kB - -
@sentry/browser (incl. Metrics & Logs) 30.45 kB - -
@sentry/react 30.33 kB - -
@sentry/react (incl. Tracing) 50.56 kB - -
@sentry/vue 35.64 kB +0.64% +226 B 🔺
@sentry/vue (incl. Tracing) 50.6 kB +0.45% +226 B 🔺
@sentry/svelte 28.6 kB - -
CDN Bundle 30.32 kB - -
CDN Bundle (incl. Tracing) 48.9 kB - -
CDN Bundle (incl. Logs, Metrics) 32.54 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) 50.78 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) 72.91 kB - -
CDN Bundle (incl. Tracing, Replay) 86.35 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) 88.19 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) 92.09 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) 94.04 kB - -
CDN Bundle - uncompressed 89.94 kB - -
CDN Bundle (incl. Tracing) - uncompressed 146.25 kB - -
CDN Bundle (incl. Logs, Metrics) - uncompressed 96.23 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed 151.94 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed 225.18 kB - -
CDN Bundle (incl. Tracing, Replay) - uncompressed 265.52 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed 271.2 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 279.22 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed 284.89 kB - -
@sentry/nextjs (client) 53.12 kB - -
@sentry/sveltekit (client) 48.8 kB - -
@sentry/core/server 64.95 kB - -
@sentry/core/browser 52.11 kB - -
@sentry/node 117.55 kB +0.03% +25 B 🔺
@sentry/node/import (ESM hook with diagnostics-channel injection) 85.18 kB - -
@sentry/node - without tracing 82.08 kB +0.04% +25 B 🔺
@sentry/aws-serverless 91.51 kB +0.03% +22 B 🔺
@sentry/cloudflare (withSentry) - minified 196.3 kB - -
@sentry/cloudflare (withSentry) 485.93 kB - -

View base workflow run

@s1gr1d
s1gr1d merged commit add7b85 into develop Aug 25, 2026
55 checks passed
@s1gr1d
s1gr1d deleted the sig/vue-options-api-detection-guard branch August 25, 2026 11:34
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.

2 participants