Important Changes
- feat(browser): Add support for
propagateTraceparent
SDK option (#17509)
Adds support for a new browser SDK init option, propagateTraceparent
for attaching a W3C compliant traceparent header to outgoing fetch and XHR requests, in addition to sentry-trace and baggage headers. More details can be found here.
- feat(core): Add tool calls attributes for Anthropic AI (#17478)
Adds missing tool call attributes, we add gen_ai.response.tool_calls attribute for Anthropic AI, supporting both streaming and non-streaming requests.
- feat(nextjs): Use compiler hook for uploading turbopack sourcemaps (#17352)
Adds a new experimental flag _experimental.useRunAfterProductionCompileHook
to withSentryConfig
for automatic source maps uploads when building a Next.js app with next build --turbopack
.
When set we:
- Automatically enable source map generation for turbopack client files (if not explicitly disabled)
- Upload generated source maps to Sentry at the end of the build by leveraging a Next.js compiler hook.
Other Changes
- feat(feedback): Add more labels so people can configure Highlight and Hide labels (#17513)
- fix(node): Add
origin
for OpenAI spans & test auto instrumentation (#17519)
Bundle size 📦
Path | Size |
---|---|
@sentry/browser | 23.59 KB |
@sentry/browser - with treeshaking flags | 22.2 KB |
@sentry/browser (incl. Tracing) | 39.19 KB |
@sentry/browser (incl. Tracing, Replay) | 76.63 KB |
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 66.64 KB |
@sentry/browser (incl. Tracing, Replay with Canvas) | 81.2 KB |
@sentry/browser (incl. Tracing, Replay, Feedback) | 93.13 KB |
@sentry/browser (incl. Feedback) | 39.93 KB |
@sentry/browser (incl. sendFeedback) | 28.13 KB |
@sentry/browser (incl. FeedbackAsync) | 32.96 KB |
@sentry/react | 25.27 KB |
@sentry/react (incl. Tracing) | 41.11 KB |
@sentry/vue | 27.97 KB |
@sentry/vue (incl. Tracing) | 40.95 KB |
@sentry/svelte | 23.62 KB |
CDN Bundle | 25.14 KB |
CDN Bundle (incl. Tracing) | 39.05 KB |
CDN Bundle (incl. Tracing, Replay) | 74.48 KB |
CDN Bundle (incl. Tracing, Replay, Feedback) | 79.82 KB |
CDN Bundle - uncompressed | 73.4 KB |
CDN Bundle (incl. Tracing) - uncompressed | 115.49 KB |
CDN Bundle (incl. Tracing, Replay) - uncompressed | 227.88 KB |
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 240.35 KB |
@sentry/nextjs (client) | 43.08 KB |
@sentry/sveltekit (client) | 39.62 KB |
@sentry/node-core | 48.49 KB |
@sentry/node | 147.1 KB |
@sentry/node - without tracing | 90.07 KB |
@sentry/aws-serverless | 103.06 KB |