Skip to content

fix(nextjs|sveltekit/v7): Ensure we can pass browserTracingIntegration - #11765

Merged
mydea merged 2 commits into
v7from
fn/next-browserTracing
Apr 24, 2024
Merged

mydea merged 2 commits into
v7from
fn/next-browserTracing

Conversation

@mydea

@mydea mydea commented Apr 24, 2024

Copy link
Copy Markdown
Member

Turns out the logic to get the options was not correct, because we used the options that the integration exposes, but this has instrumentPageload: false & instrumentNavigation: false because we did not "fix" the options we expose on the integration. This was not caught by the tests, because it only happens if passing the browserTracingIntegration from @sentry/nextjs or @sentry/sveltekit, not when passing the "original" one (which we had tests for).

Really fixes #11627

mydea added 2 commits April 24, 2024 10:08
more improvements

add one e2e test

add test for beforestartspan
@mydea
mydea requested review from Lms24, lforst and s1gr1d April 24, 2024 08:48
@mydea mydea self-assigned this Apr 24, 2024
@mydea
mydea force-pushed the fn/next-browserTracing branch from 8e1f62c to 3d3fdd1 Compare April 24, 2024 08:49
@mydea mydea changed the title fix(nextjs|sveltekit): Ensure we can pass browserTracingIntegration fix(nextjs|sveltekit/v7): Ensure we can pass browserTracingIntegration Apr 24, 2024
@github-actions

Copy link
Copy Markdown
Contributor

size-limit report 📦

Path Size
@sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 80.72 KB (added)
@sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 71.69 KB (added)
@sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) 75.91 KB (added)
@sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 65.32 KB (added)
@sentry/browser (incl. Tracing) - Webpack (gzipped) 35.62 KB (added)
@sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) 35.5 KB (added)
@sentry/browser (incl. Feedback) - Webpack (gzipped) 31.57 KB (added)
@sentry/browser (incl. sendFeedback) - Webpack (gzipped) 31.58 KB (added)
@sentry/browser - Webpack (gzipped) 22.78 KB (added)
@sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 78.9 KB (added)
@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 70.27 KB (added)
@sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 36.02 KB (added)
@sentry/browser - ES6 CDN Bundle (gzipped) 25.28 KB (added)
@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 221.25 KB (added)
@sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 109.01 KB (added)
@sentry/browser - ES6 CDN Bundle (minified & uncompressed) 75.79 KB (added)
@sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 39.3 KB (added)
@sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 72.18 KB (added)
@sentry/react - Webpack (gzipped) 22.81 KB (added)
@sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 89.92 KB (added)
@sentry/nextjs Client - Webpack (gzipped) 54.13 KB (added)
@sentry-internal/feedback - Webpack (gzipped) 17.32 KB (added)

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