feat(browser): Add View Hierarchy integration (#14981)
A new viewHierarchyIntegration captures the DOM structure when an error occurs, providing a snapshot of the page state for debugging. Enable it in your Sentry configuration:
import * as Sentry from '@sentry/browser';
Sentry.init({
dsn: '__DSN__',
integrations: [Sentry.viewHierarchyIntegration()],
});
feat(cloudflare): Split alarms into multiple traces and link them (#19373)
Durable Object alarms now create separate traces for each alarm invocation, with proper linking between related alarms for better observability.
feat(cloudflare): Enable RPC trace propagation with enableRpcTracePropagation (#19991, #20345)
A new enableRpcTracePropagation option enables automatic trace propagation for Cloudflare RPC calls via .fetch(), ensuring distributed traces flow correctly across service bindings.
feat(core): Add enableTruncation option to AI integrations (#20167, #20181, #20182, #20183, #20184)
All AI integrations (OpenAI, Anthropic, Google GenAI, LangChain, LangGraph) now support an enableTruncation option to control whether large AI inputs/outputs are truncated.
feat(opentelemetry): Vendor AsyncLocalStorageContextManager (#20243)
The OpenTelemetry context manager is now vendored internally, reducing external dependencies and ensuring consistent behavior across environments.
rewriteSources top level option (#20142)eventLoopBlockIntegration (#20108)conversation_id only on gen_ai spans (#20274)ai.operationId for Vercel AI V6 operation name mapping (#20285)reader.closed rejection from releaseLock() in streaming (#20187)findInjectionIndexAfterDirectives for better readability (#20310)@opentelemetry/resources with inline getSentryResource() (#20327)| Path | Size |
|---|---|
| @sentry/browser | 25.18 KB |
| @sentry/browser - with treeshaking flags | 23.71 KB |
| @sentry/browser (incl. Tracing) | 42.59 KB |
| @sentry/browser (incl. Tracing + Span Streaming) | 44.26 KB |
| @sentry/browser (incl. Tracing, Profiling) | 47.37 KB |
| @sentry/browser (incl. Tracing, Replay) | 80.8 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 70.55 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 85.38 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 97.34 KB |
| @sentry/browser (incl. Feedback) | 41.59 KB |
| @sentry/browser (incl. sendFeedback) | 29.74 KB |
| @sentry/browser (incl. FeedbackAsync) | 34.62 KB |
| @sentry/browser (incl. Metrics) | 26.44 KB |
| @sentry/browser (incl. Logs) | 26.57 KB |
| @sentry/browser (incl. Metrics & Logs) | 27.24 KB |
| @sentry/react | 26.89 KB |
| @sentry/react (incl. Tracing) | 44.81 KB |
| @sentry/vue | 29.89 KB |
| @sentry/vue (incl. Tracing) | 44.38 KB |
| @sentry/svelte | 25.2 KB |
| CDN Bundle | 27.79 KB |
| CDN Bundle (incl. Tracing) | 43.64 KB |
| CDN Bundle (incl. Logs, Metrics) | 29.13 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) | 44.7 KB |
| CDN Bundle (incl. Replay, Logs, Metrics) | 67.12 KB |
| CDN Bundle (incl. Tracing, Replay) | 79.74 KB |
| CDN Bundle (incl. Tracing, Replay, Logs, Metrics) | 80.79 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 85.13 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) | 86.17 KB |
| CDN Bundle - uncompressed | 81.17 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 130.51 KB |
| CDN Bundle (incl. Logs, Metrics) - uncompressed | 85.22 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed | 133.84 KB |
| CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed | 205.7 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 244.99 KB |
| CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed | 248.31 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 257.6 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed | 260.91 KB |
| @sentry/nextjs (client) | 47.28 KB |
| @sentry/sveltekit (client) | 43.02 KB |
| @sentry/node-core | 56.58 KB |
| @sentry/node | 170.68 KB |
| @sentry/node - without tracing | 95.57 KB |
| @sentry/aws-serverless | 112.42 KB |
Fetched April 16, 2026