Repository navigation
chore(deps): update JavaScript SDK to v11.10.0 - #6773
github-actions[bot] wants to merge 1 commit into
Conversation
Semver Impact of This PR⚪ None (no version bump detected) 📋 Changelog PreviewThis is how your changes will appear in the changelog.
🤖 This preview updates automatically when you update the PR. |
antonis
left a comment
There was a problem hiding this comment.
Marking as blocked since we will bump with our next major
|
Tested out the changes with #6730 |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 3 potential issues.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit adfb87a. Configure here.
| "@sentry/core": "11.0.0", | ||
| "@sentry/expo-upload-sourcemaps": "workspace:*", | ||
| "@sentry/react": "10.75.2" | ||
| "@sentry/react": "11.0.0" |
There was a problem hiding this comment.
PII collected by default after v11
High Severity
Flagged because the review rules require PII to stay gated behind sendDefaultPii and require changelog review on JS dependency bumps. v11 replaces sendDefaultPii with dataCollection and collects user info, cookies, HTTP bodies, and similar data by default. This SDK still documents and implements sendDefaultPii (default off) and omits dataCollection from ReactNativeOptions, so JS-core collection turns on while apps cannot disable it through the public options type.
Triggered by project rule: PR Review Guidelines for Cursor Bot
Reviewed by Cursor Bugbot for commit adfb87a. Configure here.
| "@sentry/core": "11.0.0", | ||
| "@sentry/expo-upload-sourcemaps": "workspace:*", | ||
| "@sentry/react": "10.75.2" | ||
| "@sentry/react": "11.0.0" |
There was a problem hiding this comment.
Unmigrated v11 breaking JS APIs
High Severity
Flagged because the review rules require JS dependency bumps to be checked for breaking API and default-integration changes. This PR only retargets @sentry/core, @sentry/browser, and @sentry/react to 11.0.0. Default integrations still call removed inboundFiltersIntegration, the public entry still re-exports removed instrumentLangGraph and AI helpers that moved off @sentry/core, and tracing still imports startIdleSpan from the default @sentry/core entry. No code, types, or changelog migration accompanies the major bump.
Triggered by project rule: PR Review Guidelines for Cursor Bot
Reviewed by Cursor Bugbot for commit adfb87a. Configure here.
| "@sentry/core": "11.0.0", | ||
| "@sentry/expo-upload-sourcemaps": "workspace:*", | ||
| "@sentry/react": "10.75.2" | ||
| "@sentry/react": "11.0.0" |
There was a problem hiding this comment.
Span streaming default breaks tracing
High Severity
Flagged because the review rules call out silent default and telemetry-shape changes on dependency updates. v11 enables span streaming by default and deprecates transaction-mode hooks such as beforeSendTransaction and forceTransaction. This SDK's navigation, app-start, and idle-span pipeline still assumes root spans are buffered as transactions and discarded via transaction event processors. Streaming would emit child spans before those filters run and change the telemetry apps currently receive.
Triggered by project rule: PR Review Guidelines for Cursor Bot
Reviewed by Cursor Bugbot for commit adfb87a. Configure here.
5b99eba to
a7da763
Compare
a5d19b4 to
5949ab3
Compare
9caf113 to
c8c3cc3
Compare
c2a203e to
c6bdd9e
Compare
8949646 to
b314359
Compare
e91ca5a to
4de25fc
Compare
849c853 to
255295a
Compare
14e4413 to
605c605
Compare
605c605 to
7ac8dcd
Compare
|
Any news? |
|
@sentry/react-native 8.31.0 still installs two Sentry CLIs: @sentry/cli@3.8.0 directly and @sentry/cli@2.58.6 through @sentry/bundler-plugins@10.76.2. Updating to bundler-plugins 11.x would remove the old one. Is there a date for this? |
Thanks for flagging this @mahnunchik 🙇 We have planned this for our next major v9 since the major JS SDK bump also includes breaking changes. This is planned for early 2027 since the React Native SDKs has many dependencies (including https://github.com/getsentry/sentry-cocoa and https://github.com/getsentry/sentry-java) and needs to align all in the next major. Until then the two CLIs are installed side by side and don't conflict. It only costs some extra install size. Sorry for the inconvenience. |


Bumps scripts/update-javascript.sh from 10.77.1 to 11.10.0.
Auto-generated by a dependency updater.
Changelog
11.10.0
feat: Add a managed tunnel that the SDK derives from the DSN (#25199, #25200, #25783)
Set
tunnel: truein your browserSentry.initcall to send events through your own server. This helps when ad blockers block requests to Sentry. The browser derives the tunnel path from the DSN, so older and newer builds of your client and server always agree on the path.To serve the tunnel, add
serveTunnelIntegration()to your server SDK. Astro, Nuxt, Nitro, React Router, Remix 3, SolidStart, SvelteKit and TanStack Start then answer tunnel requests automatically:If the browser uses a different DSN than the server, set
serveTunnelIntegration({ allowedDsns: [browserDsn] }). For other setups, the server SDKs exporthandleTunnelRequestIfMatched,handleTunnelRequest,isTunnelRequestandgetTunnelPath:The
requestoption ofhandleTunnelRequestis deprecated and will be removed in v12.feat: Make span origins spec compliant (#25602)
Some span origins changed their names to follow the trace origin spec:
auto.amqplib.*is nowauto.queue.amqplib.*, andauto.kafkajs.*is nowauto.queue.kafkajs.*.auto.vercelai.channelis nowauto.ai.vercelai.auto.firebase.firestoreis nowauto.db.firebase.firestore, andauto.firebase.functionsis nowauto.function.firebase.auto.aws.aws_sdkis nowauto.{rpc,db,queue,ai}.aws_sdk, with the category from the span op.auto.aws_lambdais nowauto.function.aws_serverless.auto.mcp.notificationis nowauto.function.mcp_server.notification.auto.db.cloudflare.durable_object.sqlis nowauto.db.cloudflare.durable_object_sql.auto.http.browser.{lcp,cls,inp}is nowauto.ui.browser.{lcp,cls,inp}.If you have
ignoreSpansrules, queries or alerts on the old origins, change them to use the new origins.feat(bun): Add incoming request options and request sessions to
bunServerIntegration(#25580)bunServerIntegrationnow accepts the same options asdenoServeIntegration:ignoreRequestBody,ignoreIncomingRequests,ignoreStaticAssets,spans,onSpanCreated,onSpanEnd,sessionsandsessionFlushingDelayMS. The callbacks receive the webRequest.Bun.servenow records a request session for each incoming request. Sessions are sent only when areleaseis set. To turn them off, setbunServerIntegration({ sessions: false }).ignoreStaticAssetsdefaults totrue, soBun.serveno longer creates spans forGETrequests to common static assets such asfavicon.ico,robots.txtor*.jsfiles. To keep these spans, setbunServerIntegration({ ignoreStaticAssets: false }).Bun.servespans also follow the client's tracing configuration by default, so the integration does not start spans when tracing is disabled. Errors thrown forOPTIONSandHEADrequests are now captured.feat(bun): Inject debug IDs and upload source maps in
sentryBunPlugin(#25670)sentryBunPluginfromsentry/bun/pluginnow accepts the same options assentryEsbuildPlugin(org,project,authToken,release,sourcemaps, ...). WhenBun.buildwrites source maps tooutdir, the plugin injects the debug ID that Bun writes into each bundle, injects the release, and uploads the source maps at the end of the build. You no longer need to runsentry sourcemap injectandsentry sourcemap uploadafter the build.Like the other bundler plugins,
sentryBunPluginnow sends build telemetry and injects the release it detects (for example, from git). To turn off telemetry, settelemetry: false.feat(cloudflare): Add incoming request span options to
httpServerIntegration(#25582)Cloudflare's
httpServerIntegrationnow acceptsignoreIncomingRequests,ignoreStaticAssets,spans,onSpanCreatedandonSpanEnd, with the same meaning as in the Node, Deno and Bun integrations. The callbacks receive the webRequest.ignoreStaticAssetsdefaults totrue, so workers no longer create spans forGETrequests to common static assets such asfavicon.ico,robots.txtor*.jsfiles. To keep these spans, sethttpServerIntegration({ ignoreStaticAssets: false }). Request spans also follow the client's tracing configuration by default, so the SDK does not start them when tracing is disabled. IfignoreRequestBodythrows, the request no longer fails, and the SDK skips the body.feat(cloudflare): Let users configure the channel integrations (#25584)
When the
sentry/cloudflare/viteplugin bundles an instrumented package (for examplepgoropenai), the SDK adds the matching integration with its default options.sentry/cloudflarenow exports these integrations, so you can set their options, for example ininstrument.server.ts:These integrations need the vite plugin. Without it, they record nothing, and with
debug: truethe SDK logs a warning.feat(node): Add
onSpanEndtohttpIntegration(#25581)httpIntegrationandhttpServerSpansIntegrationnow acceptonSpanEnd, a hook that runs when the response for an incoming request finishes, before its span ends. Use it to change the span based on the response. Deno and Bun already have this option.feat(node, bun, deno, cloudflare): Align portable exports across server SDKs (#25583)
Node, Bun, Deno and Cloudflare now export the same helpers from
sentry/coreandsentry/server-utilswhere they work on that runtime:moduleMetadataIntegration,instrumentPostgresJsSql,instrumentCreateReactAgent,awsIntegrationand theFlueOptionstype.awsIntegrationwas already in their default integrations.parameterizeandinstrumentStateGraphCompile.LogandLogSeverityLeveltypes.fastifyIntegration, which was already in its default integrations.feat(nuxt): Start the server SDK on the Nuxt Vite server (experimental) (#25524)
Sentry now supports Node.js production builds using Nuxt 4.6's experimental Vite server (
server: { builder: 'vite' }). Yoursentry.server.configloads automatically, enabling request tracing and automatic database spans for supported libraries.Development mode, Cloudflare, automatic capture of server rendering errors, and connecting server and browser traces via HTML meta tags are not yet supported. This experimental support may change in minor releases.
ref(deno, bun): Use a shared request handler wrapper for
Deno.serveandBun.serve(#25586, #25587)Deno.serveandBun.servenow use the same request handler wrapper, which Cloudflare will also use. On both runtimes, errors inOPTIONSandHEADrequests now carry the request data, and the SDK keeps everySet-Cookieheader of a response instead of only the last one.For Deno users:
Bun.servespans now follow the Sentry conventions forhttp.serverspans, as on Node, Deno and Cloudflare:url.templateis nowhttp.route. Routes without parameters also gethttp.routeand theroutesource.url.domainis nowserver.address./gets theroutesource and the nameGET /.user_agent.originalandhttp.request.body.size.chore(deps): Bump rrweb to 2.45.0 (#25794)
feat: Export the Node bundler plugins from SDKs that wrap sentry/node (#25536)
feat(cloudflare): instrument Workers KV bindings (#25488)
feat(nextjs): Warn when Next.js production builds miss the instrumentation file (#25603)
feat(react-router): Support renderToReadableStream in createSentryHandleRequest (#25254)
feat(server-utils): Emit
execute_toolspans for Anthropic'sbeta.sessions.events.toolRunner()(#25554)feat(server-utils): Record Workers AI Clairic calls as gen_ai.extract spans (#25624)
feat(server-utils): Instrument together-ai 1.x (#25823)
fix(browser): Preserve empty stacks in continuous profiles (#25764)
fix(browser): resolve request URLs against location.href in tracing (#25784)
fix(build): Make CJS re-exports visible to Node ESM imports (#25599)
fix(bun): Add systemErrorIntegration to default integrations (#25681)
fix(cloudflare): Bind a default re-export with
varin the Vite transform (#25663)fix(cloudflare): Do not add back channel integrations the user removed (#25585)
fix(cloudflare): Skip comments when locating the
defaultkeyword in the Vite transform (#25741)fix(core): allow project arrays in framework build options (#25534)
fix(core): Drop sampled-out errors before they take a promise buffer slot (#25751)
fix(core): End node:http client spans when the response is destroyed (#25503)
fix(core): Preserve AI proxy property references (#22474)
fix(core): Resolve relative URLs when enhancing fetch error messages (#25555)
fix(feedback): Wait for frames without the form before capturing the screenshot (#25658)
fix(hono): Make the Hono middleware types compile on Hono 5 (#25452)
fix(node): Flush buffered streamed spans on process exit (#25539)
fix(node): Read module versions from the isolated layouts of pnpm and Bun (#25526)
fix(node): Set the eve conversation id on model.started for eve 0.84+ (#25809)
fix(node): Skip spans for outgoing requests to Sentry via
undicifetch andnode:http(#25441)fix(node): Use the request method for Hapi routes with multiple methods (#25527)
fix(nuxt,nitro): Accept Nitro 3 betas without narrowing peer support (#25815)
fix(opentelemetry): Convert OpenTelemetry performance.now() timestamps (#25790)
fix(react): Avoid double slashes in manifest route names (#25770)
fix(react): Parameterize React Router transactions with encoded params (#25639)
fix(remix): Drop Remix 3 release candidates from the peer range (#25808)
fix(replay): Apply attribute masking to breadcrumb messages (#25180)
fix(server-utils): Cap the runs the LangChain callback handler keeps open (#25595)
fix(server-utils): Keep OpenAI streamed tool calls that have no index (#25622)
fix(server-utils): Keep OpenRouter evaluation confidence and legend on Vercel AI spans (#25644)
fix(server-utils): Nest Flue runs on Node under the request that dispatched them (#25549)
fix(server-utils): Record AI SDK tool spans for tools run outside its tool loop (#25820)
fix(server-utils): Use cumulative input and cache token counts from streamed message_delta (#25623)
fix(server-utils): Use the stored pi-durable session id as conversation id (#25792)
fix(tanstackstart-react): Unminify server errors in Nitro builds (#25360)
chore: Add catch-all rule for shared packages in CODEOWNERS (#25789)
chore: Pin pnpm 10 in Volta and remove .npmrc (#25641)
chore: Replace Volta with pnpm-managed node versions (#25689)
chore: Update PR template and prompt agent to use it (#25763)
chore: Use the isolated pnpm node_modules layout (#25368)
chore(ci): remove browser flaky-test detector workflow (#25712)
chore(ci): remove PR review reminders (#25711)
chore(deps-dev): Bump remix-run/route-pattern from 0.24.1 to 1.0.0 in the remix group across 1 directory (#25652)
chore(deps-dev): Bump es-check from 7.2.1 to 9.8.1 (#25656)
chore(deps-dev): Bump hono from 4.13.9 to 4.13.11 in /packages/hono (#25716)
chore(deps-dev): Bump next from 15.5.27 to 15.5.28 in /packages/nextjs (#25661)
chore(deps-dev): Bump zod from 3.25.76 to 4.6.7 (#25655)
chore(deps): Bump next from 16.3.8 to 16.4.1 in /dev-packages/e2e-tests/test-applications/vinext-cf-workers (#25672)
chore(deps): Bump zod from 4.5.4 to 4.6.6 in /dev-packages/e2e-tests/test-applications/node-eve (#25722)
chore(deps): Bump zod from 4.5.4 to 4.6.6 in /dev-packages/e2e-tests/test-applications/node-mastra (#25721)
ci: Always report optional E2E results and update the report on re-runs (#25651)
ci: Fail the optional E2E report job when it cannot update the PR comment (#25819)
ci: Prepare required workflows for develop merge queue (#25642)
ci: Remove temporary pull_request trigger from optional E2E workflow (#25817)
ci: Show an unknown status for optional E2E jobs without a final result (#25660)
ci: Upload the weekly flaky test report as an artifact (#25814)
ci(e2e): rightsize namespace runner jobs
ci(size-limit): Measure bundles when increases are accepted (#25788)
docs: Update contribution guidelines (#25714)
docs: Use dark-mode-aware Sentry logo in READMEs (#25775)
feat(deps): Bump fastify from 5.12.5 to 5.12.7 (#25654)
docs(changelog): Clarify React Router framework mode minimum in 11.0.0 (#25771)
ref(core): Add shared
ServerRequestOptionstype across runtimes (#25579)ref(hono): Share the middleware classification (#25453)
ref(server-utils): Use
GEN_AI_EXTRACTop fromsentry/conventions(#25734)Remove permissions from settings.json (#25766)
test: Check that runtimes drop the server spans of managed tunnel requests (#25414)
test: Fix unit test timeouts from cold dynamic imports (#25811)
test: Wire the managed tunnel by hand in Node, Cloudflare and Next.js (#25785)
test(browser): Fix flaky long task, pageload cancellation and CLS timing assertions (#25518)
test(cloudflare): Add Workers AI E2E test for Clairic (#25625)
test(cloudflare): Bump agents and MCP SDK in cloudflare-mcp-agent e2e app (#25830)
test(cloudflare): Check that Durable Object invocations end when the method returns (#25511)
test(cloudflare): Fix flaky D1 query span naming test (#25810)
test(e2e): Add node-flue-send-to-sentry test app (#25550)
test(e2e): Assert source map upload and stripping with a shared helper (#25636)
test(e2e): Fix optional Anthropic and OpenAI decisions apps (#25795)
test(e2e): Pin mastra/deployer in node-mastra to match mastra/core (#25824)
test(e2e): Pull Supabase images from GHCR (#25718)
test(nextjs): Raise opennextjs/cloudflare floor for nextjs-16 (#25682)
test(nextjs): Unpin nextjs-16-cf-workers latest variant back to nextlatest (#25124)
test(node): Retry stalled npm installs in integration test setup (#25685)
test(react-router): Use a separate URL per loader error test in instrumentation API e2e test (#25607)
test(remix): Cover prefetched navigations in the Remix 3 E2E app (#25829)
test(replay): Fix flaky EventBufferCompressionWorker size limit test (#25519)
test(tanstackstart-react): Add source map E2E app (#25363)
Work in this release was contributed by 4ktLuffy, faizansaiyed123, itisrmk, kunal649, kyrylolvov, larcane97, lfantone, pcbeingused333, psh4607, and seongwon030. Thank you for your contributions!
11.9.0
feat: Rename
diagnostic_channel, fetch and gRPC span origins (#25601)Some span origins changed their names to match the other v11 origins:
auto.graphql.diagnostic_channelis nowauto.graphql.graphql.auto.db.redis.diagnostic_channel,auto.db.mysql2.diagnostic_channelandauto.db.mongoose.diagnostic_channelnow end in.native_channel.auto.http.wintercg_fetchis nowauto.http.fetch, as on Bun, Deno and Cloudflare.auto.grpc.serverlessis nowauto.grpc.google_cloud.If you have
ignoreSpansrules, queries or alerts on the old origins, change them to use the new origins.feat(deno): Add incoming request options to
denoServeIntegration(#25493)denoServeIntegrationnow acceptsignoreRequestBody,ignoreIncomingRequests,ignoreStaticAssets,spans,onSpanCreatedandonSpanEnd, with the same meaning as indenoHttpIntegration. The callbacks receive the webRequest.ignoreStaticAssetsdefaults totrue, soDeno.serveno longer creates spans forGETrequests to common static assets such asfavicon.ico,robots.txtor*.jsfiles. To keep these spans, setdenoServeIntegration({ ignoreStaticAssets: false }).Deno.servespans also follow the client's tracing configuration by default, so the integration does not start spans when tracing is disabled.feat(deno): Record request sessions for
Deno.serve(#25496)denoServeIntegrationnow records a request session for each incoming request, asdenoHttpIntegrationdoes fornode:http. This gives release health and crash-free rates forDeno.serveapps. Sessions are sent only when areleaseis set. To turn them off, setdenoServeIntegration({ sessions: false }).sessionFlushingDelayMSsets how long the SDK waits before it sends the session aggregate.feat(deno): Register channel injection hooks from
init()(#25546)Sentry.init()insentry/denonow registers the diagnostics-channel injection hooks, assentry/nodedoes. The channel integrations now record spans without--preload=npm:sentry/deno/import, for modules that you import afterinit(). To also instrument modules that load beforeinit(), such as static imports in your entry module, keep the preload. Withdebug: true, the SDK logs a warning when no injection is active.On Node.js, tracing-hooks messages now show with
debug: trueinstead of withDEBUG=apm-js-collab/*.feat(nextjs): Add a tunnel route handler that sends only the event payload to Sentry (#25456)
feat(nextjs): Never emit trace meta tags from a prerender (#25141)
Pageloads of apps with
cacheComponentsenabled are connected to their server request again. Pages that Next.js prerenders no longer carry trace information, so a cached page can no longer connect visitors to a request that was not theirs. This also applies to ISR pages. The pageload waits for the trace information when it arrives with the part of the page that streams in after a cached shell.If you set up OpenTelemetry yourself and register
SentryPropagator, registerNextSentryPropagatorinstead and pass your tracer provider tomarkPrerendersOnTracerProvider, so that your prerendered pages carry no trace information either.feat(nextjs): Send tunnel route requests with
credentials: 'omit'(#25509)feat(nitro): Report a single
http.serverspan per request (#25295)A Nitro request now creates only one
http.serverspan. The nestedhttp.serverspans with the originsauto.http.nitro.srvxandauto.http.nitro.h3are removed. h3 route handlers now get ahandlerspan, and middleware spans are direct children of thehttp.serverspan. If you have queries or alerts on the removed spans, change them to use thehttp.serverspan or thehandlerspan.fix: Use
auto.http.http_serverorigin for allnode:httpserver spans (#25604)On Bun and Deno,
node:httpserver spans now have the originauto.http.http_serverinstead ofauto.http.server, as on Node.js. On Node.js, nothing changes.Bun.servespans keepauto.http.bun.serveandDeno.servespans keepauto.http.deno. If you haveignoreSpansorbeforeSendSpanrules, queries or alerts onauto.http.server, change them to useauto.http.http_server.feat(browser): Add
LoaderSentrytype export (#25357)feat(cloudflare): Add
isStreamingResponseoption and detect streamed RSC responses (#24932)feat(core): Add
dataCollection.mcpoption (#25553)feat(core): Limit the body size of tunnel requests (#25515)
feat(nextjs): Link
use cachehits to their fill across instances (#25448)feat(nextjs): Wait for the resumed part of a document before starting the pageload (#25142)
feat(nitro): Merge the nitro integrations into a single
nitroIntegration(#25349)feat(server-utils): Emit
execute_toolspans for Anthropic'sbeta.messages.toolRunner()(#25320)fix(astro): defer to
sentry/cloudflare/viteon Cloudflare Workers (#25347)fix(aws-serverless): End the
function.awsspan when a callback-style handler calls back (#25543)fix(browser): Skip profiling for unsampled active root spans (#25498)
fix(bundler-plugins): Check
globalThisbeforeglobalin the injected snippet (#25365)fix(bundler-plugins): Inject the release only into chunks that load at startup (#25541)
fix(cloudflare): auto-instrument a re-exported default export (#25345)
fix(cloudflare): Deliver check-ins and events from forked isolation scopes (#25374)
fix(cloudflare): Don't hold Durable Object invocations open with the segment-end flush timer (#25490)
fix(cloudflare): keep default exports intact when auto-instrumenting (#25372)
fix(core): Use
trace_metricdata category for metrics rate limits and client reports (#25606)fix(deps): Allow
opentelemetry/api1.9 again (#25684)fix(deno): Re-export portable helpers that Cloudflare exposes (#25491)
fix(elysia): Set SDK metadata on the options passed to init (#24521)
fix(elysia): use Node transport on Node runtimes (#25015)
fix(hono): Read connection info from the runtime instead of Hono helpers (#25552)
fix(nextjs): Only inject applicationKey metadata into browser bundles (#25565)
fix(nitro): Use forward slashes for resolved plugin paths on Windows (#25023)
fix(node,vercel-edge,bundler-plugins): Ignore commit env vars set to their own name (#25244)
fix(node): Guard user callbacks in the
node:httpserver instrumentation (#25592)fix(node): Only read JavaScript and TypeScript source files in ContextLines (#25535)
fix(node): restore tsx runtime instrumentation (#25351)
fix(nuxt): Delete Sentry-enabled source maps from Nitro output directories (#25450)
fix(nuxt): Keep sourcesContent in Nuxt 5 server source maps (#25325)
fix(react): Don't crash ErrorBoundary when
error.causeis not an Error (#25542)fix(react): Match React Router navigations against root routes only (#25336)
fix(server-runtime-injection): Load ESM hook without the build/esm package.json marker (#25562)
fix(server-utils): Bundle the CommonJS dependencies of instrumented packages on Vite 8 (#25523)
fix(server-utils): Keep OpenAI decision confidence on Vercel AI decide spans (#25457)
fix(server-utils): Nest LangChain run spans under their parent run (#25364)
fix(server-utils): Stop the orchestrion Vite plugin from bundling the CJS build of sentry/server-utils (#25359)
fix(solidstart): Read server action route from the request's root span (#25513)
fix(tanstackstart-react): Delete only the source maps that Sentry enabled (#25362)
fix(vercel-edge): expose portable tracing and feature flag helpers (#25377)
ref(bundler-plugins): Drop babel/core peer dependency (#25406)
ref(nitro): Move channel-based instrumentation into sentry/server-utils (#24861)
build(node): Bump Node to 24.22.1 (#25634)
chore: Add external contributor to CHANGELOG.md (#25367)
chore: Add external contributor to CHANGELOG.md (#25468)
chore: Add external contributor to CHANGELOG.md (#25483)
chore: Add external contributor to CHANGELOG.md (#25485)
chore: Add external contributor to CHANGELOG.md (#25487)
chore: Add external contributor to CHANGELOG.md (#25500)
chore: Add external contributor to CHANGELOG.md (#25505)
chore: Add external contributor to CHANGELOG.md (#25596)
chore: Add external contributor to CHANGELOG.md (#25597)
chore: Add external contributor to CHANGELOG.md (#25611)
chore: Move the monorepo from Yarn 1 to pnpm 12 (#25354)
chore: Update comments related to span links with latest info (#25135)
chore(bugbot): Flag new Cloudflare tests that wrap the worker by hand (#25619)
chore(deps-dev): Bump oxlint and oxfmt (#25578)
chore(deps-dev): Bump vue from 3.2.45 to 3.5.43 (#25413)
chore(deps): Bump
types/nodeto 20 (#25501)chore(deps): Bump Playwright to 1.64.1 and pin it exactly (#25382)
chore(hono): Remove "ALPHA" from package.json description (#25521)
chore(size-limit): weekly auto-bump (#25442)
ci: Check bundle size increases per PR (#24737)
ci: Empty cached node_modules that have broken
.binscripts (#25635)ci: Fail when a Playwright version drifts from the pinned one (#25383)
ci: Keep Namespace cache volumes complete and cache the pnpm binary (#25569)
ci: Move size check reruns into a local action (#25600)
ci: Read the Playwright version from package.json in install-playwright (#25380)
ci: Run GitHub Actions jobs on Namespace runners (#25547)
ci: Run optional E2E tests in a separate workflow (#25548)
ci: Run the Playwright install's npx outside the repo (#25384)
ci: Share the E2E test setup between build.yml and optional-e2e.yml (#25616)
ci: Stop uploading duplicate tarballs to the release artifact (#25688)
ci(cloudflare): Run the integration tests on the latest wrangler too (#25508)
ci(e2e): Run all E2E tests when CI config changes (#25391)
ci(e2e): Run E2E tests with pnpm 12 (#25334)
ci(e2e): Run E2E tests without restoring the monorepo's node_modules (#25403)
ci(e2e): Stop pnpm run from installing the workspace in E2E jobs (#25514)
ci(size-limit): Don't enforce size limits on release PRs (#25631)
docs: Add guide for testing SDK packages with pnpm link (#25512)
feat(deps): Bump actions/glob from 0.6.1 to 0.7.0 (#25411)
feat(deps): Bump anthropic-ai/sdk from 0.63.0 to 0.133.0 (#25417)
feat(deps): Bump recast from 0.20.5 to 0.24.0 (#25416)
ref(core): Share the commit env var list used for release detection (#25478)
test(browser): Use blocking scripts in loader integration tests (#25395)
test(deps): Upgrade TanStack Start, Router, and Nitro (#25445)
test(e2e): Add node-otel-sdk-node-v3 e2e app for OpenTelemetry JS v3 (#25630)
test(e2e): Align Playwright versions with the root version (#25381)
test(e2e): Cover Vercel AI decisions in node-openai-decisions-send-to-sentry (#25458)
test(e2e): Drop OpenRouter's [DONE] frame in the Anthropic test app (#25594)
test(e2e): Drop unused sentry/bundler-plugins dependency from bundler apps (#25399)
test(e2e): Fix peer dependency issues in hydrogen-react-router-7 (#25400)
test(e2e): Install test-utils from a tarball (#25402)
test(e2e): Move app port 38787 out of the ephemeral port range (#25504)
test(e2e): Remove event dumps and their normalization script (#25404)
test(e2e): Retry tests in all dev-mode variants (#25640)
test(e2e): Use nitro beta and Vite 8 in tanstackstart apps (#25451)
test(nestjs): Fix flaky schedule instrumentation error tests (#25447)
test(nextjs): Bump nextjs-16 E2E app to Next.js 16.4.2 (#25686)
test(nextjs): Fix flaky nextjs-16 metrics tests (#25517)
test(nextjs): Use React 19.3.1 in the vinext e2e variants (#25449)
test(nextjs): Warm the module graph before the tunnel route tests (#25593)
test(node): skip the Prisma 8 suite on Node 20 (#25421)
test(nuxt): Pin the nuxt-4 e2e MongoDB image to 8.0 (#25557)
test(nuxt): Pin the nuxt-5 e2e MongoDB image to 8.0 (#25564)
test(nuxt): Wait for hydration before clicking in error tests (#25520)
test(react): Fix flaky react-router-6 aborted SSE console assertion (#25398)
test(replay): Fix flaky bufferStalledRequests segmentId assertion (#25394)
Work in this release was contributed by 4ktLuffy, adityareddy-dev, dasilvaluis, faizansaiyed123, jpdefo, Jxxunnn, mikamikasuki, philipatkinson, rubas, and Shubham-Padkonde. Thank you for your contributions!
11.8.0
Important Changes
feat(bundler-plugins): Release
sentry/webpack-plugin,sentry/vite-plugin,sentry/rollup-pluginandsentry/esbuild-pluginfrom the SDK repository (#25095)The four standalone bundler plugins now release together with the SDK, so their version jumps from 5.4.1 to the SDK version. Each package re-exports the matching
sentry/bundler-pluginsentry point, which we recommend for new projects. The plugin options do not change, but the update brings these breaking changes:sentry/webpack-pluginrequires webpack 5.1 or higher. Thesentry/webpack-plugin/webpack5entry point still works and exports the same plugin assentry/webpack-plugin.sentryCLI SDK instead ofsentry/cli. Sentry self-hosted 26.4.2 or higher is supported. Lower versions may continue to work.VERCEL_TARGET_ENV(production,previewor a custom name) as their environment, instead ofvercel-productionorvercel-preview. To keep the old value, setrelease.deploy.env.feat(server-utils): Instrument the OpenAI decisions API as
gen_ai.decidespans (#25285)OpenAI
decisions.createcalls now creategen_ai.decidespans.Other Changes
urlQueryParamsto the Referer header (#25324)mainis a package (#25343)output(#25312)sveltekit.endpointspan (#25376)Work in this release was contributed by kunal649 and mketiku. Thank you for your contributions!
11.7.0
Important Changes
feat(cloudflare): Add opt-in cron monitoring for Cron Triggers (#25014)
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: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.feat(node): Add neonIntegration for neondatabase/serverless (#25164, #25176)
The new
neonIntegrationcreatesdbspans for queries of theneondatabase/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.feat(node): Stop sending the process session once request sessions are tracked (#24915)
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.feat(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.fix(browser): Apply
urlQueryParamsto more URLs (#25262, #25289)The
dataCollection.urlQueryParamsoption now also filters the query parameters of these URLs:event.request.urlbrowser.*andresource.*span names withtraceLifecycle: 'static'lcp.urlandbrowser.web_vital.lcp.urlui.element.urlattribute ofelementTimingIntegrationBefore this fix, these URLs could send sensitive query values, for example
?jwt=..., to Sentry.fix(nextjs): Apply top-level
bundleSizeOptimizationsto webpack and Turbopack builds (#24818)The 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/kit4.6 (#25138)spanclient report outcomes when discarding transactions (#25006)sentry/server-runtime-injectionexternal on Nitro v3 (#24901)