Important Changes
-
feat(sveltekit): Add support for SvelteKit 3 (#22264)
The SvelteKit SDK now supports the pre-release of SvelteKit 3, including client-side pageload and navigation tracing and server-side native tracing, alongside continued SvelteKit 2 support. No Sentry-specific setup changes are required. The SDK detects your SvelteKit version and picks the right implementation automatically.
Other Changes
- feat(aws-serverless): Use orchestrion aws-sdk integration under diagnostics-channel opt-in (#22143)
- feat(cloudflare): Auto-instrument Workers AI binding via env instrumentation (#22126)
- feat(cloudflare): Instrument Cloudflare rate limiter bindings (#22035)
- feat(core): Instrument workers-ai-provider (#22119)
- feat(core): Rename
queryParamstourlQueryParams(#22217) - feat(mongodb): implement orchestrion mongodb integration (#22308)
- feat(mongoose): implement orchestrion mongoose integration (#22202)
- feat(node): Rewrite tedious instrumentation to orchestrion tracing channels (#22238)
- feat(nuxt): Add
_experimental.useDiagnosticsChannelInjection(#22323) - feat(remix): Add orchestrion-based remix instrumentation (#22244)
- feat(replay): Allow skipping the final flush on stop() via { flush: false } (#22300)
- feat(server-utils): Add @opentelemetry/instrumentation-koa orchestrion integration (#22146)
- feat(server-utils): Add orchestrion aws-sdk channel integration core (#22142)
- feat(server-utils): Allow passing custom transforms to orchestrion (#22319)
- feat(server-utils): Port Bedrock aws-sdk extension and add integration tests (#22166)
- feat(server-utils): Port S3, Kinesis, DynamoDB, SecretsManager and StepFunctions aws-sdk extensions (#22164)
- feat(server-utils): Port SQS, SNS and Lambda aws-sdk extensions with trace propagation (#22165)
- feat(server-utils): Rewrite
SentryLangChainInstrumentationto orchestrion (#22266) - feat(server-utils): Rewrite
SentryLangGraphInstrumentationto orchestrion (#22268) - feat(vue): Set
navigation.route.idfrom the route name (#22372) - fix(bundler): do not import type from optional peer dep (#22304)
- fix(cloudflare): Bind Durable Object built-in handlers (#22340)
- fix(cloudflare): Instrument custom WorkerEntrypoint RPC methods (#22310)
- fix(cloudflare): Route DO teardown through original
waitUntil(#22339) - fix(cloudflare): Skip spans for Cloudflare-internal Durable Object SQL queries (#22376)
- fix(core): Prevent functionToStringIntegration from throwing on cross-origin realms (#22273)
- fix(core): Prevent infinite recursion when console is instrumented twice (#21959)
- fix(nextjs): Mark internal chunk frames as not
in_app(#22354) - fix(node): Register tracer provider when OTel API global pre-exists with a different version (#22374)
- fix(node-native): Don't drop breadcrumbs from event loop block events (#22322)
- fix(serve-rutils): Orchestrion diagnostics for async and require (#22327)
- fix(server-utils): Only skip loader thread (#22336)
- fix(sveltekit): Detect SvelteKit server build via Vite Environment API (#21629)
- fix(vercelai): Avoid double-capturing v4 tool errors in orchestrion mode (#22293)
- fix(vue): Support pinia 4 in peer dependency range (#22324)
Internal Changes
- chore: Add external contributor to CHANGELOG.md (#22357)
- chore: Add external contributor to CHANGELOG.md (#22359)
- chore: Remove
@apm-js-collab/code-transformeras a dependency (#22317) - chore(changelog): Add callout for SvelteKit 3 support (#22371)
- chore(ci): Use openrouter keys for claude in ci (#22381)
- chore(skills): Add libraries to framework update watcher (#22326)
- docs(agents): Prefer reusing existing utils before adding new ones (#22370)
- feat(deps): Bump @opentelemetry/semantic-conventions from 1.42.0 to 1.43.0 in the opentelemetry group (#22333)
- fix(skills): Make sure digest file is written/read correctly (#22330)
- ref: Omit redundant
captureError: falsefrom tracing-channel callsites (#22368) - ref: Use base keys from conventions for dynamic suffix attribute keys (#22356)
- ref(core): Replace
sentry.span.sourceattribute withsentry.segment.name.source(#22358) - ref(server-utils): Collapse express route/use into one orchestrion channel (#22331)
- ref(server-utils): Share one orchestrion channel across OpenAI chat/responses/conversations (#22332)
- refactor(nextjs): Change ESM interop. to remove lazy loading (#22193)
- test(cloudflare): Add tests for
ignoreSpanswith continued traces (#22316) - test(cloudflare): Proof that AI providers work OOTB on Cloudflare (#22313)
Work in this release was contributed by @PeterWadie and @akshitsinha. Thank you for your contributions!
Bundle size 📦
| Path | Size |
|---|---|
| @sentry/browser | 27.09 KB |
| @sentry/browser - with treeshaking flags | 25.57 KB |
| @sentry/browser (incl. Tracing) | 45.47 KB |
| @sentry/browser (incl. Tracing + Span Streaming) | 47.24 KB |
| @sentry/browser (incl. Tracing, Profiling) | 50.16 KB |
| @sentry/browser (incl. Tracing, Replay) | 83.81 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 73.7 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 88.43 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 100.78 KB |
| @sentry/browser (incl. Feedback) | 43.88 KB |
| @sentry/browser (incl. sendFeedback) | 31.79 KB |
| @sentry/browser (incl. FeedbackAsync) | 36.81 KB |
| @sentry/browser (incl. Metrics) | 28.16 KB |
| @sentry/browser (incl. Logs) | 28.37 KB |
| @sentry/browser (incl. Metrics & Logs) | 29.06 KB |
| @sentry/react | 28.85 KB |
| @sentry/react (incl. Tracing) | 47.69 KB |
| @sentry/vue | 32.4 KB |
| @sentry/vue (incl. Tracing) | 47.39 KB |
| @sentry/svelte | 27.13 KB |
| CDN Bundle | 29.44 KB |
| CDN Bundle (incl. Tracing) | 47.39 KB |
| CDN Bundle (incl. Logs, Metrics) | 30.99 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) | 48.67 KB |
| CDN Bundle (incl. Replay, Logs, Metrics) | 69.31 KB |
| CDN Bundle (incl. Tracing, Replay) | 84.02 KB |
| CDN Bundle (incl. Tracing, Replay, Logs, Metrics) | 85.3 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 89.69 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) | 90.93 KB |
| CDN Bundle - uncompressed | 87.77 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 143.29 KB |
| CDN Bundle (incl. Logs, Metrics) - uncompressed | 92.37 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed | 147.17 KB |
| CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed | 214.18 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 259.71 KB |
| CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed | 263.58 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 273.09 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed | 276.95 KB |
| @sentry/nextjs (client) | 50.16 KB |
| @sentry/sveltekit (client) | 45.88 KB |
| @sentry/core/server | 78.25 KB |
| @sentry/core/browser | 65 KB |
| @sentry/node-core | 61.73 KB |
| @sentry/node | 122.72 KB |
| @sentry/node (incl. diagnostics channel injection) | 145.93 KB |
| @sentry/node/import (ESM hook with diagnostics-channel injection) | 68.39 KB |
| @sentry/node/light | 50.12 KB |
| @sentry/node - without tracing | 73.16 KB |
| @sentry/aws-serverless | 82.18 KB |
| @sentry/cloudflare (withSentry) - minified | 192.88 KB |
| @sentry/cloudflare (withSentry) | 474.48 KB |