Packages

@sentry/solid

11.10.0 · 28 Oct 2026MIT208.8k / weekRepositoryHomepagenpmAtom feed

Your version

10.32.0

18 Dec 2025Where it was published

10.78.0 is the newest release of 10.x.

In short

7 new1 fixed9 internal

Release note

Important Changes

  • core: Apply scope attributes to logs

    You can now set attributes on the SDK's scopes which will be applied to all logs as long as the respective scopes are active. For the time being, only string, number and boolean attribute values are supported.

    Sentry.getGlobalScope().setAttributes({ is_admin: true, auth_provider: 'google' });
    
    Sentry.withScope(scope => {
      scope.setAttribute('step', 'authentication');
    
      // scope attributes `is_admin`, `auth_provider` and `step` are added
      Sentry.logger.info(`user ${user.id} logged in`, { activeSince: 100 });
      Sentry.logger.info(`updated ${user.id} last activity`);
    });
    
    // scope attributes `is_admin` and `auth_provider` are added
    Sentry.logger.warn('stale website version, reloading page');
  • replay: Add Request body with attachRawBodyFromRequest option

    To attach the raw request body (from Request objects passed as the first fetch argument) to replay events, you can now use the attachRawBodyFromRequest option in the Replay integration:

    Sentry.init({
      integrations: [
        Sentry.replayIntegration({
          attachRawBodyFromRequest: true,
        }),
      ],
    });
  • tanstackstart-react: Trace server functions

    To enable tracing for server-side requests, you can now explicitly define a server entry point in your application and wrap your request handler with wrapFetchWithSentry.

    // src/server.ts
    import { wrapFetchWithSentry } from '@sentry/tanstackstart-react';
    import handler, { createServerEntry } from '@tanstack/react-start/server-entry';
    
    export default createServerEntry(
      wrapFetchWithSentry({
        fetch(request: Request) {
          return handler.fetch(request);
        },
      }),
    );
  • vue: Add TanStack Router integration

    The @sentry/vue package now includes support for TanStack Router. Use tanstackRouterBrowserTracingIntegration to automatically instrument pageload and navigation transactions with parameterized routes:

    import { createApp } from 'vue';
    import { createRouter } from '@tanstack/vue-router';
    import * as Sentry from '@sentry/vue';
    import { tanstackRouterBrowserTracingIntegration } from '@sentry/vue/tanstackrouter';
    
    const router = createRouter({
      // your router config
    });
    
    Sentry.init({
      app,
      dsn: '__PUBLIC_DSN__',
      integrations: [tanstackRouterBrowserTracingIntegration(router)],
      tracesSampleRate: 1.0,
    });

Other Changes

  • core: Capture initialize attributes on MCP servers

  • nextjs: Extract tracing logic from server component wrapper templates

  • nextjs: Added webpack treeshaking flags as config

  • solid/tanstackrouter: Ensure web vitals are sent on pageload

Internal Changes

Bundle size

PathSize
@sentry/browser24.24 KB
@sentry/browser - with treeshaking flags22.77 KB
@sentry/browser (incl. Tracing)40.62 KB
@sentry/browser (incl. Tracing, Profiling)45.12 KB
@sentry/browser (incl. Tracing, Replay)78.3 KB
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags68.28 KB
@sentry/browser (incl. Tracing, Replay with Canvas)82.88 KB
@sentry/browser (incl. Tracing, Replay, Feedback)94.82 KB
@sentry/browser (incl. Feedback)40.56 KB
@sentry/browser (incl. sendFeedback)28.82 KB
@sentry/browser (incl. FeedbackAsync)33.7 KB
@sentry/react25.92 KB
@sentry/react (incl. Tracing)42.77 KB
@sentry/vue28.6 KB
@sentry/vue (incl. Tracing)42.39 KB
@sentry/svelte24.25 KB
CDN Bundle26.62 KB
CDN Bundle (incl. Tracing)41.25 KB
CDN Bundle (incl. Tracing, Replay)77.1 KB
CDN Bundle (incl. Tracing, Replay, Feedback)82.44 KB
CDN Bundle - uncompressed78.18 KB
CDN Bundle (incl. Tracing) - uncompressed122.47 KB
CDN Bundle (incl. Tracing, Replay) - uncompressed236.27 KB
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed248.74 KB
@sentry/nextjs (client)44.93 KB
@sentry/sveltekit (client)40.98 KB
@sentry/node-core50.4 KB
@sentry/node157.71 KB
@sentry/node - without tracing90.87 KB
@sentry/aws-serverless106.02 KB