Skip to content

chore(deps): update JavaScript SDK to v11.9.0 - #6773

Draft
github-actions[bot] wants to merge 1 commit into
mainfrom
deps/scripts/update-javascript.sh
Draft

github-actions[bot] wants to merge 1 commit into
mainfrom
deps/scripts/update-javascript.sh

Conversation

@github-actions

@github-actions github-actions Bot commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

Bumps scripts/update-javascript.sh from 10.76.2 to 11.9.0.

Auto-generated by a dependency updater.

Changelog

11.9.0

Important Changes

  • 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_channel is now auto.graphql.graphql.
    • auto.db.redis.diagnostic_channel, auto.db.mysql2.diagnostic_channel and auto.db.mongoose.diagnostic_channel now end in .native_channel.
    • auto.http.wintercg_fetch is now auto.http.fetch, as on Bun, Deno and Cloudflare.
    • auto.grpc.serverless is now auto.grpc.google_cloud.

    If you have ignoreSpans rules, queries or alerts on the old origins, change them to use the new origins.

  • feat(deno): Add incoming request options to denoServeIntegration (#25493)

    denoServeIntegration now accepts ignoreRequestBody, ignoreIncomingRequests, ignoreStaticAssets, spans, onSpanCreated and onSpanEnd, with the same meaning as in denoHttpIntegration. The callbacks receive the web Request.

    ignoreStaticAssets defaults to true, so Deno.serve no longer creates spans for GET requests to common static assets such as favicon.ico, robots.txt or *.js files. To keep these spans, set denoServeIntegration({ ignoreStaticAssets: false }). Deno.serve spans 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)

    denoServeIntegration now records a request session for each incoming request, as denoHttpIntegration does for node:http. This gives release health and crash-free rates for Deno.serve apps. Sessions are sent only when a release is set. To turn them off, set denoServeIntegration({ sessions: false }). sessionFlushingDelayMS sets how long the SDK waits before it sends the session aggregate.

  • feat(deno): Register channel injection hooks from init() (#25546)

    Sentry.init() in sentry/deno now registers the diagnostics-channel injection hooks, as sentry/node does. The channel integrations now record spans without --preload=npm:sentry/deno/import, for modules that you import after init(). To also instrument modules that load before init(), such as static imports in your entry module, keep the preload. With debug: true, the SDK logs a warning when no injection is active.

    On Node.js, tracing-hooks messages now show with debug: true instead of with DEBUG=apm-js-collab/*.

  • feat(nextjs): Add a tunnel route handler that sends only the event payload to Sentry (#25456)

    The tunnelRoute option can now send events through a route handler in your app. The handler forwards only the event payload to Sentry, and no request headers. To use it, add this file next to your tunnelRoute option:

    // app/sentry-tunnel/route.ts (or src/app/sentry-tunnel/route.ts)
    export { POST } from 'sentry/nextjs/tunnel';

    The handler accepts events for the DSN of your server SDK. To accept other DSNs, use createSentryTunnelRoute({ allowedDsns }) from the same import. Without the file, the tunnel route works as before.

    Also, the server no longer sends spans of tunnel requests when span streaming is on, because these spans only show the SDK's own traffic.

  • feat(nextjs): Never emit trace meta tags from a prerender (#25141)

    Pageloads of apps with cacheComponents enabled 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, register NextSentryPropagator instead and pass your tracer provider to markPrerendersOnTracerProvider, so that your prerendered pages carry no trace information either.

  • feat(nextjs): Send tunnel route requests with credentials: 'omit' (#25509)

    With tunnelRoute and no tunnel route handler, sentry/nextjs now sends events from the browser with credentials: 'omit', because the tunnel route does not need cookies.
    If a layer in front of your app checks cookies before it lets requests through (for example Vercel Deployment Protection), you can send them again in your browser Sentry.init call:

    // instrumentation-client.ts
    Sentry.init({
      transportOptions: { fetchOptions: { credentials: 'same-origin' } },
    });
  • feat(nitro): Report a single http.server span per request (#25295)
    A Nitro request now creates only one http.server span. The nested http.server spans with the origins auto.http.nitro.srvx and auto.http.nitro.h3 are removed. h3 route handlers now get a handler span, and middleware spans are direct children of the http.server span. If you have queries or alerts on the removed spans, change them to use the http.server span or the handler span.

  • fix: Use auto.http.http_server origin for all node:http server spans (#25604)

    On Bun and Deno, node:http server spans now have the origin auto.http.http_server instead of auto.http.server, as on Node.js. On Node.js, nothing changes. Bun.serve spans keep auto.http.bun.serve and Deno.serve spans keep auto.http.deno. If you have ignoreSpans or beforeSendSpan rules, queries or alerts on auto.http.server, change them to use auto.http.http_server.

Other Changes

  • feat(browser): Add LoaderSentry type export (#25357)
  • feat(cloudflare): Add isStreamingResponse option and detect streamed RSC responses (#24932)
  • feat(core): Add dataCollection.mcp option (#25553)
  • feat(core): Limit the body size of tunnel requests (#25515)
  • feat(nextjs): Link use cache hits 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_tool spans for Anthropic's beta.messages.toolRunner() (#25320)
  • fix(astro): defer to sentry/cloudflare/vite on Cloudflare Workers (#25347)
  • fix(aws-serverless): End the function.aws span when a callback-style handler calls back (#25543)
  • fix(browser): Skip profiling for unsampled active root spans (#25498)
  • fix(bundler-plugins): Check globalThis before global in 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_metric data category for metrics rate limits and client reports (#25606)
  • fix(deps): Allow opentelemetry/api 1.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:http server 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.cause is 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) Internal Changes
  • 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/node to 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 .bin scripts (#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-plugin and sentry/esbuild-plugin from 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-plugins entry point, which we recommend for new projects. The plugin options do not change, but the update brings these breaking changes:

    • Node.js 20.19.0 or higher is required.
    • sentry/webpack-plugin requires webpack 5.1 or higher. The sentry/webpack-plugin/webpack5 entry point still works and exports the same plugin as sentry/webpack-plugin.
    • The plugins use the sentry CLI SDK instead of sentry/cli. Sentry self-hosted 26.4.2 or higher is supported. Lower versions may continue to work.
    • Deploys that the plugins create on Vercel use the value of VERCEL_TARGET_ENV (production, preview or a custom name) as their environment, instead of vercel-production or vercel-preview. To keep the old value, set release.deploy.env.
  • feat(server-utils): Instrument the OpenAI decisions API as gen_ai.decide spans (#25285)

    OpenAI decisions.create calls now create gen_ai.decide spans.

Other Changes

  • feat(core): Support SuppressedError in LinkedErrors integration (#25246)

  • fix(astro): Delete generated source maps for static output (#25310)

  • fix(astro): Upload source maps of Astro 7's prerender build (#25309)

  • fix(browser): Apply urlQueryParams to the Referer header (#25324)

  • fix(cloudflare): auto-instrument when wrangler main is a package (#25343)

  • fix(hono): Expose runtime-specific SDK options (#25290)

  • fix(node): Instrument Prisma 8 CollectionBase from rc.15 (#25301)

  • fix(nuxt): Skip 3xx/4xx Nuxt errors in the vue:error hook (#25341)

  • fix(server-utils): Read pi-durable 1.2.0 tool results from output (#25312)

  • fix(server-utils): Transform modules once when two Sentry Vite plugins add orchestrion (#25043)

  • fix(sveltekit): add op and origin to Kit's sveltekit.endpoint span (#25376)

  • fix(tanstackstart-react): Keep parametrized route names in Nitro 3 builds (#25307)

  • fix(tanstackstart-react): Rewrite source paths of split route modules (#25361)

    Internal Changes
  • chore: Add external contributor to CHANGELOG.md (#25375)

  • ci: Install the pnpm version that Volta pins (#25287)

  • license: Add cli FSL notice to package licenses (#25314)

  • ref(core): use shared MCP attribute conventions (#25059)

  • ref(tanstackstart-react): Reuse shared component annotation options (#25313)

  • test(browser): Keep whitespace text out of the handlers-lcp page (#25280)

  • test(bun): Restore sentry/core spies after the Bun.serve tests (#25276)

  • test(bundler-plugins): Disable CLI telemetry in the CLI contract tests (#25308)

  • test(e2e): Add node-openai-decisions-send-to-sentry test app (#25331)

  • test(e2e): Add node-openai-send-to-sentry test app (#24824)

  • test(e2e): Add nuxt-5-sourcemaps test (#25268)

  • test(e2e): Inherit root Volta config in all e2e test apps (#25369)

  • test(e2e): Use an external host address for the Lambda DSN on loopback hostnames (#25282)

  • test(nextjs): Run nextjs-16-tunnel on Cloudflare (#25161)

  • test(nextjs): Switch DEBUG_BUILD with a getter instead of re-importing the SDK (#25279)

  • test(node): Await the child exit in the "should exit" integration tests (#25277)

  • test(node): Cover ioredis v6 in the diagnostics_channel suite (#25300)

  • test(node): Cover LangChain model calls made from a tool without config (#25326)

  • test(node): Log slow and failed Docker Compose starts in integration tests (#25278)

  • test(node): Unflake captureMessage with_level test (#25358)

  • test(sveltekit): Pin rollup to 4.64.5 (#25328)

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 cronTriggersIntegration sends check-ins for Cron Triggers. Each check-in includes the schedule from controller.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 monitorSlug function can also return monitor settings, for example { monitorSlug: 'daily-report', maxRuntime: 30 }, or undefined to send no check-ins for a trigger. Without monitorSlug, the SDK derives the slug from the cron expression. If you deploy with wrangler directly, pass the same integration to Sentry.withSentry.

  • feat(node): Add neonIntegration for neondatabase/serverless (#25164, #25176)

    The new neonIntegration creates db spans for queries of the neondatabase/serverless driver: for the WebSocket Client and Pool, and for the HTTP neon() function. This includes the neon-http and neon-serverless adapters 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 with httpServerIntegration({ 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.decide spans (#25270, #25272, #25274, #25281)

    Vercel AI experimental_decide calls, Mastra classifier evaluations, TypeSafe and LangChain Jev calls, and Workers AI calls to TypeSafe Jev and Cloudflare Clef models now create decide <model> spans with the op gen_ai.decide. Before, these spans had the op gen_ai.evaluate, which is now deprecated in the Sentry conventions. If you use gen_ai.evaluate in queries, alerts or dashboards, change it to gen_ai.decide.

  • fix(browser): Apply urlQueryParams to more URLs (#25262, #25289)

    The dataCollection.urlQueryParams option now also filters the query parameters of these URLs:

    • the page URL in event.request.url
    • the browser.* and resource.* span names with traceLifecycle: 'static'
    • the LCP URL attributes lcp.url and browser.web_vital.lcp.url
    • the URLs in fetch, XHR and navigation breadcrumbs
    • the ui.element.url attribute of elementTimingIntegration

    Before this fix, these URLs could send sensitive query values, for example ?jwt=..., to Sentry.

  • fix(nextjs): Apply top-level bundleSizeOptimizations to webpack and Turbopack builds (#24818)

    The top-level bundleSizeOptimizations option now removes unused SDK code in webpack and in Turbopack builds. Before, the tree-shaking options had no effect on Turbopack. The webpack.treeshake option is deprecated. It still works, but when you set both options, bundleSizeOptimizations takes precedence.

Other Changes

  • feat(nuxt): Detect the server API with nuxt/kit 4.6 (#25138)
  • fix(bundler-plugins): Escape JSON in generated injection code (#25265)
  • fix(core): Don't mark http client spans as errors when the caller aborts (#25260)
  • fix(core): Record span client report outcomes when discarding transactions (#25006)
  • fix(core): Record client outcomes when beforeSend callbacks return invalid values (#25049)
  • fix(core): Record span outcomes for spans dropped when building a transaction (#25048)
  • fix(core): Report actual item count in client reports of envelope send failures (#25185)
  • fix(core): Strip internal custom span name from streamed spans (#25212)
  • fix(nextjs): Filter query parameters in request error context (#25233)
  • fix(node): Don't mark fetch spans as errors when the caller aborts (#25129)
  • fix(nuxt): Delete public source maps before Nitro lists its public assets (#25267)
  • fix(nuxt): Keep sentry/server-runtime-injection external on Nitro v3 (#24901)
  • fix(nuxt): Remove opentelemetry/resources dev alias (#25216)
  • fix(profiling-node): Stop the trace lifecycle profiler when spans are unsampled (#25210)
  • fix(react-router): Respect custom default integrations (#25259)
  • fix(remix): Respect custom default integrations (#25258)
  • fix(server-utils): avoid quadratic SQL summary regex backtracking (#25255)
  • fix(server-utils): End Express layer spans when the client aborts (#25209)
  • fix(server-utils): Record amqplib consumer info before the first delivery and instrument the callback API (#25047)
  • fix(server-utils): Stop treating previous_response_id as the OpenAI conversation id (#25269)
  • fix(sveltekit): Read load event pathname untracked (#25235)
  • fix(sveltekit): Stop adapter-node 6 output dir probe from deleting the build (#25193)
Internal Changes
  • chore: Add external contributor to CHANGELOG.md (#25230)
  • chore: Add external contributor to CHANGELOG.md (#25271)
  • chore(deps-dev): Bump oxlint-tsgolint from 7.0.2001 to 7.0.2003 (#25237)
  • chore(deps-dev): Bump rimraf from 5.0.10 to 6.1.3 (#25241)
  • chore(deps): Bump sentry/conventions to 0.27.0 (#25264)
  • chore(deps): Bump next from 16.2.11 to 16.3.8 in /dev-packages/e2e-tests/test-applications/nextjs-16 (#25179)
  • chore(deps): Bump next from 16.2.11 to 16.3.8 in /dev-packages/e2e-tests/test-applications/nextjs-16-tunnel (#25190)
  • chore(size-limit): weekly auto-bump (#25213)
  • ci: Install Playwright in the background during E2E app builds (#25207)
  • ci: Run lint steps in parallel (#25187)
  • ci(bun): Test the oldest supported Bun version and the newest 1.4 (#25203)
  • docs: Scope pre-PR tests to affected suites (#25198)
  • feat(deps): Bump aws-sdk/client-kinesis from 3.1068.0 to 3.1146.0 (#25240)
  • feat(deps): Bump handlebars from 4.7.9 to 4.7.10 (#25206)
  • feat(deps): Bump pino from 9.10.0 to 10.4.0 (#25238)
  • feat(deps): Bump reflect-metadata from 0.2.1 to 0.2.2 (#25239)
  • ref(core): Simplify transport item loss recording (#25224)
  • ref(server-utils): Export the pg query span helpers (#25163)
  • ref(server-utils): Share Orchestrion channel context (#25208)
  • test(browser): migrate trace lifecycle and span API tests to streaming (#24881)
  • test(browser): port browser tracing suites to span streaming (#24888)
  • test(browser): port requests and web vitals to span streaming (#24886)
  • test(browser): Register the LCP handlers in the bundle of the SDK (#25263)
  • test(bun): Run the Node suites that need Bun 1.4 on the Bun 1.4 job (#25204)
  • test(cloudflare): Add LangChain TypeSafeClassifier integration test (#25234)
  • test(core): Fix flaky span end timestamp test (#25211)
  • test(deno): Type-check Deno unit tests (#25227)
  • test(nextjs): Add vinext e2e tests (#25001)
  • test(node-integration): Replace conditionalTest with a supports helper (#25202)
  • test(node-integration): Stop exporting NODE_VERSION and RUNTIME from the test utils (#25292)
  • test(node): Add integration tests for the Neon serverless driver (#25177)
  • test(node): Port baggage and metadata tests to span streaming (#25220)
  • test(node): Port basic and nested startSpan tests to streaming (#25214)
  • test(node): Port fetch request suites to span streaming (#25189)
  • test(node): Port HTTP options and hooks to span streaming (#25195)
  • test(node): Port HTTP propagation and transport suites to streaming (#25197)
  • test(node): Port HTTP request suites to span streaming (#25191)
  • test(node): Port incoming HTTP behavior to span streaming (#25194)
  • test(node): Port MongoDB integration tests to span streaming (#25150)
  • test(node): Port Mongoose integration tests to span streaming (#25151)
  • test(node): Port outgoing HTTP client spans to streaming (#25192)
  • test(node): Port parallel span and naming tests to streaming (#25217)
  • test(node): Port Postgres integration tests to span streaming (#25140)
  • test(node): Port Prisma integration tests to span streaming (#25152)
  • test(node): Port Redis integration tests to span streaming (#25153)
  • test(node): Port span linking and raw OTel tests to streaming (#25219)
  • test(node): Port trace context tests to span streaming (#25218)
  • test(node): Run sampling propagation tests with default streaming (#25221)
  • test(node): Use default streaming in scope and span suites (#25222)
  • test(nuxt): Test imports from nuxt/server in the nuxt-5 E2E app (#25232)
    Work in this release was contributed by Philip-Nwabuwa and 4ktLuffy. Thank you for your contributions!

11.6.0

Important Changes

  • feat(nextjs): Add sentry/nextjs/cloudflare (#24998)
    The new sentry/nextjs/cloudflare entry point exports withSentry for the Worker entry of a Next.js app on Cloudflare Workers, for example .open-next/worker.js of OpenNext. It is withSentry of sentry/cloudflare with the Next.js server handling added, so a Next.js app on Workers gets the same spans as on Node.js.

    import * as Sentry from 'sentry/nextjs/cloudflare';
    import handler from './.open-next/worker.js';
    
    export default Sentry.withSentry(
      env => ({
        dsn: env.SENTRY_DSN,
        tracesSampleRate: 1.0,
      }),
      handler,
    );
  • feat(server-utils): Add instrumentation for pi-durable (#24993)

    The new piDurableIntegration traces agents built with pi-durable: each run, with its model requests and tool calls.

  • fix(core): Correct sleep clock drift on telemetry timestamps (#23054)

    When a device sleeps, the performance.now() clock of the browser stops. Before this change, timestamps of spans and other telemetry recorded after the sleep could be too early. The SDK now detects this drift and corrects its time origin, also for spans created from performance entries. Span end times are now computed from the performance.now() duration since the span start, like in OpenTelemetry (#24903).

Other Changes

  • feat(cloudflare): Skip spans for the pi_ tables of PiHarness (#25028)
  • feat(remix): Propagate the server trace to Remix 3 page loads (#25145)
  • feat(server-utils): Map Mastra classifier evaluations to gen_ai.evaluate spans (#25044)
  • feat(server-utils): Record LangChain TypeSafeClassifier runs as gen_ai.evaluate spans (#25120)
  • fix(browser): Check for clock drift on page lifecycle events (#25091)
  • fix(core): Exclude attachments from internal exception events (#25160)
  • fix(effect): Convert Effect span times to the Sentry clock (#24972)
  • fix(effect): Detect HTTP spans named after the request method (#25159)
  • fix(node): Register Vercel keep-alive listeners once (#25146)
  • fix(replay): Place CLS and INP web vitals at the right time (#24990)
  • fix(server-utils): Record LangGraph span I/O for non-MessagesAnnotation state (#23315)
  • fix(sveltekit): Upload source maps with SvelteKit 3 (#25139) Internal Changes
  • chore: Add external contributor to CHANGELOG.md (#25136)
  • chore(deps-dev): Bump next from 15.5.24 to 15.5.27 (#25171)
  • chore(nitro): Remove stale bundler-plugin-core rollup external (#25149)
  • feat(cloudflare): Wrap vinext Worker entries with sentry/nextjs/cloudflare (#25000)
  • feat(deps): Bump next from 16.2.11 to 16.3.8 in /dev-packages/e2e-tests/test-applications/nextjs-sourcemaps (#25170)
  • fix(deps): Bump graphql-tools/utils to 12.0.3 (#25162)
  • ref(eslint-plugin-sdk): Improve no-unsafe-random-apis rule (#25123)
  • test(cloudflare): Port the remaining static suites to span streaming (#25112)
  • test(cloudflare): Widen the wrangler readiness retry window in integration tests (#24925)
  • test(e2e): Add a cloudflare-pi-durable end-to-end application (#25022)
  • test(e2e): Add a node-pi-durable end-to-end application (#24994)
  • test(e2e): Add Mastra Jev classifier test to node-mastra (#25115)
  • test(e2e): Wait for the soft navigation entry before hiding the page (#25127)
  • test(nextjs): Run nextjs-16 on Bun, Deno and Cloudflare (#24999)
  • test(node): Add streamed span collection helpers (#25131)
  • test(node): Cover Jev calls inside createAgent and LangGraph (#25132)
  • test(node): Port AMQP integration tests to span streaming (#25158)
  • test(node): Port Anthropic integration tests to span streaming (#25082)
  • test(node): Port Bedrock tests to span streaming (#25086)
  • test(node): Port Google GenAI tests to span streaming (#25083)
  • test(node): Port Knex integration tests to span streaming (#25154)
  • test(node): Port LangChain tests to span streaming (#25084)
  • test(node): Port LangGraph tests to span streaming (#25085)
  • test(node): Port Mastra tests to span streaming (#25087)
  • test(node): Port MySQL integration tests to span streaming (#25148)
  • test(node): Port OpenAI integration tests to span streaming (#25081)
  • test(node): Port pool and DataLoader integration tests to span streaming (#25156)
  • test(node): Port Tedious integration tests to span streaming (#25155)
  • test(node): Port Vercel AI v5-v7 tests to span streaming (#25090)
    Work in this release was contributed by zkasuran. Thank you for your contribution!

11.5.0

Important Changes

  • feat(core): Warn on repeated Sentry.init() and unbind the client on close() (#24962)

    Sentry.init() now warns when it runs while a client is still active. For now, the new client still replaces the active client, but the active client is not closed, so state from both can mix. Call Sentry.init() once, or call await Sentry.close() before you call it again. Sentry.close() now unbinds the client it closes, so after close(), getClient() returns undefined, isInitialized() returns false, and a later init() sets up a new client. In sentry/cloudflare, later requests no longer reuse the isolate's cached client once it is closed or closing. On the server, sentry/nextjs and sentry/remix now return the active client from a repeated init() call, not undefined.

Other Changes

  • chore(deps): Bump rrweb to 2.44.1 (#25100)
  • chore(deps): Bump web-vitals to 6.2.3 (#25062)
  • feat(bun): keep server spans open until streaming responses finish (#25025)
  • feat(langchain): Derive gen_ai.conversation.id from the invoke config (#24831)
  • feat(nextjs): Add code.file.path to use cache fill spans (#24988)
  • feat(react-router): Export createSentryServerInstrumentation from the Cloudflare entry (#25042)
  • feat(remix): Parameterize Remix 3 navigation spans (#25045)
  • feat(remix): Parameterize Remix 3 page load spans (#25053)
  • feat(remix): Report the matched route on Remix 3 HTML responses (#25052)
  • fix(ai): Normalize token usage and preserve cache breakdowns (#25074)
  • fix(browser-utils): Handle NS_ERROR_NOT_INITIALIZED from setTimeout in Firefox (#25024)
  • fix(bun): Add conversationIdIntegration to the default integrations (#25003)
  • fix(cloudflare): Detect TypeSafe Jev calls in Workers AI by model ID (#25033)
  • fix(cloudflare): Keep an installed OpenTelemetry async context strategy (#24995)
  • fix(feedback): Correct overlapping screenshot annotations and drag dimming (#25040)
  • fix(nextjs): Don't capture forbidden() and unauthorized() as errors (#25088)
  • fix(nextjs): Include basePath in request url of Pages Router errors (#24985)
  • fix(nextjs): Skip init inside a request of sentry/cloudflare (#24996)
  • fix(node): Flush telemetry before Vercel functions are suspended (#24910)
  • fix(nuxt): Do not inject debug IDs into the SSR build (#25080)
  • fix(react-router): Pass the project when creating a release (#25089)
  • fix(remix): Pass the project when creating a release (#25079)
  • fix(server-utils): Derive the Vercel AI conversation id from the OpenAI conversation option (#24979)
  • fix(server-utils): Instrument the Vercel AI experimental_decide channel event (#25068)
  • fix(server-utils): Map Flue messages and token usage to the gen_ai conventions (#24992)
  • fix(server-utils): Record Vercel AI experimental_telemetry.metadata on gen_ai spans (#24721)

⚠️ Changelog content truncated by 450538 characters because it was over the limit (60000) and wouldn't fit into PR description.

@github-actions github-actions Bot added the dependencies Pull requests that update a dependency file label Sep 23, 2026
@github-actions

github-actions Bot commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor Author

Semver Impact of This PR

⚪ None (no version bump detected)

📋 Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


  • chore(deps): update JavaScript SDK to v11.9.0 by github-actions[bot] in #6773
  • chore(deps): update Wizard to v9.0.0 by github-actions in #6936
  • chore(deps): update CLI to v3.8.2 by github-actions in #6933
  • ci: Move CI off end-of-life Node versions to Node 22 by antonis in #6927

🤖 This preview updates automatically when you update the PR.

@antonis antonis left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Marking as blocked since we will bump with our next major

@antonis
antonis marked this pull request as draft September 23, 2026 14:00
@github-actions

github-actions Bot commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor Author
Fails
🚫 Pull request is not ready for merge, please add the "ready-to-merge" label to the pull request

Generated by 🚫 dangerJS against 7a3c1e5

@antonis

antonis commented Sep 23, 2026

Copy link
Copy Markdown
Contributor

Tested out the changes with #6730

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 3 potential issues.

Fix All in Cursor

❌ 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.

Comment thread packages/core/package.json Outdated
"@sentry/core": "11.0.0",
"@sentry/expo-upload-sourcemaps": "workspace:*",
"@sentry/react": "10.75.2"
"@sentry/react": "11.0.0"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Fix in Cursor Fix in Web

Triggered by project rule: PR Review Guidelines for Cursor Bot

Reviewed by Cursor Bugbot for commit adfb87a. Configure here.

Comment thread packages/core/package.json Outdated
"@sentry/core": "11.0.0",
"@sentry/expo-upload-sourcemaps": "workspace:*",
"@sentry/react": "10.75.2"
"@sentry/react": "11.0.0"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Fix in Cursor Fix in Web

Triggered by project rule: PR Review Guidelines for Cursor Bot

Reviewed by Cursor Bugbot for commit adfb87a. Configure here.

Comment thread packages/core/package.json Outdated
"@sentry/core": "11.0.0",
"@sentry/expo-upload-sourcemaps": "workspace:*",
"@sentry/react": "10.75.2"
"@sentry/react": "11.0.0"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Fix in Cursor Fix in Web

Triggered by project rule: PR Review Guidelines for Cursor Bot

Reviewed by Cursor Bugbot for commit adfb87a. Configure here.

@bruno-garcia
bruno-garcia force-pushed the deps/scripts/update-javascript.sh branch 5 times, most recently from 5b99eba to a7da763 Compare September 24, 2026 10:57
Comment thread samples/expo/package.json Outdated
@bruno-garcia
bruno-garcia force-pushed the deps/scripts/update-javascript.sh branch 5 times, most recently from a5d19b4 to 5949ab3 Compare September 28, 2026 08:08
@github-actions github-actions Bot changed the title chore(deps): update JavaScript SDK to v11.0.0 chore(deps): update JavaScript SDK to v11.1.0 Sep 29, 2026
@bruno-garcia
bruno-garcia force-pushed the deps/scripts/update-javascript.sh branch 3 times, most recently from 9caf113 to c8c3cc3 Compare September 29, 2026 06:54
Comment thread samples/react-native-macos/package.json Outdated
@bruno-garcia
bruno-garcia force-pushed the deps/scripts/update-javascript.sh branch 3 times, most recently from c2a203e to c6bdd9e Compare September 30, 2026 07:33
@bruno-garcia
bruno-garcia force-pushed the deps/scripts/update-javascript.sh branch 8 times, most recently from 8949646 to b314359 Compare October 8, 2026 03:12
@github-actions github-actions Bot changed the title chore(deps): update JavaScript SDK to v11.4.0 chore(deps): update JavaScript SDK to v11.5.0 Oct 8, 2026
@bruno-garcia
bruno-garcia force-pushed the deps/scripts/update-javascript.sh branch 3 times, most recently from e91ca5a to 4de25fc Compare October 8, 2026 09:29
Comment thread packages/core/package.json Outdated
@bruno-garcia
bruno-garcia force-pushed the deps/scripts/update-javascript.sh branch 4 times, most recently from 849c853 to 255295a Compare October 9, 2026 03:13
@github-actions github-actions Bot changed the title chore(deps): update JavaScript SDK to v11.5.0 chore(deps): update JavaScript SDK to v11.6.0 Oct 9, 2026
@bruno-garcia
bruno-garcia force-pushed the deps/scripts/update-javascript.sh branch 5 times, most recently from 14e4413 to 605c605 Compare October 12, 2026 07:40
@bruno-garcia
bruno-garcia force-pushed the deps/scripts/update-javascript.sh branch from 605c605 to 7ac8dcd Compare October 12, 2026 08:58
Comment thread packages/core/package.json Outdated
@mahnunchik

Copy link
Copy Markdown

Any news?

@mahnunchik

Copy link
Copy Markdown

@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?

@antonis

antonis commented Oct 19, 2026

Copy link
Copy Markdown
Contributor

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Blocked dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants