Important Changes
-
feat(browser): Add
browserTracingCoreIntegrationand standalone tracing integrations (#26259, #26260, #26261, #26262, #26273, #26276, #26497)browserTracingIntegrationnow sets up fetch and XHR request spans, linked traces, long tasks and resource spans through the standalonefetchTracingIntegration,xhrTracingIntegration,linkedTracesIntegration,longTasksIntegrationandresourcesIntegration. Its behavior is unchanged. To ship less code, usebrowserTracingCoreIntegration, which keeps pageload and navigation spans, and add only the standalone integrations you need. The CDN bundles export them too. -
ref(server-utils): Share one cron converter across cron integrations (#25918)
Sentry.cron.instrumentCron,instrumentNodeCronandinstrumentNodeSchedulesend the server's time zone when a job has none, so monitors don't report false misses on servers that aren't on UTC. Schedules Sentry can't express exactly, such as per-second schedules, send no monitor config, so the monitor keeps the schedule set in Sentry.Sentry.cron.instrumentNodeCronis deprecated; usenodeCronIntegrationinstead. -
fix(nuxt): Name the database system in
db.system.nameof db0 spans (#26285)Nitro database (db0) spans now set
db.system.nameto the database system of the connector's dialect (mysql,postgresql,sqliteorlibsql), as the OpenTelemetry conventions define it, instead of the connector name. For example, spans of themysql2andplanetscaleconnectors now reportmysql, and spans ofbetter-sqlite3andcloudflare-d1now reportsqlite. Update saved queries, alerts and dashboards that filter on the connector names.
Other Changes
- feat(cloudflare): Deprecate
cacheClientoption (#26494) - feat(cloudflare): Set server name and runtime version from the wrangler config (#26427)
- feat(core): add experimental SDK config integration (#26291)
- feat(server-utils): Instrument Google GenAI decisions as gen_ai.decide spans (#26457)
- feat(server-utils): Record Vercel AI Gateway cost on AI SDK spans (#26462)
- fix(core): Escape
JSON.stringifyoutput that goes into generated code (#26314) - fix(core): Keep the longest active rate limit for each category (#26410)
- fix(nestjs,sveltekit,nuxt,astro): Report the framework SDK name on all runtimes (#26302)
- fix(nuxt): Answer managed tunnel requests on Cloudflare (#26365)
- fix(profiling-node): Use safeDateNow for profile envelope timestamps (#26474)
- fix(server-utils): Mark Mistral and Workers AI spans as cancelled when the caller aborts (#26454)
- fix(server-utils): Support @google/genai v3 in auto-instrumentation (#26441)
Internal Changes
- chore(ci): Route e2e test apps and more packages to SDK subteams in REVIEWERS (#26415)
- chore(deps): Bump next from 16.3.3 to 16.4.5 in /dev-packages/e2e-tests/test-applications/nextjs-16-standalone (#26433)
- chore(deps): Bump next from 16.3.8 to 16.4.5 in /dev-packages/e2e-tests/test-applications/nextjs-16-tunnel (#26438)
- chore(deps): Bump next from 16.4.1 to 16.4.5 in /dev-packages/e2e-tests/test-applications/vinext-cf-workers (#26436)
- chore(deps): Bump next from 16.4.2 to 16.4.5 in /dev-packages/e2e-tests/test-applications/nextjs-16 (#26439)
- chore(deps): Stop Dependabot security updates for test packages (#26443)
- chore: Route reviews to timfish and RulaKhaled (#26444)
- ci: Don't count the PR's owners towards its required reviewers (#26417)
- ci: Fix the lockfile check, the WebKit launch, and slow unit tests (#26458)
- ci: Gate Junior PRs from outside the SDK team on a team or contractor review (#26413)
- ci: List job failures outside tests in the weekly flaky report (#26460)
- ci: Resolve contractors' Slack names in the Junior requester lookup (#26463)
- ci(deps): Bump anthropics/claude-code-action from 1.0.266 to 1.0.276 (#26450)
- ci(deps): Bump getsentry/craft from 3.5.0 to 3.12.0 (#26448)
- ci(deps): Bump getsentry/github-workflows/validate-pr from 01bcb7fe69bb48bacd83e675840e3dc95b33c730 to 6bf4a27612e388f9c113d64f75e25190e814b414 (#26447)
- ci(deps): Bump peter-evans/create-pull-request from 8.1.1 to 8.1.3 (#26449)
- perf(ci): Run Cloudflare integration tests on six ARM shards (#26432)
- perf(ci): Shard Node unit tests across two jobs (#26466)
- perf(ci): Split large Node integration test suites (#26420)
- test: Give each test run its own port and queue (#26479)
- test: Remove wall-clock and flush timing assumptions from unit tests (#26467)
- test: Stop slow Docker steps from failing integration and E2E tests (#26481)
- test(browser): Fix flaky replay and tracing integration tests (#26478)
- test(cloudflare): Accept either order for the two workflow errors in run-errors test (#26446)
- test(cloudflare): Fix the invocation-duration flake and report request errors (#26459)
- test(e2e): Fix flaky hono, Next.js T3, and React Router tests (#26482)
- test(node-integration): Collect traces that arrive in several envelopes (#26480)
- test(tanstackstart-react): Add CSRF middleware to the e2e fixtures (#26451)
- test(tanstackstart-react): Run the tunnel e2e app on TanStack Start stable (#26456)
Work in this release was contributed by @JavierCane. Thank you for your contribution!
Bundle size 📦
| Path | Size |
|---|---|
| @sentry/browser | 29.47 KB |
| @sentry/browser - with treeshaking flags | 27.71 KB |
| @sentry/browser - with treeshaking flags tracing without tracing | 27.62 KB |
| @sentry/browser (incl. Tracing) | 51.5 KB |
| @sentry/browser (incl. Tracing Core) | 39.32 KB |
| @sentry/browser (incl. Tracing + Span Streaming) | 51.51 KB |
| @sentry/browser (incl. Tracing, Profiling) | 54.32 KB |
| @sentry/browser (incl. Tracing, Replay) | 90.61 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 79.69 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 94.88 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 107.8 KB |
| @sentry/browser (incl. Feedback) | 46.68 KB |
| @sentry/browser (incl. sendFeedback) | 30.04 KB |
| @sentry/browser (incl. FeedbackAsync) | 34.92 KB |
| @sentry/browser (incl. Metrics) | 30.76 KB |
| @sentry/browser (incl. Logs) | 31.03 KB |
| @sentry/browser (incl. Metrics & Logs) | 31.68 KB |
| @sentry/react | 31.44 KB |
| @sentry/react (incl. Tracing) | 54.09 KB |
| @sentry/vue | 37.48 KB |
| @sentry/vue (incl. Tracing) | 54.38 KB |
| @sentry/svelte | 29.49 KB |
| @sentry/remix (Remix 3 client bundle) | 57.03 KB |
| CDN Bundle | 31.35 KB |
| CDN Bundle (incl. Tracing) | 51.9 KB |
| CDN Bundle (incl. Logs, Metrics) | 34.07 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) | 54.41 KB |
| CDN Bundle (incl. Replay, Logs, Metrics) | 74.14 KB |
| CDN Bundle (incl. Tracing, Replay) | 88.9 KB |
| CDN Bundle (incl. Tracing, Replay, Logs, Metrics) | 91.45 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 94.16 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) | 96.66 KB |
| CDN Bundle - uncompressed | 91.6 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 153.44 KB |
| CDN Bundle (incl. Logs, Metrics) - uncompressed | 99.74 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed | 160.89 KB |
| CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed | 226.81 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 270.78 KB |
| CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed | 278.23 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 282.3 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed | 289.74 KB |
| @sentry/nextjs (client) | 57.63 KB |
| @sentry/sveltekit (client) | 52.76 KB |
| @sentry/core/server | 43.75 KB |
| @sentry/core/browser | 14.07 KB |
| @sentry/node | 148.18 KB |
| @sentry/node/import (ESM hook with diagnostics-channel injection) | 81.38 KB |
| @sentry/node - without tracing | 86.59 KB |
| @sentry/node - without channel injection | 137.4 KB |
| @sentry/aws-serverless | 96.72 KB |
| @sentry/cloudflare (withSentry) - minified | 202.1 KB |
| @sentry/cloudflare (withSentry) | 469.11 KB |
| @sentry/nextjs/cloudflare (withSentry) - minified | 226.86 KB |