NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #2494 most downloaded on npm
Sentry Node SDK using OpenTelemetry for performance instrumentation
Last release 2 days ago
16 Sep 2026
Ships on a steady schedule
a new release about every 1 weeks
Nearly every release is documented
notes for 60 of the last 60 stable releases
1 version withdrawn
withdrawn after publishing
9 years old
732 releases · first in 2018
fix(core): Don't gate user data for streamed spans at scope read time
<details> <summary> <strong>Internal Changes</strong> </summary>
</details>
| Path | Size |
|---|---|
| @sentry/browser | 26.22 KB |
| @sentry/browser - with treeshaking flags | 24.69 KB |
| @sentry/browser (incl. Tracing) | 43.69 KB |
| @sentry/browser (incl. Tracing + Span Streaming) | 45.62 KB |
| @sentry/browser (incl. Tracing, Profiling) | 48.56 KB |
| @sentry/browser (incl. Tracing, Replay) | 82.4 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 72.08 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 86.99 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 99.33 KB |
| @sentry/browser (incl. Feedback) | 43 KB |
| @sentry/browser (incl. sendFeedback) | 30.92 KB |
| @sentry/browser (incl. FeedbackAsync) | 35.91 KB |
| @sentry/browser (incl. Metrics) | 27.27 KB |
| @sentry/browser (incl. Logs) | 27.42 KB |
| @sentry/browser (incl. Metrics & Logs) | 28.08 KB |
| @sentry/react | 27.92 KB |
| @sentry/react (incl. Tracing) | 45.9 KB |
| @sentry/vue | 31.01 KB |
| @sentry/vue (incl. Tracing) | 45.5 KB |
| @sentry/svelte | 26.24 KB |
| CDN Bundle | 28.55 KB |
| CDN Bundle (incl. Tracing) | 46.04 KB |
| CDN Bundle (incl. Logs, Metrics) | 29.89 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) | 47.14 KB |
| CDN Bundle (incl. Replay, Logs, Metrics) | 68.3 KB |
| CDN Bundle (incl. Tracing, Replay) | 82.55 KB |
| CDN Bundle (incl. Tracing, Replay, Logs, Metrics) | 83.6 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 88.23 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) | 89.3 KB |
| CDN Bundle - uncompressed | 83.97 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 138.12 KB |
| CDN Bundle (incl. Logs, Metrics) - uncompressed | 88.07 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed | 141.5 KB |
| CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed | 209.97 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 254.05 KB |
| CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed | 257.42 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 267.43 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed | 270.79 KB |
| @sentry/nextjs (client) | 48.36 KB |
| @sentry/sveltekit (client) | 44.17 KB |
| @sentry/node-core | 59.39 KB |
| @sentry/node | 162.07 KB |
| @sentry/node - without tracing | 72.21 KB |
| @sentry/aws-serverless | 105.52 KB |
| @sentry/cloudflare (withSentry) - minified | 166.63 KB |
| @sentry/cloudflare (withSentry) | 420.32 KB |
One column per quarter.
feat(core): Add `streamGenAiSpans` options to stream gen_ai spans ([#20785](https://github.com/getsentry/sentry-javascript/pull/20785))
feat(core): Add streamGenAiSpans options to stream gen_ai spans (#20785)
Adds a new streamGenAiSpans option that controls how gen_ai spans are
sent to Sentry. When set, the SDK extracts all gen_ai spans out of a
transaction and sends them as v2 envelope items.
Enable this option if gen_ai spans are being dropped because the transaction payload exceeds size limits.
Sentry.init({
dsn: 'https://examplePublicKey@o0.ingest.sentry.io/0',
streamGenAiSpans: true,
});
addConsoleInstrumentationFilter utility (#20790)applicationKey to BuildTimeOptionsBase (#20789)applicationKey option (#20794)@sentry-internal/node-cpu-profiler to 2.4.0 (#20720)<details> <summary> <strong>Internal Changes</strong> </summary>
</details>
Work in this release was contributed by @dmmulroy and @SAY-5. Thank you for your contributions!
| Path | Size |
|---|---|
| @sentry/browser | 26.22 KB |
| @sentry/browser - with treeshaking flags | 24.69 KB |
| @sentry/browser (incl. Tracing) | 43.69 KB |
| @sentry/browser (incl. Tracing + Span Streaming) | 45.63 KB |
| @sentry/browser (incl. Tracing, Profiling) | 48.56 KB |
| @sentry/browser (incl. Tracing, Replay) | 82.4 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 72.08 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 86.99 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 99.33 KB |
| @sentry/browser (incl. Feedback) | 43 KB |
| @sentry/browser (incl. sendFeedback) | 30.92 KB |
| @sentry/browser (incl. FeedbackAsync) | 35.91 KB |
| @sentry/browser (incl. Metrics) | 27.27 KB |
| @sentry/browser (incl. Logs) | 27.42 KB |
| @sentry/browser (incl. Metrics & Logs) | 28.08 KB |
| @sentry/react | 27.92 KB |
| @sentry/react (incl. Tracing) | 45.91 KB |
| @sentry/vue | 31.01 KB |
| @sentry/vue (incl. Tracing) | 45.5 KB |
| @sentry/svelte | 26.24 KB |
| CDN Bundle | 28.55 KB |
| CDN Bundle (incl. Tracing) | 46.05 KB |
| CDN Bundle (incl. Logs, Metrics) | 29.89 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) | 47.15 KB |
| CDN Bundle (incl. Replay, Logs, Metrics) | 68.3 KB |
| CDN Bundle (incl. Tracing, Replay) | 82.57 KB |
| CDN Bundle (incl. Tracing, Replay, Logs, Metrics) | 83.62 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 88.24 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) | 89.32 KB |
| CDN Bundle - uncompressed | 83.97 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 138.15 KB |
| CDN Bundle (incl. Logs, Metrics) - uncompressed | 88.07 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed | 141.53 KB |
| CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed | 209.97 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 254.08 KB |
| CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed | 257.44 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 267.46 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed | 270.81 KB |
| @sentry/nextjs (client) | 48.36 KB |
| @sentry/sveltekit (client) | 44.17 KB |
| @sentry/node-core | 59.4 KB |
| @sentry/node | 162.08 KB |
| @sentry/node - without tracing | 72.22 KB |
| @sentry/aws-serverless | 105.53 KB |
| @sentry/cloudflare (withSentry) - minified | 166.66 KB |
| @sentry/cloudflare (withSentry) | 420.38 KB |
fix: Bump fast-xml-parser to fix vulnerability
Beta release of the official Hono Sentry SDK
This release marks the beta release of the @sentry/hono Sentry SDK. For details on how to use it, check out the
Sentry Hono SDK docs. Please reach out on
GitHub if you have any feedback or concerns.
feat(browser): Add ingest_settings to v2 log envelope payload (#20453)
Inference of user data (e.g. IP address, browser name/version) on log events is now gated behind the sendDefaultPii option. Previously, this data was always inferred by default.
ingest_settings to v2 metrics envelope payload (#20454)ignoreSpans (#20595)processSegmentSpan to Deno context integration (#20613)processSegmentSpan to node context integration (#20678)<details> <summary> <strong>Internal Changes</strong> </summary>
bundle-analyzer-scenarios dev packages (#20680)npmrc pointing to Verdaccio (#20611)</details>
Work in this release was contributed by @sbs44. Thank you for your contribution!
| Path | Size |
|---|---|
| @sentry/browser | 25.68 KB |
| @sentry/browser - with treeshaking flags | 24.2 KB |
| @sentry/browser (incl. Tracing) | 43.13 KB |
| @sentry/browser (incl. Tracing + Span Streaming) | 45.3 KB |
| @sentry/browser (incl. Tracing, Profiling) | 47.99 KB |
| @sentry/browser (incl. Tracing, Replay) | 81.67 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 71.37 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 86.25 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 98.57 KB |
| @sentry/browser (incl. Feedback) | 42.42 KB |
| @sentry/browser (incl. sendFeedback) | 30.38 KB |
| @sentry/browser (incl. FeedbackAsync) | 35.35 KB |
| @sentry/browser (incl. Metrics) | 26.95 KB |
| @sentry/browser (incl. Logs) | 27.08 KB |
| @sentry/browser (incl. Metrics & Logs) | 27.76 KB |
| @sentry/react | 27.38 KB |
| @sentry/react (incl. Tracing) | 45.31 KB |
| @sentry/vue | 30.45 KB |
| @sentry/vue (incl. Tracing) | 44.94 KB |
| @sentry/svelte | 25.7 KB |
| CDN Bundle | 28.23 KB |
| CDN Bundle (incl. Tracing) | 45.83 KB |
| CDN Bundle (incl. Logs, Metrics) | 29.62 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) | 46.91 KB |
| CDN Bundle (incl. Replay, Logs, Metrics) | 67.84 KB |
| CDN Bundle (incl. Tracing, Replay) | 82.15 KB |
| CDN Bundle (incl. Tracing, Replay, Logs, Metrics) | 83.2 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 87.84 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) | 88.89 KB |
| CDN Bundle - uncompressed | 82.89 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 137.15 KB |
| CDN Bundle (incl. Logs, Metrics) - uncompressed | 86.99 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed | 140.53 KB |
| CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed | 208.3 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 252.48 KB |
| CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed | 255.85 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 265.86 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed | 269.22 KB |
| @sentry/nextjs (client) | 47.75 KB |
| @sentry/sveltekit (client) | 43.6 KB |
| @sentry/node-core | 59.05 KB |
| @sentry/node | 161.63 KB |
| @sentry/node - without tracing | 71.76 KB |
| @sentry/aws-serverless | 105.11 KB |
| @sentry/cloudflare (withSentry) - minified | 165.38 KB |
| @sentry/cloudflare (withSentry) | 417.48 KB |
docs: Add deprecation notices to bin scripts
feat(cloudflare): Add trace propagation for RPC method calls (#20343)
Trace context is now propagated across Cloudflare Workers RPC calls, connecting traces between Workers and Durable Objects.
This feature is opt-in and requires setting enableRpcTracePropagation: true in your SDK configuration:
// Worker
export default Sentry.withSentry(
env => ({
dsn: env.SENTRY_DSN,
enableRpcTracePropagation: true,
}),
handler,
);
// Durable Object
export const MyDurableObject = Sentry.instrumentDurableObjectWithSentry(
env => ({
dsn: env.SENTRY_DSN,
enableRpcTracePropagation: true,
}),
MyDurableObjectBase,
);
feat(hono)!: Change setup for @sentry/hono/node (init in external file) (#20497)
To improve Node.js instrumentation, the sentry() middleware exported from @sentry/hono/node no longer accepts configuration options.
Instead, you must configure the SDK by calling Sentry.init() in a dedicated instrumentation file that runs before your application code (read more in the Hono SDK readme:
// instrument.mjs (or instrument.ts)
import * as Sentry from '@sentry/hono/node';
Sentry.init({
dsn: '__DSN__',
tracesSampleRate: 1.0,
});
feat(nitro): Add @sentry/nitro SDK (#19224)
A new @sentry/nitro package provides first-class Sentry support for Nitro applications, with HTTP handler and error instrumentation, middleware tracing, request isolation, and build-time source map uploading via withSentryConfig.
Read more in the Nitro SDK docs and the Nitro SDK readme.
brace-expansion peer-dep (#20198)bin scripts (#20570)ignoreSpans (#20513)SENTRY_DSN (#20528)ingest_settings to span v2 envelope payload (#20411)httpContextIntegration (#20464)ignoreSpans (#20512)* http.route attribute on segment spans (#20471)ignoreSpans (#20514)svelteKitSpansEnhancement integration (#20496)isSentryRequest handles subdomains properly (#20530).use() middleware in sub-apps from .all() handlers (#20554)maskAttributes works with maskAllText=false (#20491)sendDefaultPii for supabase integration (#20490)<details> <summary><strong>Internal Changes</strong></summary>
idleTimeout test config (#20467)safeSetSpanJSONAttributes in cultureContext integration (#20481)eslint-config-next package to major (#20552)</details>
| Path | Size |
|---|---|
| @sentry/browser | 25.54 KB |
| @sentry/browser - with treeshaking flags | 24.06 KB |
| @sentry/browser (incl. Tracing) | 43.08 KB |
| @sentry/browser (incl. Tracing + Span Streaming) | 45.07 KB |
| @sentry/browser (incl. Tracing, Profiling) | 47.91 KB |
| @sentry/browser (incl. Tracing, Replay) | 81.5 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 71.23 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 86.07 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 98.42 KB |
| @sentry/browser (incl. Feedback) | 42.38 KB |
| @sentry/browser (incl. sendFeedback) | 30.24 KB |
| @sentry/browser (incl. FeedbackAsync) | 35.3 KB |
| @sentry/browser (incl. Metrics) | 26.8 KB |
| @sentry/browser (incl. Logs) | 26.95 KB |
| @sentry/browser (incl. Metrics & Logs) | 27.62 KB |
| @sentry/react | 27.25 KB |
| @sentry/react (incl. Tracing) | 45.26 KB |
| @sentry/vue | 30.3 KB |
| @sentry/vue (incl. Tracing) | 44.87 KB |
| @sentry/svelte | 25.57 KB |
| CDN Bundle | 28.16 KB |
| CDN Bundle (incl. Tracing) | 45.61 KB |
| CDN Bundle (incl. Logs, Metrics) | 29.54 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) | 46.68 KB |
| CDN Bundle (incl. Replay, Logs, Metrics) | 67.71 KB |
| CDN Bundle (incl. Tracing, Replay) | 81.91 KB |
| CDN Bundle (incl. Tracing, Replay, Logs, Metrics) | 82.95 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 87.59 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) | 88.66 KB |
| CDN Bundle - uncompressed | 82.57 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 136.41 KB |
| CDN Bundle (incl. Logs, Metrics) - uncompressed | 86.67 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed | 139.79 KB |
| CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed | 207.73 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 251.45 KB |
| CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed | 254.82 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 264.83 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed | 268.18 KB |
| @sentry/nextjs (client) | 47.7 KB |
| @sentry/sveltekit (client) | 43.52 KB |
| @sentry/node-core | 57.57 KB |
| @sentry/node | 166.25 KB |
| @sentry/node - without tracing | 94.54 KB |
| @sentry/aws-serverless | 111 KB |
| @sentry/cloudflare (withSentry) - minified | 160.29 KB |
| @sentry/cloudflare (withSentry) | 405.47 KB |
feat(effect): Support v4 beta ([#20394](https://github.com/getsentry/sentry-javascript/pull/20394))
feat(effect): Support v4 beta (#20394)
The @sentry/effect integration now supports Effect v4 beta, enabling Sentry instrumentation for the latest Effect framework version.
Read more in the Effect SDK readme.
feat(hono): Add @sentry/hono/bun for Bun runtime (#20355)
A new @sentry/hono/bun entry point adds first-class support for running Hono applications instrumented with Sentry on the Bun runtime.
Read more in the Hono SDK readme.
feat(replay): Add replayStart/replayEnd client lifecycle hooks (#20369)
New replayStart and replayEnd client lifecycle hooks let you react to replay session start and end events in your application.
no_parent_span client outcomes for discarded spans requiring a parent (#20350)GoogleGenAIIstrumentedMethod typo in type namehttpVersion in outgoing request span attributes (#20430)<details> <summary> <strong>Internal Changes</strong> </summary>
.makeRequestAndWaitForEnvelope to wait for envelopes (#20208)honoIntegration (#20397)</details>
| Path | Size |
|---|---|
| @sentry/browser | 25.27 KB |
| @sentry/browser - with treeshaking flags | 23.78 KB |
| @sentry/browser (incl. Tracing) | 42.78 KB |
| @sentry/browser (incl. Tracing + Span Streaming) | 44.44 KB |
| @sentry/browser (incl. Tracing, Profiling) | 47.59 KB |
| @sentry/browser (incl. Tracing, Replay) | 81.04 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 70.8 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 85.62 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 97.58 KB |
| @sentry/browser (incl. Feedback) | 41.7 KB |
| @sentry/browser (incl. sendFeedback) | 29.83 KB |
| @sentry/browser (incl. FeedbackAsync) | 34.72 KB |
| @sentry/browser (incl. Metrics) | 26.53 KB |
| @sentry/browser (incl. Logs) | 26.65 KB |
| @sentry/browser (incl. Metrics & Logs) | 27.33 KB |
| @sentry/react | 26.97 KB |
| @sentry/react (incl. Tracing) | 44.97 KB |
| @sentry/vue | 29.99 KB |
| @sentry/vue (incl. Tracing) | 44.55 KB |
| @sentry/svelte | 25.29 KB |
| CDN Bundle | 27.9 KB |
| CDN Bundle (incl. Tracing) | 45 KB |
| CDN Bundle (incl. Logs, Metrics) | 29.25 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) | 46.01 KB |
| CDN Bundle (incl. Replay, Logs, Metrics) | 67.31 KB |
| CDN Bundle (incl. Tracing, Replay) | 81.19 KB |
| CDN Bundle (incl. Tracing, Replay, Logs, Metrics) | 82.19 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 86.53 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) | 87.59 KB |
| CDN Bundle - uncompressed | 81.63 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 134.39 KB |
| CDN Bundle (incl. Logs, Metrics) - uncompressed | 85.67 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed | 137.72 KB |
| CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed | 206.35 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 249.08 KB |
| CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed | 252.4 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 261.69 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed | 265 KB |
| @sentry/nextjs (client) | 47.44 KB |
| @sentry/sveltekit (client) | 43.18 KB |
| @sentry/node-core | 56.98 KB |
| @sentry/node | 171.53 KB |
| @sentry/node - without tracing | 95.99 KB |
| @sentry/aws-serverless | 112.62 KB |
This is an internal alpha release to test sending gen_ai.* spans as span v2 envelope items alongside legacy transactions: #20342
This is an internal alpha release to test sending gen_ai.* spans as span v2 envelope items alongside legacy transactions: #20342
| Path | Size |
|---|---|
| @sentry/browser | 25.73 KB |
| @sentry/browser - with treeshaking flags | 24.22 KB |
| @sentry/browser (incl. Tracing) | 43.23 KB |
| @sentry/browser (incl. Tracing + Span Streaming) | 44.68 KB |
| @sentry/browser (incl. Tracing, Profiling) | 48.09 KB |
| @sentry/browser (incl. Tracing, Replay) | 81.5 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 71.26 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 86.08 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 98.08 KB |
| @sentry/browser (incl. Feedback) | 42.14 KB |
| @sentry/browser (incl. sendFeedback) | 30.29 KB |
| @sentry/browser (incl. FeedbackAsync) | 35.17 KB |
| @sentry/browser (incl. Metrics) | 26.78 KB |
| @sentry/browser (incl. Logs) | 26.91 KB |
| @sentry/browser (incl. Metrics & Logs) | 27.57 KB |
| @sentry/react | 27.44 KB |
| @sentry/react (incl. Tracing) | 45.45 KB |
| @sentry/vue | 30.48 KB |
| @sentry/vue (incl. Tracing) | 45.01 KB |
| @sentry/svelte | 25.75 KB |
| CDN Bundle | 28.14 KB |
| CDN Bundle (incl. Tracing) | 44.11 KB |
| CDN Bundle (incl. Logs, Metrics) | 29.48 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) | 45.17 KB |
| CDN Bundle (incl. Replay, Logs, Metrics) | 67.51 KB |
| CDN Bundle (incl. Tracing, Replay) | 80.25 KB |
| CDN Bundle (incl. Tracing, Replay, Logs, Metrics) | 81.33 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 85.64 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) | 86.7 KB |
| CDN Bundle - uncompressed | 82.29 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 132 KB |
| CDN Bundle (incl. Logs, Metrics) - uncompressed | 86.34 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed | 135.33 KB |
| CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed | 207.02 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 246.69 KB |
| CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed | 250.01 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 259.3 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed | 262.61 KB |
| @sentry/nextjs (client) | 47.89 KB |
| @sentry/sveltekit (client) | 43.63 KB |
| @sentry/node-core | 56.91 KB |
| @sentry/node | 171.1 KB |
| @sentry/node - without tracing | 95.98 KB |
| @sentry/aws-serverless | 112.84 KB |
feat(browser): Add View Hierarchy integration ([#14981](https://github.com/getsentry/sentry-javascript/pull/14981))
feat(browser): Add View Hierarchy integration (#14981)
A new viewHierarchyIntegration captures the DOM structure when an error occurs, providing a snapshot of the page state for debugging. Enable it in your Sentry configuration:
import * as Sentry from '@sentry/browser';
Sentry.init({
dsn: '__DSN__',
integrations: [Sentry.viewHierarchyIntegration()],
});
feat(cloudflare): Split alarms into multiple traces and link them (#19373)
Durable Object alarms now create separate traces for each alarm invocation, with proper linking between related alarms for better observability.
feat(cloudflare): Enable RPC trace propagation with enableRpcTracePropagation (#19991, #20345)
A new enableRpcTracePropagation option enables automatic trace propagation for Cloudflare RPC calls via .fetch(), ensuring distributed traces flow correctly across service bindings.
feat(core): Add enableTruncation option to AI integrations (#20167, #20181, #20182, #20183, #20184)
All AI integrations (OpenAI, Anthropic, Google GenAI, LangChain, LangGraph) now support an enableTruncation option to control whether large AI inputs/outputs are truncated.
feat(opentelemetry): Vendor AsyncLocalStorageContextManager (#20243)
The OpenTelemetry context manager is now vendored internally, reducing external dependencies and ensuring consistent behavior across environments.
rewriteSources top level option (#20142)eventLoopBlockIntegration (#20108)conversation_id only on gen_ai spans (#20274)ai.operationId for Vercel AI V6 operation name mapping (#20285)reader.closed rejection from releaseLock() in streaming (#20187)<details> <summary> <strong>Internal Changes</strong> </summary>
findInjectionIndexAfterDirectives for better readability (#20310)@opentelemetry/resources with inline getSentryResource() (#20327)</details>
| Path | Size |
|---|---|
| @sentry/browser | 25.18 KB |
| @sentry/browser - with treeshaking flags | 23.71 KB |
| @sentry/browser (incl. Tracing) | 42.59 KB |
| @sentry/browser (incl. Tracing + Span Streaming) | 44.26 KB |
| @sentry/browser (incl. Tracing, Profiling) | 47.37 KB |
| @sentry/browser (incl. Tracing, Replay) | 80.8 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 70.55 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 85.38 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 97.34 KB |
| @sentry/browser (incl. Feedback) | 41.59 KB |
| @sentry/browser (incl. sendFeedback) | 29.74 KB |
| @sentry/browser (incl. FeedbackAsync) | 34.62 KB |
| @sentry/browser (incl. Metrics) | 26.44 KB |
| @sentry/browser (incl. Logs) | 26.57 KB |
| @sentry/browser (incl. Metrics & Logs) | 27.24 KB |
| @sentry/react | 26.89 KB |
| @sentry/react (incl. Tracing) | 44.81 KB |
| @sentry/vue | 29.89 KB |
| @sentry/vue (incl. Tracing) | 44.38 KB |
| @sentry/svelte | 25.2 KB |
| CDN Bundle | 27.79 KB |
| CDN Bundle (incl. Tracing) | 43.64 KB |
| CDN Bundle (incl. Logs, Metrics) | 29.13 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) | 44.7 KB |
| CDN Bundle (incl. Replay, Logs, Metrics) | 67.12 KB |
| CDN Bundle (incl. Tracing, Replay) | 79.74 KB |
| CDN Bundle (incl. Tracing, Replay, Logs, Metrics) | 80.79 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 85.13 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) | 86.17 KB |
| CDN Bundle - uncompressed | 81.17 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 130.51 KB |
| CDN Bundle (incl. Logs, Metrics) - uncompressed | 85.22 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed | 133.84 KB |
| CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed | 205.7 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 244.99 KB |
| CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed | 248.31 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 257.6 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed | 260.91 KB |
| @sentry/nextjs (client) | 47.28 KB |
| @sentry/sveltekit (client) | 43.02 KB |
| @sentry/node-core | 56.58 KB |
| @sentry/node | 170.68 KB |
| @sentry/node - without tracing | 95.57 KB |
| @sentry/aws-serverless | 112.42 KB |
feat(aws-serverless): Ship Lambda extension in npm package for container image Lambdas ([#20133](https://github.com/getsentry/sentry-javascript/pull/2
feat(aws-serverless): Ship Lambda extension in npm package for container image Lambdas (#20133)
The Sentry Lambda extension is now included in the npm package, enabling container image-based Lambda functions to use it. Copy the extension files into your Docker image and set the tunnel option:
RUN mkdir -p /opt/sentry-extension
COPY node_modules/@sentry/aws-serverless/build/lambda-extension/sentry-extension /opt/extensions/sentry-extension
COPY node_modules/@sentry/aws-serverless/build/lambda-extension/index.mjs /opt/sentry-extension/index.mjs
RUN chmod +x /opt/extensions/sentry-extension /opt/sentry-extension/index.mjs
Sentry.init({
dsn: '__DSN__',
tunnel: 'http://localhost:9000/envelope',
});
This works with any Sentry SDK (@sentry/aws-serverless, @sentry/sveltekit, @sentry/node, etc.).
feat(cloudflare): Support basic WorkerEntrypoint (#19884)
withSentry now supports instrumenting classes extending Cloudflare's WorkerEntrypoint. This instruments fetch, scheduled, queue, and tail handlers.
import * as Sentry from '@sentry/cloudflare';
import { WorkerEntrypoint } from 'cloudflare:workers';
class MyWorker extends WorkerEntrypoint {
async fetch(request: Request): Promise<Response> {
return new Response('Hello World!');
}
}
export default Sentry.withSentry(env => ({ dsn: env.SENTRY_DSN, tracesSampleRate: 1.0 }), MyWorker);
ref(core): Unify .do* span ops to gen_ai.generate_content (#20074)
All Vercel AI do* spans (ai.generateText.doGenerate, ai.streamText.doStream, ai.generateObject.doGenerate, ai.streamObject.doStream) now use a single unified span op gen_ai.generate_content instead of separate ops like gen_ai.generate_text, gen_ai.stream_text, gen_ai.generate_object, and gen_ai.stream_object.
ref(core): Remove provider-specific AI span attributes in favor of gen_ai attributes in sentry conventions (#20011)
The following provider-specific span attributes have been removed from the OpenAI and Anthropic AI integrations. Use the standardized gen_ai.* equivalents instead:
| Removed attribute | Replacement |
|---|---|
openai.response.id |
gen_ai.response.id |
openai.response.model |
gen_ai.response.model |
openai.usage.prompt_tokens |
gen_ai.usage.input_tokens |
openai.usage.completion_tokens |
gen_ai.usage.output_tokens |
openai.response.timestamp |
(removed, no replacement) |
anthropic.response.timestamp |
(removed, no replacement) |
If you reference these attributes in hooks (e.g. beforeSendTransaction), update them to the gen_ai.* equivalents.
feat(core): Support embeddings in LangChain (#20017)
Adds instrumentation for LangChain embeddings (embedQuery, embedDocuments), creating gen_ai.embeddings spans. In Node.js, embedding classes from @langchain/openai, @langchain/google-genai, @langchain/mistralai, and @langchain/google-vertexai are auto-instrumented. For other runtimes, use the new instrumentLangChainEmbeddings API:
import * as Sentry from '@sentry/cloudflare';
import { OpenAIEmbeddings } from '@langchain/openai';
const embeddings = Sentry.instrumentLangChainEmbeddings(new OpenAIEmbeddings({ model: 'text-embedding-3-small' }));
await embeddings.embedQuery('Hello world');
denoRuntimeMetricsIntegration (#20023)5.2.0 (#20122)sentryOnError (#20120)flags context to error events (#20116)<details> <summary> <strong>Internal Changes</strong> </summary>
tsconfig-template folder (#20067)mshick/add-pr-comment (#20078)ToolLoopAgent (#20087)</details>
| Path | Size |
|---|---|
| @sentry/browser | 25.12 KB |
| @sentry/browser - with treeshaking flags | 23.65 KB |
| @sentry/browser (incl. Tracing) | 41.7 KB |
| @sentry/browser (incl. Tracing, Profiling) | 46.21 KB |
| @sentry/browser (incl. Tracing, Replay) | 79.6 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 69.42 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 84.2 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 96.12 KB |
| @sentry/browser (incl. Feedback) | 41.51 KB |
| @sentry/browser (incl. sendFeedback) | 29.67 KB |
| @sentry/browser (incl. FeedbackAsync) | 34.55 KB |
| @sentry/browser (incl. Metrics) | 26.4 KB |
| @sentry/browser (incl. Logs) | 26.55 KB |
| @sentry/browser (incl. Metrics & Logs) | 27.2 KB |
| @sentry/react | 26.84 KB |
| @sentry/react (incl. Tracing) | 43.96 KB |
| @sentry/vue | 29.84 KB |
| @sentry/vue (incl. Tracing) | 43.51 KB |
| @sentry/svelte | 25.14 KB |
| CDN Bundle | 27.74 KB |
| CDN Bundle (incl. Tracing) | 42.69 KB |
| CDN Bundle (incl. Logs, Metrics) | 29.09 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) | 43.75 KB |
| CDN Bundle (incl. Replay, Logs, Metrics) | 66.99 KB |
| CDN Bundle (incl. Tracing, Replay) | 78.71 KB |
| CDN Bundle (incl. Tracing, Replay, Logs, Metrics) | 79.71 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 84.12 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) | 85.13 KB |
| CDN Bundle - uncompressed | 81.05 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 126.6 KB |
| CDN Bundle (incl. Logs, Metrics) - uncompressed | 85.1 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed | 129.93 KB |
| CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed | 205.2 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 240.74 KB |
| CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed | 244.06 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 253.35 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed | 256.66 KB |
| @sentry/nextjs (client) | 46.33 KB |
| @sentry/sveltekit (client) | 42.15 KB |
| @sentry/node-core | 56.5 KB |
| @sentry/node | 170.69 KB |
| @sentry/node - without tracing | 95.65 KB |
| @sentry/aws-serverless | 112.5 KB |
feat(node-core): Add OTLP integration for node-core/light ([#19729](https://github.com/getsentry/sentry-javascript/pull/19729))
feat(node-core): Add OTLP integration for node-core/light (#19729)
Added otlpIntegration at @sentry/node-core/light/otlp for users who manage
their own OpenTelemetry setup and want to send trace data to Sentry without
adopting the full @sentry/node SDK.
import { NodeTracerProvider } from '@opentelemetry/sdk-trace-node';
import * as Sentry from '@sentry/node-core/light';
import { otlpIntegration } from '@sentry/node-core/light/otlp';
const provider = new NodeTracerProvider();
provider.register();
Sentry.init({
dsn: '__DSN__',
integrations: [
otlpIntegration({
// Export OTel spans to Sentry via OTLP (default: true)
setupOtlpTracesExporter: true,
}),
],
});
The integration links Sentry errors to OTel traces and exports spans to Sentry via OTLP.
feat(node, bun): Add runtime metrics integrations for Node.js and Bun (#19923, #19979)
New nodeRuntimeMetricsIntegration and bunRuntimeMetricsIntegration automatically collect runtime health metrics and send them to Sentry on a configurable interval (default: 30s). Collected metrics include memory (RSS, heap used/total), CPU utilization, event loop utilization, and process uptime. Node additionally collects event loop delay percentiles (p50, p99). Extra metrics like CPU time and external memory are available as opt-in.
// Node.js
import * as Sentry from '@sentry/node';
Sentry.init({
dsn: '...',
integrations: [Sentry.nodeRuntimeMetricsIntegration()],
});
// Bun
import * as Sentry from '@sentry/bun';
Sentry.init({
dsn: '...',
integrations: [Sentry.bunRuntimeMetricsIntegration()],
});
feat(core): Support embedding APIs in google-genai (#19797)
Adds instrumentation for the Google GenAI embedContent API, creating gen_ai.embeddings spans.
feat(browser): Add elementTimingIntegration for tracking element render and load times (#19869)
The new elementTimingIntegration captures Element Timing API data as Sentry metrics. It emits element_timing.render_time and element_timing.load_time distribution metrics for elements annotated with the elementtiming HTML attribute.
import * as Sentry from '@sentry/browser';
Sentry.init({
dsn: '__DSN__',
integrations: [Sentry.browserTracingIntegration(), Sentry.elementTimingIntegration()],
});
<img src="hero.jpg" elementtiming="hero-image" />
sentry-trace and baggage headers on outgoing requests (#19960)<details> <summary> <strong>Internal Changes</strong> </summary>
nodeRuntimeMetricsIntegration (#19989)</details>
| Path | Size |
|---|---|
| @sentry/browser | 25.04 KB |
| @sentry/browser - with treeshaking flags | 23.57 KB |
| @sentry/browser (incl. Tracing) | 41.16 KB |
| @sentry/browser (incl. Tracing, Profiling) | 45.67 KB |
| @sentry/browser (incl. Tracing, Replay) | 79.04 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 68.91 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 83.64 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 95.62 KB |
| @sentry/browser (incl. Feedback) | 41.42 KB |
| @sentry/browser (incl. sendFeedback) | 29.59 KB |
| @sentry/browser (incl. FeedbackAsync) | 34.46 KB |
| @sentry/browser (incl. Metrics) | 26.32 KB |
| @sentry/browser (incl. Logs) | 26.46 KB |
| @sentry/browser (incl. Metrics & Logs) | 27.12 KB |
| @sentry/react | 26.76 KB |
| @sentry/react (incl. Tracing) | 43.44 KB |
| @sentry/vue | 29.37 KB |
| @sentry/vue (incl. Tracing) | 43.02 KB |
| @sentry/svelte | 25.06 KB |
| CDN Bundle | 27.65 KB |
| CDN Bundle (incl. Tracing) | 42.09 KB |
| CDN Bundle (incl. Logs, Metrics) | 28.99 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) | 43.12 KB |
| CDN Bundle (incl. Replay, Logs, Metrics) | 66.87 KB |
| CDN Bundle (incl. Tracing, Replay) | 78.13 KB |
| CDN Bundle (incl. Tracing, Replay, Logs, Metrics) | 79.14 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 83.54 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) | 84.55 KB |
| CDN Bundle - uncompressed | 80.72 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 124.81 KB |
| CDN Bundle (incl. Logs, Metrics) - uncompressed | 84.77 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed | 128.14 KB |
| CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed | 204.87 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 238.95 KB |
| CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed | 242.26 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 251.56 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed | 254.86 KB |
| @sentry/nextjs (client) | 45.79 KB |
| @sentry/sveltekit (client) | 41.62 KB |
| @sentry/node-core | 54.45 KB |
| @sentry/node | 168.93 KB |
| @sentry/node - without tracing | 93.76 KB |
| @sentry/aws-serverless | 110.13 KB |
fix(deps): bump socket.io-parser to 4.2.6 to fix CVE-2026-33151
feat(elysia): @sentry/elysia - Alpha Release (#19509)
New Sentry SDK for the Elysia web framework, supporting both Bun and Node.js runtimes.
Note: This is an alpha release. Please report any issues or feedback on GitHub.
Features
onError hook; 3xx/4xx ignored by default. Customizable with shouldHandleError.GET /users/:id).sentry-trace and baggage headers propagated automatically on incoming/outgoing requests.Usage
import * as Sentry from '@sentry/elysia';
import { Elysia } from 'elysia';
Sentry.init({ dsn: '__DSN__', tracesSampleRate: 1.0 });
const app = Sentry.withElysia(new Elysia());
app.get('/', () => 'Hello World');
app.listen(3000);
ctx argument to Workflow.do user callback (#19891).withResponse() on Anthropic instrumentation (#19935)internal_error as span status for Vercel error spans (#19921)node to nest metadata (#19875)<details> <summary> <strong>Internal Changes</strong> </summary>
file-type dependency (#19824)buildMethodPath utility from openai (#19969)@elysiajs/opentelemetry dependency (#19947)</details>
Work in this release was contributed by @roli-lpci. Thank you for your contributions!
| Path | Size |
|---|---|
| @sentry/browser | 25.08 KB |
| @sentry/browser - with treeshaking flags | 23.6 KB |
| @sentry/browser (incl. Tracing) | 41.67 KB |
| @sentry/browser (incl. Tracing, Profiling) | 46.22 KB |
| @sentry/browser (incl. Tracing, Replay) | 79.57 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 69.4 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 84.15 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 96.1 KB |
| @sentry/browser (incl. Feedback) | 41.48 KB |
| @sentry/browser (incl. sendFeedback) | 29.64 KB |
| @sentry/browser (incl. FeedbackAsync) | 34.57 KB |
| @sentry/browser (incl. Metrics) | 26.33 KB |
| @sentry/browser (incl. Logs) | 26.46 KB |
| @sentry/browser (incl. Metrics & Logs) | 27.13 KB |
| @sentry/react | 26.8 KB |
| @sentry/react (incl. Tracing) | 43.96 KB |
| @sentry/vue | 29.42 KB |
| @sentry/vue (incl. Tracing) | 43.48 KB |
| @sentry/svelte | 25.1 KB |
| CDN Bundle | 27.69 KB |
| CDN Bundle (incl. Tracing) | 42.55 KB |
| CDN Bundle (incl. Logs, Metrics) | 28.54 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) | 43.39 KB |
| CDN Bundle (incl. Replay, Logs, Metrics) | 66.69 KB |
| CDN Bundle (incl. Tracing, Replay) | 78.52 KB |
| CDN Bundle (incl. Tracing, Replay, Logs, Metrics) | 79.4 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 83.96 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) | 84.82 KB |
| CDN Bundle - uncompressed | 80.76 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 125.61 KB |
| CDN Bundle (incl. Logs, Metrics) - uncompressed | 83.56 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed | 128.41 KB |
| CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed | 204.32 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 239.75 KB |
| CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed | 242.53 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 252.36 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed | 255.13 KB |
| @sentry/nextjs (client) | 46.29 KB |
| @sentry/sveltekit (client) | 42.11 KB |
| @sentry/node-core | 55.08 KB |
| @sentry/node | 169.44 KB |
| @sentry/node - without tracing | 94.16 KB |
| @sentry/aws-serverless | 110.78 KB |
feat(elysia): @sentry/elysia - Alpha Release (#19509)
New Sentry SDK for the Elysia web framework, supporting both Bun and Node.js runtimes.
Note: This is an alpha release. Please report any issues or feedback on GitHub.
Features
onError hook; 3xx/4xx ignored by default. Customizable with shouldHandleError.GET /users/:id).sentry-trace and baggage headers propagated automatically on incoming/outgoing requests.Usage
import * as Sentry from '@sentry/elysia';
import { Elysia } from 'elysia';
Sentry.init({ dsn: '__DSN__', tracesSampleRate: 1.0 });
const app = Sentry.withElysia(new Elysia());
app.get('/', () => 'Hello World');
app.listen(3000);
ctx argument to Workflow.do user callback (#19891).withResponse() on Anthropic instrumentation (#19935)internal_error as span status for Vercel error spans (#19921)node to nest metadata (#19875)<details> <summary> <strong>Internal Changes</strong> </summary>
file-type dependency (#19824)buildMethodPath utility from openai (#19969)@elysiajs/opentelemetry dependency (#19947)</details>
Work in this release was contributed by @roli-lpci. Thank you for your contributions!
feat(node): Add nodeRuntimeMetricsIntegration for automatic Node.js runtime metrics (#19923)
The new nodeRuntimeMetricsIntegration automatically collects Node.js runtime health metrics and sends them to Sentry. Eight metrics are emitted by default every 30 seconds: memory (RSS, heap used/total), CPU utilization, event loop delay (p50, p99), event loop utilization, and process uptime. Additional metrics are available as opt-in.
import * as Sentry from '@sentry/node';
Sentry.init({
dsn: '...',
integrations: [Sentry.nodeRuntimeMetricsIntegration()],
});
fix(deps): bump devalue 5.6.3 to 5.6.4 to fix CVE-2026-30226
feat(remix): Server Timing Headers Trace Propagation (#18653)
The Remix SDK now supports automatic trace propagation via Server-Timing response headers to continue pageload traces on the client side.
This means, you no longer have to define a custom meta function to add Sentry <meta> tags to your page as previously.
We'll update out Remix tracing docs after this release.
withSentry (#19836)SpanStatusType for langchain/google-genai (#19863)<details> <summary> <strong>Internal Changes</strong> </summary>
</details>
| Path | Size |
|---|---|
| @sentry/browser | 24.93 KB |
| @sentry/browser - with treeshaking flags | 23.47 KB |
| @sentry/browser (incl. Tracing) | 41.51 KB |
| @sentry/browser (incl. Tracing, Profiling) | 46.07 KB |
| @sentry/browser (incl. Tracing, Replay) | 79.41 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 69.22 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 84 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 95.97 KB |
| @sentry/browser (incl. Feedback) | 41.35 KB |
| @sentry/browser (incl. sendFeedback) | 29.49 KB |
| @sentry/browser (incl. FeedbackAsync) | 34.43 KB |
| @sentry/browser (incl. Metrics) | 26.18 KB |
| @sentry/browser (incl. Logs) | 26.32 KB |
| @sentry/browser (incl. Metrics & Logs) | 26.99 KB |
| @sentry/react | 26.66 KB |
| @sentry/react (incl. Tracing) | 43.81 KB |
| @sentry/vue | 29.29 KB |
| @sentry/vue (incl. Tracing) | 43.34 KB |
| @sentry/svelte | 24.95 KB |
| CDN Bundle | 27.54 KB |
| CDN Bundle (incl. Tracing) | 42.37 KB |
| CDN Bundle (incl. Logs, Metrics) | 28.39 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) | 43.22 KB |
| CDN Bundle (incl. Replay, Logs, Metrics) | 66.52 KB |
| CDN Bundle (incl. Tracing, Replay) | 78.35 KB |
| CDN Bundle (incl. Tracing, Replay, Logs, Metrics) | 79.24 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 83.77 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) | 84.64 KB |
| CDN Bundle - uncompressed | 80.39 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 125.24 KB |
| CDN Bundle (incl. Logs, Metrics) - uncompressed | 83.19 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed | 128.04 KB |
| CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed | 203.92 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 239.35 KB |
| CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed | 242.14 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 251.96 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed | 254.74 KB |
| @sentry/nextjs (client) | 46.17 KB |
| @sentry/sveltekit (client) | 41.95 KB |
| @sentry/node-core | 54.96 KB |
| @sentry/node | 169.14 KB |
| @sentry/node - without tracing | 94 KB |
| @sentry/aws-serverless | 110.61 KB |
Alpha features are still in progress, may have bugs and might include breaking changes. Please reach out on GitHub if you have any feedback or concern…
feat(effect): Add @sentry/effect SDK (Alpha) (#19644)
This release introduces @sentry/effect, a new SDK for Effect.ts applications. The SDK provides Sentry integration via composable Effect layers for both Node.js and browser environments.
Compose the effectLayer with optional tracing, logging, and metrics layers to instrument your Effect application:
import * as Sentry from '@sentry/effect';
import * as Layer from 'effect/Layer';
import * as Logger from 'effect/Logger';
const SentryLive = Layer.mergeAll(
Sentry.effectLayer({ dsn: '__DSN__', tracesSampleRate: 1.0, enableLogs: true }),
Layer.setTracer(Sentry.SentryEffectTracer),
Logger.replace(Logger.defaultLogger, Sentry.SentryEffectLogger),
Sentry.SentryEffectMetricsLayer,
);
Alpha features are still in progress, may have bugs and might include breaking changes. Please reach out on GitHub if you have any feedback or concerns.
feat(astro): Add Astro 6 support (#19745)
This release enables full support for Astro v6 by adjusting our Astro SDK's middleware to some Astro-internal changes. We cannot yet guarantee full support for server-islands, due to a bug in Astro v6 but we'll follow up on this once the bug is fixed.
feat(hono): Add basic instrumentation for Node runtime (#19817)
Adds a new package @sentry/hono/node (alpha) with basic instrumentation for Hono applications running in Node.js.
The Hono middleware for Cloudflare (@sentry/hono/cloudflare - alpha) comes with fixes, and it's now possible to access the Cloudflare Worker Bindings (env) from the options' callback.
Start using the new Hono middlewares by installing @sentry/hono and importing the respective middleware for your runtime.
More instructions can be found in the Hono readme.
Alpha features are still in progress, may have bugs and might include breaking changes. Please reach out on GitHub if you have any feedback or concerns.
feat(nestjs): Instrument @nestjs/bullmq @Processor decorator (#19759)
Automatically capture exceptions and create transactions for BullMQ queue processors in NestJS applications.
When using the @Processor decorator from @nestjs/bullmq, the SDK now automatically wraps the process() method
to create queue.process transactions with proper isolation scopes, preventing breadcrumb and scope leakage between
jobs and HTTP requests. Errors thrown in processors are captured with the auto.queue.nestjs.bullmq mechanism type.
Requires @nestjs/bullmq v10.0.0 or later.
feat(nestjs): Instrument @nestjs/schedule decorators (#19735)
Automatically capture exceptions thrown in @Cron, @Interval, and @Timeout decorated methods.
Previously, exceptions in @Cron methods were only captured if you used the SentryCron decorator. Now they are
captured automatically. The exception mechanism type changed from auto.cron.nestjs.async to
auto.function.nestjs.cron. If you have Sentry queries or alerts that filter on the old mechanism type, update them
accordingly.
feat(node): Expose headersToSpanAttributes option on nativeNodeFetchIntegration() (#19770)
Response headers like http.response.header.content-length were previously captured automatically on outgoing
fetch spans but are now opt-in since @opentelemetry/instrumentation-undici@0.22.0. You can now configure which
headers to capture via the headersToSpanAttributes option.
Sentry.init({
integrations: [
Sentry.nativeNodeFetchIntegration({
headersToSpanAttributes: {
requestHeaders: ['x-custom-header'],
responseHeaders: ['content-length', 'content-type'],
},
}),
],
});
sentry.timestamp.sequence attribute for timestamp tie-breaking (#19421)sendDefaultPii setting in langchain and langgraph in non-node environments (#19813)@nestjs/event-emitter instrumentation (#19725)lastEventId when error is thrown in component render (#19764)<details> <summary> <strong>Internal Changes</strong> </summary>
skill-creator and update managed agent skills (#19713)@sentry/hono alpha release (#19828)"*" (#19756)sdkName for craft (#19736)vite-plugin-federation (#19778)</details>
| Path | Size |
|---|---|
| @sentry/browser | 25.04 KB |
| @sentry/browser - with treeshaking flags | 23.57 KB |
| @sentry/browser (incl. Tracing) | 41.62 KB |
| @sentry/browser (incl. Tracing, Profiling) | 46.17 KB |
| @sentry/browser (incl. Tracing, Replay) | 79.51 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 69.33 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 84.11 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 96.07 KB |
| @sentry/browser (incl. Feedback) | 41.45 KB |
| @sentry/browser (incl. sendFeedback) | 29.6 KB |
| @sentry/browser (incl. FeedbackAsync) | 34.53 KB |
| @sentry/browser (incl. Metrics) | 26.29 KB |
| @sentry/browser (incl. Logs) | 26.43 KB |
| @sentry/browser (incl. Metrics & Logs) | 27.09 KB |
| @sentry/react | 26.75 KB |
| @sentry/react (incl. Tracing) | 43.9 KB |
| @sentry/vue | 29.38 KB |
| @sentry/vue (incl. Tracing) | 43.44 KB |
| @sentry/svelte | 25.06 KB |
| CDN Bundle | 27.62 KB |
| CDN Bundle (incl. Tracing) | 42.49 KB |
| CDN Bundle (incl. Logs, Metrics) | 28.46 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) | 43.32 KB |
| CDN Bundle (incl. Replay, Logs, Metrics) | 66.61 KB |
| CDN Bundle (incl. Tracing, Replay) | 78.45 KB |
| CDN Bundle (incl. Tracing, Replay, Logs, Metrics) | 79.33 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 83.86 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) | 84.74 KB |
| CDN Bundle - uncompressed | 80.69 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 125.55 KB |
| CDN Bundle (incl. Logs, Metrics) - uncompressed | 83.49 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed | 128.35 KB |
| CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed | 204.22 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 239.66 KB |
| CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed | 242.45 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 252.27 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed | 255.05 KB |
| @sentry/nextjs (client) | 46.26 KB |
| @sentry/sveltekit (client) | 42.06 KB |
| @sentry/node-core | 55.03 KB |
| @sentry/node | 169.1 KB |
| @sentry/node - without tracing | 94.09 KB |
| @sentry/aws-serverless | 110.68 KB |
fix(deps): Bump hono to 4.12.5 to fix multiple vulnerabilities
feat(nextjs): Add Turbopack support for React component name annotation (#19604)
We added experimental support for React component name annotation in Turbopack builds. When enabled, JSX elements
are annotated with data-sentry-component, data-sentry-element, and data-sentry-source-file attributes at build
time. This enables searching Replays by component name, seeing component names in breadcrumbs, and performance
monitoring — previously only available with webpack builds.
This feature requires Next.js 16+ and is currently behind an experimental flag:
// next.config.ts
import { withSentryConfig } from '@sentry/nextjs';
export default withSentryConfig(nextConfig, {
_experimental: {
turbopackReactComponentAnnotation: {
enabled: true,
ignoredComponents: ['Header', 'Footer'], // optional
},
},
});
feat(hono): Instrument middlewares app.use() (#19611)
Hono middleware registered via app.use() is now automatically instrumented, creating spans for each middleware invocation.
tracePropagation option to http and fetch integrations (#19712)instrumentDurableObjectStorage (#19662)<details> <summary> <strong>Internal Changes</strong> </summary>
build:dev command (#19586)</details>
Work in this release was contributed by @dmmulroy, @lithdew, and @smorimoto. Thank you for your contributions!
| Path | Size |
|---|---|
| @sentry/browser | 25.04 KB |
| @sentry/browser - with treeshaking flags | 23.57 KB |
| @sentry/browser (incl. Tracing) | 41.45 KB |
| @sentry/browser (incl. Tracing, Profiling) | 46 KB |
| @sentry/browser (incl. Tracing, Replay) | 79.35 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 69.22 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 83.94 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 95.91 KB |
| @sentry/browser (incl. Feedback) | 41.45 KB |
| @sentry/browser (incl. sendFeedback) | 29.6 KB |
| @sentry/browser (incl. FeedbackAsync) | 34.53 KB |
| @sentry/browser (incl. Metrics) | 26.18 KB |
| @sentry/browser (incl. Logs) | 26.31 KB |
| @sentry/browser (incl. Metrics & Logs) | 26.97 KB |
| @sentry/react | 26.75 KB |
| @sentry/react (incl. Tracing) | 43.73 KB |
| @sentry/vue | 29.38 KB |
| @sentry/vue (incl. Tracing) | 43.27 KB |
| @sentry/svelte | 25.06 KB |
| CDN Bundle | 27.52 KB |
| CDN Bundle (incl. Tracing) | 42.26 KB |
| CDN Bundle (incl. Logs, Metrics) | 28.34 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) | 43.08 KB |
| CDN Bundle (incl. Replay, Logs, Metrics) | 66.5 KB |
| CDN Bundle (incl. Tracing, Replay) | 78.27 KB |
| CDN Bundle (incl. Tracing, Replay, Logs, Metrics) | 79.11 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 83.66 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) | 84.51 KB |
| CDN Bundle - uncompressed | 80.45 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 125.09 KB |
| CDN Bundle (incl. Logs, Metrics) - uncompressed | 83.22 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed | 127.86 KB |
| CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed | 203.98 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 239.24 KB |
| CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed | 241.99 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 251.85 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed | 254.59 KB |
| @sentry/nextjs (client) | 46.09 KB |
| @sentry/sveltekit (client) | 41.9 KB |
| @sentry/node-core | 51.04 KB |
| @sentry/node | 170.67 KB |
| @sentry/node - without tracing | 95.14 KB |
| @sentry/aws-serverless | 110.58 KB |
fix(deps): Bump fast-xml-parser to 4.5.4 for CVE-2026-25896
addVitePlugin instead of deprecated vite:extendConfig (#19464)<details> <summary> <strong>Internal Changes</strong> </summary>
</details>
| Path | Size |
|---|---|
| @sentry/browser | 25.02 KB |
| @sentry/browser - with treeshaking flags | 23.57 KB |
| @sentry/browser (incl. Tracing) | 41.44 KB |
| @sentry/browser (incl. Tracing, Profiling) | 45.99 KB |
| @sentry/browser (incl. Tracing, Replay) | 79.35 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 69.21 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 83.93 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 95.91 KB |
| @sentry/browser (incl. Feedback) | 41.44 KB |
| @sentry/browser (incl. sendFeedback) | 29.58 KB |
| @sentry/browser (incl. FeedbackAsync) | 34.52 KB |
| @sentry/browser (incl. Metrics) | 26.17 KB |
| @sentry/browser (incl. Logs) | 26.31 KB |
| @sentry/browser (incl. Metrics & Logs) | 26.96 KB |
| @sentry/react | 26.74 KB |
| @sentry/react (incl. Tracing) | 43.72 KB |
| @sentry/vue | 29.37 KB |
| @sentry/vue (incl. Tracing) | 43.26 KB |
| @sentry/svelte | 25.05 KB |
| CDN Bundle | 27.51 KB |
| CDN Bundle (incl. Tracing) | 42.25 KB |
| CDN Bundle (incl. Logs, Metrics) | 28.33 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) | 43.07 KB |
| CDN Bundle (incl. Replay, Logs, Metrics) | 66.49 KB |
| CDN Bundle (incl. Tracing, Replay) | 78.26 KB |
| CDN Bundle (incl. Tracing, Replay, Logs, Metrics) | 79.1 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 83.65 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) | 84.5 KB |
| CDN Bundle - uncompressed | 80.42 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 125.07 KB |
| CDN Bundle (incl. Logs, Metrics) - uncompressed | 83.19 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed | 127.83 KB |
| CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed | 203.96 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 239.21 KB |
| CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed | 241.96 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 251.82 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed | 254.56 KB |
| @sentry/nextjs (client) | 46.08 KB |
| @sentry/sveltekit (client) | 41.89 KB |
| @sentry/node-core | 51.01 KB |
| @sentry/node | 170.6 KB |
| @sentry/node - without tracing | 95.09 KB |
| @sentry/aws-serverless | 110.53 KB |
fix(deps): Bump transitive rollup deps to patch CVE-2026-27606
feat(core,cloudflare,deno): Add instrumentPostgresJsSql instrumentation (#19566)
Added a new instrumentation helper for the postgres (postgres.js) library, designed for
SDKs that are not based on OpenTelemetry (e.g. Cloudflare, Deno). This wraps a postgres.js sql tagged template instance so that
all queries automatically create Sentry spans.
import postgres from 'postgres';
import * as Sentry from '@sentry/cloudflare'; // or '@sentry/deno'
export default Sentry.withSentry(env => ({ dsn: '__DSN__' }), {
async fetch(request, env, ctx) {
const sql = Sentry.instrumentPostgresJsSql(postgres(env.DATABASE_URL));
// All queries now create Sentry spans
const users = await sql`SELECT * FROM users WHERE id = ${userId}`;
return Response.json(users);
},
});
The instrumentation is available in @sentry/core, @sentry/cloudflare, and @sentry/deno.
feat(nextjs): Add Turbopack support for thirdPartyErrorFilterIntegration (#19542)
We added experimental support for the thirdPartyErrorFilterIntegration with Turbopack builds.
This feature requires Next.js 16+ and is currently behind an experimental flag:
// next.config.ts
import { withSentryConfig } from '@sentry/nextjs';
export default withSentryConfig(nextConfig, {
_experimental: {
turbopackApplicationKey: 'my-app-key',
},
});
Then configure the integration in your client instrumentation file with a matching key:
// instrumentation-client.ts
import * as Sentry from '@sentry/nextjs';
Sentry.init({
integrations: [
Sentry.thirdPartyErrorFilterIntegration({
filterKeys: ['my-app-key'],
behaviour: 'apply-tag-if-exclusively-contains-third-party-frames',
}),
],
});
not: foreign condition in turbopack loaders (#19502)<details> <summary> <strong>Internal Changes</strong> </summary>
dotagents (#19526)AGENTS.md for browser (#19551)AGENTS.md for nextjs (#19556)AGENTS.md (#19521)</details>
Work in this release was contributed by @YevheniiKotyrlo. Thank you for your contribution!
| Path | Size |
|---|---|
| @sentry/browser | 25.02 KB |
| @sentry/browser - with treeshaking flags | 23.57 KB |
| @sentry/browser (incl. Tracing) | 41.44 KB |
| @sentry/browser (incl. Tracing, Profiling) | 45.99 KB |
| @sentry/browser (incl. Tracing, Replay) | 79.35 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 69.21 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 83.93 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 95.91 KB |
| @sentry/browser (incl. Feedback) | 41.44 KB |
| @sentry/browser (incl. sendFeedback) | 29.58 KB |
| @sentry/browser (incl. FeedbackAsync) | 34.52 KB |
| @sentry/browser (incl. Metrics) | 26.17 KB |
| @sentry/browser (incl. Logs) | 26.31 KB |
| @sentry/browser (incl. Metrics & Logs) | 26.96 KB |
| @sentry/react | 26.74 KB |
| @sentry/react (incl. Tracing) | 43.72 KB |
| @sentry/vue | 29.37 KB |
| @sentry/vue (incl. Tracing) | 43.26 KB |
| @sentry/svelte | 25.05 KB |
| CDN Bundle | 27.51 KB |
| CDN Bundle (incl. Tracing) | 42.25 KB |
| CDN Bundle (incl. Logs, Metrics) | 28.33 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) | 43.07 KB |
| CDN Bundle (incl. Replay, Logs, Metrics) | 66.49 KB |
| CDN Bundle (incl. Tracing, Replay) | 78.26 KB |
| CDN Bundle (incl. Tracing, Replay, Logs, Metrics) | 79.1 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 83.65 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) | 84.5 KB |
| CDN Bundle - uncompressed | 80.42 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 125.07 KB |
| CDN Bundle (incl. Logs, Metrics) - uncompressed | 83.19 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed | 127.83 KB |
| CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed | 203.96 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 239.21 KB |
| CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed | 241.96 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 251.82 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed | 254.56 KB |
| @sentry/nextjs (client) | 46.08 KB |
| @sentry/sveltekit (client) | 41.89 KB |
| @sentry/node-core | 51.01 KB |
| @sentry/node | 170.59 KB |
| @sentry/node - without tracing | 95.1 KB |
| @sentry/aws-serverless | 110.53 KB |
This is an internal beta release to test adding traces by timestamp to replay events for EAP trace association: https://github.com/getsentry/sentry-ja
This is an internal beta release to test adding traces by timestamp to replay events for EAP trace association: https://github.com/getsentry/sentry-javascript/pull/18048.
| Path | Size |
|---|---|
| @sentry/browser | 25.02 KB |
| @sentry/browser - with treeshaking flags | 23.56 KB |
| @sentry/browser (incl. Tracing) | 41.44 KB |
| @sentry/browser (incl. Tracing, Profiling) | 45.99 KB |
| @sentry/browser (incl. Tracing, Replay) | 79.43 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 69.27 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 84 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 95.98 KB |
| @sentry/browser (incl. Feedback) | 41.44 KB |
| @sentry/browser (incl. sendFeedback) | 29.58 KB |
| @sentry/browser (incl. FeedbackAsync) | 34.52 KB |
| @sentry/browser (incl. Metrics) | 26.17 KB |
| @sentry/browser (incl. Logs) | 26.3 KB |
| @sentry/browser (incl. Metrics & Logs) | 26.96 KB |
| @sentry/react | 26.74 KB |
| @sentry/react (incl. Tracing) | 43.72 KB |
| @sentry/vue | 29.37 KB |
| @sentry/vue (incl. Tracing) | 43.23 KB |
| @sentry/svelte | 25.05 KB |
| CDN Bundle | 27.51 KB |
| CDN Bundle (incl. Tracing) | 42.24 KB |
| CDN Bundle (incl. Logs, Metrics) | 28.33 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) | 43.07 KB |
| CDN Bundle (incl. Replay, Logs, Metrics) | 66.57 KB |
| CDN Bundle (incl. Tracing, Replay) | 78.33 KB |
| CDN Bundle (incl. Tracing, Replay, Logs, Metrics) | 79.16 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 83.71 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) | 84.56 KB |
| CDN Bundle - uncompressed | 80.42 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 125.06 KB |
| CDN Bundle (incl. Logs, Metrics) - uncompressed | 83.19 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed | 127.83 KB |
| CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed | 204.23 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 239.49 KB |
| CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed | 242.24 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 252.1 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed | 254.84 KB |
| @sentry/nextjs (client) | 46.07 KB |
| @sentry/sveltekit (client) | 41.89 KB |
| @sentry/node-core | 50.97 KB |
| @sentry/node | 170.4 KB |
| @sentry/node - without tracing | 95.06 KB |
| @sentry/aws-serverless | 110.49 KB |
fix(deps): Bump nuxt devDependency to fix CVE-2026-24001
feat(tanstackstart-react): Add global sentry exception middlewares (#19330)
The sentryGlobalRequestMiddleware and sentryGlobalFunctionMiddleware global middlewares capture unhandled exceptions thrown in TanStack Start API routes and server functions. Add them as the first entries in the requestMiddleware and functionMiddleware arrays of createStart():
import { createStart } from '@tanstack/react-start/server';
import { sentryGlobalRequestMiddleware, sentryGlobalFunctionMiddleware } from '@sentry/tanstackstart-react';
export default createStart({
requestMiddleware: [sentryGlobalRequestMiddleware, myRequestMiddleware],
functionMiddleware: [sentryGlobalFunctionMiddleware, myFunctionMiddleware],
});
feat(tanstackstart-react)!: Export Vite plugin from @sentry/tanstackstart-react/vite subpath (#19182)
The sentryTanstackStart Vite plugin is now exported from a dedicated subpath. Update your import:
- import { sentryTanstackStart } from '@sentry/tanstackstart-react';
+ import { sentryTanstackStart } from '@sentry/tanstackstart-react/vite';
fix(node-core): Reduce bundle size by removing apm-js-collab and requiring pino >= 9.10 (#18631)
In order to keep receiving pino logs, you need to update your pino version to >= 9.10, the reason for the support bump is to reduce the bundle size of the node-core SDK in frameworks that cannot tree-shake the apm-js-collab dependency.
fix(browser): Ensure user id is consistently added to sessions (#19341)
Previously, the SDK inconsistently set the user id on sessions, meaning sessions were often lacking proper coupling to the user set for example via Sentry.setUser().
Additionally, the SDK incorrectly skipped starting a new session for the first soft navigation after the pageload.
This patch fixes these issues. As a result, metrics around sessions, like "Crash Free Sessions" or "Crash Free Users" might change.
This could also trigger alerts, depending on your set thresholds and conditions.
We apologize for any inconvenience caused!
While we're at it, if you're using Sentry in a Single Page App or meta framework, you might want to give the new 'page' session lifecycle a try!
This new mode no longer creates a session per soft navigation but continues the initial session until the next hard page refresh.
Check out the docs to learn more!
ref!(gatsby): Drop Gatsby v2 support (#19467)
We drop support for Gatsby v2 (which still relies on webpack 4) for a critical security update in https://github.com/getsentry/sentry-javascript-bundler-plugins/releases/tag/5.0.0
setTheme() to dynamically update feedback widget color scheme (#19430)sourcemaps.filesToDeleteAfterUpload as a top-level option (#19280)ignoreConnectSpans option to postgresIntegration (#19291) isPromiseAllSettledResult with null/undefined array elements (#19346)client.close() (#19371)options if set (#19274)sentry.drop_transaction attribute on spans when skipOpenTelemetrySetup is enabled (#19333)options.rootDir instead of options.srcDir (#19343)<details> <summary><strong>Internal Changes</strong></summary>
defineNitroPlugin wrapper (#19334)lerna.json for prettier (#19288)environment to triage action (#19375)id-token: write permission to triage workflow (#19381)fast-xml-parser (#19433)allowedTools to Claude GitHub action (#19386)triage-issue skill (#19358)triage-issue skill (#19356)num_turns and add script to post summary (#19456)Write and remove rm permission (#19397)Work in this release was contributed by @LudvigHz and @jadengis. Thank you for your contributions!
| Path | Size |
|---|---|
| @sentry/browser | 25.02 KB |
| @sentry/browser - with treeshaking flags | 23.56 KB |
| @sentry/browser (incl. Tracing) | 41.43 KB |
| @sentry/browser (incl. Tracing, Profiling) | 45.98 KB |
| @sentry/browser (incl. Tracing, Replay) | 79.34 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 69.2 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 83.92 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 95.9 KB |
| @sentry/browser (incl. Feedback) | 41.43 KB |
| @sentry/browser (incl. sendFeedback) | 29.58 KB |
| @sentry/browser (incl. FeedbackAsync) | 34.51 KB |
| @sentry/browser (incl. Metrics) | 26.16 KB |
| @sentry/browser (incl. Logs) | 26.3 KB |
| @sentry/browser (incl. Metrics & Logs) | 26.96 KB |
| @sentry/react | 26.73 KB |
| @sentry/react (incl. Tracing) | 43.71 KB |
| @sentry/vue | 29.36 KB |
| @sentry/vue (incl. Tracing) | 43.23 KB |
| @sentry/svelte | 25.04 KB |
| CDN Bundle | 27.5 KB |
| CDN Bundle (incl. Tracing) | 42.24 KB |
| CDN Bundle (incl. Logs, Metrics) | 28.32 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) | 43.06 KB |
| CDN Bundle (incl. Replay, Logs, Metrics) | 66.49 KB |
| CDN Bundle (incl. Tracing, Replay) | 78.25 KB |
| CDN Bundle (incl. Tracing, Replay, Logs, Metrics) | 79.1 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 83.64 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) | 84.5 KB |
| CDN Bundle - uncompressed | 80.41 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 125.06 KB |
| CDN Bundle (incl. Logs, Metrics) - uncompressed | 83.18 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed | 127.82 KB |
| CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed | 203.94 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 239.2 KB |
| CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed | 241.95 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 251.81 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed | 254.55 KB |
| @sentry/nextjs (client) | 46.07 KB |
| @sentry/sveltekit (client) | 41.88 KB |
| @sentry/node-core | 50.95 KB |
| @sentry/node | 169.38 KB |
| @sentry/node - without tracing | 95.04 KB |
| @sentry/aws-serverless | 110.47 KB |
chore(llm): Add skill for fixing security vulnerabilities
feat(tanstackstart-react): Auto-instrument server function middleware (#19001)
The sentryTanstackStart Vite plugin now automatically instruments middleware in createServerFn().middleware([...]) calls. This captures performance data without requiring manual wrapping with wrapMiddlewaresWithSentry().
feat(nextjs): New experimental automatic vercel cron monitoring (#19192)
Setting _experimental.vercelCronMonitoring to true in your Sentry configuration will automatically create Sentry cron monitors for your Vercel Cron Jobs.
Please note that this is an experimental unstable feature and subject to change.
// next.config.ts
export default withSentryConfig(nextConfig, {
_experimental: {
vercelCronMonitoring: true,
},
});
feat(node-core): Add node-core/light (#18502)
This release adds a new light-weight @sentry/node-core/light export to @sentry/node-core. The export acts as a light-weight SDK that does not depend on OpenTelemetry and emits no spans.
Use this SDK when:
It supports error tracking and reporting, logs, metrics, automatic request isolation (requires Node.js 22+) and basic tracing via our Sentry.startSpan* APIs.
Install the SDK by running
npm install @sentry/node-core
and add Sentry at the top of your application's entry file:
import * as Sentry from '@sentry/node-core/light';
Sentry.init({
dsn: '__DSN__',
});
glob in @sentry/react-router (#19162)lazyRouteManifest option to resolve lazy-route names (#19086)flush on empty buffer (#19062)_experiments.enableMetrics references from metrics JSDoc (#19252)@nestjs/platform-express to 11.1.13 (#19206)21.0.1 in @sentry/ember (#19246)captureUnderscoreErrorException captures an exception (#19185)request-handler op. (#18729)debug is disabled (#19095)3.59.2 (#19208)svelte.config.js (#19270)auto.middleware.tanstackstart as middleware trace origin (#19137)shouldPropagateTraceForUrl from opentelemetry to core (#19254)untrack to read route id without invalidation (#19272)<details> <summary><strong>Internal Changes</strong></summary>
seroval alerts (#19150)nextjs-turbo canary tests (#19118)nextjs-t3 to next 15 (#19130)nextjs-turbo into nextjs-15 (#19107)</details>
Work in this release was contributed by @limbonaut and @rfoel. Thank you for your contributions!
| Path | Size |
|---|---|
| @sentry/browser | 24.96 KB |
| @sentry/browser - with treeshaking flags | 23.51 KB |
| @sentry/browser (incl. Tracing) | 41.37 KB |
| @sentry/browser (incl. Tracing, Profiling) | 45.93 KB |
| @sentry/browser (incl. Tracing, Replay) | 79.28 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 69.14 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 83.85 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 95.73 KB |
| @sentry/browser (incl. Feedback) | 41.3 KB |
| @sentry/browser (incl. sendFeedback) | 29.53 KB |
| @sentry/browser (incl. FeedbackAsync) | 34.4 KB |
| @sentry/browser (incl. Metrics) | 26.11 KB |
| @sentry/browser (incl. Logs) | 26.25 KB |
| @sentry/browser (incl. Metrics & Logs) | 26.91 KB |
| @sentry/react | 26.69 KB |
| @sentry/react (incl. Tracing) | 43.67 KB |
| @sentry/vue | 29.31 KB |
| @sentry/vue (incl. Tracing) | 43.18 KB |
| @sentry/svelte | 24.98 KB |
| CDN Bundle | 27.45 KB |
| CDN Bundle (incl. Tracing) | 42.19 KB |
| CDN Bundle (incl. Logs, Metrics) | 28.27 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) | 43 KB |
| CDN Bundle (incl. Replay, Logs, Metrics) | 66.43 KB |
| CDN Bundle (incl. Tracing, Replay) | 78.2 KB |
| CDN Bundle (incl. Tracing, Replay, Logs, Metrics) | 79.05 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 83.5 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) | 84.37 KB |
| CDN Bundle - uncompressed | 80.29 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 124.93 KB |
| CDN Bundle (incl. Logs, Metrics) - uncompressed | 83.06 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed | 127.7 KB |
| CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed | 203.82 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 239.07 KB |
| CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed | 241.83 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 251.57 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed | 254.32 KB |
| @sentry/nextjs (client) | 45.94 KB |
| @sentry/sveltekit (client) | 41.81 KB |
| @sentry/node-core | 50.93 KB |
| @sentry/node | 162.61 KB |
| @sentry/node - without tracing | 91.75 KB |
| @sentry/aws-serverless | 106.89 KB |
This preview release includes updates to our Span Streaming PoC implementation. Use at your own risk.
This preview release includes updates to our Span Streaming PoC implementation. Use at your own risk.
New:
spanStreamingIntegration in Sentry.init.() to opt into span streamingsentry.replay_id attribute is attached to spans started during an active replaysentry.profiler_id attribute is attached to spans started while the continuous profiler is runningspanStreamingIntegration is now exported from CDN bundles supporting tracingKnown issues:
ignoreSpans is not yet appliedUntested:
Browser
Sentry.init({
dsn: '...',
integrations: [
Sentry.browserTracingIntegration(),
Sentry.spanStreamingIntegration(),
]
})
Server (Node)
Sentry.init({
dsn: '...',
traceLifecycle: 'stream',
})
| Path | Size |
|---|---|
| @sentry/browser | 25.93 KB |
| @sentry/browser - with treeshaking flags | 24.43 KB |
| @sentry/browser (incl. Tracing) | 42.78 KB |
| @sentry/browser (incl. Tracing, Profiling) | 47.43 KB |
| @sentry/browser (incl. Tracing, Replay) | 80.71 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 70.51 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 85.27 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 97.17 KB |
| @sentry/browser (incl. Feedback) | 42.23 KB |
| @sentry/browser (incl. sendFeedback) | 30.48 KB |
| @sentry/browser (incl. FeedbackAsync) | 35.33 KB |
| @sentry/browser (incl. Metrics) | 26.87 KB |
| @sentry/browser (incl. Logs) | 27.02 KB |
| @sentry/browser (incl. Metrics & Logs) | 27.66 KB |
| @sentry/react | 27.62 KB |
| @sentry/react (incl. Tracing) | 45.03 KB |
| @sentry/vue | 30.51 KB |
| @sentry/vue (incl. Tracing) | 44.58 KB |
| @sentry/svelte | 25.95 KB |
| CDN Bundle | 28.18 KB |
| CDN Bundle (incl. Tracing) | 44.63 KB |
| CDN Bundle (incl. Logs, Metrics) | 29.01 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) | 45.44 KB |
| CDN Bundle (incl. Replay, Logs, Metrics) | 67.21 KB |
| CDN Bundle (incl. Tracing, Replay) | 80.67 KB |
| CDN Bundle (incl. Tracing, Replay, Logs, Metrics) | 81.53 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 86 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) | 86.84 KB |
| CDN Bundle - uncompressed | 82.31 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 132.71 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed | 135.48 KB |
| CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed | 205.92 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 247.08 KB |
| CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed | 249.84 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 259.58 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed | 262.33 KB |
| @sentry/nextjs (client) | 47.4 KB |
| @sentry/sveltekit (client) | 43.23 KB |
| @sentry/node-core | 51.8 KB |
| @sentry/node | 165.43 KB |
| @sentry/node - without tracing | 94.67 KB |
| @sentry/aws-serverless | 109.55 KB |
feat(tanstackstart-react): Auto-instrument request middleware ([#18989](https://github.com/getsentry/sentry-javascript/pull/18989))
The sentryTanstackStart Vite plugin now automatically instruments middleware arrays in createFileRoute(). This captures performance data without requiring manual wrapping with wrapMiddlewaresWithSentry().
logs.metrics bundle (#19020)replay.logs.metrics bundle (#19021)tracing.replay.logs.metrics bundle (#19039)AggregateErrors as exception groups (#19053)String(key) to fix Symbol conversion error (#18982)<details> <summary><strong>Internal Changes</strong></summary>
next versions 15 and 16 (#19057)</details>
Work in this release was contributed by @harshit078. Thank you for your contribution!
| Path | Size |
|---|---|
| @sentry/browser | 24.73 KB |
| @sentry/browser - with treeshaking flags | 23.27 KB |
| @sentry/browser (incl. Tracing) | 41.16 KB |
| @sentry/browser (incl. Tracing, Profiling) | 45.69 KB |
| @sentry/browser (incl. Tracing, Replay) | 78.87 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 68.76 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 83.46 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 95.37 KB |
| @sentry/browser (incl. Feedback) | 41.06 KB |
| @sentry/browser (incl. sendFeedback) | 29.31 KB |
| @sentry/browser (incl. FeedbackAsync) | 34.19 KB |
| @sentry/browser (incl. Metrics) | 25.81 KB |
| @sentry/browser (incl. Logs) | 25.96 KB |
| @sentry/browser (incl. Metrics & Logs) | 26.61 KB |
| @sentry/react | 26.42 KB |
| @sentry/react (incl. Tracing) | 43.34 KB |
| @sentry/vue | 29.07 KB |
| @sentry/vue (incl. Tracing) | 42.91 KB |
| @sentry/svelte | 24.75 KB |
| CDN Bundle | 27.25 KB |
| CDN Bundle (incl. Tracing) | 41.93 KB |
| CDN Bundle (incl. Logs, Metrics) | 28.07 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) | 42.73 KB |
| CDN Bundle (incl. Replay, Logs, Metrics) | 66.09 KB |
| CDN Bundle (incl. Tracing, Replay) | 77.8 KB |
| CDN Bundle (incl. Tracing, Replay, Logs, Metrics) | 78.65 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 83.13 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) | 84.03 KB |
| CDN Bundle - uncompressed | 79.7 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 124.17 KB |
| CDN Bundle (incl. Logs, Metrics) - uncompressed | 82.47 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed | 126.94 KB |
| CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed | 202.96 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 238.04 KB |
| CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed | 240.8 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 250.54 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed | 253.29 KB |
| @sentry/nextjs (client) | 45.63 KB |
| @sentry/sveltekit (client) | 41.52 KB |
| @sentry/node-core | 50.85 KB |
| @sentry/node | 162.19 KB |
| @sentry/node - without tracing | 91.64 KB |
| @sentry/aws-serverless | 106.79 KB |
feat(core): Introduces a new `Sentry.setConversationId()` API to track multi turn AI conversations across API calls. ([#18909](https://github.com/gets
feat(core): Introduces a new Sentry.setConversationId() API to track multi turn AI conversations across API calls. (#18909)
You can now set a conversation ID that will be automatically applied to spans within that scope. This allows you to link traces from the same conversation together.
import * as Sentry from '@sentry/node';
// Set conversation ID for all subsequent spans
Sentry.setConversationId('conv_abc123');
// All AI spans will now include the gen_ai.conversation.id attribute
await openai.chat.completions.create({...});
This is particularly useful for tracking multiple AI API calls that are part of the same conversation, allowing you to analyze entire conversation flows in Sentry.
The conversation ID is stored on the isolation scope and automatically applied to spans via the new conversationIdIntegration.
feat(tanstackstart-react): Auto-instrument global middleware in sentryTanstackStart Vite plugin (#18844)
The sentryTanstackStart Vite plugin now automatically instruments requestMiddleware and functionMiddleware arrays in createStart(). This captures performance data without requiring manual wrapping.
Auto-instrumentation is enabled by default. To disable it:
// vite.config.ts
sentryTanstackStart({
authToken: process.env.SENTRY_AUTH_TOKEN,
org: 'your-org',
project: 'your-project',
autoInstrumentMiddleware: false,
});
invalid (#18901)AbortError by default on unhandled rejection (#18973)platform to envelope item header (#18954)gen_ai.input.messages.original_length to sentry.sdk_meta.gen_ai.input.messages.original_length (#18970)gen_ai.request.messages to gen_ai.input.messages (#18944)<details> <summary><strong>Internal Changes</strong></summary>
</details>
Work in this release was contributed by @sebws, @harshit078, and @fedetorre. Thank you for your contributions!
| Path | Size |
|---|---|
| @sentry/browser | 24.73 KB |
| @sentry/browser - with treeshaking flags | 23.27 KB |
| @sentry/browser (incl. Tracing) | 41.15 KB |
| @sentry/browser (incl. Tracing, Profiling) | 45.68 KB |
| @sentry/browser (incl. Tracing, Replay) | 78.86 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 68.75 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 83.46 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 95.36 KB |
| @sentry/browser (incl. Feedback) | 41.06 KB |
| @sentry/browser (incl. sendFeedback) | 29.31 KB |
| @sentry/browser (incl. FeedbackAsync) | 34.19 KB |
| @sentry/browser (incl. Metrics) | 25.81 KB |
| @sentry/browser (incl. Logs) | 25.95 KB |
| @sentry/browser (incl. Metrics & Logs) | 26.6 KB |
| @sentry/react | 26.42 KB |
| @sentry/react (incl. Tracing) | 43.33 KB |
| @sentry/vue | 29.07 KB |
| @sentry/vue (incl. Tracing) | 42.9 KB |
| @sentry/svelte | 24.74 KB |
| CDN Bundle | 27.24 KB |
| CDN Bundle (incl. Tracing) | 41.93 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) | 42.73 KB |
| CDN Bundle (incl. Tracing, Replay) | 77.82 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 83.12 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) | 84.01 KB |
| CDN Bundle - uncompressed | 79.69 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 124.16 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed | 126.93 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 238.03 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 250.53 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed | 253.28 KB |
| @sentry/nextjs (client) | 45.63 KB |
| @sentry/sveltekit (client) | 41.51 KB |
| @sentry/node-core | 50.8 KB |
| @sentry/node | 162.16 KB |
| @sentry/node - without tracing | 91.59 KB |
| @sentry/aws-serverless | 106.74 KB |
feat(node): Add Prisma v7 support
db.system.name attribute for database spans (#18902)http.client spans (#18896)<details> <summary><strong>Internal Changes</strong></summary>
</details>
| Path | Size |
|---|---|
| @sentry/browser | 24.61 KB |
| @sentry/browser - with treeshaking flags | 23.15 KB |
| @sentry/browser (incl. Tracing) | 41.04 KB |
| @sentry/browser (incl. Tracing, Profiling) | 45.56 KB |
| @sentry/browser (incl. Tracing, Replay) | 78.74 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 68.63 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 83.32 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 95.24 KB |
| @sentry/browser (incl. Feedback) | 40.94 KB |
| @sentry/browser (incl. sendFeedback) | 29.19 KB |
| @sentry/browser (incl. FeedbackAsync) | 34.07 KB |
| @sentry/browser (incl. Metrics) | 25.69 KB |
| @sentry/browser (incl. Logs) | 25.84 KB |
| @sentry/browser (incl. Metrics & Logs) | 26.48 KB |
| @sentry/react | 26.3 KB |
| @sentry/react (incl. Tracing) | 43.22 KB |
| @sentry/vue | 28.95 KB |
| @sentry/vue (incl. Tracing) | 42.79 KB |
| @sentry/svelte | 24.63 KB |
| CDN Bundle | 27.13 KB |
| CDN Bundle (incl. Tracing) | 41.83 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) | 42.63 KB |
| CDN Bundle (incl. Tracing, Replay) | 77.67 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 82.98 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) | 83.87 KB |
| CDN Bundle - uncompressed | 79.36 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 123.84 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed | 126.61 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 237.64 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 250.14 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed | 252.89 KB |
| @sentry/nextjs (client) | 45.53 KB |
| @sentry/sveltekit (client) | 41.4 KB |
| @sentry/node-core | 50.68 KB |
| @sentry/node | 161.54 KB |
| @sentry/node - without tracing | 91.46 KB |
| @sentry/aws-serverless | 106.6 KB |
feat(tanstackstart-react): Add `sentryTanstackStart` vite plugin to manage automatic source map uploads ([#18712](https://github.com/getsentry/sentry-
feat(tanstackstart-react): Add sentryTanstackStart vite plugin to manage automatic source map uploads (#18712)
You can now configure source maps upload for TanStack Start using the sentryTanstackStart Vite plugin:
// vite.config.ts
import { defineConfig } from 'vite';
import { sentryTanstackStart } from '@sentry/tanstackstart-react';
import { tanstackStart } from '@tanstack/react-start/plugin/vite';
export default defineConfig({
plugins: [
sentryTanstackStart({
authToken: process.env.SENTRY_AUTH_TOKEN,
org: 'your-org',
project: 'your-project',
}),
tanstackStart(),
],
});
tracing.replay.feedback.logs.metrics (#18785)ignored client report event drop reason (#18815)Log exports to browser and node packages (#18857)<details> <summary><strong>Internal Changes</strong></summary>
@sveltejs/kit devDependency to 2.49.5 (#18848)</details>
Work in this release was contributed by @rreckonerr. Thank you for your contribution!
| Path | Size |
|---|---|
| @sentry/browser | 24.52 KB |
| @sentry/browser - with treeshaking flags | 23.06 KB |
| @sentry/browser (incl. Tracing) | 40.88 KB |
| @sentry/browser (incl. Tracing, Profiling) | 45.36 KB |
| @sentry/browser (incl. Tracing, Replay) | 78.58 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 68.51 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 83.18 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 95.09 KB |
| @sentry/browser (incl. Feedback) | 40.85 KB |
| @sentry/browser (incl. sendFeedback) | 29.1 KB |
| @sentry/browser (incl. FeedbackAsync) | 33.97 KB |
| @sentry/browser (incl. Metrics) | 25.6 KB |
| @sentry/browser (incl. Logs) | 25.75 KB |
| @sentry/browser (incl. Metrics & Logs) | 26.39 KB |
| @sentry/react | 26.21 KB |
| @sentry/react (incl. Tracing) | 43.05 KB |
| @sentry/vue | 28.87 KB |
| @sentry/vue (incl. Tracing) | 42.65 KB |
| @sentry/svelte | 24.53 KB |
| CDN Bundle | 27.02 KB |
| CDN Bundle (incl. Tracing) | 41.67 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) | 42.48 KB |
| CDN Bundle (incl. Tracing, Replay) | 77.51 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 82.82 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) | 83.71 KB |
| CDN Bundle - uncompressed | 79.18 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 123.53 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed | 126.3 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 237.33 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 249.83 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed | 252.58 KB |
| @sentry/nextjs (client) | 45.35 KB |
| @sentry/sveltekit (client) | 41.26 KB |
| @sentry/node-core | 50.72 KB |
| @sentry/node | 158.39 KB |
| @sentry/node - without tracing | 91.16 KB |
| @sentry/aws-serverless | 106.3 KB |
feat(core): Add option to enhance the fetch error message ([#18466](https://github.com/getsentry/sentry-javascript/pull/18466))
feat(core): Add option to enhance the fetch error message (#18466)
You can now enable enhanced fetch error messages by setting the enhancedFetchErrorMessage option. When enabled, the SDK will include additional context in fetch error messages to help with debugging.
feat(nextjs): Add routeManifestInjection option to exclude routes from client bundle (#18798)
A new routeManifestInjection option allows you to exclude sensitive routes from being injected into the client bundle.
feat(tanstackstart-react): Add wrapMiddlewaresWithSentry for manual middleware instrumentation (#18680)
You can now wrap your middlewares using wrapMiddlewaresWithSentry, allowing you to trace middleware execution in your TanStack Start application.
import { createMiddleware } from '@tanstack/react-start';
import { wrapMiddlewaresWithSentry } from '@sentry/tanstackstart-react';
const loggingMiddleware = createMiddleware({ type: 'function' }).server(async ({ next }) => {
console.log('Request started');
return next();
});
export const [wrappedLoggingMiddleware] = wrapMiddlewaresWithSentry({ loggingMiddleware });
tracing.logs.metrics (#18784)WeakMap (#18809)<details> <summary><strong>Internal Changes</strong></summary>
withSentryConfig (#18777)</details>
| Path | Size |
|---|---|
| @sentry/browser | 24.52 KB |
| @sentry/browser - with treeshaking flags | 23.06 KB |
| @sentry/browser (incl. Tracing) | 40.88 KB |
| @sentry/browser (incl. Tracing, Profiling) | 45.36 KB |
| @sentry/browser (incl. Tracing, Replay) | 78.58 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 68.51 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 83.17 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 95.08 KB |
| @sentry/browser (incl. Feedback) | 40.85 KB |
| @sentry/browser (incl. sendFeedback) | 29.1 KB |
| @sentry/browser (incl. FeedbackAsync) | 33.97 KB |
| @sentry/browser (incl. Metrics) | 25.6 KB |
| @sentry/browser (incl. Logs) | 25.75 KB |
| @sentry/browser (incl. Metrics & Logs) | 26.39 KB |
| @sentry/react | 26.21 KB |
| @sentry/react (incl. Tracing) | 43.05 KB |
| @sentry/vue | 28.87 KB |
| @sentry/vue (incl. Tracing) | 42.64 KB |
| @sentry/svelte | 24.53 KB |
| CDN Bundle | 26.96 KB |
| CDN Bundle (incl. Tracing) | 41.6 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) | 42.48 KB |
| CDN Bundle (incl. Tracing, Replay) | 77.43 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 82.72 KB |
| CDN Bundle - uncompressed | 78.99 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 123.34 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed | 126.29 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 237.15 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 249.64 KB |
| @sentry/nextjs (client) | 45.34 KB |
| @sentry/sveltekit (client) | 41.25 KB |
| @sentry/node-core | 50.69 KB |
| @sentry/node | 158.35 KB |
| @sentry/node - without tracing | 91.14 KB |
| @sentry/aws-serverless | 106.28 KB |
feat(nextjs): Print Turbopack note for deprecated webpack options
feat(core): Apply scope attributes to metrics (#18738)
You can now set attributes on the SDK's scopes which will be applied to all metrics as long as the respective scopes are active. For the time being, only string, number and boolean attribute values are supported.
Sentry.getGlobalScope().setAttributes({ is_admin: true, auth_provider: 'google' });
Sentry.withScope(scope => {
scope.setAttribute('step', 'authentication');
// scope attributes `is_admin`, `auth_provider` and `step` are added
Sentry.metrics.count('clicks', 1, { attributes: { activeSince: 100 } });
Sentry.metrics.gauge('timeSinceRefresh', 4, { unit: 'hour' });
});
// scope attributes `is_admin` and `auth_provider` are added
Sentry.metrics.count('response_time', 283.33, { unit: 'millisecond' });
feat(tracing): Add Vercel AI SDK v6 support (#18741)
The Sentry SDK now supports the Vercel AI SDK v6. Tracing and error monitoring will work automatically with the new version.
feat(wasm): Add applicationKey option for third-party error filtering (#18762)
Adds support for applying an application key to WASM stack frames that can be then used in the thirdPartyErrorFilterIntegration for detection of first-party code.
Usage:
Sentry.init({
integrations: [
// Integration order matters: wasmIntegration needs to be before thirdPartyErrorFilterIntegration
wasmIntegration({ applicationKey: 'your-custom-application-key' }), ←───┐
thirdPartyErrorFilterIntegration({ │
behaviour: 'drop-error-if-exclusively-contains-third-party-frames', ├─ matching keys
filterKeys: ['your-custom-application-key'] ←─────────────────────────┘
}),
],
});
propagateTraceparent (#18569)ignoreSentryInternalFrames option to thirdPartyErrorFilterIntegration (#18632)isolateTrace option to node-cron instrumentation (#18416)process.on('SIGTERM') for flushing in Vercel functions (#17583)visibilitystate and pagehide listeners (#18581)tunnel in diagnoseSdkConnectivity (#18616)performance.now() from browserPerformanceTimeOrigin fallback (#18715)undefined (#18024)process.argv0 (#18759)setupFastifyErrorHandler argument type (#18620)defaultIntegrations (#18717)msg and err (#18597)resolve dependency (#18618)<details> <summary> <strong>Internal Changes</strong> </summary>
install-bun.js version check and improve upgrade feedback (#18492)@trpc/server and @trpc/client (#18722)@langchain/core (#18720)hoist-non-react-statics package (#18102)getCombinedScopeData helper (#18585)performance.timeOrigin and performance.timing.navigationStart (#18710)browserPerformanceTimeOrigin (#18708)browserPerformanceTimeOrigin reliability check (#18719)serializeAttributes for metric attribute serialization (#18582)isCjs (#18662)</details>
Work in this release was contributed by @G-Rath, @gianpaj, @maximepvrt, @Mohataseem89, @sebws, and @xgedev. Thank you for your contributions!
| Path | Size |
|---|---|
| @sentry/browser | 24.37 KB |
| @sentry/browser - with treeshaking flags | 22.92 KB |
| @sentry/browser (incl. Tracing) | 40.71 KB |
| @sentry/browser (incl. Tracing, Profiling) | 45.19 KB |
| @sentry/browser (incl. Tracing, Replay) | 78.43 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 68.37 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 83 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 94.93 KB |
| @sentry/browser (incl. Feedback) | 40.7 KB |
| @sentry/browser (incl. sendFeedback) | 28.95 KB |
| @sentry/browser (incl. FeedbackAsync) | 33.82 KB |
| @sentry/browser (incl. Metrics) | 25.44 KB |
| @sentry/browser (incl. Logs) | 25.59 KB |
| @sentry/browser (incl. Metrics & Logs) | 26.22 KB |
| @sentry/react | 26.05 KB |
| @sentry/react (incl. Tracing) | 42.9 KB |
| @sentry/vue | 28.72 KB |
| @sentry/vue (incl. Tracing) | 42.5 KB |
| @sentry/svelte | 24.39 KB |
| CDN Bundle | 26.83 KB |
| CDN Bundle (incl. Tracing) | 41.46 KB |
| CDN Bundle (incl. Tracing, Replay) | 77.31 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 82.6 KB |
| CDN Bundle - uncompressed | 78.62 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 122.94 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 236.75 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 249.24 KB |
| @sentry/nextjs (client) | 45.2 KB |
| @sentry/sveltekit (client) | 41.08 KB |
| @sentry/node-core | 50.59 KB |
| @sentry/node | 158.26 KB |
| @sentry/node - without tracing | 91.06 KB |
| @sentry/aws-serverless | 106.2 KB |
fix(cloudflare): Add hono transaction name when error is thrown
implementation field optional (hash routes) (#18564)<details> <summary> <strong>Internal Changes</strong> </summary>
cloudflare-astro e2e test (#18567)</details>
| Path | Size |
|---|---|
| @sentry/browser | 24.24 KB |
| @sentry/browser - with treeshaking flags | 22.77 KB |
| @sentry/browser (incl. Tracing) | 40.62 KB |
| @sentry/browser (incl. Tracing, Profiling) | 45.12 KB |
| @sentry/browser (incl. Tracing, Replay) | 78.3 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 68.28 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 82.88 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 94.83 KB |
| @sentry/browser (incl. Feedback) | 40.57 KB |
| @sentry/browser (incl. sendFeedback) | 28.82 KB |
| @sentry/browser (incl. FeedbackAsync) | 33.7 KB |
| @sentry/react | 25.92 KB |
| @sentry/react (incl. Tracing) | 42.77 KB |
| @sentry/vue | 28.6 KB |
| @sentry/vue (incl. Tracing) | 42.39 KB |
| @sentry/svelte | 24.25 KB |
| CDN Bundle | 26.62 KB |
| CDN Bundle (incl. Tracing) | 41.25 KB |
| CDN Bundle (incl. Tracing, Replay) | 77.1 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 82.44 KB |
| CDN Bundle - uncompressed | 78.18 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 122.47 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 236.27 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 248.74 KB |
| @sentry/nextjs (client) | 44.94 KB |
| @sentry/sveltekit (client) | 40.98 KB |
| @sentry/node-core | 50.4 KB |
| @sentry/node | 157.73 KB |
| @sentry/node - without tracing | 90.87 KB |
| @sentry/aws-serverless | 106.02 KB |
feat(core): Apply scope attributes to logs ([#18184](https://github.com/getsentry/sentry-javascript/pull/18184))
feat(core): Apply scope attributes to logs (#18184)
You can now set attributes on the SDK's scopes which will be applied to all logs as long as the respective scopes are active. For the time being, only string, number and boolean attribute values are supported.
Sentry.getGlobalScope().setAttributes({ is_admin: true, auth_provider: 'google' });
Sentry.withScope(scope => {
scope.setAttribute('step', 'authentication');
// scope attributes `is_admin`, `auth_provider` and `step` are added
Sentry.logger.info(`user ${user.id} logged in`, { activeSince: 100 });
Sentry.logger.info(`updated ${user.id} last activity`);
});
// scope attributes `is_admin` and `auth_provider` are added
Sentry.logger.warn('stale website version, reloading page');
feat(replay): Add Request body with attachRawBodyFromRequest option (#18501)
To attach the raw request body (from Request objects passed as the first fetch argument) to replay events, you can now use the attachRawBodyFromRequest option in the Replay integration:
Sentry.init({
integrations: [
Sentry.replayIntegration({
attachRawBodyFromRequest: true,
}),
],
});
feat(tanstackstart-react): Trace server functions (#18500)
To enable tracing for server-side requests, you can now explicitly define a server entry point in your application and wrap your request handler with wrapFetchWithSentry.
// src/server.ts
import { wrapFetchWithSentry } from '@sentry/tanstackstart-react';
import handler, { createServerEntry } from '@tanstack/react-start/server-entry';
export default createServerEntry(
wrapFetchWithSentry({
fetch(request: Request) {
return handler.fetch(request);
},
}),
);
feat(vue): Add TanStack Router integration (#18547)
The @sentry/vue package now includes support for TanStack Router. Use tanstackRouterBrowserTracingIntegration to automatically instrument pageload and navigation transactions with parameterized routes:
import { createApp } from 'vue';
import { createRouter } from '@tanstack/vue-router';
import * as Sentry from '@sentry/vue';
import { tanstackRouterBrowserTracingIntegration } from '@sentry/vue/tanstackrouter';
const router = createRouter({
// your router config
});
Sentry.init({
app,
dsn: '__PUBLIC_DSN__',
integrations: [tanstackRouterBrowserTracingIntegration(router)],
tracesSampleRate: 1.0,
});
<details> <summary> <strong>Internal Changes</strong> </summary>
http.response_content_length_uncompressed (#18536)</details>
| Path | Size |
|---|---|
| @sentry/browser | 24.24 KB |
| @sentry/browser - with treeshaking flags | 22.77 KB |
| @sentry/browser (incl. Tracing) | 40.62 KB |
| @sentry/browser (incl. Tracing, Profiling) | 45.12 KB |
| @sentry/browser (incl. Tracing, Replay) | 78.3 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 68.28 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 82.88 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 94.82 KB |
| @sentry/browser (incl. Feedback) | 40.56 KB |
| @sentry/browser (incl. sendFeedback) | 28.82 KB |
| @sentry/browser (incl. FeedbackAsync) | 33.7 KB |
| @sentry/react | 25.92 KB |
| @sentry/react (incl. Tracing) | 42.77 KB |
| @sentry/vue | 28.6 KB |
| @sentry/vue (incl. Tracing) | 42.39 KB |
| @sentry/svelte | 24.25 KB |
| CDN Bundle | 26.62 KB |
| CDN Bundle (incl. Tracing) | 41.25 KB |
| CDN Bundle (incl. Tracing, Replay) | 77.1 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 82.44 KB |
| CDN Bundle - uncompressed | 78.18 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 122.47 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 236.27 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 248.74 KB |
| @sentry/nextjs (client) | 44.93 KB |
| @sentry/sveltekit (client) | 40.98 KB |
| @sentry/node-core | 50.4 KB |
| @sentry/node | 157.71 KB |
| @sentry/node - without tracing | 90.87 KB |
| @sentry/aws-serverless | 106.02 KB |
This preview release includes updates to our Span Streaming PoC implementation. Use at your own risk.
This preview release includes updates to our Span Streaming PoC implementation. Use at your own risk.
Sentry.flush-based span buffer for backend SDKs@sentry/node, @sentry/cloudflare, @sentry/deno, @sentry/bun and @sentry/vercel-edgeKnown issues:
ignoreSpans is not yet appliedUntested:
@sentry/browser or @sentry/node. Likely,
data is missing, noisy spans are not filtered, etc.| Path | Size |
|---|---|
| @sentry/browser | 25.21 KB |
| @sentry/browser - with treeshaking flags | 23.74 KB |
| @sentry/browser (incl. Tracing) | 41.8 KB |
| @sentry/browser (incl. Tracing, Profiling) | 46.29 KB |
| @sentry/browser (incl. Tracing, Replay) | 79.57 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 69.36 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 84.13 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 96 KB |
| @sentry/browser (incl. Feedback) | 41.52 KB |
| @sentry/browser (incl. sendFeedback) | 29.77 KB |
| @sentry/browser (incl. FeedbackAsync) | 34.65 KB |
| @sentry/react | 26.89 KB |
| @sentry/react (incl. Tracing) | 43.98 KB |
| @sentry/vue | 29.73 KB |
| @sentry/vue (incl. Tracing) | 43.56 KB |
| @sentry/svelte | 25.23 KB |
| CDN Bundle | 27.49 KB |
| CDN Bundle (incl. Tracing) | 42.39 KB |
| CDN Bundle (incl. Tracing, Replay) | 78.21 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 83.57 KB |
| CDN Bundle - uncompressed | 80.62 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 125.72 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 239.52 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 251.99 KB |
| @sentry/nextjs (client) | 46.12 KB |
| @sentry/sveltekit (client) | 42.21 KB |
| @sentry/node-core | 51.31 KB |
| @sentry/node | 160.53 KB |
| @sentry/node - without tracing | 93.78 KB |
| @sentry/aws-serverless | 108.68 KB |
feat(browser): Add support for GraphQL persisted operations ([#18505](https://github.com/getsentry/sentry-javascript/pull/18505))
The graphqlClientIntegration now supports GraphQL persisted operations (queries). When a persisted query is detected, the integration will capture the operation hash and version as span attributes:
graphql.persisted_query.hash.sha256 - The SHA-256 hash of the persisted querygraphql.persisted_query.version - The version of the persisted query protocolAdditionally, the graphql.document attribute format has changed to align with OpenTelemetry semantic conventions. It now contains only the GraphQL query string instead of the full JSON request payload.
Before:
"graphql.document": "{\"query\":\"query Test { user { id } }\"}"
After:
"graphql.document": "query Test { user { id } }"
propagateTraceparent option (#18476)captureException and captureMessage parameter types (#18521)captureException and captureMessage parameter types (#18509)@sentry/vite-plugin and @sentry/rollup-plugin to 4.6.1 (#18349)fromLocation existence before reporting pageload (#18463)<details> <summary> <strong>Internal Changes</strong> </summary>
</details>
Work in this release was contributed by @sebws and @TBeeren. Thank you for your contributions!
| Path | Size |
|---|---|
| @sentry/browser | 24.23 KB |
| @sentry/browser - with treeshaking flags | 22.76 KB |
| @sentry/browser (incl. Tracing) | 40.58 KB |
| @sentry/browser (incl. Tracing, Profiling) | 45.08 KB |
| @sentry/browser (incl. Tracing, Replay) | 78.1 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 68.07 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 82.67 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 94.62 KB |
| @sentry/browser (incl. Feedback) | 40.54 KB |
| @sentry/browser (incl. sendFeedback) | 28.8 KB |
| @sentry/browser (incl. FeedbackAsync) | 33.68 KB |
| @sentry/react | 25.9 KB |
| @sentry/react (incl. Tracing) | 42.73 KB |
| @sentry/vue | 28.58 KB |
| @sentry/vue (incl. Tracing) | 42.35 KB |
| @sentry/svelte | 24.24 KB |
| CDN Bundle | 26.59 KB |
| CDN Bundle (incl. Tracing) | 41.23 KB |
| CDN Bundle (incl. Tracing, Replay) | 76.9 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 82.23 KB |
| CDN Bundle - uncompressed | 78.15 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 122.44 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 235.75 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 248.21 KB |
| @sentry/nextjs (client) | 44.9 KB |
| @sentry/sveltekit (client) | 40.94 KB |
| @sentry/node-core | 50.39 KB |
| @sentry/node | 157.7 KB |
| @sentry/node - without tracing | 90.85 KB |
| @sentry/aws-serverless | 106 KB |
feat(nextjs): Deprecate Webpack top-level options
<details> <summary> <strong>Internal Changes</strong> </summary>
@sentry/types (#18429)</details>
| Path | Size |
|---|---|
| @sentry/browser | 24.23 KB |
| @sentry/browser - with treeshaking flags | 22.76 KB |
| @sentry/browser (incl. Tracing) | 40.57 KB |
| @sentry/browser (incl. Tracing, Profiling) | 45.06 KB |
| @sentry/browser (incl. Tracing, Replay) | 78.09 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 68.07 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 82.66 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 94.61 KB |
| @sentry/browser (incl. Feedback) | 40.54 KB |
| @sentry/browser (incl. sendFeedback) | 28.8 KB |
| @sentry/browser (incl. FeedbackAsync) | 33.68 KB |
| @sentry/react | 25.9 KB |
| @sentry/react (incl. Tracing) | 42.73 KB |
| @sentry/vue | 28.58 KB |
| @sentry/vue (incl. Tracing) | 42.34 KB |
| @sentry/svelte | 24.24 KB |
| CDN Bundle | 26.6 KB |
| CDN Bundle (incl. Tracing) | 41.24 KB |
| CDN Bundle (incl. Tracing, Replay) | 76.91 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 82.23 KB |
| CDN Bundle - uncompressed | 78.16 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 122.45 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 235.76 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 248.23 KB |
| @sentry/nextjs (client) | 44.89 KB |
| @sentry/sveltekit (client) | 40.94 KB |
| @sentry/node-core | 50.06 KB |
| @sentry/node | 155.85 KB |
| @sentry/node - without tracing | 90.74 KB |
| @sentry/aws-serverless | 105.67 KB |
feat(solid|solidstart): Bump accepted @solidjs/router range ([#18395](https://github.com/getsentry/sentry-javascript/pull/18395))
We expanded the supported version range for @solidjs/router to include 0.14.x and 0.15.x versions.
msg in pino integration (#18389)<details> <summary> <strong>Internal Changes</strong> </summary>
</details>
| Path | Size |
|---|---|
| @sentry/browser | 24.22 KB |
| @sentry/browser - with treeshaking flags | 22.76 KB |
| @sentry/browser (incl. Tracing) | 40.57 KB |
| @sentry/browser (incl. Tracing, Profiling) | 45.05 KB |
| @sentry/browser (incl. Tracing, Replay) | 78.08 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 68.05 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 82.65 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 94.61 KB |
| @sentry/browser (incl. Feedback) | 40.51 KB |
| @sentry/browser (incl. sendFeedback) | 28.8 KB |
| @sentry/browser (incl. FeedbackAsync) | 33.66 KB |
| @sentry/react | 25.9 KB |
| @sentry/react (incl. Tracing) | 42.72 KB |
| @sentry/vue | 28.56 KB |
| @sentry/vue (incl. Tracing) | 42.32 KB |
| @sentry/svelte | 24.24 KB |
| CDN Bundle | 26.57 KB |
| CDN Bundle (incl. Tracing) | 41.22 KB |
| CDN Bundle (incl. Tracing, Replay) | 76.9 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 82.23 KB |
| CDN Bundle - uncompressed | 78.09 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 122.4 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 235.71 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 248.17 KB |
| @sentry/nextjs (client) | 44.88 KB |
| @sentry/sveltekit (client) | 40.92 KB |
| @sentry/node-core | 50.07 KB |
| @sentry/node | 155.79 KB |
| @sentry/node - without tracing | 90.68 KB |
| @sentry/aws-serverless | 105.61 KB |
feat(core): Make `matcher` parameter optional in `makeMultiplexedTransport` ([#10798](https://github.com/getsentry/sentry-javascript/pull/10798))
matcher parameter optional in makeMultiplexedTransport (#10798)The matcher parameter in makeMultiplexedTransport is now optional with a sensible default. This makes it much easier to use the multiplexed transport for sending events to multiple DSNs based on runtime configuration.
Before:
import { makeFetchTransport, makeMultiplexedTransport } from '@sentry/browser';
const EXTRA_KEY = 'ROUTE_TO';
const transport = makeMultiplexedTransport(makeFetchTransport, args => {
const event = args.getEvent();
if (event?.extra?.[EXTRA_KEY] && Array.isArray(event.extra[EXTRA_KEY])) {
return event.extra[EXTRA_KEY];
}
return [];
});
Sentry.init({
transport,
// ... other options
});
// Capture events with routing info
Sentry.captureException(error, {
extra: {
[EXTRA_KEY]: [
{ dsn: 'https://key1@sentry.io/project1', release: 'v1.0.0' },
{ dsn: 'https://key2@sentry.io/project2' },
],
},
});
After:
import { makeFetchTransport, makeMultiplexedTransport, MULTIPLEXED_TRANSPORT_EXTRA_KEY } from '@sentry/browser';
// Just pass the transport generator - the default matcher handles the rest!
Sentry.init({
transport: makeMultiplexedTransport(makeFetchTransport),
// ... other options
});
// Capture events with routing info using the exported constant
Sentry.captureException(error, {
extra: {
[MULTIPLEXED_TRANSPORT_EXTRA_KEY]: [
{ dsn: 'https://key1@sentry.io/project1', release: 'v1.0.0' },
{ dsn: 'https://key2@sentry.io/project2' },
],
},
});
The default matcher looks for routing information in event.extra[MULTIPLEXED_TRANSPORT_EXTRA_KEY]. You can still provide a custom matcher function for advanced use cases.
This release adds support for cacheComponents on turbopack builds. We are working on adding support for this feature in webpack builds as well.
isolateTrace option to Sentry.withMonitor() (#18079)waitUntil detection (#18336)continueTrace doesn't propagate given trace ID if active span exists (#18328)<details> <summary><strong>Internal Changes</strong></summary>
BUGBOT.md rules to flag invalid op and origin values during review (#18352)</details>
| Path | Size |
|---|---|
| @sentry/browser | 24.22 KB |
| @sentry/browser - with treeshaking flags | 22.76 KB |
| @sentry/browser (incl. Tracing) | 40.57 KB |
| @sentry/browser (incl. Tracing, Profiling) | 45.05 KB |
| @sentry/browser (incl. Tracing, Replay) | 78.08 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 68.05 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 82.65 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 94.61 KB |
| @sentry/browser (incl. Feedback) | 40.51 KB |
| @sentry/browser (incl. sendFeedback) | 28.8 KB |
| @sentry/browser (incl. FeedbackAsync) | 33.66 KB |
| @sentry/react | 25.9 KB |
| @sentry/react (incl. Tracing) | 42.72 KB |
| @sentry/vue | 28.56 KB |
| @sentry/vue (incl. Tracing) | 42.32 KB |
| @sentry/svelte | 24.24 KB |
| CDN Bundle | 26.57 KB |
| CDN Bundle (incl. Tracing) | 41.22 KB |
| CDN Bundle (incl. Tracing, Replay) | 76.9 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 82.23 KB |
| CDN Bundle - uncompressed | 78.09 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 122.4 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 235.71 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 248.17 KB |
| @sentry/nextjs (client) | 44.88 KB |
| @sentry/sveltekit (client) | 40.92 KB |
| @sentry/node-core | 50.06 KB |
| @sentry/node | 155.7 KB |
| @sentry/node - without tracing | 90.67 KB |
| @sentry/aws-serverless | 105.61 KB |
This release is a preview release for sending spans in browser via spanV2 instead of transaction event envelopes. All of this is experimental and subj
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.
Changes from 10.24-alpha.1:
sentry.segment.id common span attributeuser.username to user.nameis_remote, add is_segment span attributesspan.kind field| Path | Size |
|---|---|
| @sentry/browser | 24.33 KB |
| @sentry/browser - with treeshaking flags | 22.85 KB |
| @sentry/browser (incl. Tracing) | 40.97 KB |
| @sentry/browser (incl. Tracing, Profiling) | 45.45 KB |
| @sentry/browser (incl. Tracing, Replay) | 78.51 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 68.45 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 83.09 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 95.02 KB |
| @sentry/browser (incl. Feedback) | 40.65 KB |
| @sentry/browser (incl. sendFeedback) | 28.91 KB |
| @sentry/browser (incl. FeedbackAsync) | 33.73 KB |
| @sentry/react | 26 KB |
| @sentry/react (incl. Tracing) | 43.13 KB |
| @sentry/vue | 28.97 KB |
| @sentry/vue (incl. Tracing) | 42.73 KB |
| @sentry/svelte | 24.34 KB |
| CDN Bundle | 26.65 KB |
| CDN Bundle (incl. Tracing) | 41.48 KB |
| CDN Bundle (incl. Tracing, Replay) | 77.16 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 82.48 KB |
| CDN Bundle - uncompressed | 78.21 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 123.49 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 236.8 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 249.27 KB |
| @sentry/nextjs (client) | 45.3 KB |
| @sentry/sveltekit (client) | 41.33 KB |
| @sentry/node-core | 50.12 KB |
| @sentry/node | 155.97 KB |
| @sentry/node - without tracing | 90.8 KB |
| @sentry/aws-serverless | 105.68 KB |
feat(browserprofiling): Add `manual` mode and deprecate old profiling ([#18189](https://github.com/getsentry/sentry-javascript/pull/18189))
feat(deps): Bump OpenTelemetry (#18239)
feat(browserprofiling): Add manual mode and deprecate old profiling (#18189)
Adds the manual lifecycle mode for UI profiling (the default mode), allowing profiles to be captured manually with Sentry.uiProfiler.startProfiler() and Sentry.uiProfiler.stopProfiler().
The previous transaction-based profiling is with profilesSampleRate is now deprecated in favor of the new UI Profiling with profileSessionSampleRate.
gibibyte and pebibyte to InformationUnit type (#18241)_experiments.enableLogs option (#18299)maxValueLength on error messages (#18301)sendDefaultPii (#18311)beforeSendMetric (#18261)<details>
<summary> <strong>Internal Changes</strong> </summary>
- build(deps): bump hono from 4.9.7 to 4.10.3 in /dev-packages/e2e-tests/test-applications/cloudflare-hono (#18038)
- chore: Add bump_otel_instrumentations cursor command (#18253)
- chore: Add external contributor to CHANGELOG.md (#18297)
- chore: Add external contributor to CHANGELOG.md (#18300)
- chore: Do not update opentelemetry (#18254)
- chore(angular): Add Angular 21 Support (#18274)
- chore(deps): bump astro from 4.16.18 to 5.15.9 in /dev-packages/e2e-tests/test-applications/cloudflare-astro (#18259)
- chore(dev-deps): Update some dev dependencies (#17816)
- ci(deps): Bump actions/create-github-app-token from 2.1.1 to 2.1.4 (#17825)
- ci(deps): bump actions/setup-node from 4 to 6 (#18077)
- ci(deps): bump actions/upload-artifact from 4 to 5 (#18075)
- ci(deps): bump github/codeql-action from 3 to 4 (#18076)
- doc(sveltekit): Update documentation link for SvelteKit guide (#18298)
- test(e2e): Fix astro config in test app (#18282)
- test(nextjs): Remove debug logs from e2e test (#18250)
</details>
Work in this release was contributed by @bignoncedric and @adam-kov. Thank you for your contributions!
| Path | Size |
|---|---|
| @sentry/browser | 24.22 KB |
| @sentry/browser - with treeshaking flags | 22.76 KB |
| @sentry/browser (incl. Tracing) | 40.57 KB |
| @sentry/browser (incl. Tracing, Profiling) | 45.05 KB |
| @sentry/browser (incl. Tracing, Replay) | 78.08 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 68.05 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 82.65 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 94.61 KB |
| @sentry/browser (incl. Feedback) | 40.51 KB |
| @sentry/browser (incl. sendFeedback) | 28.8 KB |
| @sentry/browser (incl. FeedbackAsync) | 33.62 KB |
| @sentry/react | 25.9 KB |
| @sentry/react (incl. Tracing) | 42.71 KB |
| @sentry/vue | 28.56 KB |
| @sentry/vue (incl. Tracing) | 42.32 KB |
| @sentry/svelte | 24.24 KB |
| CDN Bundle | 26.53 KB |
| CDN Bundle (incl. Tracing) | 41.18 KB |
| CDN Bundle (incl. Tracing, Replay) | 76.85 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 82.18 KB |
| CDN Bundle - uncompressed | 77.97 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 122.28 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 235.6 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 248.06 KB |
| @sentry/nextjs (client) | 44.88 KB |
| @sentry/sveltekit (client) | 40.92 KB |
| @sentry/node-core | 49.99 KB |
| @sentry/node | 155.51 KB |
| @sentry/node - without tracing | 90.65 KB |
| @sentry/aws-serverless | 105.54 KB |
ref(react-router): Deprecate ErrorBoundary exports
Adds support for instrumenting LangGraph StateGraph operations in Node. The LangGraph integration can be configured as follows:
Sentry.init({
dsn: '__DSN__',
sendDefaultPii: false, // Even with PII disabled globally
integrations: [
Sentry.langGraphIntegration({
recordInputs: true, // Force recording input messages
recordOutputs: true, // Force recording response text
}),
],
});
Instrumentation for LangGraph in Cloudflare Workers and Vercel Edge environments is supported by manually calling instrumentLangGraph:
import * as Sentry from '@sentry/cloudflare'; // or '@sentry/vercel-edge'
import { StateGraph, START, END, MessagesAnnotation } from '@langchain/langgraph';
// Create and instrument the graph
const graph = new StateGraph(MessagesAnnotation)
.addNode('agent', agentFn)
.addEdge(START, 'agent')
.addEdge('agent', END);
Sentry.instrumentLangGraph(graph, {
recordInputs: true,
recordOutputs: true,
});
const compiled = graph.compile({ name: 'weather_assistant' });
await compiled.invoke({
messages: [{ role: 'user', content: 'What is the weather in SF?' }],
});
server.address attribute on server runtimes (#18242)ok status to successful idleSpans (#18139)fetch support with data URL (#18225)captureConsoleIntegration (#18096)MAX_LOG_BUFFER_SIZE are not swallowed (#18207)MAX_METRIC_BUFFER_SIZE are not swallowed (#18212)VNode objects with high normalizeDepth (#18206)tracingChannel export missing in older node versions (#18191)<details> <summary> <strong>Internal Changes</strong> </summary>
@embroider/addon-shim to 1.10.0 for the e2e ember-embroider (#18173)testTimeout field in bundler-tests vitest config@embroider/addon-shim override (#18180)Scope.setTag bundle size and adjust test (#18182)</details>
| Path | Size |
|---|---|
| @sentry/browser | 24.04 KB |
| @sentry/browser - with treeshaking flags | 22.59 KB |
| @sentry/browser (incl. Tracing) | 40.4 KB |
| @sentry/browser (incl. Tracing, Profiling) | 44.62 KB |
| @sentry/browser (incl. Tracing, Replay) | 77.95 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 67.89 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 82.52 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 94.46 KB |
| @sentry/browser (incl. Feedback) | 40.32 KB |
| @sentry/browser (incl. sendFeedback) | 28.61 KB |
| @sentry/browser (incl. FeedbackAsync) | 33.41 KB |
| @sentry/react | 25.7 KB |
| @sentry/react (incl. Tracing) | 42.3 KB |
| @sentry/vue | 28.43 KB |
| @sentry/vue (incl. Tracing) | 42.16 KB |
| @sentry/svelte | 24.07 KB |
| CDN Bundle | 26.32 KB |
| CDN Bundle (incl. Tracing) | 40.96 KB |
| CDN Bundle (incl. Tracing, Replay) | 76.66 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 81.99 KB |
| CDN Bundle - uncompressed | 77.1 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 121.42 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 234.73 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 247.19 KB |
| @sentry/nextjs (client) | 44.66 KB |
| @sentry/sveltekit (client) | 40.78 KB |
| @sentry/node-core | 49.76 KB |
| @sentry/node | 155.53 KB |
| @sentry/node - without tracing | 90.65 KB |
| @sentry/aws-serverless | 104.08 KB |
feat(browser): Include Spotlight in development bundles
maxCacheKeyLength to Redis integration (remove truncation) (#18045)<details> <summary> <strong>Internal Changes</strong> </summary>
| Path | Size |
|---|---|
| @sentry/browser | 24.02 KB |
| @sentry/browser - with treeshaking flags | 22.54 KB |
| @sentry/browser (incl. Tracing) | 40.26 KB |
| @sentry/browser (incl. Tracing, Profiling) | 44.44 KB |
| @sentry/browser (incl. Tracing, Replay) | 77.83 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 67.75 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 82.41 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 94.3 KB |
| @sentry/browser (incl. Feedback) | 40.3 KB |
| @sentry/browser (incl. sendFeedback) | 28.58 KB |
| @sentry/browser (incl. FeedbackAsync) | 33.39 KB |
| @sentry/react | 25.66 KB |
| @sentry/react (incl. Tracing) | 42.17 KB |
| @sentry/vue | 28.39 KB |
| @sentry/vue (incl. Tracing) | 41.99 KB |
| @sentry/svelte | 24.03 KB |
| CDN Bundle | 26.26 KB |
| CDN Bundle (incl. Tracing) | 40.8 KB |
| CDN Bundle (incl. Tracing, Replay) | 76.46 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 81.81 KB |
| CDN Bundle - uncompressed | 76.99 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 121.03 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 234.35 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 246.81 KB |
| @sentry/nextjs (client) | 44.25 KB |
| @sentry/sveltekit (client) | 40.64 KB |
| @sentry/node-core | 49.57 KB |
| @sentry/node | 154.14 KB |
| @sentry/node - without tracing | 90.47 KB |
| @sentry/aws-serverless | 103.91 KB |
Metric options within _experiments got deprecated but will still work as of now, they will be removed with the next major version of our SDKs.
feat(metrics): Add top level option enableMetrics and beforeSendMetric (#18088)
This PR moves enableMetrics and beforeSendMetric out of the _experiments options.
The metrics feature will now be enabled by default (none of our integrations will auto-emit metrics as of now), but you can disable sending metrics via enableMetrics: false.
Metric options within _experiments got deprecated but will still work as of now, they will be removed with the next major version of our SDKs.
SENTRY_LAYER_EXTENSION to configure using the lambda layer extension via env variables (#18101)background-image when blockAllMedia is enabled (#18019)<details> <summary> <strong>Internal Changes</strong> </summary>
| Path | Size |
|---|---|
| @sentry/browser | 24.02 KB |
| @sentry/browser - with treeshaking flags | 22.54 KB |
| @sentry/browser (incl. Tracing) | 40.26 KB |
| @sentry/browser (incl. Tracing, Profiling) | 44.43 KB |
| @sentry/browser (incl. Tracing, Replay) | 77.83 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 67.75 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 82.42 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 94.3 KB |
| @sentry/browser (incl. Feedback) | 40.3 KB |
| @sentry/browser (incl. sendFeedback) | 28.58 KB |
| @sentry/browser (incl. FeedbackAsync) | 33.39 KB |
| @sentry/react | 25.68 KB |
| @sentry/react (incl. Tracing) | 42.2 KB |
| @sentry/vue | 28.39 KB |
| @sentry/vue (incl. Tracing) | 41.99 KB |
| @sentry/svelte | 24.03 KB |
| CDN Bundle | 26.26 KB |
| CDN Bundle (incl. Tracing) | 40.79 KB |
| CDN Bundle (incl. Tracing, Replay) | 76.46 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 81.81 KB |
| CDN Bundle - uncompressed | 77 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 121.06 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 234.37 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 246.83 KB |
| @sentry/nextjs (client) | 44.25 KB |
| @sentry/sveltekit (client) | 40.63 KB |
| @sentry/node-core | 49.57 KB |
| @sentry/node | 154.12 KB |
| @sentry/node - without tracing | 90.46 KB |
| @sentry/aws-serverless | 103.91 KB |
feat(core): Send user-agent header with envelope requests in server SDKs
user-agent header with envelope requests in server SDKs (#17929)maxValueLength: 250 (#18043)options parameter optional on attachErrorHandler (#18072)internal_error instead of unknown_error (#17909)<details> <summary> <strong>Internal Changes</strong> </summary>
</details>
Work in this release was contributed by @hanseo0507. Thank you for your contribution!
| Path | Size |
|---|---|
| @sentry/browser | 24.06 KB |
| @sentry/browser - with treeshaking flags | 22.58 KB |
| @sentry/browser (incl. Tracing) | 40.29 KB |
| @sentry/browser (incl. Tracing, Profiling) | 44.47 KB |
| @sentry/browser (incl. Tracing, Replay) | 77.64 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 67.58 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 82.23 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 94.12 KB |
| @sentry/browser (incl. Feedback) | 40.34 KB |
| @sentry/browser (incl. sendFeedback) | 28.62 KB |
| @sentry/browser (incl. FeedbackAsync) | 33.44 KB |
| @sentry/react | 25.71 KB |
| @sentry/react (incl. Tracing) | 42.23 KB |
| @sentry/vue | 28.45 KB |
| @sentry/vue (incl. Tracing) | 42.04 KB |
| @sentry/svelte | 24.07 KB |
| CDN Bundle | 26.27 KB |
| CDN Bundle (incl. Tracing) | 40.82 KB |
| CDN Bundle (incl. Tracing, Replay) | 76.24 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 81.6 KB |
| CDN Bundle - uncompressed | 77.04 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 121.1 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 233.6 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 246.06 KB |
| @sentry/nextjs (client) | 44.3 KB |
| @sentry/sveltekit (client) | 40.69 KB |
| @sentry/node-core | 49.62 KB |
| @sentry/node | 154.18 KB |
| @sentry/node - without tracing | 90.52 KB |
| @sentry/aws-serverless | 103.93 KB |
feat(node): Instrument cloud functions for firebase v2 ([#17952](https://github.com/getsentry/sentry-javascript/pull/17952))
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
}),
],
});
err (#17999)/ when getting pathname (#17985)spanEnd for potentially cancelled lazy-route transactions (#17962)<details> <summary> <strong>Internal Changes</strong> </summary>
getMetaTagTransformer tests for Vitest compatibility (#18013)createHashRouter (#17789)</details>
| 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 |
feat(browserProfiling): Add `trace` lifecycle mode for UI profiling ([#17619](https://github.com/getsentry/sentry-javascript/pull/17619))
feat(browserProfiling): Add trace lifecycle mode for UI profiling (#17619)
Adds a new trace lifecycle mode for UI profiling, allowing profiles to be captured for the duration of a trace. A manual mode 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.
onRequestSpanEnd hook to browser tracing integration (#17884)clean-css (#17979)<details> <summary> <strong>Internal Changes</strong> </summary>
</details>
Work in this release was contributed by @0xbad0c0d3. Thank you for your contribution!
| 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 |
This release is a preview release for sending spans in browser via spanV2 instead of transaction event envelopes. All of this is experimental and subj
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.
@sentry/browser| 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 |
This release is a preview release for sending spans in browser via spanV2 instead of transaction event envelopes. All of this is experimental and subj
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.
| 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 |
feat(flags): Add Growthbook integration ([#17440](https://github.com/getsentry/sentry-javascript/pull/17440))
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.
pino logger name (#17930)POP guard for long-running pageload spans (#17867)<details>
<summary> <strong>Internal Changes</strong> </summary>
</details>
Work in this release was contributed by @seoyeon9888, @madhuchavva and @thedanchez . Thank you for your contributions!
| 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 |
feat(tracemetrics): Add trace metrics behind an experiments flag
<details> <summary> <strong>Internal Changes</strong> </summary>
</details>
| 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 |
feat(node): `pino` integration ([#17584](https://github.com/getsentry/sentry-javascript/pull/17584))
feat(node): pino integration (#17584)
This release adds a new pino integration for Node.js, enabling Sentry to capture logs from the Pino logging library.
feat: Remove @sentry/pino-transport package (#17851)
The @sentry/pino-transport package has been removed. Please use the new pino integration in @sentry/node instead.
feat(node-core): Extend onnhandledrejection with ignore errors option (#17736)
Added support for selectively suppressing specific errors with configurable logging control in onnhandledrejection integration.
sentry.client.config.ts in nuxt app types (#17830)OriginalHandleRequest with middleware (#17870)<details> <summary> <strong>Internal Changes</strong> </summary>
</details>
Work in this release was contributed by @stefanvanderwolf. 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.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 |
feat(nuxt): Implement server middleware instrumentation ([#17796](https://github.com/getsentry/sentry-javascript/pull/17796))
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_proxy into account when choosing
useLayerExtension default (#17817)
The default setting for useLayerExtension now considers the http_proxy environment variable.
When http_proxy is set, useLayerExtension will be off by default.
If you use a http_proxy but would still like to make use of the Sentry Lambda extension, exempt localhost in a no_proxy environment variable.
beforeSendSpan (#17815)<details> <summary> <strong>Internal Changes</strong> </summary>
</details>
| 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 |
feat(logs): Add internal replay_is_buffering flag
replay_is_buffering flag (#17752)instrumentAnthropicAiClient breaking MessageStream api (#17754)<details> <summary> <strong>Internal Changes</strong> </summary>
publish_release command (#17797)import-in-the-middle when building the Lambda layer (#17780)import-in-the-middle@1.14.2 due to @vercel/nft incompatibility (#17777)" (#17784)import-in-the-middle@1.14.2 due to @vercel/nft incompatibility (#17777)</details>
feat(cloudflare): Add honoIntegration with error-filtering function ([#17743](https://github.com/getsentry/sentry-javascript/pull/17743))
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)<details> <summary> <strong>Internal Changes</strong> </summary>
@typescript-eslint/no-unnecessary-type-assertion rule (#17728)es2020 everywhere (#17709)</details>
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 |
feat(cloudflare,vercel-edge): Add support for Google Gen AI instrumentation ([#17723](https://github.com/getsentry/sentry-javascript/pull/17723))
feat(cloudflare,vercel-edge): Add support for Google Gen AI instrumentation (#17723)
The SDK now supports manually instrumenting Google's Generative AI operations in Cloudflare Workers and Vercel Edge Runtime environments, providing insights into your AI operations. You can use const wrappedClient = Sentry.instrumentGoogleGenAIClient(genAiClient) to get an instrumented client.
WeakRef when storing it on spans (#17712)<details> <summary> <strong>Internal Changes</strong> </summary>
</details>
| Path | Size |
|---|---|
| @sentry/browser | 23.69 KB |
| @sentry/browser - with treeshaking flags | 22.24 KB |
| @sentry/browser (incl. Tracing) | 39.46 KB |
| @sentry/browser (incl. Tracing, Replay) | 76.93 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 66.84 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 81.49 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 93.41 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.38 KB |
| @sentry/vue | 28.11 KB |
| @sentry/vue (incl. Tracing) | 41.22 KB |
| @sentry/svelte | 23.72 KB |
| CDN Bundle | 25.17 KB |
| CDN Bundle (incl. Tracing) | 39.3 KB |
| CDN Bundle (incl. Tracing, Replay) | 74.66 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 80.04 KB |
| CDN Bundle - uncompressed | 73.6 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 116.34 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 228.76 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 241.23 KB |
| @sentry/nextjs (client) | 43.36 KB |
| @sentry/sveltekit (client) | 39.87 KB |
| @sentry/node-core | 48.85 KB |
| @sentry/node | 148.68 KB |
| @sentry/node - without tracing | 89.79 KB |
| @sentry/aws-serverless | 102.92 KB |
feat(browser): Add option to explicitly end pageload span via `reportPageLoaded()` ([#17697](https://github.com/getsentry/sentry-javascript/pull/17697
feat(browser): Add option to explicitly end pageload span via reportPageLoaded() (#17697)
With this release you can take manual control of ending the pageload span. Usually this span is ended automatically by the SDK, based on a period of inactivity after the initial page was loaded in the browser. If you want full control over the pageload duration, you can tell Sentry, when your page was fully loaded:
Sentry.init({
//...
integrations: [
// 1. Enable manual pageload reporting
Sentry.browserTracingIntegration({ enableReportPageLoaded: true }),
],
});
// 2. Whenever you decide the page is loaded, call:
Sentry.reportPageLoaded();
Note that if Sentry.reportPageLoaded() is not called within 30 seconds of the initial pageload (or whatever value the finalTimeout option is set to), the pageload span will be ended automatically.
feat(core,node): Add instrumentation for GoogleGenerativeAI (#17625)
The SDK now automatically instruments the @google/generative-ai package to provide insights into your AI operations.
feat(nextjs): Promote useRunAfterProductionCompileHook to non-experimental build option (#17721)
The useRunAfterProductionCompileHook option is no longer experimental and is now a stable build option for Next.js projects.
feat(nextjs): Use afterProductionCompile hook for webpack builds (#17655)
Next.js projects using webpack can opt-in to use the useRunAfterProductionCompileHook hook for source map uploads.
feat(nextjs): Flip default value for useRunAfterProductionCompileHook for Turbopack builds (#17722)
The useRunAfterProductionCompileHook option is now enabled by default for Turbopack builds, enabling automated source map uploads.
feat(node): Do not drop 300 and 304 status codes by default (#17686)
HTTP transactions with 300 and 304 status codes are now captured by default, providing better visibility into redirect and caching behavior.
onSuccess to handleCallbackErrors (#17679)consoleLoggingIntegration (#17703)os context (#17720)thirdPartyErrorFilterIntegration (#17693)this context for vercel AI instrumentation (#17681)<details> <summary> <strong>Internal Changes</strong> </summary>
reportPageLoaded (#17724)getTestMatrix (#17673)SyncPromise where not needed (#17641)ignoreSpans (#17692)module_metadata assignment and cleanup functions (#17696)HandleDocumentRequestFunction (#17680)</details>
Work in this release was contributed by @Olexandr88. Thank you for your contribution!
| Path | Size |
|---|---|
| @sentry/browser | 23.66 KB |
| @sentry/browser - with treeshaking flags | 22.21 KB |
| @sentry/browser (incl. Tracing) | 39.39 KB |
| @sentry/browser (incl. Tracing, Replay) | 76.88 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 66.78 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 81.44 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 93.35 KB |
| @sentry/browser (incl. Feedback) | 39.99 KB |
| @sentry/browser (incl. sendFeedback) | 28.2 KB |
| @sentry/browser (incl. FeedbackAsync) | 33 KB |
| @sentry/react | 25.33 KB |
| @sentry/react (incl. Tracing) | 41.32 KB |
| @sentry/vue | 28.05 KB |
| @sentry/vue (incl. Tracing) | 41.15 KB |
| @sentry/svelte | 23.68 KB |
| CDN Bundle | 25.14 KB |
| CDN Bundle (incl. Tracing) | 39.22 KB |
| CDN Bundle (incl. Tracing, Replay) | 74.59 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 79.96 KB |
| CDN Bundle - uncompressed | 73.46 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 116.1 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 228.53 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 240.99 KB |
| @sentry/nextjs (client) | 43.3 KB |
| @sentry/sveltekit (client) | 39.81 KB |
| @sentry/node-core | 48.81 KB |
| @sentry/node | 148.62 KB |
| @sentry/node - without tracing | 89.73 KB |
| @sentry/aws-serverless | 102.86 KB |
Your coding agent can read these notes before it upgrades. Set up the MCP server →