Packages

@sentry/gatsby

11.10.0 · 28 Oct 2026MIT17.5k / weekRepositoryHomepagenpmAtom feed

Your version

9.41.0

24 Jul 2025Where it was published

9.47.2 is the newest release of 9.x.

In short

1 deprecated2 new4 fixed

  • deprecated

    v9/core: Deprecate experimental enableLogs and beforeSendLog option

Release note

Important Changes

  • deprecated

    v9/core: Deprecate experimental enableLogs and beforeSendLog option

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;
  },
});
  • astro: Implement parameterized routes

    • feat(v9/astro): Parametrize dynamic server routes

    • feat(v9/astro): Parametrize routes on client-side

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

Other Changes

  • v9/node: Add shouldHandleError option to fastifyIntegration

  • fix(v9/cloudflare) Allow non UUID workflow instance IDs

  • v9/node: Ensure tool errors for vercelAiIntegration have correct trace

  • v9/remix: Ensure source maps upload fails silently if Sentry CLI fails

  • v9/svelte: Do not insert preprocess code in script module in Svelte 5

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