Skip to content

Releases: getsentry/sentry-javascript

10.45.0

19 Mar 13:36

Choose a tag to compare

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
  • chore(deps): bump next from 16.1.5 to 16.1.7 in /dev-packages/e2e-tests/test-applications/nextjs-16 (#19851)
  • ci(release): Switch from action-prepare-release to Craft (#18763)
  • fix(deps): bump devalue 5.6.3 to 5.6.4 to fix CVE-2026-30226 (#19849)
  • fix(deps): bump file-type to 21.3.2 and @nestjs/common to 11.1.17 (#19847)
  • fix(deps): bump flatted 3.3.1 to 3.4.2 to fix CVE-2026-32141 (#19842)
  • fix(deps): bump hono 4.12.5 to 4.12.7 in cloudflare-hono E2E test app (#19850)
  • fix(deps): bump next to 15.5.13/16.1.7 to fix CVE-2026-1525, CVE-202-33036 and related (#19870)
  • fix(deps): bump tar 7.5.10 to 7.5.11 to fix CVE-2026-31802 (#19846)
  • fix(deps): bump undici 6.23.0 to 6.24.1 to fix multiple CVEs (#19841)
  • fix(deps): bump unhead 2.1.4 to 2.1.12 to fix CVE-2026-31860 and CVE-2026-31873 (#19848)
  • test(nextjs): Skip broken ISR tests (#19871)
  • test(react): Add gql tests for react router (#19844)

Bundle size 📦

Path Size
@sentry/browser 24.93 KB
@sentry/browser - with treeshaking flags 23.47 KB
@sentry/browser (incl. Tracing) 41.51 KB
@sentry/browser (incl. Tracing, Profiling) 46.07 KB
@sentry/browser (incl. Tracing, Replay) 79.41 KB
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 69.22 KB
@sentry/browser (incl. Tracing, Replay with Canvas) 84 KB
@sentry/browser (incl. Tracing, Replay, Feedback) 95.97 KB
@sentry/browser (incl. Feedback) 41.35 KB
@sentry/browser (incl. sendFeedback) 29.49 KB
@sentry/browser (incl. FeedbackAsync) 34.43 KB
@sentry/browser (incl. Metrics) 26.18 KB
@sentry/browser (incl. Logs) 26.32 KB
@sentry/browser (incl. Metrics & Logs) 26.99 KB
@sentry/react 26.66 KB
@sentry/react (incl. Tracing) 43.81 KB
@sentry/vue 29.29 KB
@sentry/vue (incl. Tracing) 43.34 KB
@sentry/svelte 24.95 KB
CDN Bundle 27.54 KB
CDN Bundle (incl. Tracing) 42.37 KB
CDN Bundle (incl. Logs, Metrics) 28.39 KB
CDN Bundle (incl. Tracing, Logs, Metrics) 43.22 KB
CDN Bundle (incl. Replay, Logs, Metrics) 66.52 KB
CDN Bundle (incl. Tracing, Replay) 78.35 KB
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) 79.24 KB
CDN Bundle (incl. Tracing, Replay, Feedback) 83.77 KB
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) 84.64 KB
CDN Bundle - uncompressed 80.39 KB
CDN Bundle (incl. Tracing) - uncompressed 125.24 KB
CDN Bundle (incl. Logs, Metrics) - uncompressed 83.19 KB
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed 128.04 KB
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed 203.92 KB
CDN Bundle (incl. Tracing, Replay) - uncompressed 239.35 KB
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed 242.14 KB
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 251.96 KB
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed 254.74 KB
@sentry/nextjs (client) 46.17 KB
@sentry/sveltekit (client) 41.95 KB
@sentry/node-core 54.96 KB
@sentry/node 169.14 KB
@sentry/node - without tracing 94 KB
@sentry/aws-serverless 110.61 KB

10.44.0

17 Mar 16:44

Choose a tag to compare

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 '@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 ...
Read more

10.43.0

10 Mar 09:37

Choose a tag to compare

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

10.42.0

03 Mar 13:20

Choose a tag to compare

  • feat(consola): Enhance Consola integration to extract first-param object as searchable attributes (#19534)
  • fix(astro): Do not inject withSentry into Cloudflare Pages (#19558)
  • fix(core): Do not remove promiseBuffer entirely (#19592)
  • fix(deps): Bump fast-xml-parser to 4.5.4 for CVE-2026-25896 (#19588)
  • fix(react-router): Set correct transaction name when navigating with object argument (#19590)
  • ref(nuxt): Use addVitePlugin instead of deprecated vite:extendConfig (#19464)
Internal Changes
  • chore(deps-dev): bump @sveltejs/kit from 2.52.2 to 2.53.3 (#19571)
  • chore(deps): Bump @sveltejs/kit to 2.53.3 in sveltekit-2-svelte-5 E2E test (#19594)
  • ci(deps): bump actions/checkout from 4 to 6 (#19570)

Bundle size 📦

Path Size
@sentry/browser 25.02 KB
@sentry/browser - with treeshaking flags 23.57 KB
@sentry/browser (incl. Tracing) 41.44 KB
@sentry/browser (incl. Tracing, Profiling) 45.99 KB
@sentry/browser (incl. Tracing, Replay) 79.35 KB
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 69.21 KB
@sentry/browser (incl. Tracing, Replay with Canvas) 83.93 KB
@sentry/browser (incl. Tracing, Replay, Feedback) 95.91 KB
@sentry/browser (incl. Feedback) 41.44 KB
@sentry/browser (incl. sendFeedback) 29.58 KB
@sentry/browser (incl. FeedbackAsync) 34.52 KB
@sentry/browser (incl. Metrics) 26.17 KB
@sentry/browser (incl. Logs) 26.31 KB
@sentry/browser (incl. Metrics & Logs) 26.96 KB
@sentry/react 26.74 KB
@sentry/react (incl. Tracing) 43.72 KB
@sentry/vue 29.37 KB
@sentry/vue (incl. Tracing) 43.26 KB
@sentry/svelte 25.05 KB
CDN Bundle 27.51 KB
CDN Bundle (incl. Tracing) 42.25 KB
CDN Bundle (incl. Logs, Metrics) 28.33 KB
CDN Bundle (incl. Tracing, Logs, Metrics) 43.07 KB
CDN Bundle (incl. Replay, Logs, Metrics) 66.49 KB
CDN Bundle (incl. Tracing, Replay) 78.26 KB
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) 79.1 KB
CDN Bundle (incl. Tracing, Replay, Feedback) 83.65 KB
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) 84.5 KB
CDN Bundle - uncompressed 80.42 KB
CDN Bundle (incl. Tracing) - uncompressed 125.07 KB
CDN Bundle (incl. Logs, Metrics) - uncompressed 83.19 KB
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed 127.83 KB
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed 203.96 KB
CDN Bundle (incl. Tracing, Replay) - uncompressed 239.21 KB
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed 241.96 KB
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 251.82 KB
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed 254.56 KB
@sentry/nextjs (client) 46.08 KB
@sentry/sveltekit (client) 41.89 KB
@sentry/node-core 51.01 KB
@sentry/node 170.6 KB
@sentry/node - without tracing 95.09 KB
@sentry/aws-serverless 110.53 KB

10.41.0

02 Mar 12:06

Choose a tag to compare

Important Changes

  • feat(core,cloudflare,deno): Add instrumentPostgresJsSql instrumentation (#19566)

    Added a new instrumentation helper for the postgres (postgres.js) library, designed for
    SDKs that are not based on OpenTelemetry (e.g. Cloudflare, Deno). This wraps a postgres.js sql tagged template instance so that
    all queries automatically create Sentry spans.

    import postgres from 'postgres';
    import * as Sentry from '@sentry/cloudflare'; // or '@sentry/deno'
    
    export default Sentry.withSentry(env => ({ dsn: '__DSN__' }), {
      async fetch(request, env, ctx) {
        const sql = Sentry.instrumentPostgresJsSql(postgres(env.DATABASE_URL));
    
        // All queries now create Sentry spans
        const users = await sql`SELECT * FROM users WHERE id = ${userId}`;
        return Response.json(users);
      },
    });

    The instrumentation is available in @sentry/core, @sentry/cloudflare, and @sentry/deno.

  • feat(nextjs): Add Turbopack support for thirdPartyErrorFilterIntegration (#19542)

    We added experimental support for the thirdPartyErrorFilterIntegration with Turbopack 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: {
        turbopackApplicationKey: 'my-app-key',
      },
    });

    Then configure the integration in your client instrumentation file with a matching key:

    // instrumentation-client.ts
    import * as Sentry from '@sentry/nextjs';
    
    Sentry.init({
      integrations: [
        Sentry.thirdPartyErrorFilterIntegration({
          filterKeys: ['my-app-key'],
          behaviour: 'apply-tag-if-exclusively-contains-third-party-frames',
        }),
      ],
    });

Other Changes

  • feat(core,cloudflare): Add dispose to the client for proper cleanup (#19506)
  • feat(deps): Bump rxjs from 7.8.1 to 7.8.2 (#19545)
  • feat(nextjs): Use not: foreign condition in turbopack loaders (#19502)
  • feat(react-router): Include middleware function names and indices (#19109)
  • fix(consola): Normalize extra keys from consola (#19511)
  • fix(core): Improve message truncation for multimodal content and normalize streaming span names (#19500)
  • fix(core): Strip inline media from multimodal content before stringification (#19540)
  • fix(deps): Bump transitive rollup deps to patch CVE-2026-27606 (#19565)
  • fix(langchain): Use runName argument in handleChainStart to fix unknown_chain spans (#19554)
  • fix(nestjs): Improve control flow exception filtering (#19524)
  • fix(tanstackstart-react): Flush events in server entry point for serverless environments (#19513)
  • fix(vue): Avoid triggering deprecated next callback from router instrumentation (#19476)
Internal Changes
  • chore: Updating minimatch (#19434)
  • chore(agents): Add dotagents (#19526)
  • chore(agents): Add nested AGENTS.md for browser (#19551)
  • chore(agents): Add nested AGENTS.md for nextjs (#19556)
  • chore(agents): Consolidate SDK dev rules into AGENTS.md (#19521)
  • chore(agents): Migrate repo-wide cursor rules to skills (#19549)
  • chore(agents): Remove stale cursor commands (#19560)
  • chore(ci): Validate alert id (#19499)
  • chore(deps): Bump rollup to 4.59.0 to fix path traversal vulnerability (#19538)
  • chore(lint): Remove junit report file (#19491)
  • chore(svelte,sveltekit): Use version range for magic-string (#19520)
  • chore(tanstackstart): Fix leftover formatting issue (#19536)
  • test(consola): Restructure tests (#19517)
  • test(node): Test runName parameter in handleChainStart for langchain (#19562)

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

Bundle size 📦

Path Size
@sentry/browser 25.02 KB
@sentry/browser - with treeshaking flags 23.57 KB
@sentry/browser (incl. Tracing) 41.44 KB
@sentry/browser (incl. Tracing, Profiling) 45.99 KB
@sentry/browser (incl. Tracing, Replay) 79.35 KB
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 69.21 KB
@sentry/browser (incl. Tracing, Replay with Canvas) 83.93 KB
@sentry/browser (incl. Tracing, Replay, Feedback) 95.91 KB
@sentry/browser (incl. Feedback) 41.44 KB
@sentry/browser (incl. sendFeedback) 29.58 KB
@sentry/browser (incl. FeedbackAsync) 34.52 KB
@sentry/browser (incl. Metrics) 26.17 KB
@sentry/browser (incl. Logs) 26.31 KB
@sentry/browser (incl. Metrics & Logs) 26.96 KB
@sentry/react 26.74 KB
@sentry/react (incl. Tracing) 43.72 KB
@sentry/vue 29.37 KB
@sentry/vue (incl. Tracing) 43.26 KB
@sentry/svelte 25.05 KB
CDN Bundle 27.51 KB
CDN Bundle (incl. Tracing) 42.25 KB
CDN Bundle (incl. Logs, Metrics) 28.33 KB
CDN Bundle (incl. Tracing, Logs, Metrics) 43.07 KB
CDN Bundle (incl. Replay, Logs, Metrics) 66.49 KB
CDN Bundle (incl. Tracing, Replay) 78.26 KB
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) 79.1 KB
CDN Bundle (incl. Tracing, Replay, Feedback) 83.65 KB
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) 84.5 KB
CDN Bundle - uncompressed 80.42 KB
CDN Bundle (incl. Tracing) - uncompressed 125.07 KB
CDN Bundle (incl. Logs, Metrics) - uncompressed 83.19 KB
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed 127.83 KB
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed 203.96 KB
CDN Bundle (incl. Tracing, Replay) - uncompressed 239.21 KB
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed 241.96 KB
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 251.82 KB
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed 254.56 KB
@sentry/nextjs (client) 46.08 KB
@sentry/sveltekit (client) 41.89 KB
@sentry/node-core 51.01 KB
@sentry/node 170.59 KB
@sentry/node - without tracing 95.1 KB
@sentry/aws-serverless 110.53 KB

10.41.0-beta.0

26 Feb 15:46

Choose a tag to compare

10.41.0-beta.0 Pre-release
Pre-release

This is an internal beta release to test adding traces by timestamp to replay events for EAP trace association: #18048.

Bundle size 📦

Path Size
@sentry/browser 25.02 KB
@sentry/browser - with treeshaking flags 23.56 KB
@sentry/browser (incl. Tracing) 41.44 KB
@sentry/browser (incl. Tracing, Profiling) 45.99 KB
@sentry/browser (incl. Tracing, Replay) 79.43 KB
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 69.27 KB
@sentry/browser (incl. Tracing, Replay with Canvas) 84 KB
@sentry/browser (incl. Tracing, Replay, Feedback) 95.98 KB
@sentry/browser (incl. Feedback) 41.44 KB
@sentry/browser (incl. sendFeedback) 29.58 KB
@sentry/browser (incl. FeedbackAsync) 34.52 KB
@sentry/browser (incl. Metrics) 26.17 KB
@sentry/browser (incl. Logs) 26.3 KB
@sentry/browser (incl. Metrics & Logs) 26.96 KB
@sentry/react 26.74 KB
@sentry/react (incl. Tracing) 43.72 KB
@sentry/vue 29.37 KB
@sentry/vue (incl. Tracing) 43.23 KB
@sentry/svelte 25.05 KB
CDN Bundle 27.51 KB
CDN Bundle (incl. Tracing) 42.24 KB
CDN Bundle (incl. Logs, Metrics) 28.33 KB
CDN Bundle (incl. Tracing, Logs, Metrics) 43.07 KB
CDN Bundle (incl. Replay, Logs, Metrics) 66.57 KB
CDN Bundle (incl. Tracing, Replay) 78.33 KB
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) 79.16 KB
CDN Bundle (incl. Tracing, Replay, Feedback) 83.71 KB
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) 84.56 KB
CDN Bundle - uncompressed 80.42 KB
CDN Bundle (incl. Tracing) - uncompressed 125.06 KB
CDN Bundle (incl. Logs, Metrics) - uncompressed 83.19 KB
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed 127.83 KB
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed 204.23 KB
CDN Bundle (incl. Tracing, Replay) - uncompressed 239.49 KB
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed 242.24 KB
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 252.1 KB
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed 254.84 KB
@sentry/nextjs (client) 46.07 KB
@sentry/sveltekit (client) 41.89 KB
@sentry/node-core 50.97 KB
@sentry/node 170.4 KB
@sentry/node - without tracing 95.06 KB
@sentry/aws-serverless 110.49 KB

10.40.0

24 Feb 15:57

Choose a tag to compare

Important Changes

  • feat(tanstackstart-react): Add global sentry exception middlewares (#19330)

    The sentryGlobalRequestMiddleware and sentryGlobalFunctionMiddleware global middlewares capture unhandled exceptions thrown in TanStack Start API routes and server functions. Add them as the first entries in the requestMiddleware and functionMiddleware arrays of createStart():

    import { createStart } from '@tanstack/react-start/server';
    import { sentryGlobalRequestMiddleware, sentryGlobalFunctionMiddleware } from '@sentry/tanstackstart-react';
    
    export default createStart({
      requestMiddleware: [sentryGlobalRequestMiddleware, myRequestMiddleware],
      functionMiddleware: [sentryGlobalFunctionMiddleware, myFunctionMiddleware],
    });
  • feat(tanstackstart-react)!: Export Vite plugin from @sentry/tanstackstart-react/vite subpath (#19182)

    The sentryTanstackStart Vite plugin is now exported from a dedicated subpath. Update your import:

    - import { sentryTanstackStart } from '@sentry/tanstackstart-react';
    + import { sentryTanstackStart } from '@sentry/tanstackstart-react/vite';
  • fix(node-core): Reduce bundle size by removing apm-js-collab and requiring pino >= 9.10 (#18631)

    In order to keep receiving pino logs, you need to update your pino version to >= 9.10, the reason for the support bump is to reduce the bundle size of the node-core SDK in frameworks that cannot tree-shake the apm-js-collab dependency.

  • fix(browser): Ensure user id is consistently added to sessions (#19341)

    Previously, the SDK inconsistently set the user id on sessions, meaning sessions were often lacking proper coupling to the user set for example via Sentry.setUser().
    Additionally, the SDK incorrectly skipped starting a new session for the first soft navigation after the pageload.
    This patch fixes these issues. As a result, metrics around sessions, like "Crash Free Sessions" or "Crash Free Users" might change.
    This could also trigger alerts, depending on your set thresholds and conditions.
    We apologize for any inconvenience caused!

    While we're at it, if you're using Sentry in a Single Page App or meta framework, you might want to give the new 'page' session lifecycle a try!
    This new mode no longer creates a session per soft navigation but continues the initial session until the next hard page refresh.
    Check out the docs to learn more!

  • ref!(gatsby): Drop Gatsby v2 support (#19467)

    We drop support for Gatsby v2 (which still relies on webpack 4) for a critical security update in https://github.com/getsentry/sentry-javascript-bundler-plugins/releases/tag/5.0.0

Other Changes

  • feat(astro): Add support for Astro on CF Workers (#19265)
  • feat(cloudflare): Instrument async KV API (#19404)
  • feat(core): Add framework-agnostic tunnel handler (#18892)
  • feat(deno): Export logs API from Deno SDK (#19313)
  • feat(deno): Export metrics API from Deno SDK (#19305)
  • feat(deno): instrument Deno.serve with async context support (#19230)
  • feat(deps): bump babel-loader from 8.2.5 to 10.0.0 (#19303)
  • feat(deps): bump body-parser from 1.20.4 to 2.2.2 (#19191)
  • feat(deps): Bump hono from 4.11.7 to 4.11.10 (#19440)
  • feat(deps): bump qs from 6.14.1 to 6.14.2 (#19310)
  • feat(deps): bump the opentelemetry group with 4 updates (#19425)
  • feat(feedback): Add setTheme() to dynamically update feedback widget color scheme (#19430)
  • feat(nextjs): Add sourcemaps.filesToDeleteAfterUpload as a top-level option (#19280)
  • feat(node): Add ignoreConnectSpans option to postgresIntegration (#19291)
  • feat(node): Bump to latest @fastify/otel (#19452)
  • fix: Bump bundler plugins to v5 (#19468)
  • fix: updated the codecov config (#19350)
  • fix(aws-serverless): Prevent crash in isPromiseAllSettledResult with null/undefined array elements (#19346)
  • fix(bun) Export pinoIntegration from @sentry/node (#17990)
  • fix(core,browser): Delete SentryNonRecordingSpan from fetch/xhr map (#19336)
  • fix(core): Explicitly flush log buffer in client.close() (#19371)
  • fix(core): Langgraph state graph invoke accepts null to resume (#19374)
  • fix(core): Wrap decodeURI in node stack trace parser to handle malformed URIs (#19400)
  • fix(deps): Bump nuxt devDependency to fix CVE-2026-24001 (#19249)
  • fix(deps): Bump to latest version of each minimatch major (#19486)
  • fix(nextjs): Apply environment from options if set (#19274)
  • fix(nextjs): Don't set sentry.drop_transaction attribute on spans when skipOpenTelemetrySetup is enabled (#19333)
  • fix(nextjs): Normalize trailing slashes in App Router route parameterization (#19365)
  • fix(nextjs): Return correct lastEventId for SSR pages (#19240)
  • fix(nextjs): Set parameterized transaction name for non-transaction events (#19316)
  • fix(node-core): Align pino mechanism type with spec conventions (#19363)
  • fix(nuxt): Use options.rootDir instead of options.srcDir (#19343)
Internal Changes - test(nextjs): Add bun e2e test app ([#19318](https://github.com//pull/19318)) - test(nextjs): Deactivate canary test for cf-workers ([#19483](https://github.com//pull/19483)) - tests(langchain): Fix langchain v1 internal error tests ([#19409](https://github.com//pull/19409)) - ref(nuxt): Remove `defineNitroPlugin` wrapper ([#19334](https://github.com//pull/19334)) - ref(cloudflare): Move internal files and functions around ([#19369](https://github.com//pull/19369)) - chore: Add external contributor to CHANGELOG.md ([#19395](https://github.com//pull/19395)) - chore: Add github action to notify stale PRs ([#19361](https://github.com//pull/19361)) - chore: add oxfmt changes to blame ignore rev list ([#19366](https://github.com//pull/19366)) - chore: Enhance AI integration guidelines with runtime-specific placem… ([#19296](https://github.com//pull/19296)) - chore: Ignore `lerna.json` for prettier ([#19288](https://github.com//pull/19288)) - chore: migrate to oxfmt ([#19200](https://github.com//pull/19200)) - chore: Revert to lerna v8 ([#19294](https://github.com//pull/19294)) - chore: Unignore HTML files and reformat with oxfmt ([#19311](https://github.com//pull/19311)) - chore(ci): Adapt max turns of triage issue agent ([#19473](https://github.com//pull/19473)) - chore(ci): Add `environment` to triage action ([#19375](https://github.com//pull/19375)) - chore(ci): Add `id-token: write` permission to triage workflow ([#19381](https://github.com//pull/19381)) - chore(ci): Move monorepo to nx ([#19325](https://github.com//pull/19325)) - chore(cursor): Add rules for fetching develop docs ([#19377](https://github.com//pull/19377)) - chore(deps-dev): Bump @sveltejs/kit from 2.49.5 to 2.52.2 in /dev-packages/e2e-tests/test-applications/sveltekit-2 ([#19441](https://github.com//pull/19441)) - chore(deps-dev): Bump @sveltejs/kit from 2.49.5 to 2.52.2 in /dev-packages/e2e-tests/test-applications/sveltekit-2-kit-tracing ([#19446](https://github.com//pull/19...
Read more

10.39.0-alpha.0

13 Feb 15:13

Choose a tag to compare

10.39.0-alpha.0 Pre-release
Pre-release

This preview release includes updates to our Span Streaming PoC implementation. Use at your own risk.

New:

  • Browser: SDKs now also use a span buffer, flushing periodically, on span amount limit and on segment span end
  • Browser: It's now enough to only register spanStreamingIntegration in Sentry.init.() to opt into span streaming
  • Browser: sentry.replay_id attribute is attached to spans started during an active replay
  • Browser: sentry.profiler_id attribute is attached to spans started while the continuous profiler is running
  • Browser: Web vital spans are sent as v2 spans
  • Browser: spanStreamingIntegration is now exported from CDN bundles supporting tracing

Known issues:

  • Missing data from various integrations and framework SDKs
  • ignoreSpans is not yet applied

Untested:

  • Meta frameworks or framework SDKs building on top of @sentry/browser or @sentry/node. Likely, data is missing, noisy spans are not filtered, etc.

Usage (At your own risk)

Browser

Sentry.init({
  dsn: '...',
  integrations: [
    Sentry.browserTracingIntegration(),
    Sentry.spanStreamingIntegration(),
  ]
})

Server (Node)

Sentry.init({
  dsn: '...',
  traceLifecycle: 'stream',
})

Bundle size 📦

Path Size
@sentry/browser 25.93 KB
@sentry/browser - with treeshaking flags 24.43 KB
@sentry/browser (incl. Tracing) 42.78 KB
@sentry/browser (incl. Tracing, Profiling) 47.43 KB
@sentry/browser (incl. Tracing, Replay) 80.71 KB
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 70.51 KB
@sentry/browser (incl. Tracing, Replay with Canvas) 85.27 KB
@sentry/browser (incl. Tracing, Replay, Feedback) 97.17 KB
@sentry/browser (incl. Feedback) 42.23 KB
@sentry/browser (incl. sendFeedback) 30.48 KB
@sentry/browser (incl. FeedbackAsync) 35.33 KB
@sentry/browser (incl. Metrics) 26.87 KB
@sentry/browser (incl. Logs) 27.02 KB
@sentry/browser (incl. Metrics & Logs) 27.66 KB
@sentry/react 27.62 KB
@sentry/react (incl. Tracing) 45.03 KB
@sentry/vue 30.51 KB
@sentry/vue (incl. Tracing) 44.58 KB
@sentry/svelte 25.95 KB
CDN Bundle 28.18 KB
CDN Bundle (incl. Tracing) 44.63 KB
CDN Bundle (incl. Logs, Metrics) 29.01 KB
CDN Bundle (incl. Tracing, Logs, Metrics) 45.44 KB
CDN Bundle (incl. Replay, Logs, Metrics) 67.21 KB
CDN Bundle (incl. Tracing, Replay) 80.67 KB
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) 81.53 KB
CDN Bundle (incl. Tracing, Replay, Feedback) 86 KB
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) 86.84 KB
CDN Bundle - uncompressed 82.31 KB
CDN Bundle (incl. Tracing) - uncompressed 132.71 KB
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed 135.48 KB
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed 205.92 KB
CDN Bundle (incl. Tracing, Replay) - uncompressed 247.08 KB
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed 249.84 KB
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 259.58 KB
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed 262.33 KB
@sentry/nextjs (client) 47.4 KB
@sentry/sveltekit (client) 43.23 KB
@sentry/node-core 51.8 KB
@sentry/node 165.43 KB
@sentry/node - without tracing 94.67 KB
@sentry/aws-serverless 109.55 KB

10.39.0

16 Feb 08:57

Choose a tag to compare

Important Changes

  • feat(tanstackstart-react): Auto-instrument server function middleware (#19001)

    The sentryTanstackStart Vite plugin now automatically instruments middleware in createServerFn().middleware([...]) calls. This captures performance data without requiring manual wrapping with wrapMiddlewaresWithSentry().

  • feat(nextjs): New experimental automatic vercel cron monitoring (#19192)

    Setting _experimental.vercelCronMonitoring to true in your Sentry configuration will automatically create Sentry cron monitors for your Vercel Cron Jobs.

    Please note that this is an experimental unstable feature and subject to change.

    // next.config.ts
    export default withSentryConfig(nextConfig, {
      _experimental: {
        vercelCronMonitoring: true,
      },
    });
  • feat(node-core): Add node-core/light (#18502)

    This release adds a new light-weight @sentry/node-core/light export to @sentry/node-core. The export acts as a light-weight SDK that does not depend on OpenTelemetry and emits no spans.

    Use this SDK when:

    • You only need error tracking, logs or metrics without tracing data (no spans)
    • You want to minimize bundle size and runtime overhead
    • You don't need spans emitted by OpenTelemetry instrumentation

    It supports error tracking and reporting, logs, metrics, automatic request isolation (requires Node.js 22+) and basic tracing via our Sentry.startSpan* APIs.

    Install the SDK by running

    npm install @sentry/node-core

    and add Sentry at the top of your application's entry file:

    import * as Sentry from '@sentry/node-core/light';
    
    Sentry.init({
      dsn: '__DSN__',
    });

Other Changes

  • feat(browser): Add mode option for the browser session integration (#18997)
  • feat(browser): Include culture context with events (#19148)
  • feat(browser): Trace continuation from server-timing headers (#18673)
  • feat(core,cloudflare): Enable certain fields with env variables (#19245)
  • feat(deps): bump @isaacs/brace-expansion from 5.0.0 to 5.0.1 (#19149)
  • feat(deps): bump @sentry/bundler-plugin-core from 4.8.0 to 4.9.0 (#19190)
  • feat(deps): Bump glob in @sentry/react-router (#19162)
  • feat(deps): bump hono from 4.11.1 to 4.11.7 (#19068)
  • feat(hono): Add base for Sentry Hono middleware (Cloudflare) (#18787)
  • feat(nextjs): Set cloudflare runtime (#19084)
  • feat(node-core): Add outgoing fetch trace propagation to light mode (#19262)
  • feat(react): Add lazyRouteManifest option to resolve lazy-route names (#19086)
  • feat(vercel-ai): Add rerank support and fix token attribute mapping (#19144)
  • fix(core): Avoid blocking the process for weightBasedFlushing (#19174)
  • fix(core): Avoid blocking the process when calling flush on empty buffer (#19062)
  • fix(core): Ensure partially set SDK metadata options are preserved (#19102)
  • fix(core): Fix truncation to only keep last message in vercel (#19080)
  • fix(core): Intercept .withResponse() to preserve OpenAI stream instrumentation (#19122)
  • fix(core): Prevent infinite recursion when event processor throws (#19110)
  • fix(core): Record client report with reason for HTTP 413 responses (#19093)
  • fix(core): Remove outdated _experiments.enableMetrics references from metrics JSDoc (#19252)
  • fix(core): Respect event.event_id in scope.captureEvent return value (#19113)
  • fix(core): use sessionId for MCP transport correlation (#19172)
  • fix(deps): Bump @nestjs/platform-express to 11.1.13 (#19206)
  • fix(deps): Bump diff to 5.2.2 (#19228)
  • fix(deps): Bump js-yaml to 3.14.2 and 4.1.1 (#19216)
  • fix(deps): Bump lodash to 4.17.23 (#19211)
  • fix(deps): Bump mdast-util-to-hast to 13.2.1 (#19205)
  • fix(deps): Bump node-forge to 1.3.2 (#19183)
  • fix(deps): Bump react-router to 6.30.3 (#19212)
  • fix(deps): Bump sinon to 21.0.1 in @sentry/ember (#19246)
  • fix(deps): Bump vite to 5.4.21 (#19214)
  • fix(nextjs): Expose an event id when captureUnderscoreErrorException captures an exception (#19185)
  • fix(nextjs): Populate SENTRY_SERVER_MODULES in Turbopack (#19231)
  • fix(node): Use snake_case for Fastify's request-handler op. (#18729)
  • fix(nuxt): Avoid logging database skip warning when debug is disabled (#19095)
  • fix(nuxt): Respect configured environment settings (#19243)
  • fix(profiling-node): 137 ABI should not be pruned for node 24 (#19236)
  • fix(replay): Improve error messages when compression worker fails to load (#19008)
  • fix(svelte): Bump svelte dev dependency to 3.59.2 (#19208)
  • fix(sveltekit): Detect used adapter via svelte.config.js (#19270)
  • fix(tanstackstart-react): Use auto.middleware.tanstackstart as middleware trace origin (#19137)
  • ref(core): Move shouldPropagateTraceForUrl from opentelemetry to core (#19254)
  • ref(core): Move shouldPropagateTraceForUrl from opentelemetry to core (#19258)
  • ref(sveltekit): Use untrack to read route id without invalidation (#19272)
Internal Changes
  • chore: Add cursor rules for AI integrations contributions (#19167)
  • chore: Add Makefiles for dev-packages to make it convenient to run tests (#19203)
  • chore: bump prettier to 3.8 (#19198)
  • chore(bugbot): Add rule to flag not-unref'd timers (#19082)
  • chore(deps-dev): bump @sveltejs/kit from 2.49.5 to 2.50.1 (#19089)
  • chore(deps-dev): bump ts-node from 10.9.1 to 10.9.2 (#19189)
  • chore(deps-dev): bump vite from 3.2.11 to 5.4.21 (#19227)
  • chore(deps-dev): bump webpack from 5.95.0 to 5.104.1 (#19199)
  • chore(deps-dev): bump yaml from 2.2.2 to 2.8.2 (#19087)
  • chore(deps): Bump Apollo Server from v3 to v5 in integration tests (#19202)
  • chore(deps): Bump express in test utils + e2e apps (#19159)
  • chore(deps): Bump Lerna to v9 (#19244)
  • chore(deps): Bump mongoose in integration tests (#19175)
  • chore(deps): Bump solidjs to 1.9.11 to fix seroval alerts (#19150)
  • chore(deps): Bump webpack from 5.97.0 to 5.104.0 in ember-classic e2e test (#19239)
  • chore(deps): Bump webpack from 5.104.0 to 5.104.1 in ember-classic e2e test (#19247)
  • chore(e2e): Add banner to readme ([#19138](...
Read more

10.38.0

29 Jan 16:24

Choose a tag to compare

Important Changes

  • feat(tanstackstart-react): Auto-instrument request middleware (#18989)

The sentryTanstackStart Vite plugin now automatically instruments middleware arrays in createFileRoute(). This captures performance data without requiring manual wrapping with wrapMiddlewaresWithSentry().

Other Changes

  • feat: Use v4.8.0 bundler plugins (#18993)
  • feat(browser): Add logs.metrics bundle (#19020)
  • feat(browser): Add replay.logs.metrics bundle (#19021)
  • feat(browser): Add tracing.replay.logs.metrics bundle (#19039)
  • feat(deps): bump import-in-the-middle from 2.0.1 to 2.0.6 (#19042)
  • feat(node): Add AI manual instrumentation exports to Node (#19063)
  • feat(wasm): initialised sentryWasmImages for webworkers (#18812)
  • fix(core): Classify custom AggregateErrors as exception groups (#19053)
  • fix(nextjs): Turn off debugID injection if sourcemaps are explicitly disabled (#19010)
  • fix(react): Avoid String(key) to fix Symbol conversion error (#18982)
  • fix(react): Prevent lazy route handlers from updating wrong navigation span (#18898)
Internal Changes - feat(deps-dev): bump @types/rsvp from 4.0.4 to 4.0.9 ([#19038](https://github.com//pull/19038)) - ci(build): Run full test suite on new bundle with logs+metrics ([#19065](https://github.com//pull/19065)) - ci(deps): bump actions/create-github-app-token from 1 to 2 ([#19028](https://github.com//pull/19028)) - ci(deps): bump peter-evans/create-pull-request from 8.0.0 to 8.1.0 ([#19029](https://github.com//pull/19029)) - chore: Add external contributor to CHANGELOG.md ([#19005](https://github.com//pull/19005)) - chore(aws-serverless): Fix local cache issues ([#19081](https://github.com//pull/19081)) - chore(dependabot): Allow all packages to update ([#19024](https://github.com//pull/19024)) - chore(dependabot): Update ignore patterns and add more groups ([#19037](https://github.com//pull/19037)) - chore(dependabot): Update ignore patterns and add more groups ([#19043](https://github.com//pull/19043)) - chore(deps-dev): bump @edge-runtime/types from 3.0.1 to 4.0.0 ([#19032](https://github.com//pull/19032)) - chore(deps-dev): bump @vercel/nft from 0.29.4 to 1.3.0 ([#19030](https://github.com//pull/19030)) - chore(deps): bump @actions/artifact from 2.1.11 to 5.0.3 ([#19031](https://github.com//pull/19031)) - chore(deps): bump hono from 4.11.4 to 4.11.7 in /dev-packages/e2e-tests/test-applications/cloudflare-hono ([#19009](https://github.com//pull/19009)) - chore(deps): bump next from 16.0.9 to 16.1.5 in /dev-packages/e2e-tests/test-applications/nextjs-16-cacheComponents ([#19012](https://github.com//pull/19012)) - chore(deps): Bump trpc v11 dependency in e2e test ([#19061](https://github.com//pull/19061)) - chore(deps): Bump wrangler to 4.61.0 ([#19023](https://github.com//pull/19023)) - chore(deps): Upgrade @remix-run deps to 2.17.4 ([#19040](https://github.com//pull/19040)) - chore(deps): Upgrade `next` versions 15 and 16 ([#19057](https://github.com//pull/19057)) - chore(deps): Upgrade Lerna to v8 ([#19050](https://github.com//pull/19050)) - chore(deps): Upgrade next to 14.2.35 ([#19055](https://github.com//pull/19055)) - chore(deps): Upgrade react-router, @react-router/node, @react-router/serve, @react-router/dev to 7.13.0 ([#19026](https://github.com//pull/19026)) - chore(llm): Add claude skill + cursor command for adding new cdn bundles ([#19048](https://github.com//pull/19048)) - chore(llm): Ignore local Claude settings ([#18893](https://github.com//pull/18893)) - chore(react): Update react-router-5 dev dependency to another than 5.0.0 ([#19047](https://github.com//pull/19047)) - chore(release): Add generate-changelog script ([#18999](https://github.com//pull/18999)) - chore(remix): Upgrade @remix-run/router to ^1.23.2 ([#19045](https://github.com//pull/19045)) - chore(solidstart): Bump peer dependencies of @solidjs/start ([#19051](https://github.com//pull/19051)) - chore(solidstart): Upgrade Vinxi to update h3 peer dependency ([#19018](https://github.com//pull/19018)) - chore(tests): Reject messages from unknown origins in integration tests ([#19016](https://github.com//pull/19016))

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

Bundle size 📦

Path Size
@sentry/browser 24.73 KB
@sentry/browser - with treeshaking flags 23.27 KB
@sentry/browser (incl. Tracing) 41.16 KB
@sentry/browser (incl. Tracing, Profiling) 45.69 KB
@sentry/browser (incl. Tracing, Replay) 78.87 KB
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 68.76 KB
@sentry/browser (incl. Tracing, Replay with Canvas) 83.46 KB
@sentry/browser (incl. Tracing, Replay, Feedback) 95.37 KB
@sentry/browser (incl. Feedback) 41.06 KB
@sentry/browser (incl. sendFeedback) 29.31 KB
@sentry/browser (incl. FeedbackAsync) 34.19 KB
@sentry/browser (incl. Metrics) 25.81 KB
@sentry/browser (incl. Logs) 25.96 KB
@sentry/browser (incl. Metrics & Logs) 26.61 KB
@sentry/react 26.42 KB
@sentry/react (incl. Tracing) 43.34 KB
@sentry/vue 29.07 KB
@sentry/vue (incl. Tracing) 42.91 KB
@sentry/svelte 24.75 KB
CDN Bundle 27.25 KB
CDN Bundle (incl. Tracing) 41.93 KB
CDN Bundle (incl. Logs, Metrics) 28.07 KB
CDN Bundle (incl. Tracing, Logs, Metrics) 42.73 KB
CDN Bundle (incl. Replay, Logs, Metrics) 66.09 KB
CDN Bundle (incl. Tracing, Replay) 77.8 KB
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) 78.65 KB
CDN Bundle (incl. Tracing, Replay, Feedback) 83.13 KB
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) 84.03 KB
CDN Bundle - uncompressed 79.7 KB
CDN Bundle (incl. Tracing) - uncompressed 124.17 KB
CDN Bundle (incl. Logs, Metrics) - uncompressed 82.47 KB
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed 126.94 KB
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed 202.96 KB
CDN Bundle (incl. Tracing, Replay) - uncompressed 238.04 KB
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed 240.8 KB
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 250.54 KB
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed 253.29 KB
@sentry/nextjs (client) 45.63 KB
@sentry/sveltekit (client) 41.52 KB
@sentry/node-core 50.85 KB
@sentry/node 162.19 KB
@sentry/node - without tracing 91.64 KB
@sentry/aws-serverless 106.79 KB