releases.shpreview

9.41.0

$npx -y @buildinternet/releases show rel_TJbjgHZNbRZRi5fQ_KGkj

Important Changes

  • feat(v9/core): Deprecate experimental enableLogs and beforeSendLog option (#17092)

Sentry now has support for structured logging. Previously to enable structured logging, you had to use the _experiments.enableLogs and _experiments.beforeSendLog options. These options have been deprecated in favor of the top-level enableLogs and beforeSendLog options.

// before
Sentry.init({
  _experiments: {
    enableLogs: true,
    beforeSendLog: log => {
      return log;
    },
  },
});

// after
Sentry.init({
  enableLogs: true,
  beforeSendLog: log => {
    return log;
  },
});
  • feat(astro): Implement parameterized routes
    • feat(v9/astro): Parametrize dynamic server routes (#17141)
    • feat(v9/astro): Parametrize routes on client-side (#17143)

Server-side and client-side parameterized routes are now supported in the Astro SDK. No configuration changes are required.

Other Changes

  • feat(v9/node): Add shouldHandleError option to fastifyIntegration (#17123)
  • fix(v9/cloudflare) Allow non UUID workflow instance IDs (#17135)
  • fix(v9/node): Ensure tool errors for vercelAiIntegration have correct trace (#17142)
  • fix(v9/remix): Ensure source maps upload fails silently if Sentry CLI fails (#17095)
  • fix(v9/svelte): Do not insert preprocess code in script module in Svelte 5 (#17124)

Work in this release was contributed by @richardjelinek-fastest. Thank you for your contribution!

Bundle size 📦

PathSize
@sentry/browser23.24 KB
@sentry/browser - with treeshaking flags21.83 KB
@sentry/browser (incl. Tracing)38.73 KB
@sentry/browser (incl. Tracing, Replay)75.97 KB
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags66.01 KB
@sentry/browser (incl. Tracing, Replay with Canvas)80.56 KB
@sentry/browser (incl. Tracing, Replay, Feedback)92.37 KB
@sentry/browser (incl. Feedback)39.53 KB
@sentry/browser (incl. sendFeedback)27.81 KB
@sentry/browser (incl. FeedbackAsync)32.58 KB
@sentry/react24.95 KB
@sentry/react (incl. Tracing)40.64 KB
@sentry/vue27.58 KB
@sentry/vue (incl. Tracing)40.48 KB
@sentry/svelte23.25 KB
CDN Bundle24.59 KB
CDN Bundle (incl. Tracing)38.49 KB
CDN Bundle (incl. Tracing, Replay)73.65 KB
CDN Bundle (incl. Tracing, Replay, Feedback)78.99 KB
CDN Bundle - uncompressed71.73 KB
CDN Bundle (incl. Tracing) - uncompressed114.12 KB
CDN Bundle (incl. Tracing, Replay) - uncompressed225.59 KB
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed238.1 KB
@sentry/nextjs (client)42.64 KB
@sentry/sveltekit (client)39.14 KB
@sentry/node165.16 KB
@sentry/node - without tracing97.96 KB
@sentry/aws-serverless125.45 KB

Fetched March 31, 2026