@sentry/solid
11.10.0 · 28 Oct 2026MIT208.8k / weekRepositoryHomepagenpmAtom feed
11.10.0 is the newest release of 11.x.
In short
5 new23 fixed49 internal
Release note
Important Changes
cloudflare: Add opt-in cron monitoring for Cron Triggers
The new
cronTriggersIntegrationsends check-ins for Cron Triggers. Each check-in includes the schedule fromcontroller.cron, so Sentry creates the monitor on the first run. The integration is opt-in, because monitors are billed.Cron Triggers have no names, so map each cron expression of your wrangler config to a monitor slug. With the Sentry Cloudflare Vite plugin, add the integration to
src/instrument.server.ts:// src/monitorSlugs.ts export const monitorSlugs: Record<string, string> = { '30 9 * * MON-FRI': 'daily-report', }; // src/instrument.server.ts import * as Sentry from '@sentry/cloudflare'; import { monitorSlugs } from './monitorSlugs'; export default Sentry.defineCloudflareOptions(env => ({ dsn: env.SENTRY_DSN, integrations: [Sentry.cronTriggersIntegration({ monitorSlug: cron => monitorSlugs[cron] })], })); // src/index.ts import { monitorSlugs } from './monitorSlugs'; export default { async scheduled(controller, env) { switch (monitorSlugs[controller.cron]) { case 'daily-report': // Your daily report job break; } }, };The
monitorSlugfunction can also return monitor settings, for example{ monitorSlug: 'daily-report', maxRuntime: 30 }, orundefinedto send no check-ins for a trigger. WithoutmonitorSlug, the SDK derives the slug from the cron expression. If you deploy withwranglerdirectly, pass the same integration toSentry.withSentry.node: Add neonIntegration for @neondatabase/serverless (#25164, #25176)
The new
neonIntegrationcreatesdbspans for queries of the@neondatabase/serverlessdriver: for the WebSocketClientandPool, and for the HTTPneon()function. This includes theneon-httpandneon-serverlessadapters of Drizzle. The integration is on by default when tracing is enabled.node: Stop sending the process session once request sessions are tracked
Node servers sent release health data two times: as request session aggregates, and as the process session of
processSessionIntegration. An error in a request also marked the process session as errored, so the SDK counted the error two times. Now the SDK drops the process session when it tracks the first request session. Scripts, CLIs and workers that do not serve requests keep the process session, and so do servers withhttpServerIntegration({ sessions: false }). This changes the release health numbers of Node servers, because they no longer send the errored or crashed update of the process session.server-utils: Record decide calls as
gen_ai.decidespans (#25270, #25272, #25274, #25281)Vercel AI
experimental_decidecalls, Mastra classifier evaluations, TypeSafe and LangChain Jev calls, and Workers AI calls to TypeSafe Jev and Cloudflare Clef models now createdecide <model>spans with the opgen_ai.decide. Before, these spans had the opgen_ai.evaluate, which is now deprecated in the Sentry conventions. If you usegen_ai.evaluatein queries, alerts or dashboards, change it togen_ai.decide.browser: Apply
urlQueryParamsto more URLs (#25262, #25289)The
dataCollection.urlQueryParamsoption now also filters the query parameters of these URLs:the page URL in
event.request.urlthe
browser.*andresource.*span names withtraceLifecycle: 'static'the LCP URL attributes
lcp.urlandbrowser.web_vital.lcp.urlthe URLs in fetch, XHR and navigation breadcrumbs
the
ui.element.urlattribute ofelementTimingIntegration
Before this fix, these URLs could send sensitive query values, for example
?jwt=..., to Sentry.nextjs: Apply top-level
bundleSizeOptimizationsto webpack and Turbopack buildsThe top-level
bundleSizeOptimizationsoption now removes unused SDK code in webpack and in Turbopack builds. Before, the tree-shaking options had no effect on Turbopack. Thewebpack.treeshakeoption is deprecated. It still works, but when you set both options,bundleSizeOptimizationstakes precedence.
Other Changes
nuxt: Detect the server API with
@nuxt/kit4.6bundler-plugins: Escape JSON in generated injection code
core: Don't mark http client spans as errors when the caller aborts
core: Record
spanclient report outcomes when discarding transactionscore: Record client outcomes when beforeSend callbacks return invalid values
core: Record span outcomes for spans dropped when building a transaction
core: Report actual item count in client reports of envelope send failures
core: Strip internal custom span name from streamed spans
nextjs: Filter query parameters in request error context
node: Don't mark fetch spans as errors when the caller aborts
nuxt: Delete public source maps before Nitro lists its public assets
nuxt: Keep
@sentry/server-runtime-injectionexternal on Nitro v3nuxt: Remove @opentelemetry/resources dev alias
profiling-node: Stop the trace lifecycle profiler when spans are unsampled
react-router: Respect custom default integrations
remix: Respect custom default integrations
server-utils: Avoid quadratic SQL summary regex backtracking
server-utils: End Express layer spans when the client aborts
server-utils: Record amqplib consumer info before the first delivery and instrument the callback API
server-utils: Stop treating previous_response_id as the OpenAI conversation id
sveltekit: Read load event pathname untracked
sveltekit: Stop adapter-node 6 output dir probe from deleting the build
Internal Changes
Work in this release was contributed by @Philip-Nwabuwa and @4ktLuffy. Thank you for your contributions!
Bundle size
| Path | Size |
|---|---|
| @sentry/browser | 29.13 KB |
| @sentry/browser - with treeshaking flags | 27.3 KB |
| @sentry/browser - with treeshaking flags tracing without tracing | 27.22 KB |
| @sentry/browser (incl. Tracing) | 50.8 KB |
| @sentry/browser (incl. Tracing + Span Streaming) | 50.8 KB |
| @sentry/browser (incl. Tracing, Profiling) | 53.68 KB |
| @sentry/browser (incl. Tracing, Replay) | 89.6 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 78.73 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 94.21 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 106.87 KB |
| @sentry/browser (incl. Feedback) | 46.24 KB |
| @sentry/browser (incl. sendFeedback) | 34.07 KB |
| @sentry/browser (incl. FeedbackAsync) | 39.07 KB |
| @sentry/browser (incl. Metrics) | 30.13 KB |
| @sentry/browser (incl. Logs) | 30.4 KB |
| @sentry/browser (incl. Metrics & Logs) | 31.03 KB |
| @sentry/react | 30.9 KB |
| @sentry/react (incl. Tracing) | 53.07 KB |
| @sentry/vue | 37.09 KB |
| @sentry/vue (incl. Tracing) | 53.66 KB |
| @sentry/svelte | 29.16 KB |
| @sentry/remix (Remix 3 client bundle) | 55.68 KB |
| CDN Bundle | 30.82 KB |
| CDN Bundle (incl. Tracing) | 51.29 KB |
| CDN Bundle (incl. Logs, Metrics) | 32.98 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) | 53.19 KB |
| CDN Bundle (incl. Replay, Logs, Metrics) | 72.95 KB |
| CDN Bundle (incl. Tracing, Replay) | 88.08 KB |
| CDN Bundle (incl. Tracing, Replay, Logs, Metrics) | 89.95 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 94.08 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) | 95.98 KB |
| CDN Bundle - uncompressed | 90.8 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 152.18 KB |
| CDN Bundle (incl. Logs, Metrics) - uncompressed | 97.19 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed | 158 KB |
| CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed | 224.18 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 269.53 KB |
| CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed | 275.33 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 282.91 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed | 288.71 KB |
| @sentry/nextjs (client) | 55.42 KB |
| @sentry/sveltekit (client) | 51.18 KB |
| @sentry/core/server | 40.03 KB |
| @sentry/core/browser | 13.49 KB |
| @sentry/node | 148.39 KB |
| @sentry/node/import (ESM hook with diagnostics-channel injection) | 81.82 KB |
| @sentry/node - without tracing | 92.32 KB |
| @sentry/node - without channel injection | 127.08 KB |
| @sentry/aws-serverless | 100.28 KB |
| @sentry/cloudflare (withSentry) - minified | 205.45 KB |
| @sentry/cloudflare (withSentry) | 509.38 KB |
| @sentry/nextjs/cloudflare (withSentry) - minified | 222.71 KB |