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 |