@sentry/core
11.14.0 · 17 Nov 2026MIT107.3M / weekRepositoryHomepagenpmAtom feed
11.15.0 is the newest release of 11.x.
In short
1 deprecated5 fixed88 internal
- Deprecated
ref(core): Deprecate the released
handleTunnelRequestform and reword theserveTunnelIntegrationdocs
Release note
Important Changes
nestjs: Add an option to monitor every @Cron method
Set
monitorCronJobs: trueonnestIntegration()to send check-ins for every@Cron()method, without adding@SentryCronto each one. It's off by default. Each monitored job creates a monitor in Sentry, and monitors are billed. UseexcludeCronJobsto skip jobs by slug. Methods that also have@SentryCroncheck in once, with the slug and options passed to@SentryCron.node: Add cronJobIntegration to monitor cron jobs
Add
Sentry.cronJobIntegration()tointegrationsto send check-ins for every namedCronJobof thecronpackage (4.3+), with the job name as the monitor slug. It's off by default. Each monitored job creates a monitor in Sentry, and monitors are billed. UseexcludeJobsto skip jobs by name.Sentry.cron.instrumentCronis deprecated; usecronJobIntegrationinstead.server-utils: Instrument @anthropic-ai/sdk 1.x and turn off its own OTel spans
The Anthropic integration now instruments
@anthropic-ai/sdk1.x. Since 0.134 the SDK also records its own OpenTelemetry spans, such asanthropic.messages.create, which duplicated Sentry'sgen_aispans. Once Sentry instruments the SDK, it setsANTHROPIC_OPEN_TELEMETRY=falseto turn those spans off. To keep them, setANTHROPIC_OPEN_TELEMETRY=trueor pass theopenTelemetryoption to the Anthropic client.nextjs: Mark pageloads of cached pages
When Next.js serves a page from its cache, for example an ISR page or a
cacheComponentsshell, the pageload now has thepage.server_rendering.typeattribute. It isstaticif the whole page came from the cache, andpartially_staticif parts of it rendered for this request. Then the pageload stays connected to this request, as before. If the request that rendered the cached page was sampled, the pageload also links to it. So in Sentry, a cached page no longer looks like missing server instrumentation.
Other Changes
astro: Add
@sentry/astro/integrationentry for the Astro integrationbundler-plugins: Add
sourcemaps.deleteSourcemapsAfterUploadand staged uploadsnestjs: Derive SentryCron monitor config from @Cron
nextjs: Add
applicationKeyExcludeDependenciesoptionnode: Add
awsLambdaWebIntegrationfor Lambda Web Functionsnode: Add BullMQ integration
node: Add nodeCronIntegration to monitor node-cron tasks
node: Add nodeScheduleIntegration to monitor node-schedule jobs
node: Support postgres v4 through its native tracing channels
server-utils: Extract
getSqlSpanNamefor SQL span namesserver-utils: Move to new
getSqlQueryAttributeshelper for consistencyserver-utils: Record AI SDK v7 runtime and tool context on Vercel AI spans
server-utils: Set
db.operation.nameon SQL spansserver-utils: Support @mistralai/mistralai v3
solidstart: Export
withSentryfrom@sentry/solidstart/viteastro: Initialize the server SDK on the first endpoint request
browser: Attribute long animation frame spans to the longest script
bundler-plugins: Inject debug IDs into every esbuild rebuild
bundler-plugins: Upload literal artifact paths
cloudflare: Run build-time instrumentation in vite dev
core: Call native toString without page-replaceable lookups in FunctionToString
core: Enforce linked error limits for aggregate and suppressed errors
core: Only create Supabase db spans when there is a parent span
core: Preserve span links through beforeSendSpan
core: Respect header collection for session user agents
nextjs: Don't abort Cache Components renders on Cloudflare Workers when requests overlap
nextjs: Drop tunnel requests under the Next.request proxy root span
nextjs: Fork isolation scope for Next.request proxy root spans
nextjs: Strip source map comments before trailing debug IDs
nitro: Capture errors thrown in tasks
nuxt: Keep storage instrumentation plugin synchronous
replay: Skip buffered replays for captureMessage stacks from the attachStacktrace default
server-utils: Fix orchestrion source maps of instrumented modules
server-utils: Read the pi-durable session id in every phase outside a run
server-utils: Require a parent span for Firestore operations
server-utils: Require a parent span for Tedious queries
server-utils: Use onlyIfParent for Firestore spans
server-utils: Use onlyIfParent for Tedious spans
solidstart: Serve the managed tunnel under Vite's base on SolidStart 2
sveltekit: Resolve Handle and ResolveOptions types on SvelteKit 3
wasm: Skip length prefix in 16-byte build IDs
- Deprecated
core: Deprecate the released
handleTunnelRequestform and reword theserveTunnelIntegrationdocs
Internal Changes
build: Handle CRLF line endings in pnpm-workspace.yaml check
Work in this release was contributed by @lazerg, @chiliec, @61465, @jpdefo, and @AyeshaWaseemAhmad. Thank you for your contributions!
Bundle size
| Path | Size |
|---|---|
| @sentry/browser | 29.69 KB |
| @sentry/browser - with treeshaking flags | 27.87 KB |
| @sentry/browser - with treeshaking flags tracing without tracing | 27.77 KB |
| @sentry/browser (incl. Tracing) | 51.49 KB |
| @sentry/browser (incl. Tracing + Span Streaming) | 51.5 KB |
| @sentry/browser (incl. Tracing, Profiling) | 54.4 KB |
| @sentry/browser (incl. Tracing, Replay) | 90.85 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 79.71 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 95.49 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 108.17 KB |
| @sentry/browser (incl. Feedback) | 46.86 KB |
| @sentry/browser (incl. sendFeedback) | 34.67 KB |
| @sentry/browser (incl. FeedbackAsync) | 39.66 KB |
| @sentry/browser (incl. Metrics) | 30.7 KB |
| @sentry/browser (incl. Logs) | 30.99 KB |
| @sentry/browser (incl. Metrics & Logs) | 31.69 KB |
| @sentry/react | 31.53 KB |
| @sentry/react (incl. Tracing) | 53.81 KB |
| @sentry/vue | 37.77 KB |
| @sentry/vue (incl. Tracing) | 54.44 KB |
| @sentry/svelte | 29.71 KB |
| @sentry/remix (Remix 3 client bundle) | 56.46 KB |
| CDN Bundle | 31.44 KB |
| CDN Bundle (incl. Tracing) | 52.01 KB |
| CDN Bundle (incl. Logs, Metrics) | 33.66 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) | 53.91 KB |
| CDN Bundle (incl. Replay, Logs, Metrics) | 74.1 KB |
| CDN Bundle (incl. Tracing, Replay) | 89.33 KB |
| CDN Bundle (incl. Tracing, Replay, Logs, Metrics) | 91.21 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 95.29 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) | 97.24 KB |
| CDN Bundle - uncompressed | 92.45 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 153.97 KB |
| CDN Bundle (incl. Logs, Metrics) - uncompressed | 98.77 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed | 159.58 KB |
| CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed | 227.25 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 272.81 KB |
| CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed | 278.4 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 286.2 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed | 291.77 KB |
| @sentry/nextjs (client) | 56.69 KB |
| @sentry/sveltekit (client) | 52 KB |
| @sentry/core/server | 43.21 KB |
| @sentry/core/browser | 13.6 KB |
| @sentry/node | 152.29 KB |
| @sentry/node/import (ESM hook with diagnostics-channel injection) | 80.35 KB |
| @sentry/node - without tracing | 94.62 KB |
| @sentry/node - without channel injection | 133.08 KB |
| @sentry/aws-serverless | 102.63 KB |
| @sentry/cloudflare (withSentry) - minified | 195.97 KB |
| @sentry/cloudflare (withSentry) | 487.35 KB |
| @sentry/nextjs/cloudflare (withSentry) - minified | 217.46 KB |
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.