Packages

@sentry/gatsby

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

Your version

10.15.0

24 Sep 2025Where it was published

10.78.0 is the newest release of 10.x.

In short

4 new1 fixed5 internal

Release note

Important Changes

  • cloudflare: Add honoIntegration with error-filtering function

    This release adds a honoIntegration to @sentry/cloudflare, which exposes a shouldHandleError function that lets you define which errors in onError should be captured.
    By default, Sentry captures exceptions with error.status >= 500 || error.status <= 299.

    The integration is added by default, and it's possible to modify this behavior like this:

     integrations: [
       honoIntegration({
        shouldHandleError: (err) => true; // always capture exceptions in onError
       })
     ]
  • node: Add instrumentation for hono handler

This PR enhances the Hono integration by adding comprehensive handler instrumentation, error handling capabilities.

  • aws: Enable Lambda extension by default when using the Lamba layer

  • browser: Add setActiveSpanInBrowser to set an active span in the browser

This PR adds a feature to the browser SDKs only: Making an inactive span active. We do this to enable use cases where having a span only being active in the callback is not practical.

Other Changes

  • browser: Improve handling of 0 and undefined resource timing values

Internal Changes

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

Bundle size

PathSize
@sentry/browser23.69 KB
@sentry/browser - with treeshaking flags22.24 KB
@sentry/browser (incl. Tracing)39.49 KB
@sentry/browser (incl. Tracing, Replay)76.96 KB
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags66.87 KB
@sentry/browser (incl. Tracing, Replay with Canvas)81.52 KB
@sentry/browser (incl. Tracing, Replay, Feedback)93.44 KB
@sentry/browser (incl. Feedback)40.01 KB
@sentry/browser (incl. sendFeedback)28.24 KB
@sentry/browser (incl. FeedbackAsync)33.05 KB
@sentry/react25.37 KB
@sentry/react (incl. Tracing)41.42 KB
@sentry/vue28.11 KB
@sentry/vue (incl. Tracing)41.25 KB
@sentry/svelte23.72 KB
CDN Bundle25.17 KB
CDN Bundle (incl. Tracing)39.39 KB
CDN Bundle (incl. Tracing, Replay)74.76 KB
CDN Bundle (incl. Tracing, Replay, Feedback)80.13 KB
CDN Bundle - uncompressed73.6 KB
CDN Bundle (incl. Tracing) - uncompressed116.59 KB
CDN Bundle (incl. Tracing, Replay) - uncompressed229.02 KB
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed241.48 KB
@sentry/nextjs (client)43.38 KB
@sentry/sveltekit (client)39.9 KB
@sentry/node-core48.85 KB
@sentry/node149.25 KB
@sentry/node - without tracing89.79 KB
@sentry/aws-serverless102.92 KB