Packages

@sentry/solid

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

Your version

10.41.0

2 Mar 2026Where it was published

10.78.0 is the newest release of 10.x.

In short

5 new7 fixed16 internal

Release note

Important Changes

  • core,cloudflare,deno: Add instrumentPostgresJsSql instrumentation

    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.

  • nextjs: Add Turbopack support for thirdPartyErrorFilterIntegration

    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

  • core,cloudflare: Add dispose to the client for proper cleanup

  • nextjs: Use not: foreign condition in turbopack loaders

  • react-router: Include middleware function names and indices

  • consola: Normalize extra keys from consola

  • core: Improve message truncation for multimodal content and normalize streaming span names

  • core: Strip inline media from multimodal content before stringification

  • langchain: Use runName argument in handleChainStart to fix unknown_chain spans

  • nestjs: Improve control flow exception filtering

  • tanstackstart-react: Flush events in server entry point for serverless environments

  • vue: Avoid triggering deprecated next callback from router instrumentation

Internal Changes

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

Bundle size

PathSize
@sentry/browser25.02 KB
@sentry/browser - with treeshaking flags23.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 flags69.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/react26.74 KB
@sentry/react (incl. Tracing)43.72 KB
@sentry/vue29.37 KB
@sentry/vue (incl. Tracing)43.26 KB
@sentry/svelte25.05 KB
CDN Bundle27.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 - uncompressed80.42 KB
CDN Bundle (incl. Tracing) - uncompressed125.07 KB
CDN Bundle (incl. Logs, Metrics) - uncompressed83.19 KB
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed127.83 KB
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed203.96 KB
CDN Bundle (incl. Tracing, Replay) - uncompressed239.21 KB
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed241.96 KB
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed251.82 KB
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed254.56 KB
@sentry/nextjs (client)46.08 KB
@sentry/sveltekit (client)41.89 KB
@sentry/node-core51.01 KB
@sentry/node170.59 KB
@sentry/node - without tracing95.1 KB
@sentry/aws-serverless110.53 KB