Packages

@sentry/core

11.14.0 · 17 Nov 2026MIT107.3M / weekRepositoryHomepagenpmAtom feed

Your version

11.11.0

5 Nov 2026Where it was published

11.15.0 is the newest release of 11.x.

In short

1 deprecated5 fixed88 internal

  • Deprecated

    ref(core): Deprecate the released handleTunnelRequest form and reword the serveTunnelIntegration docs

Release note

Important Changes

  • nestjs: Add an option to monitor every @Cron method

    Set monitorCronJobs: true on nestIntegration() to send check-ins for every @Cron() method, without adding @SentryCron to each one. It's off by default. Each monitored job creates a monitor in Sentry, and monitors are billed. Use excludeCronJobs to skip jobs by slug. Methods that also have @SentryCron check in once, with the slug and options passed to @SentryCron.

  • node: Add cronJobIntegration to monitor cron jobs

    Add Sentry.cronJobIntegration() to integrations to send check-ins for every named CronJob of the cron package (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. Use excludeJobs to skip jobs by name. Sentry.cron.instrumentCron is deprecated; use cronJobIntegration instead.

  • server-utils: Instrument @anthropic-ai/sdk 1.x and turn off its own OTel spans

    The Anthropic integration now instruments @anthropic-ai/sdk 1.x. Since 0.134 the SDK also records its own OpenTelemetry spans, such as anthropic.messages.create, which duplicated Sentry's gen_ai spans. Once Sentry instruments the SDK, it sets ANTHROPIC_OPEN_TELEMETRY=false to turn those spans off. To keep them, set ANTHROPIC_OPEN_TELEMETRY=true or pass the openTelemetry option 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 cacheComponents shell, the pageload now has the page.server_rendering.type attribute. It is static if the whole page came from the cache, and partially_static if 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/integration entry for the Astro integration

  • bundler-plugins: Add sourcemaps.deleteSourcemapsAfterUpload and staged uploads

  • nestjs: Derive SentryCron monitor config from @Cron

  • nextjs: Add applicationKeyExcludeDependencies option

  • node: Add awsLambdaWebIntegration for Lambda Web Functions

  • node: 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 getSqlSpanName for SQL span names

  • server-utils: Move to new getSqlQueryAttributes helper for consistency

  • server-utils: Record AI SDK v7 runtime and tool context on Vercel AI spans

  • server-utils: Set db.operation.name on SQL spans

  • server-utils: Support @mistralai/mistralai v3

  • solidstart: Export withSentry from @sentry/solidstart/vite

  • astro: 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 handleTunnelRequest form and reword the serveTunnelIntegration docs

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

PathSize
@sentry/browser29.69 KB
@sentry/browser - with treeshaking flags27.87 KB
@sentry/browser - with treeshaking flags tracing without tracing27.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 flags79.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/react31.53 KB
@sentry/react (incl. Tracing)53.81 KB
@sentry/vue37.77 KB
@sentry/vue (incl. Tracing)54.44 KB
@sentry/svelte29.71 KB
@sentry/remix (Remix 3 client bundle)56.46 KB
CDN Bundle31.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 - uncompressed92.45 KB
CDN Bundle (incl. Tracing) - uncompressed153.97 KB
CDN Bundle (incl. Logs, Metrics) - uncompressed98.77 KB
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed159.58 KB
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed227.25 KB
CDN Bundle (incl. Tracing, Replay) - uncompressed272.81 KB
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed278.4 KB
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed286.2 KB
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed291.77 KB
@sentry/nextjs (client)56.69 KB
@sentry/sveltekit (client)52 KB
@sentry/core/server43.21 KB
@sentry/core/browser13.6 KB
@sentry/node152.29 KB
@sentry/node/import (ESM hook with diagnostics-channel injection)80.35 KB
@sentry/node - without tracing94.62 KB
@sentry/node - without channel injection133.08 KB
@sentry/aws-serverless102.63 KB
@sentry/cloudflare (withSentry) - minified195.97 KB
@sentry/cloudflare (withSentry)487.35 KB
@sentry/nextjs/cloudflare (withSentry) - minified217.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.