releases.shpreview

10.2.0

$npx -y @buildinternet/releases show rel_MLm0owe7CDEoaOIAYVZL9

Important Changes

  • feat(core): Add ignoreSpans option (#17078)

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.

  • feat(cloudflare,vercel-edge): Add support for OpenAI instrumentation (#17338)

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
  • ref(aws): Remove manual span creation (#17310)

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

  • feat(astro): Streamline build logs (#17301)
  • feat(browser): Handles data URIs in chrome stack frames (#17292)
  • feat(core): Accumulate tokens for gen_ai.invoke_agent spans from child LLM calls (#17281)
  • feat(deps): Bump @prisma/instrumentation from 6.12.0 to 6.13.0 (#17315)
  • feat(deps): Bump @sentry/cli from 2.50.0 to 2.50.2 (#17316)
  • feat(deps): Bump @sentry/rollup-plugin from 4.0.0 to 4.0.2 (#17317)
  • feat(deps): Bump @sentry/webpack-plugin from 4.0.0 to 4.0.2 (#17314)
  • feat(nuxt): Do not inject trace meta-tags on cached HTML pages (#17305)
  • feat(nuxt): Streamline build logs (#17308)
  • feat(react-router): Add support for Hydrogen with RR7 (#17145)
  • feat(react-router): Streamline build logs (#17303)
  • feat(solidstart): Streamline build logs (#17304)
  • fix(nestjs): Add missing sentry.origin span attribute to SentryTraced decorator (#17318)
  • fix(node): Assign default export of openai to the instrumented fn (#17320)
  • fix(replay): Call sendBufferedReplayOrFlush when opening/sending feedback (#17236)

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

Fetched March 31, 2026