Skip to content

Conversation

@github-actions
Copy link

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

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

Auto-generated by a dependency updater.

Changelog

10.27.0

Important Changes

  • feat(deps): Bump OpenTelemetry (#18239)

    • Bump opentelemetry/context-async-hooks from ^2.1.0 to ^2.2.0
    • Bump opentelemetry/core from ^2.1.0 to ^2.2.0
    • Bump opentelemetry/resources from ^2.1.0 to ^2.2.0
    • Bump opentelemetry/sdk-trace-base from ^2.1.0 to ^2.2.0
    • Bump opentelemetry/sdk-trace-node from ^2.1.0 to ^2.2.0
    • Bump opentelemetry/instrumentation from 0.204.0 to 0.208.0
    • Bump opentelemetry/instrumentation-amqplib from 0.51.0 to 0.55.0
    • Bump opentelemetry/instrumentation-aws-sdk from 0.59.0 to 0.64.0
    • Bump opentelemetry/instrumentation-connect from 0.48.0 to 0.52.0
    • Bump opentelemetry/instrumentation-dataloader from 0.22.0 to 0.26.0
    • Bump opentelemetry/instrumentation-express from 0.53.0 to 0.57.0
    • Bump opentelemetry/instrumentation-fs from 0.24.0 to 0.28.0
    • Bump opentelemetry/instrumentation-generic-pool from 0.48.0 to 0.52.0
    • Bump opentelemetry/instrumentation-graphql from 0.52.0 to 0.56.0
    • Bump opentelemetry/instrumentation-hapi from 0.51.0 to 0.55.0
    • Bump opentelemetry/instrumentation-http from 0.204.0 to 0.208.0
    • Bump opentelemetry/instrumentation-ioredis from 0.52.0 to 0.56.0
    • Bump opentelemetry/instrumentation-kafkajs from 0.14.0 to 0.18.0
    • Bump opentelemetry/instrumentation-knex from 0.49.0 to 0.53.0
    • Bump opentelemetry/instrumentation-koa from 0.52.0 to 0.57.0
    • Bump opentelemetry/instrumentation-lru-memoizer from 0.49.0 to 0.53.0
    • Bump opentelemetry/instrumentation-mongodb from 0.57.0 to 0.61.0
    • Bump opentelemetry/instrumentation-mongoose from 0.51.0 to 0.55.0
    • Bump opentelemetry/instrumentation-mysql from 0.50.0 to 0.54.0
    • Bump opentelemetry/instrumentation-mysql2 from 0.51.0 to 0.55.0
    • Bump opentelemetry/instrumentation-nestjs-core from 0.50.0 to 0.55.0
    • Bump opentelemetry/instrumentation-pg from 0.57.0 to 0.61.0
    • Bump opentelemetry/instrumentation-redis from 0.53.0 to 0.57.0
    • Bump opentelemetry/instrumentation-tedious from 0.23.0 to 0.27.0
    • Bump opentelemetry/instrumentation-undici from 0.15.0 to 0.19.0
    • Bump prisma/instrumentation from 6.15.0 to 6.19.0
  • feat(browserprofiling): Add manual mode and deprecate old profiling (#18189)

    Adds the manual lifecycle mode for UI profiling (the default mode), allowing profiles to be captured manually with Sentry.uiProfiler.startProfiler() and Sentry.uiProfiler.stopProfiler().
    The previous transaction-based profiling is with profilesSampleRate is now deprecated in favor of the new UI Profiling with profileSessionSampleRate.

Other Changes

  • feat(core): Add gibibyte and pebibyte to InformationUnit type (#18241)
  • feat(core): Add scope attribute APIs (#18165)
  • feat(core): Re-add _experiments.enableLogs option (#18299)
  • feat(core): Use maxValueLength on error messages (#18301)
  • feat(deps): bump sentry/bundler-plugin-core from 4.3.0 to 4.6.1 (#18273)
  • feat(deps): bump sentry/cli from 2.56.0 to 2.58.2 (#18271)
  • feat(node): Add tracing support for AzureOpenAI (#18281)
  • feat(node): Fix local variables capturing for out-of-app frames (#18245)
  • fix(core): Add a PromiseBuffer for incoming events on the client (#18120)
  • fix(core): Always redact content of sensitive headers regardless of sendDefaultPii (#18311)
  • fix(metrics): Update return type of beforeSendMetric (#18261)
  • fix(nextjs): universal random tunnel path support (#18257)
  • ref(react): Add more guarding against wildcards in lazy route transactions (#18155)
  • chore(deps): bump glob from 11.0.1 to 11.1.0 in /packages/react-router (#18243)
Internal Changes - build(deps): bump hono from 4.9.7 to 4.10.3 in /dev-packages/e2e-tests/test-applications/cloudflare-hono ([#18038](https://github-redirect.dependabot.com/getsentry/sentry-javascript/pull/18038)) - chore: Add `bump_otel_instrumentations` cursor command ([#18253](https://github-redirect.dependabot.com/getsentry/sentry-javascript/pull/18253)) - chore: Add external contributor to CHANGELOG.md ([#18297](https://github-redirect.dependabot.com/getsentry/sentry-javascript/pull/18297)) - chore: Add external contributor to CHANGELOG.md ([#18300](https://github-redirect.dependabot.com/getsentry/sentry-javascript/pull/18300)) - chore: Do not update opentelemetry ([#18254](https://github-redirect.dependabot.com/getsentry/sentry-javascript/pull/18254)) - chore(angular): Add Angular 21 Support ([#18274](https://github-redirect.dependabot.com/getsentry/sentry-javascript/pull/18274)) - chore(deps): bump astro from 4.16.18 to 5.15.9 in /dev-packages/e2e-tests/test-applications/cloudflare-astro ([#18259](https://github-redirect.dependabot.com/getsentry/sentry-javascript/pull/18259)) - chore(dev-deps): Update some dev dependencies ([#17816](https://github-redirect.dependabot.com/getsentry/sentry-javascript/pull/17816)) - ci(deps): Bump actions/create-github-app-token from 2.1.1 to 2.1.4 ([#17825](https://github-redirect.dependabot.com/getsentry/sentry-javascript/pull/17825)) - ci(deps): bump actions/setup-node from 4 to 6 ([#18077](https://github-redirect.dependabot.com/getsentry/sentry-javascript/pull/18077)) - ci(deps): bump actions/upload-artifact from 4 to 5 ([#18075](https://github-redirect.dependabot.com/getsentry/sentry-javascript/pull/18075)) - ci(deps): bump github/codeql-action from 3 to 4 ([#18076](https://github-redirect.dependabot.com/getsentry/sentry-javascript/pull/18076)) - doc(sveltekit): Update documentation link for SvelteKit guide ([#18298](https://github-redirect.dependabot.com/getsentry/sentry-javascript/pull/18298)) - test(e2e): Fix astro config in test app ([#18282](https://github-redirect.dependabot.com/getsentry/sentry-javascript/pull/18282)) - test(nextjs): Remove debug logs from e2e test ([#18250](https://github-redirect.dependabot.com/getsentry/sentry-javascript/pull/18250))

Work in this release was contributed by bignoncedric and adam-kov. Thank you for your contributions!

10.26.0

Important Changes

  • feat(core): Instrument LangGraph Agent (#18114)

Adds support for instrumenting LangGraph StateGraph operations in Node. The LangGraph integration can be configured as follows:

Sentry.init({
  dsn: '__DSN__',
  sendDefaultPii: false, // Even with PII disabled globally
  integrations: [
    Sentry.langGraphIntegration({
      recordInputs: true, // Force recording input messages
      recordOutputs: true, // Force recording response text
    }),
  ],
});
  • feat(cloudflare/vercel-edge): Add manual instrumentation for LangGraph (#18112)

Instrumentation for LangGraph in Cloudflare Workers and Vercel Edge environments is supported by manually calling instrumentLangGraph:

import * as Sentry from 'sentry/cloudflare'; // or 'sentry/vercel-edge'
import { StateGraph, START, END, MessagesAnnotation } from 'langchain/langgraph';

// Create and instrument the graph
const graph = new StateGraph(MessagesAnnotation)
  .addNode('agent', agentFn)
  .addEdge(START, 'agent')
  .addEdge('agent', END);

Sentry.instrumentLangGraph(graph, {
  recordInputs: true,
  recordOutputs: true,
});

const compiled = graph.compile({ name: 'weather_assistant' });

await compiled.invoke({
  messages: [{ role: 'user', content: 'What is the weather in SF?' }],
});
  • feat(node): Add OpenAI SDK v6 support (#18244)

Other Changes

  • feat(core): Support OpenAI embeddings API (#18224)
  • feat(browser-utils): bump web-vitals to 5.1.0 (#18091)
  • feat(core): Support truncation for LangChain integration request messages (#18157)
  • feat(metrics): Add default server.address attribute on server runtimes (#18242)
  • feat(nextjs): Add URL to server-side transaction events (#18230)
  • feat(node-core): Add mechanism to prevent wrapping ai providers multiple times(#17972)
  • feat(replay): Bump limit for minReplayDuration (#18190)
  • fix(browser): Add ok status to successful idleSpans (#18139)
  • fix(core): Check fetch support with data URL (#18225)
  • fix(core): Decrease number of Sentry stack frames for messages from captureConsoleIntegration (#18096)
  • fix(core): Emit processed metric (#18222)
  • fix(core): Ensure logs past MAX_LOG_BUFFER_SIZE are not swallowed (#18207)
  • fix(core): Ensure metrics past MAX_METRIC_BUFFER_SIZE are not swallowed (#18212)
  • fix(core): Fix logs and metrics flush timeout starvation with continuous logging (#18211)
  • fix(core): Flatten gen_ai.request.available_tools in google-genai (#18194)
  • fix(core): Stringify available tools sent from vercelai (#18197)
  • fix(core/vue): Detect and skip normalizing Vue VNode objects with high normalizeDepth (#18206)
  • fix(nextjs): Avoid wrapping middleware files when in standalone mode (#18172)
  • fix(nextjs): Drop meta trace tags if rendered page is ISR (#18192)
  • fix(nextjs): Respect PORT variable for dev error symbolication (#18227)
  • fix(nextjs): use LRU map instead of map for ISR route cache (#18234)
  • fix(node): tracingChannel export missing in older node versions (#18191)
  • fix(node): Fix Spotlight configuration precedence to match specification (#18195)
  • fix(react): Prevent navigation span leaks for consecutive navigations (#18098)
  • ref(react-router): Deprecate ErrorBoundary exports (#18208)
Internal Changes
  • chore: Fix missing changelog quote we use for attribution placement (#18237)
  • chore: move tip about prioritizing issues (#18071)
  • chore(e2e): Pin embroider/addon-shim to 1.10.0 for the e2e ember-embroider (#18173)
  • chore(react-router): Fix casing on deprecation notices (#18221)
  • chore(test): Use correct testTimeout field in bundler-tests vitest config
  • chore(e2e): Bump zod in e2e tests (#18251)
  • test(browser-integration): Fix incorrect tag value assertions (#18162)
  • test(profiling): Add test utils to validate Profile Chunk envelope (#18170)
  • ref(e2e-ember): Remove embroider/addon-shim override (#18180)
  • ref(browser): Move trace lifecycle listeners to class function (#18231)
  • ref(browserprofiling): Move and rename profiler class to UIProfiler (#18187)
  • ref(core): Move ai integrations from utils to tracing (#18185)
  • ref(core): Optimize Scope.setTag bundle size and adjust test (#18182)

10.25.0

  • feat(browser): Include Spotlight in development bundles (#18078)
  • feat(cloudflare): Add metrics exports (#18147)
  • feat(core): Truncate request string inputs in OpenAI integration (#18136)
  • feat(metrics): Add missing metric node exports (#18149)
  • feat(node): Add maxCacheKeyLength to Redis integration (remove truncation) (#18045)
  • feat(vercel-edge): Add metrics export (#18148)
  • fix(core): Only consider exception mechanism when updating session status from event with exceptions (#18137)
  • ref(browser): Remove truncation when not needed (#18051)
Internal Changes
  • chore(build): Fix incorrect versions after merge (#18154)

10.24.0

Important Changes

  • feat(metrics): Add top level option enableMetrics and beforeSendMetric (#18088)

    This PR moves enableMetrics and beforeSendMetric out of the _experiments options.
    The metrics feature will now be enabled by default (none of our integrations will auto-emit metrics as of now), but you can disable sending metrics via enableMetrics: false.
    Metric options within _experiments got deprecated but will still work as of now, they will be removed with the next major version of our SDKs.

Other Changes

  • feat(aws): Add SENTRY_LAYER_EXTENSION to configure using the lambda layer extension via env variables (#18101)
  • feat(core): Include all exception object keys instead of truncating (#18044)
  • feat(metrics)!: Update types (#17907)
  • feat(replay): ignore background-image when blockAllMedia is enabled (#18019)
  • fix(nextjs): Delete css map files (#18131)
  • fix(nextjs): Stop accessing sync props in template (#18113)
Internal Changes
  • chore: X handle update (#18117)
  • chore(eslint): Add eslint-plugin-regexp rule (dev-packages) (#18063)
  • test(next): fix flakey tests (#18100)
  • test(node-core): Proof that withMonitor doesn't create a new trace (#18057)

10.23.0

  • feat(core): Send user-agent header with envelope requests in server SDKs (#17929)
  • feat(browser): Limit transport buffer size (#18046)
  • feat(core): Remove default value of maxValueLength: 250 (#18043)
  • feat(react-router): Align options with shared build time options type (#18014)
  • fix(browser-utils): cache element names for INP (#18052)
  • fix(browser): Capture unhandled rejection errors for web worker integration (#18054)
  • fix(cloudflare): Ensure types for cloudflare handlers (#18064)
  • fix(nextjs): Update proxy template wrapping (#18086)
  • fix(nuxt): Added top-level fallback exports (#18083)
  • fix(nuxt): check for H3 error cause before re-capturing (#18035)
  • fix(replay): Linked errors not resetting session id (#17854)
  • fix(tracemetrics): Bump metrics buffer to 1k (#18039)
  • fix(vue): Make options parameter optional on attachErrorHandler (#18072)
  • ref(core): Set span status internal_error instead of unknown_error (#17909)
Internal Changes
  • fix(tests): un-override nitro dep version for nuxt-3 test (#18056)
  • fix(e2e): Add p-map override to fix React Router 7 test builds (#18068)
  • feat: Add a note to save changes before starting (#17987)
  • test(browser): Add test for INP target name after navigation or DOM changes (#18033)
  • chore: Add external contributor to CHANGELOG.md (#18032)
  • chore(aws-serverless): Fix typo in timeout warning function name (#18031)
  • chore(browser): upgrade fake-indexeddb to v6 (#17975)
  • chore(tests): pass test flags through to the test command (#18062)

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

10.22.0

Important Changes

  • feat(node): Instrument cloud functions for firebase v2 (#17952)

    We added instrumentation for Cloud Functions for Firebase v2, enabling automatic performance tracking and error monitoring. This will be added automatically if you have enabled tracing.

  • feat(core): Instrument LangChain AI (#17955)

    Instrumentation was added for LangChain AI operations. You can configure what is recorded like this:

    Sentry.init({
      integrations: [
        Sentry.langChainIntegration({
          recordInputs: true, // Record prompts/messages
          recordOutputs: true, // Record responses
        }),
      ],
    });

Other Changes

  • feat(cloudflare,vercel-edge): Add support for LangChain instrumentation (#17986)
  • feat: Align sentry origin with documentation (#17998)
  • feat(core): Truncate request messages in AI integrations (#17921)
  • feat(nextjs): Support node runtime on proxy files (#17995)
  • feat(node): Pass requestHook and responseHook option to OTel (#17996)
  • fix(core): Fix wrong async types when instrumenting anthropic's stream api (#18007)
  • fix(nextjs): Remove usage of chalk to avoid runtime errors (#18010)
  • fix(node): Pino capture serialized err (#17999)
  • fix(node): Pino child loggers (#17934)
  • fix(react): Don't trim index route / when getting pathname (#17985)
  • fix(react): Patch spanEnd for potentially cancelled lazy-route transactions (#17962)
Internal Changes
  • chore: Add required size_check for GH Actions (#18009)
  • chore: Upgrade madge to v8 (#17957)
  • test(hono): Fix hono e2e tests (#18000)
  • test(react-router): Fix getMetaTagTransformer tests for Vitest compatibility (#18013)
  • test(react): Add parameterized route tests for createHashRouter (#17789)

10.21.0

Important Changes

  • feat(browserProfiling): Add trace lifecycle mode for UI profiling (#17619)

    Adds a new trace lifecycle mode for UI profiling, allowing profiles to be captured for the duration of a trace. A manual mode will be added in a future release.

  • feat(nuxt): Instrument Database (#17899)

    Adds instrumentation for Nuxt database operations, enabling better performance tracking of database queries.

  • feat(nuxt): Instrument server cache API (#17886)

    Adds instrumentation for Nuxt's server cache API, providing visibility into cache operations.

  • feat(nuxt): Instrument storage API (#17858)

    Adds instrumentation for Nuxt's storage API, enabling tracking of storage operations.

Other Changes

  • feat(browser): Add onRequestSpanEnd hook to browser tracing integration (#17884)
  • feat(nextjs): Support Next.js proxy files (#17926)
  • feat(replay): Record outcome when event buffer size exceeded (#17946)
  • fix(cloudflare): copy execution context in durable objects and handlers (#17786)
  • fix(core): Fix and add missing cache attributes in Vercel AI (#17982)
  • fix(core): Improve uuid performance (#17938)
  • fix(ember): Use updated version for clean-css (#17979)
  • fix(nextjs): Don't set experimental instrumentation hook flag for next 16 (#17978)
  • fix(nextjs): Inconsistent transaction naming for i18n routing (#17927)
  • fix(nextjs): Update bundler detection (#17976)
Internal Changes
  • build: Update to typescript 5.8.0 (#17710)
  • chore: Add external contributor to CHANGELOG.md (#17949)
  • chore(build): Upgrade nodemon to 3.1.10 (#17956)
  • chore(ci): Fix external contributor action when multiple contributions existed (#17950)
  • chore(solid): Remove unnecessary import from README (#17947)
  • test(nextjs): Fix proxy/middleware test (#17970)

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

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)

⚠️ Changelog content truncated by 151776 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 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
@github-actions github-actions bot force-pushed the deps/scripts/update-javascript.sh branch from 8e73779 to 6720423 Compare October 22, 2025 03:44
@github-actions github-actions bot changed the title chore(deps): update JavaScript SDK to v10.20.0 chore(deps): update JavaScript SDK to v10.21.0 Oct 22, 2025
@github-actions github-actions bot changed the title chore(deps): update JavaScript SDK to v10.21.0 chore(deps): update JavaScript SDK to v10.22.0 Oct 25, 2025
@github-actions github-actions bot force-pushed the deps/scripts/update-javascript.sh branch from 6720423 to 9ae0fe7 Compare October 25, 2025 03:35
@github-actions github-actions bot force-pushed the deps/scripts/update-javascript.sh branch from 9ae0fe7 to fb46a48 Compare November 6, 2025 03:48
@github-actions github-actions bot changed the title chore(deps): update JavaScript SDK to v10.22.0 chore(deps): update JavaScript SDK to v10.23.0 Nov 6, 2025
@github-actions github-actions bot changed the title chore(deps): update JavaScript SDK to v10.23.0 chore(deps): update JavaScript SDK to v10.24.0 Nov 11, 2025
@github-actions github-actions bot force-pushed the deps/scripts/update-javascript.sh branch 2 times, most recently from b32bcf3 to 502bacb Compare November 12, 2025 03:45
@github-actions github-actions bot changed the title chore(deps): update JavaScript SDK to v10.24.0 chore(deps): update JavaScript SDK to v10.25.0 Nov 12, 2025
@github-actions github-actions bot force-pushed the deps/scripts/update-javascript.sh branch from 502bacb to feedd36 Compare November 19, 2025 03:45
@github-actions github-actions bot changed the title chore(deps): update JavaScript SDK to v10.25.0 chore(deps): update JavaScript SDK to v10.26.0 Nov 20, 2025
@github-actions github-actions bot force-pushed the deps/scripts/update-javascript.sh branch from feedd36 to cb9c8ca Compare November 20, 2025 03:44
@github-actions github-actions bot changed the title chore(deps): update JavaScript SDK to v10.26.0 chore(deps): update JavaScript SDK to v10.27.0 Nov 25, 2025
@github-actions github-actions bot force-pushed the deps/scripts/update-javascript.sh branch from cb9c8ca to ab78dec Compare November 25, 2025 03:48
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.

2 participants