Important Changes
-
feat(cloudflare): Add honoIntegration with error-filtering function (#17743)
This release adds a
honoIntegration
to@sentry/cloudflare
, which exposes ashouldHandleError
function that lets you define which errors inonError
should 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 }) ]
-
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.
Other Changes
- fix(browser): Improve handling of
0
andundefined
resource timing values (#17751) - ref(nextjs): Display build compatibility warning for webpack (#17746)
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 |