8.18.0
Important Changes
- ref: Deprecate
enableTracing
(12897)
The enableTracing
option has been deprecated and will be removed in the next major version. We recommend removing it
in favor of the tracesSampleRate
and tracesSampler
options. If you want to enable performance monitoring, please set
the tracesSampleRate
to a sample rate of your choice, or provide a sampling function as tracesSampler
option
instead. If you want to disable performance monitoring, remove the tracesSampler
and tracesSampleRate
options.
Other Changes
- feat(node): Expose
exclude
andinclude
options for ESM loader (#12910) - feat(browser): Add user agent to INP standalone span attributes (#12896)
- feat(nextjs): Add
experimental_captureRequestError
foronRequestError
hook (#12885) - feat(replay): Bump
rrweb
to 2.25.0 (#12478) - feat(tracing): Add long animation frame tracing (#12646)
- fix: Cleanup hooks when they are not used anymore (#12852)
- fix(angular): Guard
ErrorEvent
check in ErrorHandler to avoid throwing in Node environments (#12892) - fix(inp): Ensure INP spans have correct transaction (#12871)
- fix(nestjs): Do not make SentryTraced() decorated functions async (#12879)
- fix(nextjs): Support automatic instrumentation for app directory with custom page extensions (#12858)
- fix(node): Ensure correct URL is passed to
ignoreIncomingRequests
callback (#12929) - fix(otel): Do not add
otel.kind: INTERNAL
attribute (#12841) - fix(solidstart): Set proper sentry origin for solid router integration when used in solidstart sdk (#12919)
- fix(sveltekit): Add Vite peer dep for proper type resolution (#12926)
- fix(tracing): Ensure you can pass
null
asparentSpan
instartSpan*
(#12928) - ref(core): Small bundle size improvement (#12830)
Work in this release was contributed by @GitSquared, @ziyadkhalil and @mcous. Thank you for your contributions!
Bundle size 📦
Path | Size |
---|---|
@sentry/browser | 22.3 KB |
@sentry/browser (incl. Tracing) | 33.69 KB |
@sentry/browser (incl. Tracing, Replay) | 69.77 KB |
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 63.08 KB |
@sentry/browser (incl. Tracing, Replay with Canvas) | 74.17 KB |
@sentry/browser (incl. Tracing, Replay, Feedback) | 86.49 KB |
@sentry/browser (incl. Tracing, Replay, Feedback, metrics) | 88.36 KB |
@sentry/browser (incl. metrics) | 26.59 KB |
@sentry/browser (incl. Feedback) | 38.98 KB |
@sentry/browser (incl. sendFeedback) | 26.93 KB |
@sentry/browser (incl. FeedbackAsync) | 31.54 KB |
@sentry/react | 25.06 KB |
@sentry/react (incl. Tracing) | 36.75 KB |
@sentry/vue | 26.41 KB |
@sentry/vue (incl. Tracing) | 35.57 KB |
@sentry/svelte | 22.44 KB |
CDN Bundle | 23.52 KB |
CDN Bundle (incl. Tracing) | 35.47 KB |
CDN Bundle (incl. Tracing, Replay) | 69.87 KB |
CDN Bundle (incl. Tracing, Replay, Feedback) | 75.14 KB |
CDN Bundle - uncompressed | 69 KB |
CDN Bundle (incl. Tracing) - uncompressed | 104.93 KB |
CDN Bundle (incl. Tracing, Replay) - uncompressed | 216.71 KB |
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 229.43 KB |
@sentry/nextjs (client) | 36.61 KB |
@sentry/sveltekit (client) | 34.34 KB |
@sentry/node | 130.83 KB |
@sentry/node - without tracing | 91.91 KB |
@sentry/aws-serverless | 117.08 KB |