feat(cloudflare): Add honoIntegration with error-filtering function (#17743)
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
})
]
feat(node): Add instrumentation for hono handler (#17428)
This PR enhances the Hono integration by adding comprehensive handler instrumentation, error handling capabilities.
feat(aws): Enable Lambda extension by default when using the Lamba layer (#17684)
feat(browser): Add setActiveSpanInBrowser to set an active span in the browser (#17714)
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.
0 and undefined resource timing values (#17751)@typescript-eslint/no-unnecessary-type-assertion rule (#17728)es2020 everywhere (#17709)Work in this release was contributed by @Karibash. Thank you for your contribution!
| 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 |
Fetched April 3, 2026