Releases: getsentry/sentry-javascript
10.22.0
Important Changes
-
feat(node): Instrument cloud functions for firebase v2 (#17952)
We added instrumentation for Cloud Functions for Firebase v2, enabling automatic performance tracking and error monitoring. This will be added automatically if you have enabled tracing.
-
feat(core): Instrument LangChain AI (#17955)
Instrumentation was added for LangChain AI operations. You can configure what is recorded like this:
Sentry.init({ integrations: [ Sentry.langChainIntegration({ recordInputs: true, // Record prompts/messages recordOutputs: true, // Record responses }), ], });
Other Changes
- feat(cloudflare,vercel-edge): Add support for LangChain instrumentation (#17986)
- feat: Align sentry origin with documentation (#17998)
- feat(core): Truncate request messages in AI integrations (#17921)
- feat(nextjs): Support node runtime on proxy files (#17995)
- feat(node): Pass requestHook and responseHook option to OTel (#17996)
- fix(core): Fix wrong async types when instrumenting anthropic's stream api (#18007)
- fix(nextjs): Remove usage of chalk to avoid runtime errors (#18010)
- fix(node): Pino capture serialized
err(#17999) - fix(node): Pino child loggers (#17934)
- fix(react): Don't trim index route
/when getting pathname (#17985) - fix(react): Patch
spanEndfor potentially cancelled lazy-route transactions (#17962)
Internal Changes
Bundle size π¦
| Path | Size |
|---|---|
| @sentry/browser | 24.05 KB |
| @sentry/browser - with treeshaking flags | 22.57 KB |
| @sentry/browser (incl. Tracing) | 40.01 KB |
| @sentry/browser (incl. Tracing, Profiling) | 44.2 KB |
| @sentry/browser (incl. Tracing, Replay) | 77.43 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 67.36 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 82.02 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 93.9 KB |
| @sentry/browser (incl. Feedback) | 40.33 KB |
| @sentry/browser (incl. sendFeedback) | 28.61 KB |
| @sentry/browser (incl. FeedbackAsync) | 33.42 KB |
| @sentry/react | 25.69 KB |
| @sentry/react (incl. Tracing) | 41.96 KB |
| @sentry/vue | 28.43 KB |
| @sentry/vue (incl. Tracing) | 41.75 KB |
| @sentry/svelte | 24.06 KB |
| CDN Bundle | 26.27 KB |
| CDN Bundle (incl. Tracing) | 40.65 KB |
| CDN Bundle (incl. Tracing, Replay) | 76.05 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 81.39 KB |
| CDN Bundle - uncompressed | 77.01 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 120.55 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 232.89 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 245.35 KB |
| @sentry/nextjs (client) | 44.05 KB |
| @sentry/sveltekit (client) | 40.43 KB |
| @sentry/node-core | 49.56 KB |
| @sentry/node | 154.11 KB |
| @sentry/node - without tracing | 90.46 KB |
| @sentry/aws-serverless | 103.86 KB |
10.21.0
Important Changes
-
feat(browserProfiling): Add
tracelifecycle mode for UI profiling (#17619)Adds a new
tracelifecycle mode for UI profiling, allowing profiles to be captured for the duration of a trace. Amanualmode will be added in a future release. -
feat(nuxt): Instrument Database (#17899)
Adds instrumentation for Nuxt database operations, enabling better performance tracking of database queries.
-
feat(nuxt): Instrument server cache API (#17886)
Adds instrumentation for Nuxt's server cache API, providing visibility into cache operations.
-
feat(nuxt): Instrument storage API (#17858)
Adds instrumentation for Nuxt's storage API, enabling tracking of storage operations.
Other Changes
- feat(browser): Add
onRequestSpanEndhook to browser tracing integration (#17884) - feat(nextjs): Support Next.js proxy files (#17926)
- feat(replay): Record outcome when event buffer size exceeded (#17946)
- fix(cloudflare): copy execution context in durable objects and handlers (#17786)
- fix(core): Fix and add missing cache attributes in Vercel AI (#17982)
- fix(core): Improve uuid performance (#17938)
- fix(ember): Use updated version for
clean-css(#17979) - fix(nextjs): Don't set experimental instrumentation hook flag for next 16 (#17978)
- fix(nextjs): Inconsistent transaction naming for i18n routing (#17927)
- fix(nextjs): Update bundler detection (#17976)
Internal Changes
- build: Update to typescript 5.8.0 (#17710)
- chore: Add external contributor to CHANGELOG.md (#17949)
- chore(build): Upgrade nodemon to 3.1.10 (#17956)
- chore(ci): Fix external contributor action when multiple contributions existed (#17950)
- chore(solid): Remove unnecessary import from README (#17947)
- test(nextjs): Fix proxy/middleware test (#17970)
Work in this release was contributed by @0xbad0c0d3. Thank you for your contribution!
Bundle size π¦
| Path | Size |
|---|---|
| @sentry/browser | 24.05 KB |
| @sentry/browser - with treeshaking flags | 22.57 KB |
| @sentry/browser (incl. Tracing) | 40.01 KB |
| @sentry/browser (incl. Tracing, Profiling) | 44.2 KB |
| @sentry/browser (incl. Tracing, Replay) | 77.43 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 67.36 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 82.02 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 93.9 KB |
| @sentry/browser (incl. Feedback) | 40.33 KB |
| @sentry/browser (incl. sendFeedback) | 28.61 KB |
| @sentry/browser (incl. FeedbackAsync) | 33.42 KB |
| @sentry/react | 25.69 KB |
| @sentry/react (incl. Tracing) | 41.96 KB |
| @sentry/vue | 28.43 KB |
| @sentry/vue (incl. Tracing) | 41.75 KB |
| @sentry/svelte | 24.06 KB |
| CDN Bundle | 26.27 KB |
| CDN Bundle (incl. Tracing) | 40.65 KB |
| CDN Bundle (incl. Tracing, Replay) | 76.05 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 81.39 KB |
| CDN Bundle - uncompressed | 77.01 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 120.55 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 232.89 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 245.35 KB |
| @sentry/nextjs (client) | 44.05 KB |
| @sentry/sveltekit (client) | 40.43 KB |
| @sentry/node-core | 49.56 KB |
| @sentry/node | 150.82 KB |
| @sentry/node - without tracing | 90.44 KB |
| @sentry/aws-serverless | 103.84 KB |
10.21.0-alpha.1
This release is a preview release for sending spans in browser via spanV2 instead of transaction event envelopes. All of this is experimental and subject to change. Use at your own risk. More Details.
- export withStreamSpan from
@sentry/browser
Bundle size π¦
| Path | Size |
|---|---|
| @sentry/browser | 24.18 KB |
| @sentry/browser - with treeshaking flags | 22.72 KB |
| @sentry/browser (incl. Tracing) | 40.44 KB |
| @sentry/browser (incl. Tracing with Span Streaming) | 41.96 KB |
| @sentry/browser (incl. Tracing, Replay) | 77.82 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 67.77 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 82.41 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 94.35 KB |
| @sentry/browser (incl. Feedback) | 40.48 KB |
| @sentry/browser (incl. sendFeedback) | 28.73 KB |
| @sentry/browser (incl. FeedbackAsync) | 33.56 KB |
| @sentry/react | 25.83 KB |
| @sentry/react (incl. Tracing) | 42.39 KB |
| @sentry/vue | 28.84 KB |
| @sentry/vue (incl. Tracing) | 42.2 KB |
| @sentry/svelte | 24.19 KB |
| CDN Bundle | 26.42 KB |
| CDN Bundle (incl. Tracing) | 40.97 KB |
| CDN Bundle (incl. Tracing, Replay) | 76.36 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 81.73 KB |
| CDN Bundle - uncompressed | 77.34 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 121.84 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 234.15 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 246.62 KB |
| @sentry/nextjs (client) | 44.41 KB |
| @sentry/sveltekit (client) | 40.85 KB |
| @sentry/node-core | 49.74 KB |
| @sentry/node | 151.24 KB |
| @sentry/node - without tracing | 90.63 KB |
| @sentry/aws-serverless | 104 KB |
10.21.0-alpha.0
This release is a preview release for sending spans in browser via spanV2 instead of transaction event envelopes. All of this is experimental and subject to change. Use at your own risk. More Details.
Bundle size π¦
| Path | Size |
|---|---|
| @sentry/browser | 24.18 KB |
| @sentry/browser - with treeshaking flags | 22.72 KB |
| @sentry/browser (incl. Tracing) | 40.44 KB |
| @sentry/browser (incl. Tracing with Span Streaming) | 41.96 KB |
| @sentry/browser (incl. Tracing, Replay) | 77.82 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 67.77 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 82.41 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 94.35 KB |
| @sentry/browser (incl. Feedback) | 40.48 KB |
| @sentry/browser (incl. sendFeedback) | 28.73 KB |
| @sentry/browser (incl. FeedbackAsync) | 33.56 KB |
| @sentry/react | 25.83 KB |
| @sentry/react (incl. Tracing) | 42.39 KB |
| @sentry/vue | 28.84 KB |
| @sentry/vue (incl. Tracing) | 42.2 KB |
| @sentry/svelte | 24.19 KB |
| CDN Bundle | 26.42 KB |
| CDN Bundle (incl. Tracing) | 40.97 KB |
| CDN Bundle (incl. Tracing, Replay) | 76.36 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 81.73 KB |
| CDN Bundle - uncompressed | 77.34 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 121.84 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 234.15 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 246.62 KB |
| @sentry/nextjs (client) | 44.41 KB |
| @sentry/sveltekit (client) | 40.85 KB |
| @sentry/node-core | 49.73 KB |
| @sentry/node | 151.24 KB |
| @sentry/node - without tracing | 90.63 KB |
| @sentry/aws-serverless | 104 KB |
10.20.0
Important Changes
-
feat(flags): Add Growthbook integration (#17440)
Adds a new Growthbook integration for feature flag support.
-
feat(solid): Add support for TanStack Router Solid (#17735)
Adds support for TanStack Router in the Solid SDK, enabling better routing instrumentation for Solid applications.
-
feat(nextjs): Support native debugIds in turbopack (#17853)
Adds support for native Debug IDs in Turbopack, improving source map resolution and error tracking for Next.js applications using Turbopack. Native Debug ID generation will be enabled automatically for compatible versions.
Other Changes
- feat(nextjs): Prepare for next 16 bundler default (#17868)
- feat(node): Capture
pinologger name (#17930) - fix(browser): Ignore React 19.2+ component render measure entries (#17905)
- fix(nextjs): Fix createRouteManifest with basePath (#17838)
- fix(react): Add
POPguard for long-runningpageloadspans (#17867) - fix(tracemetrics): Send boolean for internal replay attribute (#17908)
- ref(core): Add weight tracking logic to browser logs/metrics (#17901)
Internal Changes
- chore(nextjs): Add Next.js 16 peer dependency (#17925)
- chore(ci): Update Next.js canary testing (#17939)
- chore: Bump size limit (#17941)
- test(nextjs): Add next@16 e2e test (#17922)
- test(nextjs): Update next 15 tests (#17919)
- chore: Add external contributor to CHANGELOG.md (#17915)
- chore: Add external contributor to CHANGELOG.md (#17928)
- chore: Add external contributor to CHANGELOG.md (#17940)
Work in this release was contributed by @seoyeon9888, @madhuchavva and @thedanchez . Thank you for your contributions!
Bundle size π¦
| Path | Size |
|---|---|
| @sentry/browser | 24.07 KB |
| @sentry/browser - with treeshaking flags | 22.6 KB |
| @sentry/browser (incl. Tracing) | 39.89 KB |
| @sentry/browser (incl. Tracing, Replay) | 77.35 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 67.3 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 81.94 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 93.83 KB |
| @sentry/browser (incl. Feedback) | 40.36 KB |
| @sentry/browser (incl. sendFeedback) | 28.61 KB |
| @sentry/browser (incl. FeedbackAsync) | 33.46 KB |
| @sentry/react | 25.73 KB |
| @sentry/react (incl. Tracing) | 41.84 KB |
| @sentry/vue | 28.45 KB |
| @sentry/vue (incl. Tracing) | 41.64 KB |
| @sentry/svelte | 24.08 KB |
| CDN Bundle | 26.31 KB |
| CDN Bundle (incl. Tracing) | 40.55 KB |
| CDN Bundle (incl. Tracing, Replay) | 75.98 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 81.33 KB |
| CDN Bundle - uncompressed | 77.1 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 120.19 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 232.65 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 245.11 KB |
| @sentry/nextjs (client) | 43.85 KB |
| @sentry/sveltekit (client) | 40.3 KB |
| @sentry/node-core | 49.59 KB |
| @sentry/node | 150.78 KB |
| @sentry/node - without tracing | 90.48 KB |
| @sentry/aws-serverless | 103.85 KB |
10.19.0
- feat(tracemetrics): Add trace metrics behind an experiments flag (#17883)
Internal Changes
- chore: add info latest release for the cursor release command (#17876)
Bundle size π¦
| Path | Size |
|---|---|
| @sentry/browser | 23.83 KB |
| @sentry/browser - with treeshaking flags | 22.36 KB |
| @sentry/browser (incl. Tracing) | 39.66 KB |
| @sentry/browser (incl. Tracing, Replay) | 77.13 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 67.01 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 81.71 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 93.57 KB |
| @sentry/browser (incl. Feedback) | 40.14 KB |
| @sentry/browser (incl. sendFeedback) | 28.38 KB |
| @sentry/browser (incl. FeedbackAsync) | 33.18 KB |
| @sentry/react | 25.5 KB |
| @sentry/react (incl. Tracing) | 41.56 KB |
| @sentry/vue | 28.24 KB |
| @sentry/vue (incl. Tracing) | 41.39 KB |
| @sentry/svelte | 23.87 KB |
| CDN Bundle | 26.01 KB |
| CDN Bundle (incl. Tracing) | 40.18 KB |
| CDN Bundle (incl. Tracing, Replay) | 75.63 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 80.96 KB |
| CDN Bundle - uncompressed | 76.34 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 119.32 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 231.78 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 244.24 KB |
| @sentry/nextjs (client) | 43.54 KB |
| @sentry/sveltekit (client) | 40.02 KB |
| @sentry/node-core | 49.55 KB |
| @sentry/node | 150.75 KB |
| @sentry/node - without tracing | 90.42 KB |
| @sentry/aws-serverless | 103.83 KB |
10.18.0
Important Changes
-
feat(node):
pinointegration (#17584)This release adds a new
pinointegration for Node.js, enabling Sentry to capture logs from the Pino logging library. -
feat: Remove @sentry/pino-transport package (#17851)
The
@sentry/pino-transportpackage has been removed. Please use the newpinointegration in@sentry/nodeinstead. -
feat(node-core): Extend onnhandledrejection with ignore errors option (#17736)
Added support for selectively suppressing specific errors with configurable logging control in onnhandledrejection integration.
Other Changes
- feat(core): Rename vercelai.schema to gen_ai.request.schema (#17850)
- feat(core): Support stream responses and tool calls for Google GenAI (#17664)
- feat(nextjs): Attach headers using client hook (#17831)
- fix(core): Keep all property values in baggage header (#17847)
- fix(nestjs): Add support for Symbol as event name (#17785)
- fix(nuxt): include
sentry.client.config.tsin nuxt app types (#17830) - fix(react-router): Fix type for
OriginalHandleRequestwith middleware (#17870)
Internal Changes
Work in this release was contributed by @stefanvanderwolf. 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.5 KB |
| @sentry/browser (incl. Tracing, Replay) | 76.98 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 66.87 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 81.54 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 93.45 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.09 KB |
| @sentry/vue (incl. Tracing) | 41.27 KB |
| @sentry/svelte | 23.72 KB |
| CDN Bundle | 25.17 KB |
| CDN Bundle (incl. Tracing) | 39.39 KB |
| CDN Bundle (incl. Tracing, Replay) | 74.79 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 80.16 KB |
| CDN Bundle - uncompressed | 73.59 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 116.56 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 229.03 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 241.49 KB |
| @sentry/nextjs (client) | 43.38 KB |
| @sentry/sveltekit (client) | 39.91 KB |
| @sentry/node-core | 49.38 KB |
| @sentry/node | 150.58 KB |
| @sentry/node - without tracing | 90.25 KB |
| @sentry/aws-serverless | 103.65 KB |
10.17.0
Important Changes
-
feat(nuxt): Implement server middleware instrumentation (#17796)
This release introduces instrumentation for Nuxt middleware, ensuring that all middleware handlers are automatically wrapped with tracing and error reporting functionality.
-
fix(aws-serverless): Take
http_proxyinto account when choosing
useLayerExtensiondefault (#17817)The default setting for
useLayerExtensionnow considers thehttp_proxyenvironment variable.
Whenhttp_proxyis set,useLayerExtensionwill be off by default.
If you use ahttp_proxybut would still like to make use of the Sentry Lambda extension, exemptlocalhostin ano_proxyenvironment variable.
Other Changes
- feat(node): Split up http integration into composable parts (#17524)
- fix(core): Remove check and always respect ai.telemetry.functionId for Vercel AI gen spans (#17811)
- doc(core): Fix outdated JSDoc in
beforeSendSpan(#17815)
Internal Changes
Bundle size π¦
| Path | Size |
|---|---|
| @sentry/browser | 23.67 KB |
| @sentry/browser - with treeshaking flags | 22.21 KB |
| @sentry/browser (incl. Tracing) | 39.48 KB |
| @sentry/browser (incl. Tracing, Replay) | 76.96 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 66.85 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 81.52 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 93.43 KB |
| @sentry/browser (incl. Feedback) | 39.99 KB |
| @sentry/browser (incl. sendFeedback) | 28.21 KB |
| @sentry/browser (incl. FeedbackAsync) | 33.03 KB |
| @sentry/react | 25.35 KB |
| @sentry/react (incl. Tracing) | 41.4 KB |
| @sentry/vue | 28.07 KB |
| @sentry/vue (incl. Tracing) | 41.24 KB |
| @sentry/svelte | 23.69 KB |
| CDN Bundle | 25.15 KB |
| CDN Bundle (incl. Tracing) | 39.37 KB |
| CDN Bundle (incl. Tracing, Replay) | 74.76 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 80.14 KB |
| CDN Bundle - uncompressed | 73.53 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 116.51 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 228.97 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 241.43 KB |
| @sentry/nextjs (client) | 43.36 KB |
| @sentry/sveltekit (client) | 39.88 KB |
| @sentry/node-core | 49.15 KB |
| @sentry/node | 149.82 KB |
| @sentry/node - without tracing | 90.02 KB |
| @sentry/aws-serverless | 103.41 KB |
10.16.0
- feat(logs): Add internal
replay_is_bufferingflag (#17752) - feat(react-router): Update loadContext type to be compatible with middleware (#17758)
- feat(replay/logs): Only attach sampled replay Ids to logs (#17750)
- fix(browser): Use current start timestamp for CLS span when CLS is 0 (#17800)
- fix(core): Prevent
instrumentAnthropicAiClientbreaking MessageStream api (#17754) - fix(nextjs): Don't use chalk in turbopack config file (#17806)
- fix(react): Do not send additional navigation span on pageload (#17799)
Internal Changes
- build(aws): Ensure AWS build cache does not keep old files (#17776)
- chore: Add
publish_releasecommand (#17797) - ref(aws-serverless): Add resolution for
import-in-the-middlewhen building the Lambda layer (#17780) - ref(aws-serverless): Improve README with better examples (#17787)
- ref(core): Improve promise buffer (#17788)
- Revert "test(e2e): Pin
import-in-the-middle@1.14.2due to@vercel/nftincompatibility (#17777)" (#17784) - test(e2e): Pin
import-in-the-middle@1.14.2due to@vercel/nftincompatibility (#17777) - test(nextjs): Add route handler tests for turbopack (#17515)
- test(react-router): Test v8 middleware (#17783)
10.15.0
Important Changes
-
feat(cloudflare): Add honoIntegration with error-filtering function (#17743)
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 }) ]
-
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
setActiveSpanInBrowserto 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
0andundefinedresource 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 |