Skip to content

Conversation

github-actions[bot]
Copy link

@github-actions github-actions bot commented Jul 2, 2025

Bumps scripts/update-javascript.sh from 8.55.0 to 10.20.0.

Auto-generated by a dependency updater.

Changelog

10.20.0

Important Changes

  • feat(flags): Add Growthbook integration (#17440)

    Adds a new Growthbook integration for feature flag support.

  • feat(solid): Add support for TanStack Router Solid (#17735)

    Adds support for TanStack Router in the Solid SDK, enabling better routing instrumentation for Solid applications.

  • feat(nextjs): Support native debugIds in turbopack (#17853)

    Adds support for native Debug IDs in Turbopack, improving source map resolution and error tracking for Next.js applications using Turbopack. Native Debug ID generation will be enabled automatically for compatible versions.

Other Changes

  • feat(nextjs): Prepare for next 16 bundler default (#17868)
  • feat(node): Capture pino logger name (#17930)
  • fix(browser): Ignore React 19.2+ component render measure entries (#17905)
  • fix(nextjs): Fix createRouteManifest with basePath (#17838)
  • fix(react): Add POP guard for long-running pageload spans (#17867)
  • fix(tracemetrics): Send boolean for internal replay attribute (#17908)
  • ref(core): Add weight tracking logic to browser logs/metrics (#17901)
Internal Changes - chore(nextjs): Add Next.js 16 peer dependency ([#17925](https://github-redirect.dependabot.com/getsentry/sentry-javascript/pull/17925)) - chore(ci): Update Next.js canary testing ([#17939](https://github-redirect.dependabot.com/getsentry/sentry-javascript/pull/17939)) - chore: Bump size limit ([#17941](https://github-redirect.dependabot.com/getsentry/sentry-javascript/pull/17941)) - test(nextjs): Add next16 e2e test ([#17922](https://github-redirect.dependabot.com/getsentry/sentry-javascript/pull/17922)) - test(nextjs): Update next 15 tests ([#17919](https://github-redirect.dependabot.com/getsentry/sentry-javascript/pull/17919)) - chore: Add external contributor to CHANGELOG.md ([#17915](https://github-redirect.dependabot.com/getsentry/sentry-javascript/pull/17915)) - chore: Add external contributor to CHANGELOG.md ([#17928](https://github-redirect.dependabot.com/getsentry/sentry-javascript/pull/17928)) - chore: Add external contributor to CHANGELOG.md ([#17940](https://github-redirect.dependabot.com/getsentry/sentry-javascript/pull/17940))

Work in this release was contributed by seoyeon9888, madhuchavva and thedanchez. Thank you for your contributions!

10.19.0

  • feat(tracemetrics): Add trace metrics behind an experiments flag (#17883)
Internal Changes
  • chore: add info latest release for the cursor release command (#17876)

10.18.0

Important Changes

  • feat(node): pino integration (#17584)

    This release adds a new pino integration for Node.js, enabling Sentry to capture logs from the Pino logging library.

  • feat: Remove sentry/pino-transport package (#17851)

    The sentry/pino-transport package has been removed. Please use the new pino integration in sentry/node instead.

  • feat(node-core): Extend onnhandledrejection with ignore errors option (#17736)

    Added support for selectively suppressing specific errors with configurable logging control in onnhandledrejection integration.

Other Changes

  • feat(core): Rename vercelai.schema to gen_ai.request.schema (#17850)
  • feat(core): Support stream responses and tool calls for Google GenAI (#17664)
  • feat(nextjs): Attach headers using client hook (#17831)
  • fix(core): Keep all property values in baggage header (#17847)
  • fix(nestjs): Add support for Symbol as event name (#17785)
  • fix(nuxt): include sentry.client.config.ts in nuxt app types (#17830)
  • fix(react-router): Fix type for OriginalHandleRequest with middleware (#17870)
Internal Changes
  • chore: Add external contributor to CHANGELOG.md (#17866)
  • chore(deps): Bump sentry/cli from 2.53.0 to 2.56.0 (#17819)
  • chore(deps): Bump axios in browser integration tests (#17839)
  • chore(deps): Bump nestjs in integration tests (#17840)

Work in this release was contributed by stefanvanderwolf. Thank you for your contribution!

10.17.0

Important Changes

  • feat(nuxt): Implement server middleware instrumentation (#17796)

    This release introduces instrumentation for Nuxt middleware, ensuring that all middleware handlers are automatically wrapped with tracing and error reporting functionality.

  • fix(aws-serverless): Take http_proxy into account when choosing
    useLayerExtension default (#17817)

    The default setting for useLayerExtension now considers the http_proxy environment variable.
    When http_proxy is set, useLayerExtension will be off by default.
    If you use a http_proxy but would still like to make use of the Sentry Lambda extension, exempt localhost in a no_proxy environment variable.

Other Changes

  • feat(node): Split up http integration into composable parts (#17524)
  • fix(core): Remove check and always respect ai.telemetry.functionId for Vercel AI gen spans (#17811)
  • doc(core): Fix outdated JSDoc in beforeSendSpan (#17815)
Internal Changes
  • ci: Do not run dependabot on e2e test applications (#17813)
  • docs: Reword changelog for google gen ai integration (#17805)

10.16.0

  • feat(logs): Add internal replay_is_buffering flag (#17752)
  • feat(react-router): Update loadContext type to be compatible with middleware (#17758)
  • feat(replay/logs): Only attach sampled replay Ids to logs (#17750)
  • fix(browser): Use current start timestamp for CLS span when CLS is 0 (#17800)
  • fix(core): Prevent instrumentAnthropicAiClient breaking MessageStream api (#17754)
  • fix(nextjs): Don't use chalk in turbopack config file (#17806)
  • fix(react): Do not send additional navigation span on pageload (#17799)
Internal Changes
  • build(aws): Ensure AWS build cache does not keep old files (#17776)
  • chore: Add publish_release command (#17797)
  • ref(aws-serverless): Add resolution for import-in-the-middle when building the Lambda layer (#17780)
  • ref(aws-serverless): Improve README with better examples (#17787)
  • ref(core): Improve promise buffer (#17788)
  • Revert "test(e2e): Pin import-in-the-middle1.14.2 due to vercel/nft incompatibility (#17777)" (#17784)
  • test(e2e): Pin import-in-the-middle1.14.2 due to vercel/nft incompatibility (#17777)
  • test(nextjs): Add route handler tests for turbopack (#17515)
  • test(react-router): Test v8 middleware (#17783)

10.15.0

Important Changes

  • feat(cloudflare): Add honoIntegration with error-filtering function (#17743)

    This release adds a honoIntegration to sentry/cloudflare, which exposes a shouldHandleError function that lets you define which errors in onError should be captured.
    By default, Sentry captures exceptions with error.status >= 500 || error.status <= 299.

    The integration is added by default, and it's possible to modify this behavior like this:

     integrations: [
       honoIntegration({
        shouldHandleError: (err) => true; // always capture exceptions in onError
       })
     ]
  • feat(node): Add instrumentation for hono handler (#17428)

This PR enhances the Hono integration by adding comprehensive handler instrumentation, error handling capabilities.

  • feat(aws): Enable Lambda extension by default when using the Lamba layer (#17684)

  • feat(browser): Add setActiveSpanInBrowser to set an active span in the browser (#17714)

This PR adds a feature to the browser SDKs only: Making an inactive span active. We do this to enable use cases where having a span only being active in the callback is not practical.

Other Changes

  • fix(browser): Improve handling of 0 and undefined resource timing values (#17751)
  • ref(nextjs): Display build compatibility warning for webpack (#17746)
Internal Changes
  • docs: Reword changelog for google gen ai instrumentation (#17753)
  • build: Add typescript-eslint/no-unnecessary-type-assertion rule (#17728)
  • build: Update TS target to es2020 everywhere (#17709)
  • chore: Add external contributor to CHANGELOG.md (#17745)

Work in this release was contributed by Karibash. Thank you for your contribution!

10.14.0

Important Changes

  • feat(cloudflare,vercel-edge): Add support for Google Gen AI instrumentation (#17723)

    The SDK now supports manually instrumenting Google's Gen AI operations in Cloudflare Workers and Vercel Edge Runtime environments, providing insights into your AI operations. You can use const wrappedClient = Sentry.instrumentGoogleGenAIClient(genAiClient) to get an instrumented client.

Other Changes

  • fix(nextjs): Display updated turbopack warnings (#17737)
  • ref(core): Wrap isolationscope in WeakRef when storing it on spans (#17712)
Internal Changes
  • test(node): Avoid using specific port for node-integration-tests (#17729)
  • test(nuxt): Update Nuxt version and add Nitro $fetch test (#17713)

10.13.0

Important Changes

  • feat(browser): Add option to explicitly end pageload span via reportPageLoaded() (#17697)

    With this release you can take manual control of ending the pageload span. Usually this span is ended automatically by the SDK, based on a period of inactivity after the initial page was loaded in the browser. If you want full control over the pageload duration, you can tell Sentry, when your page was fully loaded:

    Sentry.init({
      //...
      integrations: [
        // 1. Enable manual pageload reporting
        Sentry.browserTracingIntegration({ enableReportPageLoaded: true }),
      ],
    });
    
    // 2. Whenever you decide the page is loaded, call:
    Sentry.reportPageLoaded();

    Note that if Sentry.reportPageLoaded() is not called within 30 seconds of the initial pageload (or whatever value the finalTimeout option is set to), the pageload span will be ended automatically.

  • feat(core,node): Add instrumentation for GoogleGenAI (#17625)

    The SDK now automatically instruments the google/genai package to provide insights into your AI operations.

  • feat(nextjs): Promote useRunAfterProductionCompileHook to non-experimental build option (#17721)

    The useRunAfterProductionCompileHook option is no longer experimental and is now a stable build option for Next.js projects.

  • feat(nextjs): Use afterProductionCompile hook for webpack builds (#17655)

    Next.js projects using webpack can opt-in to use the useRunAfterProductionCompileHook hook for source map uploads.

  • feat(nextjs): Flip default value for useRunAfterProductionCompileHook for Turbopack builds (#17722)

    The useRunAfterProductionCompileHook option is now enabled by default for Turbopack builds, enabling automated source map uploads.

  • feat(node): Do not drop 300 and 304 status codes by default (#17686)

    HTTP transactions with 300 and 304 status codes are now captured by default, providing better visibility into redirect and caching behavior.

Other Changes

  • feat(core): Add logger to core and allow scope to be passed log methods (#17698)
  • feat(core): Allow to pass onSuccess to handleCallbackErrors (#17679)
  • feat(core): Create template attributes in consoleLoggingIntegration (#17703)
  • feat(deps): bump sentry/cli from 2.52.0 to 2.53.0 (#17652)
  • feat(node): Add extra platforms to os context (#17720)
  • fix(browser): Ensure idle span duration is adjusted when child spans are ignored (#17700)
  • fix(core): Ensure builtin stack frames don't affect thirdPartyErrorFilterIntegration (#17693)
  • fix(core): Fix client hook edge cases around multiple callbacks (#17706)
  • fix(nextjs): Enable fetch span when OTel setup is skipped (#17699)
  • fix(node): Fix this context for vercel AI instrumentation (#17681)
Internal Changes
  • chore: Add external contributor to CHANGELOG.md (#17725)
  • chore: Add link to build and test icon in readme (#17719)
  • chore(nuxt): Bump Vite and Rollup plugins (#17671)
  • chore(repo): Add changelog entry for reportPageLoaded (#17724)
  • ci: Fix lookup of changed E2E test apps (#17707)
  • ci(test-matrix): Add logs for getTestMatrix (#17673)
  • ref: Avoid some usage of SyncPromise where not needed (#17641)
  • ref(core): Add debug log when dropping a span via ignoreSpans (#17692)
  • ref(core): Avoid looking up anthropic-ai integration options (#17694)
  • ref(core): Streamline module_metadata assignment and cleanup functions (#17696)
  • ref(remix): Avoid unnecessary error wrapping HandleDocumentRequestFunction (#17680)
  • Revert "[Gitflow] Merge master into develop"

Work in this release was contributed by Olexandr88. Thank you for your contribution!

10.12.0

Important Changes

  • ref: Add and Adjust error event mechanism values

    This release includes a variety of changes aimed at setting the mechanism field on errors captured automatically by the Sentry SDKs. The intention is to clearly mark which instrumentation captured an error. In addition, some instrumentations previously did not yet annotate the error as handled or unhandled which this series of PRs corrects as well.

    Relevant PRs

    Released in 10.12.0:

    • ref(angular): Adjust ErrorHandler event mechanism (#17608)
    • ref(astro): Adjust mechanism on error events captured by astro middleware (#17613)
    • ref(aws-severless): Slightly adjust aws-serverless mechanism type (#17614)
    • ref(bun): Adjust mechanism of errors captured in Bun.serve (#17616)
    • ref(cloudflare): Adjust event mechanisms and durable object origin (#17618)
    • ref(core): Adjust mechanism in captureConsoleIntegration (#17633)
    • ref(core): Adjust MCP server error event mechanism (#17622)
    • ref(core): Simplify linkedErrors mechanism logic (#17600)
    • ref(deno): Adjust mechanism of errors caught by globalHandlersIntegration (#17635)
    • ref(nextjs): Set more specific event mechanisms (#17543)
    • ref(node): Adjust mechanism of express, hapi and fastify error handlers (#17623)
    • ref(node-core): Add mechanism to cron instrumentations (#17544)
    • ref(node-core): Add more specific mechanism.type to worker thread errors from childProcessIntegration (#17578)
    • ref(node-core): Adjust mechanism of onUnhandledRejection and onUnhandledException integrations (#17636)
    • ref(node): Add mechanism to errors captured via connect and koa integrations (#17579)
    • ref(nuxt): Add and adjust mechanism.type in error events (#17599)
    • ref(react): Add mechanism to reactErrorHandler and adjust mechanism in ErrorBoundary (#17602)
    • ref(remix): Adjust event mechanism of captureRemixServerException (#17629)
    • ref(replay-internal): Add mechanism to error caught by replayIntegration in debug mode (#17606)
    • ref(solid): Add mechanism to error captured by withSentryErrorBoundary (#17607)
    • ref(solidstart): Adjust event mechanism in withServerActionInstrumentation (#17637)
    • ref(sveltekit): Adjust mechanism of error events (#17646)
    • ref(vue): Adjust mechanism in Vue error handler (#17647)

    Released in 10.11.0:

    • ref(browser): Add more specific mechanism.type to errors captured by httpClientIntegration (#17254)
    • ref(browser): Set more descriptive mechanism.type in browserApiErrorsIntergation (#17251)
    • ref(core): Add mechanism.type to trpcMiddleware errors (#17287)
    • ref(core): Add more specific event mechanisms and span origins to openAiIntegration (#17288)
    • ref(nestjs): Add mechanism to captured errors (#17312)
  • feat(node) Ensure prismaIntegration works with Prisma 5 (#17595)

We used to require to pass in the v5 version of prisma/instrumentation into prismaIntegration({ prismaInstrumentation: new PrismaInstrumentation() }), if you wanted to get full instrumentation for Prisma v5. However, it turns out this does not work on v10 of the SDK anymore, because prisma/instrumentation5 requires OTEL v1.

With this release, we dropped the requirement to configure anything to get v5 support of Prisma. You do not need to configure anything in the integration anymore, and can remove the dependency on prisma/instrumentation5 if you had it in your application. You only need to configure the tracing preview feature according to our docs.

  • feat(deps): Update OpenTelemetry dependencies (#17558)
    • opentelemetry/core bumped to ^2.1.0
    • opentelemetry/context-async-hooks bumped to ^2.1.0
    • opentelemetry/resources bumped to ^2.1.0
    • opentelemetry/sdk-trace-base bumped to ^2.1.0
    • opentelemetry/semantic-conventions bumped to ^1.37.0
    • opentelemetry/instrumentation bumped to ^0.204.0
    • opentelemetry/instrumentation-http bumped to ^0.204.0
    • opentelemetry/instrumentation-amqplib bumped to ^0.51.0
    • opentelemetry/instrumentation-aws-sdk bumped to ^0.59.0
    • opentelemetry/instrumentation-connect bumped to ^0.48.0
    • opentelemetry/instrumentation-dataloader bumped to ^0.22.0
    • opentelemetry/instrumentation-express bumped to ^0.53.0
    • opentelemetry/instrumentation-fs bumped from to ^0.24.0
    • opentelemetry/instrumentation-generic-pool bumped to ^0.48.0
    • opentelemetry/instrumentation-graphql bumped to ^0.52.0
    • opentelemetry/instrumentation-hapi bumped to ^0.51.0
    • opentelemetry/instrumentation-ioredis bumped to ^0.52.0
    • opentelemetry/instrumentation-kafkajs bumped to ^0.14.0
    • opentelemetry/instrumentation-knex bumped to ^0.49.0
    • opentelemetry/instrumentation-koa bumped to ^0.52.0
    • opentelemetry/instrumentation-lru-memoizer bumped to ^0.49.0
    • opentelemetry/instrumentation-mongodb bumped from to ^0.57.0
    • opentelemetry/instrumentation-mongoose bumped from to ^0.51.0
    • opentelemetry/instrumentation-mysql bumped to ^0.50.0
    • opentelemetry/instrumentation-mysql2 bumped to ^0.51.0
    • opentelemetry/instrumentation-nestjs-core bumped to ^0.50.0
    • opentelemetry/instrumentation-pg bumped to ^0.57.0
    • opentelemetry/instrumentation-redis bumped to ^0.53.0
    • opentelemetry/instrumentation-undici bumped to ^0.15.0
    • prisma/instrumentation bumped to 6.15.0

Other Changes

  • feat(browser): Add timing and status atttributes to resource spans (#17562)
  • feat(cloudflare,vercel-edge): Add support for Anthropic AI instrumentation (#17571)
  • feat(core): Add Consola integration (#17435)
  • feat(deps): Update OpenTelemetry dependencies (#17569)
  • feat(core): Export TracesSamplerSamplingContext type (#17523)
  • feat(deno): Add OpenTelemetry support and vercelAI integration (#17445)
  • feat(node-core): Remove experimental note from winston api (#17626)
  • feat(node): Ensure prismaIntegration works with Prisma v5 (#17595)
  • feat(node): Tidy existing ESM loader hook (#17566)
  • feat(sveltekit): Align build time options with shared type (#17413)
  • fix(core): Fix error handling when sending envelopes (#17662)
  • fix(browser): Always start navigation as root span (#17648)
  • fix(browser): Ensure propagated parentSpanId stays consistent during trace in TwP mode (#17526)
  • fix(cloudflare): Initialize once per workflow run and preserve scope for step.do (#17582)
  • fix(nextjs): Add edge polyfills for nextjs-13 in dev mode (#17488)
  • fix(nitro): Support nested _platform properties in Nitro 2.11.7+ (#17596)
  • fix(node): Preserve synchronous return behavior for streamText and other methods for AI (#17580)
  • ref(node): Inline types imported from shimmer (#17597) - ref(nuxt): Add and adjust mechanism.type in error events (#17599)
  • ref(browser): Improve fetchTransport error handling (#17661)
Internal Changes
  • chore: Add changelog note about mechanism changes (#17632)
  • chore(aws): Update README.md (#17601)
  • chore(deps): bump hono from 4.7.10 to 4.9.7 in /dev-packages/e2e-tests/test-applications/cloudflare-hono (#17630)
  • chore(deps): bump next from 14.2.25 to 14.2.32 in /dev-packages/e2e-tests/test-applications/nextjs-app-dir (#17627)
  • chore(deps): bump next from 14.2.25 to 14.2.32 in /dev-packages/e2e-tests/test-applications/nextjs-pages-dir (#17620)
  • chore(deps): bump next from 14.2.29 to 14.2.32 in /dev-packages/e2e-tests/test-applications/nextjs-orpc (#17494)
  • chore(deps): bump next from 14.2.30 to 14.2.32 in /dev-packages/e2e-tests/test-applications/nextjs-14 (#17628)
  • chore(repo): Rename .claude/settings.local.json to .claude/settings.json (#17591)
  • docs(issue-template): Add note about prioritization (#17590)
  • ref(core): Streamline event processor handling (#17634)
  • test(angular): Bump TS version to 5.9.0 in Angular 20 e2e test (#17605)
  • test(nextjs): Remove Next 13 and pin Next 14 canary and latest tests (#17577)
  • test(react-router): Unflake flushIfServerless test (#17610)

10.11.0

Important Changes

  • feat(aws): Add experimental AWS Lambda extension for tunnelling events (#17525)

    This release adds an experimental Sentry Lambda extension to the existing Sentry Lambda layer. Sentry events are now tunneled through the extension and then forwarded to Sentry. This has the benefit of reducing the request processing time.

    To enable it, set _experiments.enableLambdaExtension in your Sentry config like this:

    Sentry.init({
      dsn: '<YOUR_DSN>',
      _experiments: {
        enableLambdaExtension: true,
      },
    });

Other Changes

  • feat(core): Add replay id to logs (#17563)
  • feat(core): Improve error handling for Anthropic AI instrumentation (#17535)
  • feat(deps): bump opentelemetry/instrumentation-ioredis from 0.51.0 to 0.52.0 (#17557)
  • feat(node): Add incoming request headers as OTel span attributes (#17475)
  • fix(astro): Ensure traces are correctly propagated for static routes (#17536)
  • fix(react): Remove handleExistingNavigation (#17534)
  • ref(browser): Add more specific mechanism.type to errors captured by httpClientIntegration (#17254)
  • ref(browser): Set more descriptive mechanism.type in browserApiErrorsIntergation (#17251)
  • ref(core): Add mechanism.type to trpcMiddleware errors (#17287)
  • ref(core): Add more specific event mechanisms and span origins to openAiIntegration (#17288)
  • ref(nestjs): Add mechanism to captured errors (#17312)
Internal Changes
  • chore: Use proper test-utils dependency in workspace (#17538)
  • chore(test): Remove geist font (#17541)
  • ci: Check for stable lockfile (#17552)
  • ci: Fix running of only changed E2E tests (#17551)
  • ci: Remove project automation workflow (#17508)
  • test(node-integration-tests): pin ai5.0.30 to fix test fails (#17542)

10.10.0

Important Changes

  • feat(browser): Add support for propagateTraceparent SDK option (#17509)

Adds support for a new browser SDK init option, propagateTraceparent for attaching a W3C compliant traceparent header to outgoing fetch and XHR requests, in addition to sentry-trace and baggage headers. More details can be found here.

  • feat(core): Add tool calls attributes for Anthropic AI (#17478)

Adds missing tool call attributes, we add gen_ai.response.tool_calls attribute for Anthropic AI, supporting both streaming and non-streaming requests.

  • feat(nextjs): Use compiler hook for uploading turbopack sourcemaps (#17352)

Adds a new experimental flag _experimental.useRunAfterProductionCompileHook to withSentryConfig for automatic source maps uploads when building a Next.js app with next build --turbopack.
When set we:

  • Automatically enable source map generation for turbopack client files (if not explicitly disabled)
  • Upload generated source maps to Sentry at the end of the build by leveraging a Next.js compiler hook.

Other Changes

  • feat(feedback): Add more labels so people can configure Highlight and Hide labels (#17513)
  • fix(node): Add origin for OpenAI spans & test auto instrumentation (#17519)

10.9.0

Important Changes

  • feat(node): Update httpIntegration handling of incoming requests (#17371)

This version updates the handling of the Node SDK of incoming requests. Instead of relying on opentelemetry/instrumentation-http, we now handle incoming request instrumentation internally, ensuring that we can optimize performance as much as possible and avoid interop problems.

This change should not affect you, unless you're relying on very in-depth implementation details. Importantly, this also drops the _experimentalConfig option of the integration - this will no longer do anything.
Finally, you can still pass instrumentation.{requestHook,responseHook,applyCustomAttributesOnSpan} options, but they are deprecated and will be removed in v11. Instead, you can use the new incomingRequestSpanHook configuration option if you want to adjust the incoming request span.

Other Changes

  • feat(browser): Add replay.feedback CDN bundle (#17496)
  • feat(browser): Export sendFeedback from CDN bundles (#17495)
  • fix(astro): Ensure span name from beforeStartSpan isn't overwritten (#17500)
  • fix(browser): Ensure source is set correctly when updating span name in-place in beforeStartSpan (#17501)
  • fix(core): Only set template attributes on logs if parameters exist (#17480)
  • fix(nextjs): Fix parameterization for root catchall routes (#17489)
  • fix(node-core): Shut down OTel TraceProvider when calling Sentry.close() (#17499)
Internal Changes
  • chore: Add changelog script back to package.json (#17517)
  • chore: Ensure prettier is run on all files (#17497)
  • chore: Ignore prettier commit for git blame (#17498)
  • chore: Remove experimental from Nuxt SDK package description (#17483)
  • ci: Capture overhead in node app (#17420)
  • ci: Ensure we fail on cancelled jobs (#17506)
  • ci(deps): bump actions/checkout from 4 to 5 (#17505)
  • ci(deps): bump actions/create-github-app-token from 2.0.6 to 2.1.1 (#17504)
  • test(aws): Improve reliability on CI (#17502)

10.8.0

Important Changes

  • feat(sveltekit): Add Compatibility for builtin SvelteKit Tracing (#17423)

    This release makes the sentry/sveltekit SDK compatible with SvelteKit's native observability support introduced in SvelteKit version 2.31.0.
    If you enable both, instrumentation and tracing, the SDK will now initialize early enough to set up additional instrumentation like database queries and it will pick up spans emitted from SvelteKit.

    We will follow up with docs how to set up the SDK soon.
    For now, If you're on SvelteKit version 2.31.0 or newer, you can easily opt into the new feature:

    1. Enable experimental tracing and instrumentation support in svelte.config.js:

    2. Move your Sentry.init() call from src/hooks.server.(js|ts) to the new instrumentation.server.(js|ts) file:

      // instrumentation.server.ts
      import * as Sentry from 'sentry/sveltekit';
      
      Sentry.init({
        dsn: '...',
        // rest of your config
      });

      The rest of your Sentry config in hooks.server.ts (sentryHandle and handleErrorWithSentry) should stay the same.

    If you prefer to stay on the hooks-file based config for now, the SDK will continue to work as previously.

    Thanks to the Svelte team and elliott-with-the-longest-name-on-github for implementing observability support and for reviewing our PR!

Other Changes

  • fix(react): Avoid multiple name updates on navigation spans (#17438)
Internal Changes
  • test(profiling): Add tests for current state of profiling (#17470)

10.7.0

Important Changes

  • feat(cloudflare): Add instrumentPrototypeMethods option to instrument RPC methods for DurableObjects (#17424)

By default, Sentry.instrumentDurableObjectWithSentry will not wrap any RPC methods on the prototype. To enable wrapping for RPC methods, set instrumentPrototypeMethods to true or, if performance is a concern, a list of only the methods you want to instrument:

class MyDurableObjectBase extends DurableObject<Env> {
  method1() {
    // ...
  }

  method2() {
    // ...
  }

  method3() {
    // ...
  }
}
// Export your named class as defined in your wrangler config
export const MyDurableObject = Sentry.instrumentDurableObjectWithSentry(
  (env: Env) => ({
    dsn: "https://ac49b7af3017c458bd12dab9b3328bfco4508482761982032.ingest.de.sentry.io/4508482780987481",
    tracesSampleRate: 1.0,
    instrumentPrototypeMethods: ['method1', 'method3'],
  }),
  MyDurableObjectBase,
);

Other Changes

  • feat(aws): Add support for streaming handlers (#17463)
  • feat(core): Stream responses Anthropic AI (#17460)
  • feat(deps): bump opentelemetry/instrumentation-aws-sdk from 0.56.0 to 0.57.0 (#17455)
  • feat(deps): bump opentelemetry/instrumentation-dataloader from 0.21.0 to 0.21.1 (#17457)
  • feat(deps): bump opentelemetry/instrumentation-kafkajs from 0.12.0 to 0.13.0 (#17469)
  • feat(deps): bump opentelemetry/instrumentation-mysql2 from 0.49.0 to 0.50.0 (#17459)
  • feat(deps): bump prisma/instrumentation from 6.13.0 to 6.14.0 (#17466)
  • feat(deps): bump sentry/cli from 2.51.1 to 2.52.0 (#17458)
  • feat(deps): bump sentry/rollup-plugin from 4.1.0 to 4.1.1 (#17456)
  • feat(deps): bump sentry/webpack-plugin from 4.1.0 to 4.1.1 (#17467)
  • feat(replay): Add option to skip requestAnimationFrame for canvas snapshots (#17380)
Internal Changes
  • test(aws): Run E2E tests in all supported Node versions (#17446)

10.6.0

Important Changes

  • feat(node): Add Anthropic AI integration (#17348)

This release adds support for automatically tracing Anthropic AI SDK requests, providing better observability for AI-powered applications.

  • fix(core): Instrument invoke_agent root span, and support Vercel ai v5 (#17395)

This release makes the Sentry vercelAiIntegration compatible with version 5 of Vercel ai.

  • docs(nuxt): Remove beta notice (#17400)

The Sentry Nuxt SDK is now considered stable and no longer in beta!

Other Changes

  • feat(astro): Align options with shared build time options type (#17396)
  • feat(aws): Add support for automatic wrapping in ESM (#17407)
  • feat(node): Add an instrumentation interface for Hono (#17366)
  • fix(browser): Use DedicatedWorkerGlobalScope global object type in registerWebWorker (#17447)
  • fix(core): Only consider ingest endpoint requests when checking isSentryRequestUrl (#17393)
  • fix(node): Fix preloading of instrumentation (#17403)
Internal Changes
  • chore: Add external contributor to CHANGELOG.md (#17449)
  • chore(deps): bump astro from 4.16.18 to 4.16.19 in /dev-packages/e2e-tests/test-applications/astro-4 (#17434)
  • test(e2e/firebase): Fix firebase e2e test failing due to outdated rules file (#17448)
  • test(nextjs): Fix canary tests (#17416)
  • test(nuxt): Don't rely on flushing for lowQualityTransactionFilter (#17406)
  • test(solidstart): Don't rely on flushing for lowQualityTransactionFilter (#17408)

10.5.0

  • feat(core): better cause data extraction (#17375)
  • feat(deps): Bump sentry/cli from 2.50.2 to 2.51.1 (#17382)
  • feat(deps): Bump sentry/rollup-plugin and sentry/vite-plugin from 4.0.2 to 4.1.0 (#17383)
  • feat(deps): Bump sentry/webpack-plugin from 4.0.2 to 4.1.0 (#17381)
  • feat(node): Capture SystemError context and remove paths from message (#17331)
  • fix(nextjs): Inject Next.js version for dev symbolication (#17379)
  • fix(mcp-server): Add defensive patches for Transport edge cases (#17291)
Internal Changes
  • chore(repo): Adjust "Publishing a Release" document to include internal changes section in changelog (#17374)
  • test(aws): Run E2E tests with AWS SAM (#17367)
  • test(node): Add tests for full http.server span attribute coverage (#17373)

Work in this release was contributed by ha1fstack. Thank you for your contribution!

10.4.0

Important Changes

  • fix(browser): Ensure IP address is only inferred by Relay if sendDefaultPii is true

This release includes a fix for a behaviour change
that was originally introduced with v9 of the SDK: User IP Addresses should only be added to Sentry events automatically,
if sendDefaultPii was set to true.

However, the change in v9 required further internal adjustment, which should have been included in v10 of the SDK.
Unfortunately, the change did not make it into the initial v10 version but is now applied with 10.4.0.
There is no API breakage involved and hence it is safe to update.
However, after updating the SDK, events (errors, traces, replays, etc.) sent from the browser, will only include
user IP addresses, if you set sendDefaultPii: true in your Sentry.init options.

We apologize for any inconvenience caused!

  • feat(node): Add ignoreStaticAssets (#17370)

This release adds a new option to httpIntegration to ignore requests for static assets (e.g. favicon.xml or robots.txt). The option defaults to true, meaning that going forward, such requests will not be traced by default. You can still enable tracing for these requests by setting the option to false:

Sentry.init({
  integrations: [
    Sentry.httpIntegration({
      // defaults to true, set to false to enable traces for static assets
      ignoreStaticAssets: false,
    }),
  ],
});

Other Changes

  • fix(nuxt): Do not drop parametrized routes (#17357)
Internal Changes
  • ref(node): Split up incoming & outgoing http handling (#17358)
  • test(node): Enable additionalDependencies in integration runner (#17361)

10.3.0

  • feat(core): MCP Server - Capture prompt results from prompt function calls (#17284)
  • feat(bun): Export skipOpenTelemetrySetup option (#17349)
  • feat(sveltekit): Streamline build logs (#17306)
  • fix(browser): Handle data urls in errors caught by globalHandlersIntegration (#17216)
  • fix(browser): Improve navigation vs. redirect detection (#17275)
  • fix(react-router): Ensure source map upload fails silently if Sentry CLI fails (#17081)
  • fix(react): Add support for React Router sub-routes from handle (#17277)

10.2.0

Important Changes

  • feat(core): Add ignoreSpans option (#17078)

This release adds a new top-level Sentry.init option, ignoreSpans, that can be used as follows:

Sentry.init({
  ignoreSpans: [
    'partial match', // string matching on the span name
    /regex/, // regex matching on the span name
    {
      name: 'span name',
      op: /http.client/,
    },
  ],
});

Spans matching the filter criteria will not be recorded. Potential child spans of filtered spans will be re-parented, if possible.

  • feat(cloudflare,vercel-edge): Add support for OpenAI instrumentation (#17338)

Adds support for OpenAI manual instrumentation in sentry/cloudflare and sentry/vercel-edge.

To instrument the OpenAI client, wrap it with Sentry.instrumentOpenAiClient and set recording settings.

import * as Sentry from 'sentry/cloudflare';
import OpenAI from 'openai';

const openai = new OpenAI();
const client = Sentry.instrumentOpenAiClient(openai, { recordInputs: true, recordOutputs: true });

// use the wrapped client
  • ref(aws): Remove manual span creation (#17310)

The startTrace option is deprecated and will be removed in a future major version. If you want to disable tracing, set SENTRY_TRACES_SAMPLE_RATE to 0.0. instead. As of today, the flag does not affect traces anymore.

Other Changes

  • feat(astro): Streamline build logs (#17301)
  • feat(browser): Handles data URIs in chrome stack frames (#17292)
  • feat(core): Accumulate tokens for gen_ai.invoke_agent spans from child LLM calls (#17281)
  • feat(deps): Bump prisma/instrumentation from 6.12.0 to 6.13.0 (#17315)
  • feat(deps): Bump sentry/cli from 2.50.0 to 2.50.2 (#17316)
  • feat(deps): Bump sentry/rollup-plugin from 4.0.0 to 4.0.2 (#17317)
  • feat(deps): Bump sentry/webpack-plugin from 4.0.0 to 4.0.2 (#17314)
  • feat(nuxt): Do not inject trace meta-tags on cached HTML pages (#17305)
  • feat(nuxt): Streamline build logs (#17308)
  • feat(react-router): Add support for Hydrogen with RR7 (#17145)
  • feat(react-router): Streamline build logs (#17303)
  • feat(solidstart): Streamline build logs (#17304)
  • fix(nestjs): Add missing sentry.origin span attribute to SentryTraced decorator (#17318)
  • fix(node): Assign default export of openai to the instrumented fn (#17320)
  • fix(replay): Call sendBufferedReplayOrFlush when opening/sending feedback (#17236)

10.1.0

  • feat(nuxt): Align build-time options to follow bundler plugins structure (#17255)
  • fix(browser-utils): Ensure web vital client hooks unsubscribe correctly (#17272)
  • fix(browser): Ensure request from diagnoseSdkConnectivity doesn't create span (#17280)

10.0.0

Version 10.0.0 marks a release of the Sentry JavaScript SDKs that contains breaking changes. The goal of this release is to primarily upgrade the underlying OpenTelemetry dependencies to v2 with minimal breaking changes.

How To Upgrade

Please carefully read through the migration guide in the Sentry docs on how to upgrade from version 9 to version 10. Make sure to select your specific platform/framework in the top left corner: https://docs.sentry.io/platforms/javascript/migration/v9-to-v10/

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

@github-actions github-actions bot force-pushed the deps/scripts/update-javascript.sh branch 2 times, most recently from 8e7dc05 to 72a8684 Compare July 5, 2025 03:45
@github-actions github-actions bot changed the title chore(deps): update JavaScript SDK to v9.34.0 chore(deps): update JavaScript SDK to v9.35.0 Jul 5, 2025
@github-actions github-actions bot changed the title chore(deps): update JavaScript SDK to v9.35.0 chore(deps): update JavaScript SDK to v9.36.0 Jul 10, 2025
@github-actions github-actions bot force-pushed the deps/scripts/update-javascript.sh branch from 72a8684 to 749b0e2 Compare July 10, 2025 03:53
@github-actions github-actions bot changed the title chore(deps): update JavaScript SDK to v9.36.0 chore(deps): update JavaScript SDK to v9.37.0 Jul 11, 2025
@github-actions github-actions bot force-pushed the deps/scripts/update-javascript.sh branch 2 times, most recently from 23fe7b8 to 097dd1a Compare July 11, 2025 09:24
@github-actions github-actions bot changed the title chore(deps): update JavaScript SDK to v9.37.0 chore(deps): update JavaScript SDK to v9.38.0 Jul 12, 2025
@github-actions github-actions bot force-pushed the deps/scripts/update-javascript.sh branch from 097dd1a to f6ac530 Compare July 12, 2025 03:54
@github-actions github-actions bot changed the title chore(deps): update JavaScript SDK to v9.38.0 chore(deps): update JavaScript SDK to v9.39.0 Jul 16, 2025
@github-actions github-actions bot force-pushed the deps/scripts/update-javascript.sh branch from f6ac530 to 8b26284 Compare July 16, 2025 03:59
@github-actions github-actions bot changed the title chore(deps): update JavaScript SDK to v9.39.0 chore(deps): update JavaScript SDK to v9.40.0 Jul 18, 2025
@github-actions github-actions bot force-pushed the deps/scripts/update-javascript.sh branch from 8b26284 to 0e75936 Compare July 18, 2025 04:00
@github-actions github-actions bot changed the title chore(deps): update JavaScript SDK to v9.40.0 chore(deps): update JavaScript SDK to v9.41.0 Jul 25, 2025
@github-actions github-actions bot force-pushed the deps/scripts/update-javascript.sh branch 2 times, most recently from 86fb041 to 03f5fec Compare July 26, 2025 03:58
@github-actions github-actions bot changed the title chore(deps): update JavaScript SDK to v9.41.0 chore(deps): update JavaScript SDK to v9.42.0 Jul 26, 2025
@github-actions github-actions bot force-pushed the deps/scripts/update-javascript.sh branch from 03f5fec to 7e57fa7 Compare July 29, 2025 04:08
@github-actions github-actions bot changed the title chore(deps): update JavaScript SDK to v9.42.0 chore(deps): update JavaScript SDK to v9.42.1 Jul 29, 2025
@github-actions github-actions bot changed the title chore(deps): update JavaScript SDK to v9.42.1 chore(deps): update JavaScript SDK to v9.43.0 Jul 30, 2025
@github-actions github-actions bot force-pushed the deps/scripts/update-javascript.sh branch 2 times, most recently from 43cb4c4 to 8bcfe56 Compare August 1, 2025 04:14
@github-actions github-actions bot changed the title chore(deps): update JavaScript SDK to v9.43.0 chore(deps): update JavaScript SDK to v10.0.0 Aug 1, 2025
@github-actions github-actions bot force-pushed the deps/scripts/update-javascript.sh branch 2 times, most recently from 89e6bbb to 4c77f85 Compare August 5, 2025 04:08
@github-actions github-actions bot changed the title chore(deps): update JavaScript SDK to v10.0.0 chore(deps): update JavaScript SDK to v10.1.0 Aug 5, 2025
@github-actions github-actions bot changed the title chore(deps): update JavaScript SDK to v10.1.0 chore(deps): update JavaScript SDK to v10.2.0 Aug 7, 2025
@github-actions github-actions bot force-pushed the deps/scripts/update-javascript.sh branch from 4c77f85 to d4b2354 Compare August 7, 2025 04:06
@github-actions github-actions bot force-pushed the deps/scripts/update-javascript.sh branch 2 times, most recently from 3ef5bca to 1106330 Compare August 28, 2025 03:35
@github-actions github-actions bot changed the title chore(deps): update JavaScript SDK to v10.6.0 chore(deps): update JavaScript SDK to v10.7.0 Aug 28, 2025
@github-actions github-actions bot force-pushed the deps/scripts/update-javascript.sh branch from 1106330 to f48d930 Compare August 30, 2025 03:29
@github-actions github-actions bot changed the title chore(deps): update JavaScript SDK to v10.7.0 chore(deps): update JavaScript SDK to v10.8.0 Aug 30, 2025
@github-actions github-actions bot changed the title chore(deps): update JavaScript SDK to v10.8.0 chore(deps): update JavaScript SDK to v10.9.0 Sep 4, 2025
@github-actions github-actions bot force-pushed the deps/scripts/update-javascript.sh branch from f48d930 to fbd97a7 Compare September 4, 2025 03:27
@github-actions github-actions bot changed the title chore(deps): update JavaScript SDK to v10.9.0 chore(deps): update JavaScript SDK to v10.10.0 Sep 5, 2025
@github-actions github-actions bot force-pushed the deps/scripts/update-javascript.sh branch from fbd97a7 to 991065f Compare September 5, 2025 03:31
@github-actions github-actions bot changed the title chore(deps): update JavaScript SDK to v10.10.0 chore(deps): update JavaScript SDK to v10.11.0 Sep 10, 2025
@github-actions github-actions bot force-pushed the deps/scripts/update-javascript.sh branch from 991065f to bf11736 Compare September 10, 2025 03:26
@github-actions github-actions bot force-pushed the deps/scripts/update-javascript.sh branch from bf11736 to e5e79ae Compare September 17, 2025 03:27
@github-actions github-actions bot changed the title chore(deps): update JavaScript SDK to v10.11.0 chore(deps): update JavaScript SDK to v10.12.0 Sep 17, 2025
@github-actions github-actions bot force-pushed the deps/scripts/update-javascript.sh branch from e5e79ae to 2e7979e Compare September 23, 2025 03:30
@github-actions github-actions bot changed the title chore(deps): update JavaScript SDK to v10.12.0 chore(deps): update JavaScript SDK to v10.13.0 Sep 23, 2025
@github-actions github-actions bot force-pushed the deps/scripts/update-javascript.sh branch from 2e7979e to 39e32f4 Compare September 24, 2025 03:31
@github-actions github-actions bot changed the title chore(deps): update JavaScript SDK to v10.13.0 chore(deps): update JavaScript SDK to v10.14.0 Sep 24, 2025
@github-actions github-actions bot force-pushed the deps/scripts/update-javascript.sh branch from 39e32f4 to c6e1d96 Compare September 25, 2025 03:34
@github-actions github-actions bot changed the title chore(deps): update JavaScript SDK to v10.14.0 chore(deps): update JavaScript SDK to v10.15.0 Sep 25, 2025
@github-actions github-actions bot force-pushed the deps/scripts/update-javascript.sh branch from c6e1d96 to dc9dfd5 Compare September 30, 2025 03:31
@github-actions github-actions bot changed the title chore(deps): update JavaScript SDK to v10.15.0 chore(deps): update JavaScript SDK to v10.16.0 Sep 30, 2025
@github-actions github-actions bot changed the title chore(deps): update JavaScript SDK to v10.16.0 chore(deps): update JavaScript SDK to v10.17.0 Oct 1, 2025
@github-actions github-actions bot force-pushed the deps/scripts/update-javascript.sh branch from dc9dfd5 to 807081f Compare October 1, 2025 03:43
@github-actions github-actions bot changed the title chore(deps): update JavaScript SDK to v10.17.0 chore(deps): update JavaScript SDK to v10.18.0 Oct 8, 2025
@github-actions github-actions bot force-pushed the deps/scripts/update-javascript.sh branch 2 times, most recently from d24204a to 0704b47 Compare October 10, 2025 03:33
@github-actions github-actions bot changed the title chore(deps): update JavaScript SDK to v10.18.0 chore(deps): update JavaScript SDK to v10.19.0 Oct 10, 2025
@github-actions github-actions bot force-pushed the deps/scripts/update-javascript.sh branch from 0704b47 to 8e73779 Compare October 16, 2025 03:37
@github-actions github-actions bot changed the title chore(deps): update JavaScript SDK to v10.19.0 chore(deps): update JavaScript SDK to v10.20.0 Oct 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant