Important Changes
- feat(v10/cloudflare): Add
instrumentAgentWithSentryfor Cloudflare Agents (#22786)
The Cloudflare SDK adds a new instrumentAgentWithSentry API for Cloudflare Agents. It works like instrumentDurableObjectWithSentry for Agent classes from the agents SDK and additionally creates spans for @callable RPC methods and automatically sets the conversationId based on the agent's name. When building with the Sentry Vite plugin, Agents are instrumented automatically (#22788).
Other Changes
- feat(v10/cloudflare): Add Spotlight integration for local dev event forwarding (#22796)
- feat(v10/cloudflare): Add wranglerConfigPath to Vite options (#22803)
- feat(v10/cloudflare): Filter framework-internal Durable Object storage spans (#22770)
- feat(v10/cloudflare): Instrument Agents automatically (#22788)
- feat(v10/cloudflare): Rotate agent conversation id on chat clear (#22787)
- fix(v10/cloudflare): Also skip cf: prefixed DOs (#22802)
- fix(v10/cloudflare): Filter
CREATE INDEXspans oncf_-prefixed tables (#22767) - fix(v10/cloudflare): Prevent AI provider skips (#22771)
- fix(v10/core): Summarize SQLite upserts so Durable Object
cf_spans stay filtered (#22766) - fix(v10/effect): Set
sentry.originon logs fromSentryEffectLogger(#22806) - fix(v10/gatsby): Add React 19 to peer dependency range (#22675)
- fix(v10/node): Unpin
@apm-js-collab/code-transformer-bundler-plugins(#22678) - fix(v10/server-utils): Do not inject dc into client bundle (#22765)
Internal Changes
- test(v10/cloudflare): Pin mcp as agent depends on it (#22769)
Bundle size 📦
| Path | Size |
|---|---|
| @sentry/browser | 27.11 KB |
| @sentry/browser - with treeshaking flags | 25.59 KB |
| @sentry/browser (incl. Tracing) | 45.51 KB |
| @sentry/browser (incl. Tracing + Span Streaming) | 47.25 KB |
| @sentry/browser (incl. Tracing, Profiling) | 50.15 KB |
| @sentry/browser (incl. Tracing, Replay) | 83.84 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 73.71 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 88.44 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 100.79 KB |
| @sentry/browser (incl. Feedback) | 43.88 KB |
| @sentry/browser (incl. sendFeedback) | 31.79 KB |
| @sentry/browser (incl. FeedbackAsync) | 36.8 KB |
| @sentry/browser (incl. Metrics) | 28.17 KB |
| @sentry/browser (incl. Logs) | 28.39 KB |
| @sentry/browser (incl. Metrics & Logs) | 29.07 KB |
| @sentry/react | 28.87 KB |
| @sentry/react (incl. Tracing) | 47.72 KB |
| @sentry/vue | 32.41 KB |
| @sentry/vue (incl. Tracing) | 47.43 KB |
| @sentry/svelte | 27.13 KB |
| CDN Bundle | 29.45 KB |
| CDN Bundle (incl. Tracing) | 47.42 KB |
| CDN Bundle (incl. Logs, Metrics) | 30.99 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) | 48.7 KB |
| CDN Bundle (incl. Replay, Logs, Metrics) | 69.34 KB |
| CDN Bundle (incl. Tracing, Replay) | 84.04 KB |
| CDN Bundle (incl. Tracing, Replay, Logs, Metrics) | 85.32 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 89.71 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) | 90.94 KB |
| CDN Bundle - uncompressed | 87.8 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 143.35 KB |
| CDN Bundle (incl. Logs, Metrics) - uncompressed | 92.4 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed | 147.23 KB |
| CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed | 214.24 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 259.79 KB |
| CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed | 263.66 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 273.17 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed | 277.03 KB |
| @sentry/nextjs (client) | 50.2 KB |
| @sentry/sveltekit (client) | 45.92 KB |
| @sentry/core/server | 78.56 KB |
| @sentry/core/browser | 65.22 KB |
| @sentry/node-core | 61.78 KB |
| @sentry/node | 122.95 KB |
| @sentry/node (incl. diagnostics channel injection) | 147.79 KB |
| @sentry/node/import (ESM hook with diagnostics-channel injection) | 68.39 KB |
| @sentry/node/light | 50.21 KB |
| @sentry/node - without tracing | 73.19 KB |
| @sentry/aws-serverless | 82.24 KB |
| @sentry/cloudflare (withSentry) - minified | 195.81 KB |
| @sentry/cloudflare (withSentry) | 481.16 KB |