Skip to content

fix(deps): update dependency @sentry/node to v10#407

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/major-sentry-javascript-monorepo
Open

fix(deps): update dependency @sentry/node to v10#407
renovate[bot] wants to merge 1 commit intomainfrom
renovate/major-sentry-javascript-monorepo

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate bot commented Feb 16, 2025

ℹ️ Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
@sentry/node (source) ^8.55.0^10.49.0 age confidence

Release Notes

getsentry/sentry-javascript (@​sentry/node)

v10.49.0

Compare Source

Important Changes
  • feat(browser): Add View Hierarchy integration (#​14981)

    A new viewHierarchyIntegration captures the DOM structure when an error occurs, providing a snapshot of the page state for debugging. Enable it in your Sentry configuration:

    import * as Sentry from '@​sentry/browser';
    
    Sentry.init({
      dsn: '__DSN__',
      integrations: [Sentry.viewHierarchyIntegration()],
    });
  • feat(cloudflare): Split alarms into multiple traces and link them (#​19373)

    Durable Object alarms now create separate traces for each alarm invocation, with proper linking between related alarms for better observability.

  • feat(cloudflare): Enable RPC trace propagation with enableRpcTracePropagation (#​19991, #​20345)

    A new enableRpcTracePropagation option enables automatic trace propagation for Cloudflare RPC calls via .fetch(), ensuring distributed traces flow correctly across service bindings.

  • feat(core): Add enableTruncation option to AI integrations (#​20167, #​20181, #​20182, #​20183, #​20184)

    All AI integrations (OpenAI, Anthropic, Google GenAI, LangChain, LangGraph) now support an enableTruncation option to control whether large AI inputs/outputs are truncated.

  • feat(opentelemetry): Vendor AsyncLocalStorageContextManager (#​20243)

    The OpenTelemetry context manager is now vendored internally, reducing external dependencies and ensuring consistent behavior across environments.

Other Changes
  • feat(core): Export a reusable function to add tracing headers (#​20076)
  • feat(core): Expose rewriteSources top level option (#​20142)
  • feat(deps): bump defu from 6.1.4 to 6.1.6 (#​20104)
  • feat(node-native): Add support for V8 v14 (Node v25+) (#​20125)
  • feat(node): Include global scope for eventLoopBlockIntegration (#​20108)
  • fix(core, node): Support loading Express options lazily (#​20211)
  • fix(core): Set conversation_id only on gen_ai spans (#​20274)
  • fix(core): Use ai.operationId for Vercel AI V6 operation name mapping (#​20285)
  • fix(deno): Avoid inferring invalid span op from Deno tracer (#​20128)
  • fix(deno): Handle reader.closed rejection from releaseLock() in streaming (#​20187)
  • fix(nextjs): Preserve directive prologues in turbopack loaders (#​20103)
  • fix(nextjs): Skip custom browser tracing setup for bot user agents (#​20263)
  • fix(opentelemetry): Use WeakRef for context stored on scope to prevent memory leak (#​20328)
  • fix(replay): Use live click attributes in breadcrumbs (#​20262)
Internal Changes
  • chore: Add PR review reminder workflow (#​20175)
  • chore: Fix lint warnings (#​20250)
  • chore(bugbot): Add rules to flag test-flake-provoking patterns (#​20192)
  • chore(ci): Bump actions/cache to v5 and actions/download-artifact to v7 (#​20249)
  • chore(ci): Bump dorny/paths-filter from v3.0.1 to v4.0.1 (#​20251)
  • chore(ci): Remove codecov steps from jobs that produce no coverage/JUnit data (#​20244)
  • chore(ci): Remove craft changelog preview (#​20271)
  • chore(ci): Remove node-overhead GitHub Action (#​20246)
  • chore(ci): Replace pr-labels-action with native GitHub expressions (#​20252)
  • chore(ci): Skip flaky issue creation for optional tests (#​20288)
  • chore(deps-dev): Bump @​sveltejs/kit from 2.53.3 to 2.57.1 (#​20216)
  • chore(deps-dev): Bump vite from 7.2.0 to 7.3.2 in /dev-packages/e2e-tests/test-applications/tanstackstart-react (#​20107)
  • chore(deps): Bump axios from 1.13.5 to 1.15.0 (#​20180)
  • chore(deps): Bump axios from 1.13.5 to 1.15.0 in /dev-packages/e2e-tests/test-applications/nestjs-basic (#​20179)
  • chore(deps): Bump hono from 4.12.7 to 4.12.12 (#​20118)
  • chore(deps): Bump hono from 4.12.7 to 4.12.12 in /dev-packages/e2e-tests/test-applications/cloudflare-hono (#​20119)
  • chore(deps): Bump next from 16.1.7 to 16.2.3 in nextjs-16-cf-workers (#​20289)
  • chore(size-limit): Bump failing size limit scenario (#​20186)
  • ci: Add automatic flaky test detector (#​18684)
  • ci: Extract test names for flaky test issues (#​20298)
  • ci: Remove Docker container for Verdaccio package publishing (#​20329)
  • fix(ci): Prevent command injection in ci-metadata workflow (#​19899)
  • fix(e2e-tests): Remove flaky navigation breadcrumb assertions from parameterized-routes tests (#​20202)
  • fix(e2e): Add op check to waitForTransaction in React Router e2e tests (#​20193)
  • fix(node-integration-tests): Fix flaky kafkajs test race condition (#​20189)
  • ref(core): Add registry in Vercel ai integration (#​20098)
  • ref(core): Automatically disable truncation when span streaming is enabled in Anthropic AI integration (#​20228)
  • ref(core): Automatically disable truncation when span streaming is enabled in Google GenAI integration (#​20229)
  • ref(core): Automatically disable truncation when span streaming is enabled in LangChain integration (#​20230)
  • ref(core): Automatically disable truncation when span streaming is enabled in LangGraph integration (#​20231)
  • ref(core): Automatically disable truncation when span streaming is enabled in OpenAI integration (#​20227)
  • ref(core): Automatically disable truncation when span streaming is enabled in Vercel AI integration (#​20232)
  • ref(core): Merge embeddings operations constants (#​20095)
  • ref(core): Remove unused constants from vercel-ai-attributes.ts (#​20096)
  • ref(nextjs): Refactor findInjectionIndexAfterDirectives for better readability (#​20310)
  • ref(opentelemetry): Replace @opentelemetry/resources with inline getSentryResource() (#​20327)
  • test: Fix flaky ANR test by increasing blocking duration (#​20239)
  • test(bun): Add bun integration test folder (#​20286)
  • test(cloudflare): Skip flaky durableobject-spans test (#​20282)
  • test(openai): Use multi-message scenario in no-truncation test (#​20194)
  • test(react): Remove duplicated test mock (#​20200)
  • tests(ai): Fix streaming+truncation integration tests across AI integrations (#​20326)

Bundle size 📦

Path Size
@​sentry/browser 25.18 KB
@​sentry/browser - with treeshaking flags 23.71 KB
@​sentry/browser (incl. Tracing) 42.59 KB
@​sentry/browser (incl. Tracing + Span Streaming) 44.26 KB
@​sentry/browser (incl. Tracing, Profiling) 47.37 KB
@​sentry/browser (incl. Tracing, Replay) 80.8 KB
@​sentry/browser (incl. Tracing, Replay) - with treeshaking flags 70.55 KB
@​sentry/browser (incl. Tracing, Replay with Canvas) 85.38 KB
@​sentry/browser (incl. Tracing, Replay, Feedback) 97.34 KB
@​sentry/browser (incl. Feedback) 41.59 KB
@​sentry/browser (incl. sendFeedback) 29.74 KB
@​sentry/browser (incl. FeedbackAsync) 34.62 KB
@​sentry/browser (incl. Metrics) 26.44 KB
@​sentry/browser (incl. Logs) 26.57 KB
@​sentry/browser (incl. Metrics & Logs) 27.24 KB
@​sentry/react 26.89 KB
@​sentry/react (incl. Tracing) 44.81 KB
@​sentry/vue 29.89 KB
@​sentry/vue (incl. Tracing) 44.38 KB
@​sentry/svelte 25.2 KB
CDN Bundle 27.79 KB
CDN Bundle (incl. Tracing) 43.64 KB
CDN Bundle (incl. Logs, Metrics) 29.13 KB
CDN Bundle (incl. Tracing, Logs, Metrics) 44.7 KB
CDN Bundle (incl. Replay, Logs, Metrics) 67.12 KB
CDN Bundle (incl. Tracing, Replay) 79.74 KB
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) 80.79 KB
CDN Bundle (incl. Tracing, Replay, Feedback) 85.13 KB
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) 86.17 KB
CDN Bundle - uncompressed 81.17 KB
CDN Bundle (incl. Tracing) - uncompressed 130.51 KB
CDN Bundle (incl. Logs, Metrics) - uncompressed 85.22 KB
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed 133.84 KB
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed 205.7 KB
CDN Bundle (incl. Tracing, Replay) - uncompressed 244.99 KB
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed 248.31 KB
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 257.6 KB
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed 260.91 KB
@​sentry/nextjs (client) 47.28 KB
@​sentry/sveltekit (client) 43.02 KB
@​sentry/node-core 56.58 KB
@​sentry/node 170.68 KB
@​sentry/node - without tracing 95.57 KB
@​sentry/aws-serverless 112.42 KB

v10.48.0

Compare Source

v10.47.0

Compare Source

Important Changes
  • feat(node-core): Add OTLP integration for node-core/light (#​19729)

    Added otlpIntegration at @sentry/node-core/light/otlp for users who manage
    their own OpenTelemetry setup and want to send trace data to Sentry without
    adopting the full @sentry/node SDK.

    import { NodeTracerProvider } from '@​opentelemetry/sdk-trace-node';
    import * as Sentry from '@​sentry/node-core/light';
    import { otlpIntegration } from '@​sentry/node-core/light/otlp';
    
    const provider = new NodeTracerProvider();
    provider.register();
    
    Sentry.init({
      dsn: '__DSN__',
      integrations: [
        otlpIntegration({
          // Export OTel spans to Sentry via OTLP (default: true)
          setupOtlpTracesExporter: true,
        }),
      ],
    });

    The integration links Sentry errors to OTel traces and exports spans to Sentry via OTLP.

  • feat(node, bun): Add runtime metrics integrations for Node.js and Bun (#​19923, #​19979)

    New nodeRuntimeMetricsIntegration and bunRuntimeMetricsIntegration automatically collect runtime health metrics and send them to Sentry on a configurable interval (default: 30s). Collected metrics include memory (RSS, heap used/total), CPU utilization, event loop utilization, and process uptime. Node additionally collects event loop delay percentiles (p50, p99). Extra metrics like CPU time and external memory are available as opt-in.

    // Node.js
    import * as Sentry from '@​sentry/node';
    
    Sentry.init({
      dsn: '...',
      integrations: [Sentry.nodeRuntimeMetricsIntegration()],
    });
    
    // Bun
    import * as Sentry from '@​sentry/bun';
    
    Sentry.init({
      dsn: '...',
      integrations: [Sentry.bunRuntimeMetricsIntegration()],
    });
  • feat(core): Support embedding APIs in google-genai (#​19797)

    Adds instrumentation for the Google GenAI embedContent API, creating gen_ai.embeddings spans.

  • feat(browser): Add elementTimingIntegration for tracking element render and load times (#​19869)

    The new elementTimingIntegration captures Element Timing API data as Sentry metrics. It emits element_timing.render_time and element_timing.load_time distribution metrics for elements annotated with the elementtiming HTML attribute.

    import * as Sentry from '@​sentry/browser';
    
    Sentry.init({
      dsn: '__DSN__',
      integrations: [Sentry.browserTracingIntegration(), Sentry.elementTimingIntegration()],
    });
    <img src="hero.jpg" elementtiming="hero-image" />
Other Changes
  • feat(nuxt): Add middleware instrumentation compatibility for Nuxt 5 (#​19968)
  • feat(nuxt): Support parametrized SSR routes in Nuxt 5 (#​19977)
  • feat(solid): Add route parametrization for Solid Router (#​20031)
  • fix(core): Guard nullish response in supabase PostgREST handler (#​20033)
  • fix(node): Deduplicate sentry-trace and baggage headers on outgoing requests (#​19960)
  • fix(node): Ensure startNewTrace propagates traceId in OTel environments (#​19963)
  • fix(nuxt): Use virtual module for Nuxt pages data (SSR route parametrization) (#​20020)
  • fix(opentelemetry): Convert seconds timestamps in span.end() to milliseconds (#​19958)
  • fix(profiling): Disable profiling in worker threads (#​20040)
  • fix(react-router): Disable debug ID injection in Vite plugin to prevent double injection (#​19890)
  • refactor(browser): Reduce browser package bundle size (#​19856)
  • feat(deps): Bump OpenTelemetry dependencies (#​20046)
Internal Changes
  • chore: Add shared validate-pr composite action (#​20025)
  • chore: Update validate-pr action to latest version (#​20027)
  • chore(deps): Bump @​apollo/server from 5.4.0 to 5.5.0 (#​20007)
  • chore(deps): Bump amqplib from 0.10.7 to 0.10.9 (#​20000)
  • chore(deps): Bump srvx from 0.11.12 to 0.11.13 (#​20001)
  • chore(deps-dev): Bump node-forge from 1.3.2 to 1.4.0 (#​20012)
  • chore(deps-dev): Bump yaml from 2.8.2 to 2.8.3 (#​19985)
  • ci(deps): Bump actions/upload-artifact from 6 to 7 (#​19569)
  • docs(release): Update publishing-a-release.md (#​19982)
  • feat(deps): Bump babel-loader from 10.0.0 to 10.1.1 (#​19997)
  • feat(deps): Bump handlebars from 4.7.7 to 4.7.9 (#​20008)
  • fix(browser-tests): Pin axios to 1.13.5 to avoid compromised 1.14.1 (#​20047)
  • fix(ci): Update validate-pr action to remove draft enforcement (#​20035)
  • fix(ci): Update validate-pr action to remove draft enforcement (#​20037)
  • fix(e2e): Pin @​opentelemetry/api to 1.9.0 in ts3.8 test app (#​19992)
  • ref(browser-tests): Add waitForMetricRequest helper (#​20002)
  • ref(core): Consolidate getOperationName into one shared utility (#​19971)
  • ref(core): Introduce instrumented method registry for AI integrations (#​19981)
  • test(deno): Expand Deno E2E test coverage (#​19957)
  • test(e2e): Add e2e tests for nodeRuntimeMetricsIntegration (#​19989)

Bundle size 📦

Path Size
@​sentry/browser 25.04 KB
@​sentry/browser - with treeshaking flags 23.57 KB
@​sentry/browser (incl. Tracing) 41.16 KB
@​sentry/browser (incl. Tracing, Profiling) 45.67 KB
@​sentry/browser (incl. Tracing, Replay) 79.04 KB
@​sentry/browser (incl. Tracing, Replay) - with treeshaking flags 68.91 KB
@​sentry/browser (incl. Tracing, Replay with Canvas) 83.64 KB
@​sentry/browser (incl. Tracing, Replay, Feedback) 95.62 KB
@​sentry/browser (incl. Feedback) 41.42 KB
@​sentry/browser (incl. sendFeedback) 29.59 KB
@​sentry/browser (incl. FeedbackAsync) 34.46 KB
@​sentry/browser (incl. Metrics) 26.32 KB
@​sentry/browser (incl. Logs) 26.46 KB
@​sentry/browser (incl. Metrics & Logs) 27.12 KB
@​sentry/react 26.76 KB
@​sentry/react (incl. Tracing) 43.44 KB
@​sentry/vue 29.37 KB
@​sentry/vue (incl. Tracing) 43.02 KB
@​sentry/svelte 25.06 KB
CDN Bundle 27.65 KB
CDN Bundle (incl. Tracing) 42.09 KB
CDN Bundle (incl. Logs, Metrics) 28.99 KB
CDN Bundle (incl. Tracing, Logs, Metrics) 43.12 KB
CDN Bundle (incl. Replay, Logs, Metrics) 66.87 KB
CDN Bundle (incl. Tracing, Replay) 78.13 KB
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) 79.14 KB
CDN Bundle (incl. Tracing, Replay, Feedback) 83.54 KB
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) 84.55 KB
CDN Bundle - uncompressed 80.72 KB
CDN Bundle (incl. Tracing) - uncompressed 124.81 KB
CDN Bundle (incl. Logs, Metrics) - uncompressed 84.77 KB
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed 128.14 KB
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed 204.87 KB
CDN Bundle (incl. Tracing, Replay) - uncompressed 238.95 KB
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed 242.26 KB
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 251.56 KB
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed 254.86 KB
@​sentry/nextjs (client) 45.79 KB
@​sentry/sveltekit (client) 41.62 KB
@​sentry/node-core 54.45 KB
@​sentry/node 168.93 KB
@​sentry/node - without tracing 93.76 KB
@​sentry/aws-serverless 110.13 KB

v10.46.0

Compare Source

Important Changes
  • feat(elysia): @sentry/elysia - Alpha Release (#​19509)

    New Sentry SDK for the Elysia web framework, supporting both Bun and Node.js runtimes.

    Note: This is an alpha release. Please report any issues or feedback on GitHub.

    Features

    • Automatic error capturing — 5xx errors captured via global onError hook; 3xx/4xx ignored by default. Customizable with shouldHandleError.
    • Automatic tracing — Lifecycle spans for every Elysia phase (Request, Parse, Transform, BeforeHandle, Handle, AfterHandle, MapResponse, AfterResponse, Error) with parameterized route names (e.g. GET /users/:id).
    • Distributed tracingsentry-trace and baggage headers propagated automatically on incoming/outgoing requests.

    Usage

    import * as Sentry from '@&#8203;sentry/elysia';
    import { Elysia } from 'elysia';
    
    Sentry.init({ dsn: '__DSN__', tracesSampleRate: 1.0 });
    
    const app = Sentry.withElysia(new Elysia());
    app.get('/', () => 'Hello World');
    app.listen(3000);
Other Changes
  • feat(nuxt): Conditionally use plugins based on Nitro version (v2/v3) (#​19955)
  • fix(cloudflare): Forward ctx argument to Workflow.do user callback (#​19891)
  • fix(cloudflare): Send correct events in local development (#​19900)
  • fix(core): Do not overwrite user provided conversation id in Vercel (#​19903)
  • fix(core): Preserve .withResponse() on Anthropic instrumentation (#​19935)
  • fix(core): Send internal_error as span status for Vercel error spans (#​19921)
  • fix(core): Truncate content array format in Vercel (#​19911)
  • fix(deps): bump fast-xml-parser to 5.5.8 in @​azure/core-xml chain (#​19918)
  • fix(deps): bump socket.io-parser to 4.2.6 to fix CVE-2026-33151 (#​19880)
  • fix(nestjs): Add node to nest metadata (#​19875)
  • fix(serverless): Add node to metadata (#​19878)
Internal Changes
  • chore(ci): Fix "Gatbsy" typo in issue package label workflow (#​19905)
  • chore(claude): Enable Claude Code Intelligence (LSP) (#​19930)
  • chore(deps): bump mongodb-memory-server-global from 10.1.4 to 11.0.1 (#​19888)
  • chore(deps-dev): bump @​react-router/node from 7.13.0 to 7.13.1 (#​19544)
  • chore(deps-dev): bump effect from 3.19.19 to 3.20.0 (#​19926)
  • chore(deps-dev): bump qunit-dom from 3.2.1 to 3.5.0 (#​19546)
  • chore(node-integration-tests): Remove unnecessary file-type dependency (#​19824)
  • chore(remix): Replace glob with native recursive fs walk (#​19531)
  • feat(deps): bump stacktrace-parser from 0.1.10 to 0.1.11 (#​19887)
  • fix(craft): Add missing mainDocsUrl for @​sentry/effect SDK (#​19860)
  • fix(deps): bump next to 15.5.14 in nextjs-15 and nextjs-15-intl E2E test apps (#​19917)
  • fix(deps): update lockfile to resolve h3@​1.15.10 (#​19933)
  • ref(core): Remove duplicate buildMethodPath utility from openai (#​19969)
  • ref(elysia): Drop @elysiajs/opentelemetry dependency (#​19947)
  • ref(nuxt): Extract core logic for storage/database to prepare for Nuxt v5 (#​19920)
  • ref(nuxt): Extract handler patching to extra plugin for Nitro v2/v3 (#​19915)
  • ref(sveltekit): Replace recast + @​babel/parser with acorn (#​19533)
  • test(astro): Re-enable server island tracing e2e test in Astro 6 (#​19872)
  • test(cloudflare): Enable multi-worker tests for CF integration tests (#​19938)

Work in this release was contributed by @​roli-lpci. Thank you for your contributions!

Important Changes
  • feat(node): Add nodeRuntimeMetricsIntegration for automatic Node.js runtime metrics (#​19923)

    The new nodeRuntimeMetricsIntegration automatically collects Node.js runtime health metrics and sends them to Sentry. Eight metrics are emitted by default every 30 seconds: memory (RSS, heap used/total), CPU utilization, event loop delay (p50, p99), event loop utilization, and process uptime. Additional metrics are available as opt-in.

    import * as Sentry from '@&#8203;sentry/node';
    
    Sentry.init({
      dsn: '...',
      integrations: [Sentry.nodeRuntimeMetricsIntegration()],
    });

v10.45.0

Compare Source

Important Changes
  • feat(remix): Server Timing Headers Trace Propagation (#​18653)

    The Remix SDK now supports automatic trace propagation via Server-Timing response headers to continue pageload traces on the client side.
    This means, you no longer have to define a custom meta function to add Sentry <meta> tags to your page as previously.
    We'll update out Remix tracing docs after this release.

Other Changes
  • fix(cloudflare): Use correct env types for withSentry (#​19836)
  • fix(core): Align error span status message with core SpanStatusType for langchain/google-genai (#​19863)
  • fix(deno): Clear pre-existing OTel global before registering TracerProvider (#​19723)
  • fix(nextjs): Skip tracing for tunnel requests (#​19861)
  • fix(node-core): Recycle propagationContext for each request (#​19835)
  • ref(core): Simplify core utility functions for smaller bundle (#​19854)
Internal Changes

v10.44.0

Compare Source

Important Changes
  • feat(effect): Add @sentry/effect SDK (Alpha) (#​19644)

    This release introduces @sentry/effect, a new SDK for Effect.ts applications. The SDK provides Sentry integration via composable Effect layers for both Node.js and browser environments.

    Compose the effectLayer with optional tracing, logging, and metrics layers to instrument your Effect application:

    import * as Sentry from '@&#8203;sentry/effect';
    import * as Layer from 'effect/Layer';
    import * as Logger from 'effect/Logger';
    
    const SentryLive = Layer.mergeAll(
      Sentry.effectLayer({ dsn: '__DSN__', tracesSampleRate: 1.0, enableLogs: true }),
      Layer.setTracer(Sentry.SentryEffectTracer),
      Logger.replace(Logger.defaultLogger, Sentry.SentryEffectLogger),
      Sentry.SentryEffectMetricsLayer,
    );

    Alpha features are still in progress, may have bugs and might include breaking changes. Please reach out on GitHub if you have any feedback or concerns.

  • feat(astro): Add Astro 6 support (#​19745)

    This release enables full support for Astro v6 by adjusting our Astro SDK's middleware to some Astro-internal
    changes. We cannot yet guarantee full support for server-islands, due to a bug in Astro v6
    but we'll follow up on this once the bug is fixed.

  • feat(hono): Add basic instrumentation for Node runtime (#​19817)

    Adds a new package @sentry/hono/node (alpha) with basic instrumentation for Hono applications running in Node.js.
    The Hono middleware for Cloudflare (@sentry/hono/cloudflare - alpha) comes with fixes, and it's now possible to access the Cloudflare Worker Bindings (env) from the options' callback.

    Start using the new Hono middlewares by installing @sentry/hono and importing the respective middleware for your runtime.
    More instructions can be found in the Hono readme.

    Alpha features are still in progress, may have bugs and might include breaking changes. Please reach out on GitHub if you have any feedback or concerns.

  • feat(nestjs): Instrument @nestjs/bullmq @Processor decorator (#​19759)

    Automatically capture exceptions and create transactions for BullMQ queue processors in NestJS applications.

    When using the @Processor decorator from @nestjs/bullmq, the SDK now automatically wraps the process() method
    to create queue.process transactions with proper isolation scopes, preventing breadcrumb and scope leakage between
    jobs and HTTP requests. Errors thrown in processors are captured with the auto.queue.nestjs.bullmq mechanism type.

    Requires @nestjs/bullmq v10.0.0 or later.

  • feat(nestjs): Instrument @nestjs/schedule decorators (#​19735)

    Automatically capture exceptions thrown in @Cron, @Interval, and @Timeout decorated methods.

    Previously, exceptions in @Cron methods were only captured if you used the SentryCron decorator. Now they are
    captured automatically. The exception mechanism type changed from auto.cron.nestjs.async to
    auto.function.nestjs.cron. If you have Sentry queries or alerts that filter on the old mechanism type, update them
    accordingly.

  • feat(node): Expose headersToSpanAttributes option on nativeNodeFetchIntegration() (#​19770)

    Response headers like http.response.header.content-length were previously captured automatically on outgoing
    fetch spans but are now opt-in since @opentelemetry/instrumentation-undici@0.22.0. You can now configure which
    headers to capture via the headersToSpanAttributes option.

    Sentry.init({
      integrations: [
        Sentry.nativeNodeFetchIntegration({
          headersToSpanAttributes: {
            requestHeaders: ['x-custom-header'],
            responseHeaders: ['content-length', 'content-type'],
          },
        }),
      ],
    });
Other Changes
  • feat(browser/cloudflare): Export conversation id from browser and cloudflare runtimes (#​19820)
  • feat(bun): Set http response header attributes instead of response context headers (#​19821)
  • feat(core): Add sentry.timestamp.sequence attribute for timestamp tie-breaking (#​19421)
  • feat(deno): Set http response header attributes instead of response context headers (#​19822)
  • feat(deps): Bump OpenTelemetry dependencies (#​19682)
  • feat(nestjs): Use more specific span origins for NestJS guards, pipes, interceptors, and exception filters (#​19751)
  • feat(nextjs): Vercel queue instrumentation (#​19799)
  • feat(node): Avoid OTEL instrumentation for outgoing requests on Node 22+ (#​17355)
  • feat(deps): bump hono from 4.12.5 to 4.12.7 (#​19747)
  • feat(deps): bump mysql2 from 3.14.4 to 3.19.1 (#​19787)
  • feat(deps): bump simple-git from 3.30.0 to 3.33.0 (#​19744)
  • feat(deps): bump yauzl from 3.2.0 to 3.2.1 (#​19809)
  • fix(browser): Skip browserTracingIntegration setup for bot user agents (#​19708)
  • fix(cloudflare): Recreate client when previous one was disposed (#​19727)
  • fix(core): Align Vercel embedding spans with semantic conventions (#​19795)
  • fix(core): Fallback to sendDefaultPii setting in langchain and langgraph in non-node environments (#​19813)
  • fix(core): Improve Vercel AI SDK instrumentation attributes (#​19717)
  • fix(hono): Align error mechanism (#​19831)
  • fix(hono): Allow passing env and fix type issues (#​19825)
  • fix(nestjs): Fork isolation scope in @nestjs/event-emitter instrumentation (#​19725)
  • fix(nextjs): Log correct lastEventId when error is thrown in component render (#​19764)
  • fix(nextjs): Strip sourceMappingURL comments after deleting source maps in turbopack builds (#​19814)
  • fix(nuxt): Upload client source maps (#​19805)
  • fix(profiling-node): Fix NODE_VERSION rendered as [object Object] in warning (#​19788)
Internal Changes
  • chore: Add oxlint migration commits to blame ignore (#​19784)
  • chore: add oxlint typescript program suppression to workspace settings (#​19692)
  • chore: Bump oxlint and oxfmt (#​19771)
  • chore: Clean up lint and format script names (#​19719)
  • chore(agents): Be more explicit on linting and formatting (#​19803)
  • chore(ci): Extract metadata workflow (#​19680)
  • chore(deps): bump tedious from 18.6.1 to 19.2.1 (#​19786)
  • chore(deps-dev): bump file-type from 20.5.0 to 21.3.1 (#​19748)
  • chore(effect): Add Effect to craft, README and issue templates (#​19837)
  • chore(lint): Rule adjustments and fix warnings (#​19612)
  • chore(skills): Add skill-creator and update managed agent skills (#​19713)
  • docs(changelog): Add entry for @sentry/hono alpha release (#​19828)
  • docs(hono): Document usage without "*" (#​19756)
  • docs(new-release): Document sdkName for craft (#​19736)
  • docs(new-release): Update docs based on new Craft flow (#​19731)
  • ref(cloudflare): Prepare for WorkerEntrypoint (#​19742)
  • ref(nestjs): Move event instrumentation unit tests to separate file (#​19738)
  • style: Auto changes made from "yarn fix" (#​19710)
  • test(astro,cloudflare): Add an E2E test for Astro 6 on Cloudflare (#​19781)
  • test(browser): Add simulated mfe integration test (#​19768)
  • test(e2e): Add MFE e2e test using vite-plugin-federation (#​19778)
  • test(nextjs): Add vercel queue tests to next-16 (#​19798)
  • tests(core): Fix flaky metric sequence number test (#​19754)

v10.43.0

Compare Source

Important Changes
  • feat(nextjs): Add Turbopack support for React component name annotation (#​19604)

    We added experimental support for React component name annotation in Turbopack builds. When enabled, JSX elements
    are annotated with data-sentry-component, data-sentry-element, and data-sentry-source-file attributes at build
    time. This enables searching Replays by component name, seeing component names in breadcrumbs, and performance
    monitoring — previously only available with webpack builds.

    This feature requires Next.js 16+ and is currently behind an experimental flag:

    // next.config.ts
    import { withSentryConfig } from '@&#8203;sentry/nextjs';
    
    export default withSentryConfig(nextConfig, {
      _experimental: {
        turbopackReactComponentAnnotation: {
          enabled: true,
          ignoredComponents: ['Header', 'Footer'], // optional
        },
      },
    });
  • feat(hono): Instrument middlewares app.use() (#​19611)

    Hono middleware registered via app.use() is now automatically instrumented, creating spans for each middleware invocation.

Other Changes
  • feat(node-core,node): Add tracePropagation option to http and fetch integrations (#​19712)
  • feat(hono): Use parametrized names for errors (#​19577)
  • fix(browser): Fix missing traces for user feedback (#​19660)
  • fix(cloudflare): Use correct Proxy receiver in instrumentDurableObjectStorage (#​19662)
  • fix(core): Standardize Vercel AI span descriptions to align with GenAI semantic conventions (#​19624)
  • fix(deps): Bump hono to 4.12.5 to fix multiple vulnerabilities (#​19653)
  • fix(deps): Bump svgo to 4.0.1 to fix DoS via entity expansion (#​19651)
  • fix(deps): Bump tar to 7.5.10 to fix hardlink path traversal (#​19650)
  • fix(nextjs): Align Turbopack module metadata injection with webpack behavio

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • "before 12pm on Sunday"
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested a review from favna as a code owner February 16, 2025 02:33
@codecov
Copy link
Copy Markdown

codecov bot commented Feb 16, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 51.00%. Comparing base (03b76f1) to head (a0d4df6).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #407   +/-   ##
=======================================
  Coverage   51.00%   51.00%           
=======================================
  Files          51       51           
  Lines         896      896           
  Branches      200      200           
=======================================
  Hits          457      457           
  Misses        435      435           
  Partials        4        4           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@renovate renovate bot force-pushed the renovate/major-sentry-javascript-monorepo branch 2 times, most recently from 3aa9724 to 482cfe8 Compare February 28, 2025 16:26
@renovate renovate bot force-pushed the renovate/major-sentry-javascript-monorepo branch 2 times, most recently from 30ed8e4 to 0b82241 Compare March 6, 2025 19:46
@renovate renovate bot force-pushed the renovate/major-sentry-javascript-monorepo branch 6 times, most recently from ca7098b to c9e27ee Compare March 20, 2025 16:42
@renovate renovate bot force-pushed the renovate/major-sentry-javascript-monorepo branch 3 times, most recently from f844a9b to 265524d Compare March 27, 2025 22:36
@renovate renovate bot force-pushed the renovate/major-sentry-javascript-monorepo branch 2 times, most recently from 2c7f2ff to 10b484e Compare April 3, 2025 14:33
@renovate renovate bot force-pushed the renovate/major-sentry-javascript-monorepo branch 2 times, most recently from c5f823c to 2b30f39 Compare April 10, 2025 08:55
@renovate renovate bot force-pushed the renovate/major-sentry-javascript-monorepo branch from 2b30f39 to 603ab78 Compare April 16, 2025 15:03
@renovate renovate bot force-pushed the renovate/major-sentry-javascript-monorepo branch 2 times, most recently from 541699c to 9c4ca52 Compare April 29, 2025 16:12
@renovate renovate bot force-pushed the renovate/major-sentry-javascript-monorepo branch 7 times, most recently from 91eccf3 to d402a86 Compare May 14, 2025 12:39
@renovate renovate bot force-pushed the renovate/major-sentry-javascript-monorepo branch 4 times, most recently from 344ca1c to be5212d Compare May 22, 2025 08:34
@favna favna requested a review from kyranet as a code owner May 22, 2025 08:35
@renovate renovate bot force-pushed the renovate/major-sentry-javascript-monorepo branch 6 times, most recently from 5ecf973 to e82a882 Compare May 28, 2025 15:56
@renovate renovate bot force-pushed the renovate/major-sentry-javascript-monorepo branch 2 times, most recently from afab78c to 5b6bcd4 Compare June 5, 2025 23:49
@renovate renovate bot force-pushed the renovate/major-sentry-javascript-monorepo branch 5 times, most recently from 1e57202 to 97c1bc4 Compare June 15, 2025 05:13
@renovate renovate bot force-pushed the renovate/major-sentry-javascript-monorepo branch 3 times, most recently from ff8e152 to a5b76d2 Compare June 23, 2025 17:57
@renovate renovate bot force-pushed the renovate/major-sentry-javascript-monorepo branch 5 times, most recently from be24faf to 2a22f0a Compare July 1, 2025 12:06
@renovate renovate bot force-pushed the renovate/major-sentry-javascript-monorepo branch 2 times, most recently from bc5afc5 to 9f6b6e0 Compare July 6, 2025 06:31
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.

0 participants