Packages

@sentry/solid

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

Your version

10.2.0

6 Aug 2025Where it was published

10.78.0 is the newest release of 10.x.

In short

1 deprecated10 new3 fixed5 internal

  • deprecated

    The startTrace option is deprecated and will be removed in a future major version.

Release note

Important Changes

  • core: Add ignoreSpans option

This release adds a new top-level Sentry.init option, ignoreSpans, that can be used as follows:

Sentry.init({
  ignoreSpans: [
    'partial match', // string matching on the span name
    /regex/, // regex matching on the span name
    {
      name: 'span name',
      op: /http.client/,
    },
  ],
});

Spans matching the filter criteria will not be recorded. Potential child spans of filtered spans will be re-parented, if possible.

  • cloudflare,vercel-edge: Add support for OpenAI instrumentation

Adds support for OpenAI manual instrumentation in @sentry/cloudflare and @sentry/vercel-edge.

To instrument the OpenAI client, wrap it with Sentry.instrumentOpenAiClient and set recording settings.

import * as Sentry from '@sentry/cloudflare';
import OpenAI from 'openai';

const openai = new OpenAI();
const client = Sentry.instrumentOpenAiClient(openai, { recordInputs: true, recordOutputs: true });

// use the wrapped client

The startTrace option is deprecated and will be removed in a future major version. If you want to disable tracing, set SENTRY_TRACES_SAMPLE_RATE to 0.0. instead. As of today, the flag does not affect traces anymore.

Other Changes

  • astro: Streamline build logs

  • browser: Handles data URIs in chrome stack frames

  • core: Accumulate tokens for gen_ai.invoke_agent spans from child LLM calls

  • nuxt: Do not inject trace meta-tags on cached HTML pages

  • nuxt: Streamline build logs

  • react-router: Add support for Hydrogen with RR7

  • react-router: Streamline build logs

  • solidstart: Streamline build logs

  • nestjs: Add missing sentry.origin span attribute to SentryTraced decorator

  • node: Assign default export of openai to the instrumented fn

  • replay: Call sendBufferedReplayOrFlush when opening/sending feedback

Bundle size

PathSize
@sentry/browser23.48 KB
@sentry/browser - with treeshaking flags22.09 KB
@sentry/browser (incl. Tracing)38.82 KB
@sentry/browser (incl. Tracing, Replay)76.03 KB
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags66.11 KB
@sentry/browser (incl. Tracing, Replay with Canvas)80.62 KB
@sentry/browser (incl. Tracing, Replay, Feedback)92.44 KB
@sentry/browser (incl. Feedback)39.74 KB
@sentry/browser (incl. sendFeedback)28.03 KB
@sentry/browser (incl. FeedbackAsync)32.81 KB
@sentry/react25.16 KB
@sentry/react (incl. Tracing)40.72 KB
@sentry/vue27.84 KB
@sentry/vue (incl. Tracing)40.59 KB
@sentry/svelte23.51 KB
CDN Bundle24.95 KB
CDN Bundle (incl. Tracing)38.71 KB
CDN Bundle (incl. Tracing, Replay)73.92 KB
CDN Bundle (incl. Tracing, Replay, Feedback)79.21 KB
CDN Bundle - uncompressed72.95 KB
CDN Bundle (incl. Tracing) - uncompressed114.57 KB
CDN Bundle (incl. Tracing, Replay) - uncompressed226.16 KB
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed238.47 KB
@sentry/nextjs (client)42.72 KB
@sentry/sveltekit (client)39.25 KB
@sentry/node-core46.61 KB
@sentry/node143.18 KB
@sentry/node - without tracing89.68 KB
@sentry/aws-serverless100.85 KB