npm @sentry/node 10.43.0

4 hours ago

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 '@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 behavior (#19645)
  • fix(node): Prevent duplicate LangChain spans from double module patching (#19684)
  • fix(node-core,vercel-edge): Use HEROKU_BUILD_COMMIT env var for default release (#19617)
  • fix(sveltekit): Fix file system race condition in source map cleaning (#19714)
  • fix(tanstackstart-react): Add workerd and worker export conditions (#19461)
  • fix(vercel-ai): Prevent tool call span map memory leak (#19328)
  • feat(deps): Bump @sentry/rollup-plugin from 5.1.0 to 5.1.1 (#19658)
Internal Changes
  • chore: Migrate to oxlint (#19134)
  • chore(aws-serverless): Don't build layer in build:dev command (#19586)
  • chore(ci): Allow triage action to run on issues from external users (#19701)
  • chore(deps): Bump immutable from 4.0.0 to 4.3.8 (#19637)
  • chore(e2e): Expand microservices E2E application with auto-tracing tests (#19652)
  • chore(hono): Prepare readme and add craft entry (#19583)
  • chore(sourcemaps): Make sourcemaps e2e test more generic (#19678)
  • chore(tanstackstart-react): Add link to docs in README (#19697)
  • feat(deps): Bump @hono/node-server from 1.19.4 to 1.19.10 (#19634)
  • feat(deps): Bump underscore from 1.12.1 to 1.13.8 (#19616)
  • test(angular): Fix failing canary test (#19639)
  • test(nextjs): Add sourcemaps test for nextjs turbopack (#19647)
  • tests(e2e): Add microservices e2e for nestjs (#19642)
  • tests(e2e): Add websockets e2e for nestjs (#19630)

Work in this release was contributed by @dmmulroy, @lithdew, and @smorimoto. Thank you for your contributions!

Bundle size 📦

Path Size
@sentry/browser 25.04 KB
@sentry/browser - with treeshaking flags 23.57 KB
@sentry/browser (incl. Tracing) 41.45 KB
@sentry/browser (incl. Tracing, Profiling) 46 KB
@sentry/browser (incl. Tracing, Replay) 79.35 KB
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 69.22 KB
@sentry/browser (incl. Tracing, Replay with Canvas) 83.94 KB
@sentry/browser (incl. Tracing, Replay, Feedback) 95.91 KB
@sentry/browser (incl. Feedback) 41.45 KB
@sentry/browser (incl. sendFeedback) 29.6 KB
@sentry/browser (incl. FeedbackAsync) 34.53 KB
@sentry/browser (incl. Metrics) 26.18 KB
@sentry/browser (incl. Logs) 26.31 KB
@sentry/browser (incl. Metrics & Logs) 26.97 KB
@sentry/react 26.75 KB
@sentry/react (incl. Tracing) 43.73 KB
@sentry/vue 29.38 KB
@sentry/vue (incl. Tracing) 43.27 KB
@sentry/svelte 25.06 KB
CDN Bundle 27.52 KB
CDN Bundle (incl. Tracing) 42.26 KB
CDN Bundle (incl. Logs, Metrics) 28.34 KB
CDN Bundle (incl. Tracing, Logs, Metrics) 43.08 KB
CDN Bundle (incl. Replay, Logs, Metrics) 66.5 KB
CDN Bundle (incl. Tracing, Replay) 78.27 KB
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) 79.11 KB
CDN Bundle (incl. Tracing, Replay, Feedback) 83.66 KB
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) 84.51 KB
CDN Bundle - uncompressed 80.45 KB
CDN Bundle (incl. Tracing) - uncompressed 125.09 KB
CDN Bundle (incl. Logs, Metrics) - uncompressed 83.22 KB
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed 127.86 KB
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed 203.98 KB
CDN Bundle (incl. Tracing, Replay) - uncompressed 239.24 KB
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed 241.99 KB
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 251.85 KB
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed 254.59 KB
@sentry/nextjs (client) 46.09 KB
@sentry/sveltekit (client) 41.9 KB
@sentry/node-core 51.04 KB
@sentry/node 170.67 KB
@sentry/node - without tracing 95.14 KB
@sentry/aws-serverless 110.58 KB

Don't miss a new node release

NewReleases is sending notifications on new releases.