@sentry/gatsby
11.10.0 · 28 Oct 2026MIT17.5k / weekRepositoryHomepagenpmAtom feed
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
honoIntegrationto@sentry/cloudflare, which exposes ashouldHandleErrorfunction that lets you define which errors inonErrorshould be captured.
By default, Sentry captures exceptions witherror.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
setActiveSpanInBrowserto 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
0andundefinedresource timing values
Internal Changes
Work in this release was contributed by @Karibash. Thank you for your contribution!
Bundle size
| Path | Size |
|---|---|
| @sentry/browser | 23.69 KB |
| @sentry/browser - with treeshaking flags | 22.24 KB |
| @sentry/browser (incl. Tracing) | 39.49 KB |
| @sentry/browser (incl. Tracing, Replay) | 76.96 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 66.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/react | 25.37 KB |
| @sentry/react (incl. Tracing) | 41.42 KB |
| @sentry/vue | 28.11 KB |
| @sentry/vue (incl. Tracing) | 41.25 KB |
| @sentry/svelte | 23.72 KB |
| CDN Bundle | 25.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 - uncompressed | 73.6 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 116.59 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 229.02 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 241.48 KB |
| @sentry/nextjs (client) | 43.38 KB |
| @sentry/sveltekit (client) | 39.9 KB |
| @sentry/node-core | 48.85 KB |
| @sentry/node | 149.25 KB |
| @sentry/node - without tracing | 89.79 KB |
| @sentry/aws-serverless | 102.92 KB |