NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #2545 most downloaded on npm
Types for all Sentry JavaScript SDKs
Last release 2 days ago
02 Oct 2026
Ships on a steady schedule
a new release about every 2 weeks
Nearly every release is documented
notes for 60 of the last 60 stable releases
1 version withdrawn
withdrawn after publishing
8 years old
679 releases · first in 2018
fix(nextjs|sveltekit): Ensure we can pass browserTracingIntegration
browserTracingIntegration (#11765)fix(ember/v7): Do not create rendering spans without transaction
feat: Export pluggable integrations from SDK packages
One column per quarter.
Instead of installing @sentry/integrations, you can now import the pluggable integrations directly from your SDK
package:
// Before
import * as Sentry fromv '@sentry/browser';
import { dedupeIntegration } from '@sentry/integrations';
Sentry.init({
integrations: [dedupeIntegration()],
});
// After
import * as Sentry from '@sentry/browser';
Sentry.init({
integrations: [Sentry.dedupeIntegration()],
});
Note that only the functional integrations (e.g. xxxIntegration()) are re-exported.
| Path | Size |
|---|---|
| @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) | 80.72 KB |
| @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) | 71.69 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) | 75.91 KB |
| @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) | 65.32 KB |
| @sentry/browser (incl. Tracing) - Webpack (gzipped) | 35.62 KB |
| @sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) | 35.5 KB |
| @sentry/browser (incl. Feedback) - Webpack (gzipped) | 31.57 KB |
| @sentry/browser (incl. sendFeedback) - Webpack (gzipped) | 31.58 KB |
| @sentry/browser - Webpack (gzipped) | 22.78 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) | 78.9 KB |
| @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) | 70.27 KB |
| @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) | 36.02 KB |
| @sentry/browser - ES6 CDN Bundle (gzipped) | 25.28 KB |
| @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) | 221.25 KB |
| @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) | 109.01 KB |
| @sentry/browser - ES6 CDN Bundle (minified & uncompressed) | 75.79 KB |
| @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) | 39.3 KB |
| @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) | 72.18 KB |
| @sentry/react - Webpack (gzipped) | 22.81 KB |
| @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) | 90.01 KB |
| @sentry/nextjs Client - Webpack (gzipped) | 54.15 KB |
| @sentry-internal/feedback - Webpack (gzipped) | 17.32 KB |
feat(core): Add server.address to browser http.client spans
server.address to browser http.client spans (#11663)browserTracingIntegration (#11647)| Path | Size |
|---|---|
| @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) | 80.71 KB |
| @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) | 71.68 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) | 75.7 KB |
| @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) | 65.31 KB |
| @sentry/browser (incl. Tracing) - Webpack (gzipped) | 35.62 KB |
| @sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) | 35.5 KB |
| @sentry/browser (incl. Feedback) - Webpack (gzipped) | 31.57 KB |
| @sentry/browser (incl. sendFeedback) - Webpack (gzipped) | 31.58 KB |
| @sentry/browser - Webpack (gzipped) | 22.78 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) | 78.89 KB |
| @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) | 70.25 KB |
| @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) | 36.02 KB |
| @sentry/browser - ES6 CDN Bundle (gzipped) | 25.27 KB |
| @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) | 221.21 KB |
| @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) | 109.01 KB |
| @sentry/browser - ES6 CDN Bundle (minified & uncompressed) | 75.79 KB |
| @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) | 39.3 KB |
| @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) | 72.17 KB |
| @sentry/react - Webpack (gzipped) | 22.81 KB |
| @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) | 90 KB |
| @sentry/nextjs Client - Webpack (gzipped) | 54.15 KB |
| @sentry-internal/feedback - Webpack (gzipped) | 17.32 KB |
fix(nextjs): Fix tunnelRoute matching logic for hybrid cloud
tunnelRoute matching logic for hybrid cloud (#11577)| Path | Size |
|---|---|
| @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) | 80.58 KB |
| @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) | 71.55 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) | 75.57 KB |
| @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) | 65.18 KB |
| @sentry/browser (incl. Tracing) - Webpack (gzipped) | 35.49 KB |
| @sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) | 35.37 KB |
| @sentry/browser (incl. Feedback) - Webpack (gzipped) | 31.57 KB |
| @sentry/browser (incl. sendFeedback) - Webpack (gzipped) | 31.58 KB |
| @sentry/browser - Webpack (gzipped) | 22.78 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) | 78.76 KB |
| @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) | 70.12 KB |
| @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) | 35.9 KB |
| @sentry/browser - ES6 CDN Bundle (gzipped) | 25.27 KB |
| @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) | 220.72 KB |
| @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) | 108.53 KB |
| @sentry/browser - ES6 CDN Bundle (minified & uncompressed) | 75.79 KB |
| @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) | 39.17 KB |
| @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) | 72.03 KB |
| @sentry/react - Webpack (gzipped) | 22.81 KB |
| @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) | 89.87 KB |
| @sentry/nextjs Client - Webpack (gzipped) | 54.01 KB |
| @sentry-internal/feedback - Webpack (gzipped) | 17.32 KB |
This release deprecates the Hub class, as well as the addRequestDataToTransaction method. The trpcMiddleware method is no longer on the Handlers expor…
You can now use a interactionsSampleRate to control the sample rate of INP spans. interactionsSampleRate is applied
on top of the global tracesSampleRate. Therefore if interactionsSampleRate is 0.5 and tracesSampleRate is 0.1,
then the actual sample rate for interactions is 0.05.
Sentry.init({
tracesSampleRate: 0.1,
integrations: [
Sentry.browserTracingIntegration({
interactionsSampleRate: 0.5,
}),
],
});
This release deprecates the Hub class, as well as the addRequestDataToTransaction method. The trpcMiddleware
method is no longer on the Handlers export, but instead is a standalone export.
Please see the detailed Migration docs on how to migrate to the new APIs.
trpcMiddleware (#11389)Hub class (#11528)Hub interface (#11530)addRequestDataToTransaction (#11368)OPTIONS and HEAD request. (#11485)statsd to metric_bucket (#11505)| Path | Size |
|---|---|
| @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) | 80.58 KB |
| @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) | 71.55 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) | 75.57 KB |
| @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) | 65.18 KB |
| @sentry/browser (incl. Tracing) - Webpack (gzipped) | 35.49 KB |
| @sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) | 35.37 KB |
| @sentry/browser (incl. Feedback) - Webpack (gzipped) | 31.57 KB |
| @sentry/browser (incl. sendFeedback) - Webpack (gzipped) | 31.58 KB |
| @sentry/browser - Webpack (gzipped) | 22.78 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) | 78.76 KB |
| @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) | 70.12 KB |
| @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) | 35.9 KB |
| @sentry/browser - ES6 CDN Bundle (gzipped) | 25.27 KB |
| @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) | 220.72 KB |
| @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) | 108.53 KB |
| @sentry/browser - ES6 CDN Bundle (minified & uncompressed) | 75.79 KB |
| @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) | 39.17 KB |
| @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) | 72.03 KB |
| @sentry/react - Webpack (gzipped) | 22.81 KB |
| @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) | 89.87 KB |
| @sentry/nextjs Client - Webpack (gzipped) | 54.01 KB |
| @sentry-internal/feedback - Webpack (gzipped) | 17.32 KB |
This release deprecates some exports from the @sentry/replay package. These exports have been moved to the browser SDK (or related framework SDKs like…
This release deprecates some exports from the @sentry/replay package. These exports have been moved to the browser SDK
(or related framework SDKs like @sentry/react).
rrweb to 2.12.0 (#11317)@sentry/replay exports (#11242)Work in this release contributed by @soerface. Thank you for your contribution!
| Path | Size |
|---|---|
| @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) | 80.48 KB |
| @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) | 71.47 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) | 75.49 KB |
| @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) | 65.11 KB |
| @sentry/browser (incl. Tracing) - Webpack (gzipped) | 35.41 KB |
| @sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) | 35.29 KB |
| @sentry/browser (incl. Feedback) - Webpack (gzipped) | 31.52 KB |
| @sentry/browser (incl. sendFeedback) - Webpack (gzipped) | 31.53 KB |
| @sentry/browser - Webpack (gzipped) | 22.74 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) | 78.59 KB |
| @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) | 69.97 KB |
| @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) | 35.77 KB |
| @sentry/browser - ES6 CDN Bundle (gzipped) | 25.17 KB |
| @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) | 220.31 KB |
| @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) | 108.12 KB |
| @sentry/browser - ES6 CDN Bundle (minified & uncompressed) | 75.48 KB |
| @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) | 39 KB |
| @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) | 71.97 KB |
| @sentry/react - Webpack (gzipped) | 22.77 KB |
| @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) | 89.81 KB |
| @sentry/nextjs Client - Webpack (gzipped) | 53.95 KB |
| @sentry-internal/feedback - Webpack (gzipped) | 17.3 KB |
This release fixes issues with Time to First Byte (TTFB) calculation in the SDK that was introduced with 7.95.0. It also fixes some bugs with Interact
This release fixes issues with Time to First Byte (TTFB) calculation in the SDK that was introduced with 7.95.0. It
also fixes some bugs with Interaction to First Paint (INP) instrumentation. This may impact your Sentry Performance
Score calculation.
ResizeObserver and googletag default filters (#11210)cron (#11225)sampled type on Transaction (#11146)Work in this release contributed by @quisido and @joshkel. Thank you for your contributions!
| Path | Size |
|---|---|
| @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) | 80.45 KB |
| @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) | 71.47 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) | 75.47 KB |
| @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) | 65.1 KB |
| @sentry/browser (incl. Tracing) - Webpack (gzipped) | 35.4 KB |
| @sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) | 35.29 KB |
| @sentry/browser (incl. Feedback) - Webpack (gzipped) | 31.49 KB |
| @sentry/browser (incl. sendFeedback) - Webpack (gzipped) | 31.5 KB |
| @sentry/browser - Webpack (gzipped) | 22.74 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) | 78.55 KB |
| @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) | 69.97 KB |
| @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) | 35.77 KB |
| @sentry/browser - ES6 CDN Bundle (gzipped) | 25.17 KB |
| @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) | 220.29 KB |
| @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) | 108.1 KB |
| @sentry/browser - ES6 CDN Bundle (minified & uncompressed) | 75.48 KB |
| @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) | 38.99 KB |
| @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) | 71.96 KB |
| @sentry/react - Webpack (gzipped) | 22.77 KB |
| @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) | 89.81 KB |
| @sentry/nextjs Client - Webpack (gzipped) | 53.95 KB |
| @sentry-internal/feedback - Webpack (gzipped) | 17.28 KB |
This release fixes issues with INP instrumentation with the Next.js SDK and adds support for the enableInp option in the deprecated BrowserTracing int…
This release fixes issues with INP instrumentation with the Next.js SDK and adds support for the enableInp option in
the deprecated BrowserTracing integration for backwards compatibility.
handled value in ErrorBoundary depending on fallback [v7] (#11037)| Path | Size |
|---|---|
| @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) | 79.95 KB |
| @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) | 71.06 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) | 75.04 KB |
| @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) | 64.7 KB |
| @sentry/browser (incl. Tracing) - Webpack (gzipped) | 35.02 KB |
| @sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) | 34.9 KB |
| @sentry/browser (incl. Feedback) - Webpack (gzipped) | 31.44 KB |
| @sentry/browser (incl. sendFeedback) - Webpack (gzipped) | 31.45 KB |
| @sentry/browser - Webpack (gzipped) | 22.68 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) | 78.18 KB |
| @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) | 69.57 KB |
| @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) | 35.34 KB |
| @sentry/browser - ES6 CDN Bundle (gzipped) | 25.11 KB |
| @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) | 219.07 KB |
| @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) | 106.88 KB |
| @sentry/browser - ES6 CDN Bundle (minified & uncompressed) | 75.38 KB |
| @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) | 38.62 KB |
| @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) | 71.53 KB |
| @sentry/react - Webpack (gzipped) | 22.71 KB |
| @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) | 89.35 KB |
| @sentry/nextjs Client - Webpack (gzipped) | 53.51 KB |
| @sentry-internal/feedback - Webpack (gzipped) | 17.28 KB |
fix(nextjs/v7): Use passthrough createReduxEnhancer on server
createReduxEnhancer on server (#11010)| Path | Size |
|---|---|
| @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) | 78.71 KB |
| @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) | 69.87 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) | 73.83 KB |
| @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) | 63.48 KB |
| @sentry/browser (incl. Tracing) - Webpack (gzipped) | 33.84 KB |
| @sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) | 34.88 KB |
| @sentry/browser (incl. Feedback) - Webpack (gzipped) | 31.44 KB |
| @sentry/browser (incl. sendFeedback) - Webpack (gzipped) | 31.45 KB |
| @sentry/browser - Webpack (gzipped) | 22.68 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) | 76.98 KB |
| @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) | 68.4 KB |
| @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) | 34.2 KB |
| @sentry/browser - ES6 CDN Bundle (gzipped) | 25.11 KB |
| @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) | 215.54 KB |
| @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) | 103.35 KB |
| @sentry/browser - ES6 CDN Bundle (minified & uncompressed) | 75.38 KB |
| @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) | 37.38 KB |
| @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) | 70.25 KB |
| @sentry/react - Webpack (gzipped) | 22.71 KB |
| @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) | 89.13 KB |
| @sentry/nextjs Client - Webpack (gzipped) | 53.3 KB |
| @sentry-internal/feedback - Webpack (gzipped) | 17.28 KB |
fix(core): Undeprecate setTransactionName
tunnelRoute option (#10958)setTransactionNameglobal (#10925)AttachmentType and use for envelope attachment_type property (#10946)Work in this release contributed by @jessezhang91 and @bfontaine. Thank you for your contributions!
| Path | Size |
|---|---|
| @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) | 78.71 KB |
| @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) | 69.87 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) | 73.83 KB |
| @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) | 63.48 KB |
| @sentry/browser (incl. Tracing) - Webpack (gzipped) | 33.84 KB |
| @sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) | 34.88 KB |
| @sentry/browser (incl. Feedback) - Webpack (gzipped) | 31.44 KB |
| @sentry/browser (incl. sendFeedback) - Webpack (gzipped) | 31.45 KB |
| @sentry/browser - Webpack (gzipped) | 22.68 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) | 76.98 KB |
| @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) | 68.4 KB |
| @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) | 34.2 KB |
| @sentry/browser - ES6 CDN Bundle (gzipped) | 25.11 KB |
| @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) | 215.54 KB |
| @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) | 103.35 KB |
| @sentry/browser - ES6 CDN Bundle (minified & uncompressed) | 75.38 KB |
| @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) | 37.38 KB |
| @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) | 70.25 KB |
| @sentry/react - Webpack (gzipped) | 22.71 KB |
| @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) | 89.13 KB |
| @sentry/nextjs Client - Webpack (gzipped) | 53.3 KB |
| @sentry-internal/feedback - Webpack (gzipped) | 17.28 KB |
feat: Ensure `withActiveSpan` is exported everywhere
withActiveSpan is exported everywhere (#10877)You can use the withActiveSpan method to ensure a certain span is the active span in a given callback. This can be
used to create a span as a child of a specific span with the startSpan API methods:
const parentSpan = Sentry.startInactiveSpan({ name: 'parent' });
if (parentSpan) {
withActiveSpan(parentSpan, () => {
// This will be a direct child of parentSpan
const childSpan = Sentry.startInactiveSpan({ name: 'child' });
});
}
| Path | Size |
|---|---|
| @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) | 78.71 KB |
| @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) | 69.87 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) | 73.83 KB |
| @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) | 63.48 KB |
| @sentry/browser (incl. Tracing) - Webpack (gzipped) | 33.84 KB |
| @sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) | 34.88 KB |
| @sentry/browser (incl. Feedback) - Webpack (gzipped) | 31.44 KB |
| @sentry/browser (incl. sendFeedback) - Webpack (gzipped) | 31.45 KB |
| @sentry/browser - Webpack (gzipped) | 22.68 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) | 76.98 KB |
| @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) | 68.4 KB |
| @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) | 34.2 KB |
| @sentry/browser - ES6 CDN Bundle (gzipped) | 25.11 KB |
| @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) | 215.54 KB |
| @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) | 103.35 KB |
| @sentry/browser - ES6 CDN Bundle (minified & uncompressed) | 75.38 KB |
| @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) | 37.37 KB |
| @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) | 70.25 KB |
| @sentry/react - Webpack (gzipped) | 22.71 KB |
| @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) | 89.1 KB |
| @sentry/nextjs Client - Webpack (gzipped) | 53.28 KB |
| @sentry-internal/feedback - Webpack (gzipped) | 17.28 KB |
feat(performance): create Interaction standalone spans on inp events
This release adds support for the INP web vital. This is currently only supported for Saas Sentry, and product support
is released with the upcoming 24.3.0 release of self-hosted.
To opt-in to this feature, you can use the enableInp option in the browserTracingIntegration:
Sentry.init({
integrations: [
Sentry.browserTracingIntegration({
enableInp: true,
});
]
})
nodeProfilingIntegration (#10864)errorHandler for replayCanvas integration (#10796)| Path | Size |
|---|---|
| @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) | 78.71 KB |
| @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) | 69.87 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) | 73.83 KB |
| @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) | 63.48 KB |
| @sentry/browser (incl. Tracing) - Webpack (gzipped) | 33.84 KB |
| @sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) | 34.88 KB |
| @sentry/browser (incl. Feedback) - Webpack (gzipped) | 31.44 KB |
| @sentry/browser (incl. sendFeedback) - Webpack (gzipped) | 31.45 KB |
| @sentry/browser - Webpack (gzipped) | 22.68 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) | 76.96 KB |
| @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) | 68.38 KB |
| @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) | 34.18 KB |
| @sentry/browser - ES6 CDN Bundle (gzipped) | 25.09 KB |
| @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) | 215.47 KB |
| @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) | 103.28 KB |
| @sentry/browser - ES6 CDN Bundle (minified & uncompressed) | 75.32 KB |
| @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) | 37.35 KB |
| @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) | 70.25 KB |
| @sentry/react - Webpack (gzipped) | 22.71 KB |
| @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) | 89.1 KB |
| @sentry/nextjs Client - Webpack (gzipped) | 53.28 KB |
| @sentry-internal/feedback - Webpack (gzipped) | 17.28 KB |
feat(core): Allow to pass `forceTransaction` to `startSpan()` APIs
forceTransaction to startSpan() APIs (#10819)You can now pass forceTransaction: true to startSpan(), startSpanManual() and startInactiveSpan(). This allows
you to start a span that you want to be a transaction, if possible. Under the hood, the SDK will connect this span to
the running active span (if there is one), but still send the new span as a transaction to the Sentry backend, if
possible, ensuring it shows up as a transaction throughout the system.
Please note that setting this to true does not guarantee that this will be sent as a transaction, but that the SDK
will try to do so. You can enable this flag if this span is important to you and you want to ensure that you can see it
in the Sentry UI.
| Path | Size |
|---|---|
| @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) | 78.54 KB |
| @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) | 69.76 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) | 73.7 KB |
| @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) | 63.38 KB |
| @sentry/browser (incl. Tracing) - Webpack (gzipped) | 33.73 KB |
| @sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) | 33.64 KB |
| @sentry/browser (incl. Feedback) - Webpack (gzipped) | 31.38 KB |
| @sentry/browser (incl. sendFeedback) - Webpack (gzipped) | 31.39 KB |
| @sentry/browser - Webpack (gzipped) | 22.66 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) | 76.78 KB |
| @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) | 68.28 KB |
| @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) | 34.08 KB |
| @sentry/browser - ES6 CDN Bundle (gzipped) | 25.06 KB |
| @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) | 215.17 KB |
| @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) | 102.96 KB |
| @sentry/browser - ES6 CDN Bundle (minified & uncompressed) | 75.27 KB |
| @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) | 37.25 KB |
| @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) | 70.14 KB |
| @sentry/react - Webpack (gzipped) | 22.69 KB |
| @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) | 87.86 KB |
| @sentry/nextjs Client - Webpack (gzipped) | 52.05 KB |
| @sentry-internal/feedback - Webpack (gzipped) | 17.24 KB |
fix(performance): Fixes latest route name and source for interactions not updating properly on navigation
window.location (#10659)@remix-run/router a dependency (v7) (#10779)| Path | Size |
|---|---|
| @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) | 78.43 KB |
| @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) | 69.66 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) | 73.6 KB |
| @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) | 63.28 KB |
| @sentry/browser (incl. Tracing) - Webpack (gzipped) | 33.62 KB |
| @sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) | 33.54 KB |
| @sentry/browser (incl. Feedback) - Webpack (gzipped) | 31.38 KB |
| @sentry/browser (incl. sendFeedback) - Webpack (gzipped) | 31.39 KB |
| @sentry/browser - Webpack (gzipped) | 22.66 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) | 76.72 KB |
| @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) | 68.21 KB |
| @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) | 34.03 KB |
| @sentry/browser - ES6 CDN Bundle (gzipped) | 25.05 KB |
| @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) | 214.99 KB |
| @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) | 102.78 KB |
| @sentry/browser - ES6 CDN Bundle (minified & uncompressed) | 75.08 KB |
| @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) | 37.19 KB |
| @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) | 70.03 KB |
| @sentry/react - Webpack (gzipped) | 22.69 KB |
| @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) | 87.75 KB |
| @sentry/nextjs Client - Webpack (gzipped) | 51.95 KB |
| @sentry-internal/feedback - Webpack (gzipped) | 17.24 KB |
fix(core): Fix scope capturing via captureContext function
captureContext function (#10737)| Path | Size |
|---|---|
| @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) | 78.43 KB |
| @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) | 69.66 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) | 73.6 KB |
| @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) | 63.28 KB |
| @sentry/browser (incl. Tracing) - Webpack (gzipped) | 33.62 KB |
| @sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) | 33.5 KB |
| @sentry/browser (incl. Feedback) - Webpack (gzipped) | 31.38 KB |
| @sentry/browser (incl. sendFeedback) - Webpack (gzipped) | 31.39 KB |
| @sentry/browser - Webpack (gzipped) | 22.66 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) | 76.72 KB |
| @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) | 68.21 KB |
| @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) | 34.03 KB |
| @sentry/browser - ES6 CDN Bundle (gzipped) | 25.05 KB |
| @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) | 214.99 KB |
| @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) | 102.78 KB |
| @sentry/browser - ES6 CDN Bundle (minified & uncompressed) | 75.08 KB |
| @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) | 37.19 KB |
| @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) | 70.03 KB |
| @sentry/react - Webpack (gzipped) | 22.69 KB |
| @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) | 87.7 KB |
| @sentry/nextjs Client - Webpack (gzipped) | 51.89 KB |
| @sentry-internal/feedback - Webpack (gzipped) | 17.24 KB |
In version 7.101.0 the @sentry/hub package was missing due to a publishing issue. This release contains the package again.
In version 7.101.0 the @sentry/hub package was missing due to a publishing issue. This release contains the package
again.
webpack:// prefix more broadly from source map sources field (#10641)| Path | Size |
|---|---|
| @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) | 78.42 KB |
| @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) | 69.65 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) | 73.58 KB |
| @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) | 63.26 KB |
| @sentry/browser (incl. Tracing) - Webpack (gzipped) | 33.6 KB |
| @sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) | 33.48 KB |
| @sentry/browser (incl. Feedback) - Webpack (gzipped) | 31.37 KB |
| @sentry/browser (incl. sendFeedback) - Webpack (gzipped) | 31.38 KB |
| @sentry/browser - Webpack (gzipped) | 22.64 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) | 76.69 KB |
| @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) | 68.18 KB |
| @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) | 34.01 KB |
| @sentry/browser - ES6 CDN Bundle (gzipped) | 25 KB |
| @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) | 214.8 KB |
| @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) | 102.6 KB |
| @sentry/browser - ES6 CDN Bundle (minified & uncompressed) | 74.89 KB |
| @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) | 37.14 KB |
| @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) | 70.01 KB |
| @sentry/react - Webpack (gzipped) | 22.67 KB |
| @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) | 87.68 KB |
| @sentry/nextjs Client - Webpack (gzipped) | 51.87 KB |
| @sentry-internal/feedback - Webpack (gzipped) | 17.22 KB |
feat(core): Deprecate the Hub constructor
Hub constructor (#10584)getReplay utility function (#10510)exports field to package.json (#10569)| Path | Size |
|---|---|
| @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) | 78.42 KB |
| @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) | 69.65 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) | 73.58 KB |
| @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) | 63.26 KB |
| @sentry/browser (incl. Tracing) - Webpack (gzipped) | 33.6 KB |
| @sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) | 33.48 KB |
| @sentry/browser (incl. Feedback) - Webpack (gzipped) | 31.37 KB |
| @sentry/browser (incl. sendFeedback) - Webpack (gzipped) | 31.38 KB |
| @sentry/browser - Webpack (gzipped) | 22.64 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) | 76.69 KB |
| @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) | 68.18 KB |
| @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) | 34.01 KB |
| @sentry/browser - ES6 CDN Bundle (gzipped) | 25 KB |
| @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) | 214.8 KB |
| @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) | 102.6 KB |
| @sentry/browser - ES6 CDN Bundle (minified & uncompressed) | 74.89 KB |
| @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) | 37.14 KB |
| @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) | 70.01 KB |
| @sentry/react - Webpack (gzipped) | 22.67 KB |
| @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) | 87.68 KB |
| @sentry/nextjs Client - Webpack (gzipped) | 51.87 KB |
| @sentry-internal/feedback - Webpack (gzipped) | 17.22 KB |
This release contains build fixes for profiling-node.
This release contains build fixes for profiling-node.
| Path | Size |
|---|---|
| @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) | 78.33 KB |
| @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) | 69.57 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) | 73.49 KB |
| @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) | 63.17 KB |
| @sentry/browser (incl. Tracing) - Webpack (gzipped) | 33.52 KB |
| @sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) | 33.39 KB |
| @sentry/browser (incl. Feedback) - Webpack (gzipped) | 31.37 KB |
| @sentry/browser (incl. sendFeedback) - Webpack (gzipped) | 31.37 KB |
| @sentry/browser - Webpack (gzipped) | 22.63 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) | 76.36 KB |
| @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) | 67.9 KB |
| @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) | 33.66 KB |
| @sentry/browser - ES6 CDN Bundle (gzipped) | 24.73 KB |
| @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) | 214.07 KB |
| @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) | 101.87 KB |
| @sentry/browser - ES6 CDN Bundle (minified & uncompressed) | 74.26 KB |
| @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) | 36.8 KB |
| @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) | 69.93 KB |
| @sentry/react - Webpack (gzipped) | 22.67 KB |
| @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) | 87.54 KB |
| @sentry/nextjs Client - Webpack (gzipped) | 51.72 KB |
| @sentry-internal/feedback - Webpack (gzipped) | 17.22 KB |
This release includes some deprecations. For more details please look at our migration guide.
This release includes some deprecations. For more details please look at our migration guide.
The deprecation most likely to affect you is the one of BrowserTracing. Instead of new BrowserTracing(), you should
now use browserTracingIntegration(), which will also handle framework-specific instrumentation out of the box for
you - no need to pass a custom routingInstrumentation anymore. For @sentry/react, we expose dedicated integrations
for the different react-router versions:
reactRouterV6BrowserTracingIntegration()reactRouterV5BrowserTracingIntegration()reactRouterV4BrowserTracingIntegration()reactRouterV3BrowserTracingIntegration()See the migration guide for details.
browserTracingIntegration() (#10353)BrowserTracing integration (#10493)browserProfilingIntegration (#10438)bunServerIntegration() (#10439)browserTracingIntegration (#10397)reactRouterV3BrowserTracingIntegration for react router v3 (#10489)reactRouterV4/V5BrowserTracingIntegration for react router v4 & v5 (#10488)reactRouterV6BrowserTracingIntegration for react router v6 & v6.4 (#10491)browserTracingIntegration (#10442)WinterCGFetch with winterCGFetchIntegration (#10436)continueTrace (#10301)new VueIntegration() (#10440)browserTracingIntegration() (#10477)browserTracingIntegration() (#10450)@sentry/profiling-node has been ported into the monorepo. Future development for it will happen here!
setHttpStatus from all packages (#10475)Sentry namespace (#10452)name & attributes to tracesSampler (#10426)system-ui to start of font family (#10464)rrweb to 2.10.0 (#10445)propagationContextFromHeaders (#10313)startSpan, startSpanManual and startInactiveSpan pick up the scopes at time of creation instead of
termination (#10492)require call to import Undici (#10388)| Path | Size |
|---|---|
| @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) | 78.33 KB |
| @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) | 69.57 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) | 73.5 KB |
| @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) | 63.18 KB |
| @sentry/browser (incl. Tracing) - Webpack (gzipped) | 33.52 KB |
| @sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) | 33.39 KB |
| @sentry/browser (incl. Feedback) - Webpack (gzipped) | 31.37 KB |
| @sentry/browser (incl. sendFeedback) - Webpack (gzipped) | 31.37 KB |
| @sentry/browser - Webpack (gzipped) | 22.63 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) | 76.36 KB |
| @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) | 67.89 KB |
| @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) | 33.66 KB |
| @sentry/browser - ES6 CDN Bundle (gzipped) | 24.73 KB |
| @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) | 214.06 KB |
| @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) | 101.87 KB |
| @sentry/browser - ES6 CDN Bundle (minified & uncompressed) | 74.26 KB |
| @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) | 36.8 KB |
| @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) | 69.93 KB |
| @sentry/react - Webpack (gzipped) | 22.67 KB |
| @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) | 87.55 KB |
| @sentry/nextjs Client - Webpack (gzipped) | 51.72 KB |
| @sentry-internal/feedback - Webpack (gzipped) | 17.22 KB |
This release includes some deprecations for span related methods and integrations in our Deno SDK, @sentry/deno. For more details please look at our m…
This release includes some deprecations for span related methods and integrations in our Deno SDK, @sentry/deno. For
more details please look at our
migration guide.
Span.setHttpStatus in favor of setHttpStatus (#10268)spanStatusfromHttpCode in favour of getSpanStatusFromHttpCode (#10361)StartSpanOptions.origin in favour of passing attribute (#10274)@sentry/node re-exports (#10396)afterAllSetup hook for integrations (#10345)startSpan() can handle spans that require parent (#10386)startSpan APIs (#10300)@sentry/node functions (#10385, #10391)@sentry/node re-exports (#10390)@sentry/node re-exports (#10392)browserTracingIntegration (#10351)afterAllSetup is called when using addIntegration() (#10372)spanToTraceContext function from span utils (#10364)FunctionToString integration use SETUP_CLIENTS weakmap (#10358)Work in this release contributed by @AleshaOleg. Thank you for your contribution!
| Path | Size |
|---|---|
| @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) | 78.18 KB |
| @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) | 69.39 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) | 73.28 KB |
| @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) | 63.01 KB |
| @sentry/browser (incl. Tracing) - Webpack (gzipped) | 33.41 KB |
| @sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) | 33.28 KB |
| @sentry/browser (incl. Feedback) - Webpack (gzipped) | 31.33 KB |
| @sentry/browser (incl. sendFeedback) - Webpack (gzipped) | 31.34 KB |
| @sentry/browser - Webpack (gzipped) | 22.6 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) | 76 KB |
| @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) | 67.54 KB |
| @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) | 33.45 KB |
| @sentry/browser - ES6 CDN Bundle (gzipped) | 24.66 KB |
| @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) | 213.12 KB |
| @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) | 101.13 KB |
| @sentry/browser - ES6 CDN Bundle (minified & uncompressed) | 74 KB |
| @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) | 36.56 KB |
| @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) | 69.78 KB |
| @sentry/react - Webpack (gzipped) | 22.63 KB |
| @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) | 86.45 KB |
| @sentry/nextjs Client - Webpack (gzipped) | 50.76 KB |
| @sentry-internal/feedback - Webpack (gzipped) | 17.21 KB |
This release primarily fixes some type declaration errors:
This release primarily fixes some type declaration errors:
IntegrationIndex type (#10337)| Path | Size |
|---|---|
| @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) | 77.84 KB |
| @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) | 69.04 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) | 72.93 KB |
| @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) | 62.68 KB |
| @sentry/browser (incl. Tracing) - Webpack (gzipped) | 33.07 KB |
| @sentry/browser (incl. Feedback) - Webpack (gzipped) | 31.25 KB |
| @sentry/browser (incl. sendFeedback) - Webpack (gzipped) | 31.26 KB |
| @sentry/browser - Webpack (gzipped) | 22.5 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) | 75.57 KB |
| @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) | 67.13 KB |
| @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) | 32.97 KB |
| @sentry/browser - ES6 CDN Bundle (gzipped) | 24.43 KB |
| @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) | 211.42 KB |
| @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) | 99.44 KB |
| @sentry/browser - ES6 CDN Bundle (minified & uncompressed) | 73.08 KB |
| @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) | 36.07 KB |
| @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) | 69.45 KB |
| @sentry/react - Webpack (gzipped) | 22.55 KB |
| @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) | 86.11 KB |
| @sentry/nextjs Client - Webpack (gzipped) | 50.4 KB |
| @sentry-internal/feedback - Webpack (gzipped) | 17.21 KB |
Note: The 7.96.0 release was incomplete. This release is partially encompassing changes from 7.96.0.
Note: The 7.96.0 release was incomplete. This release is partially encompassing changes from 7.96.0.
stripBasename option for React Router 6 (#10314)| Path | Size |
|---|---|
| @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) | 77.84 KB |
| @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) | 69.04 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) | 72.93 KB |
| @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) | 62.68 KB |
| @sentry/browser (incl. Tracing) - Webpack (gzipped) | 33.07 KB |
| @sentry/browser (incl. Feedback) - Webpack (gzipped) | 31.25 KB |
| @sentry/browser (incl. sendFeedback) - Webpack (gzipped) | 31.26 KB |
| @sentry/browser - Webpack (gzipped) | 22.5 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) | 75.57 KB |
| @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) | 67.13 KB |
| @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) | 32.97 KB |
| @sentry/browser - ES6 CDN Bundle (gzipped) | 24.43 KB |
| @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) | 211.42 KB |
| @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) | 99.44 KB |
| @sentry/browser - ES6 CDN Bundle (minified & uncompressed) | 73.08 KB |
| @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) | 36.07 KB |
| @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) | 69.44 KB |
| @sentry/react - Webpack (gzipped) | 22.55 KB |
| @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) | 86.11 KB |
| @sentry/nextjs Client - Webpack (gzipped) | 50.4 KB |
| @sentry-internal/feedback - Webpack (gzipped) | 17.21 KB |
This release includes some deprecations for integrations in @sentry/browser and frontend framework SDKs (@sentry/react, @sentry/vue, etc.). Please tak…
This release includes some deprecations for integrations in @sentry/browser and frontend framework SDKs
(@sentry/react, @sentry/vue, etc.). Please take a look at our
migration guide for more details.
This release fixes an issue with the Web Vitals integration where LCP and CLS were not being captured correctly,
increasing capture rate by 10-30% for some apps. LCP and CLS capturing issues were introduced with version 7.75.0.
node-cron types and add test (#10315)Work in this release contributed by @Shubhdeep12. Thank you for your contribution!
| Path | Size |
|---|---|
| @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) | 77.84 KB |
| @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) | 69.04 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) | 72.93 KB |
| @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) | 62.68 KB |
| @sentry/browser (incl. Tracing) - Webpack (gzipped) | 33.07 KB |
| @sentry/browser (incl. Feedback) - Webpack (gzipped) | 31.25 KB |
| @sentry/browser (incl. sendFeedback) - Webpack (gzipped) | 31.26 KB |
| @sentry/browser - Webpack (gzipped) | 22.5 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) | 75.57 KB |
| @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) | 67.13 KB |
| @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) | 32.97 KB |
| @sentry/browser - ES6 CDN Bundle (gzipped) | 24.43 KB |
| @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) | 211.42 KB |
| @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) | 99.44 KB |
| @sentry/browser - ES6 CDN Bundle (minified & uncompressed) | 73.08 KB |
| @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) | 36.07 KB |
| @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) | 69.45 KB |
| @sentry/react - Webpack (gzipped) | 22.55 KB |
| @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) | 86.11 KB |
| @sentry/nextjs Client - Webpack (gzipped) | 50.4 KB |
| @sentry-internal/feedback - Webpack (gzipped) | 17.21 KB |
This release includes some deprecations in preparation for v8.
This release includes some deprecations in preparation for v8.
Most notably, it deprecates the Replay & Feedback classes in favor of a functional replacement:
import * as Sentry from '@sentry/browser';
Sentry.init({
integrations: [
// Instead of
new Sentry.Replay(),
new Sentry.Feedback(),
// Use the functional replacement:
Sentry.replayIntegration(),
Sentry.feedbackIntegration(),
],
});
Span.origin in favor of sentry.origin attribute (#10260)Span.parentSpanId (#10244)isInitialized() to replace checking via getClient (#10296)Replay, ReplayCanvas, Feedback classes (#10270)Wasm integration class (#10230)parameterize function available through browser and node API (#10085)addOrUpdateIntegration (#10263)Work in this release contributed by @AleshaOleg. Thank you for your contribution!
| Path | Size |
|---|---|
| @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) | 77.79 KB |
| @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) | 68.96 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) | 72.85 KB |
| @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) | 62.6 KB |
| @sentry/browser (incl. Tracing) - Webpack (gzipped) | 32.97 KB |
| @sentry/browser (incl. Feedback) - Webpack (gzipped) | 31.24 KB |
| @sentry/browser (incl. sendFeedback) - Webpack (gzipped) | 31.25 KB |
| @sentry/browser - Webpack (gzipped) | 22.53 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) | 75.46 KB |
| @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) | 67.03 KB |
| @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) | 32.85 KB |
| @sentry/browser - ES6 CDN Bundle (gzipped) | 24.36 KB |
| @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) | 211.12 KB |
| @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) | 99.11 KB |
| @sentry/browser - ES6 CDN Bundle (minified & uncompressed) | 72.91 KB |
| @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) | 35.95 KB |
| @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) | 69.37 KB |
| @sentry/react - Webpack (gzipped) | 22.58 KB |
| @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) | 85.98 KB |
| @sentry/nextjs Client - Webpack (gzipped) | 50.27 KB |
| @sentry-internal/feedback - Webpack (gzipped) | 17.21 KB |
As we're moving closer to the next major version of the SDK, more public APIs were deprecated.
This release fixes a publishing issue with 7.94.0.
These are the 7.94.0 release notes:
As we're moving closer to the next major version of the SDK, more public APIs were deprecated.
To get a head start on migrating to the replacement APIs, please take a look at our migration guide.
finish on Span interface in favour of end (#10161)getCurrentHub() (#10200)hub.bindClient() & makeMain() (#10188)Span.instrumenter (#10139)Span.isSuccess() in favor of reading span status (#10213)Span.op in favor of op attribute (#10189)Span.spanRecorder (#10199)Span.status (#10208)Span.transaction in favor of getRootSpan (#10134)Transaction.instrumenter (#10162)Transaction.setMeasurement in favor of setMeasurement (#10182)Integrations.X (#10198)Hub (#10124)setName declarations on Transaction and Span (#10164)startTimestamp & endTimestamp (#10192)hub.bindClient() and makeMain() (#10118)op on Span interface (#10217)Transaction integration (#10178)We have added a new ReplayCanvas integration (#10112), which you can add to capture the contents of canvas elements
with Replay.
Just add it in addition to the regular replay integration:
Sentry.init({
integrations: [new Sentry.Replay(), new Sentry.ReplayCanvas()],
});
client.getIntegrationByName() (#10130)client.init() to replace client.setupIntegrations() (#10118)withActiveSpan (#10195)withIsolationScope (#10141)setUser, setTags, setExtras, setTag, setExtra, and setContext to isolation
scope (#10163)withActiveSpan (#10194)SerializedEvent interface (pre v8) (#10240)http.status_code is always a string (#10177)process.argv[1] being undefined (#10155)fetch init headers over fetch input headers (#10176)| Path | Size |
|---|---|
| @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) | 77.62 KB |
| @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) | 68.88 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) | 72.77 KB |
| @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) | 62.52 KB |
| @sentry/browser (incl. Tracing) - Webpack (gzipped) | 32.89 KB |
| @sentry/browser (incl. Feedback) - Webpack (gzipped) | 31.15 KB |
| @sentry/browser (incl. sendFeedback) - Webpack (gzipped) | 31.16 KB |
| @sentry/browser - Webpack (gzipped) | 22.51 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) | 75.2 KB |
| @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) | 66.81 KB |
| @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) | 32.66 KB |
| @sentry/browser - ES6 CDN Bundle (gzipped) | 24.21 KB |
| @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) | 210.51 KB |
| @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) | 98.48 KB |
| @sentry/browser - ES6 CDN Bundle (minified & uncompressed) | 72.46 KB |
| @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) | 35.71 KB |
| @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) | 69.3 KB |
| @sentry/react - Webpack (gzipped) | 22.55 KB |
| @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) | 85.88 KB |
| @sentry/nextjs Client - Webpack (gzipped) | 50.01 KB |
| @sentry-internal/feedback - Webpack (gzipped) | 17.14 KB |
Nothing published for this version
As we're moving closer to the next major version of the SDK, more public APIs were deprecated.
As we're moving closer to the next major version of the SDK, more public APIs were deprecated.
To get a head start on migrating to the replacement APIs, please take a look at our migration guide.
getActiveTransaction() & scope.getTransaction() (#10098)Hub.shouldSendDefaultPii (#10062)new Transaction() (#10125)scope.getSpan() & scope.setSpan() (#10114)scope.setTransactionName() (#10113)span.startChild() (#10091)startTransaction() (#10073)Transaction.getDynamicSamplingContext in favor of getDynamicSamplingContextFromSpan (#10094)startSpan() (#10101)Scope (#10039)name and description (#10056)tags, data, context & setters (#10053)span.sampled in favor of span.isRecording() (#10034)lastEventId on scope (#10093)node-schedule libraryThis release adds auto instrumented check-ins for the node-schedule library.
import * as Sentry from '@sentry/node';
import * as schedule from 'node-schedule';
const scheduleWithCheckIn = Sentry.cron.instrumentNodeSchedule(schedule);
const job = scheduleWithCheckIn.scheduleJob('my-cron-job', '* * * * *', () => {
console.log('You will see this message every minute');
});
node-schedule library (#10086)span.spanContext() (#10037)spanToJSON() method to get span properties (#10074)scope to startSpan APIs (#10076)getModuleFromFilename compatible with ESM (#10061)parameterize function (#9145)setup for integration on client multiple times (#10116)LocalVariables integration should have correct name (#10084)event_id (#10068)LocalVariables (#10077)| Path | Size |
|---|---|
| @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) | 76.98 KB |
| @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) | 68.36 KB |
| @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) | 61.99 KB |
| @sentry/browser (incl. Tracing) - Webpack (gzipped) | 32.38 KB |
| @sentry/browser (incl. Feedback) - Webpack (gzipped) | 30.98 KB |
| @sentry/browser - Webpack (gzipped) | 22.31 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) | 74.61 KB |
| @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) | 66.26 KB |
| @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) | 32.07 KB |
| @sentry/browser - ES6 CDN Bundle (gzipped) | 23.9 KB |
| @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) | 208.7 KB |
| @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) | 96.75 KB |
| @sentry/browser - ES6 CDN Bundle (minified & uncompressed) | 71.35 KB |
| @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) | 35.04 KB |
| @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) | 68.72 KB |
| @sentry/react - Webpack (gzipped) | 22.35 KB |
| @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) | 85.37 KB |
| @sentry/nextjs Client - Webpack (gzipped) | 49.5 KB |
| @sentry-internal/feedback - Webpack (gzipped) | 17.01 KB |
feat(core): Add span.updateName() and deprecate span.setName()
span.updateName() and deprecate span.setName() (#10018)span.getTraceContext() (#10032)span.toTraceparent() in favor of spanToTraceHeader() util (#10031)trace in favor of startSpan (#10012)toContext() and updateWithContext() (#10030)deepReadDirSync (#10016)lastEventId() (#10043)Please take a look at the Migration docs for more details. These methods will be removed in the upcoming v8 major release.
cron and node-cron librariescron library (#9999)node-cron library (#9904)This release adds instrumentation for the cron and node-cron libraries. This allows you to monitor your cron jobs with Sentry cron monitors.
For cron:
import * as Sentry from '@sentry/node';
import { CronJob } from 'cron';
const CronJobWithCheckIn = Sentry.cron.instrumentCron(CronJob, 'my-cron-job');
// use the constructor
const job = new CronJobWithCheckIn('* * * * *', () => {
console.log('You will see this message every minute');
});
// or from
const job = CronJobWithCheckIn.from({
cronTime: '* * * * *',
onTick: () => {
console.log('You will see this message every minute');
},
});
For node-cron:
import * as Sentry from '@sentry/node';
import cron from 'node-cron';
const cronWithCheckIn = Sentry.cron.instrumentNodeCron(cron);
cronWithCheckIn.schedule(
'* * * * *',
() => {
console.log('running a task every minute');
},
{ name: 'my-cron-job' },
);
enabled option to Astro integration options (#10007)attributes to Span (#10008)setClient() and getClient() to Scope (#10055)captureErrorCause in ExtraErrorData integration (#9914)withScope sets current scope correctly with async callbacks (#9974)NODE_VERSION properties required (#9964)Work in this release contributed by @joshkel. Thank you for your contribution!
| Path | Size |
|---|---|
| @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) | 76.1 KB |
| @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) | 67.5 KB |
| @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) | 61.1 KB |
| @sentry/browser (incl. Tracing) - Webpack (gzipped) | 32.08 KB |
| @sentry/browser (incl. Feedback) - Webpack (gzipped) | 30.49 KB |
| @sentry/browser - Webpack (gzipped) | 22.21 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) | 73.53 KB |
| @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) | 65.2 KB |
| @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) | 31.37 KB |
| @sentry/browser - ES6 CDN Bundle (gzipped) | 23.29 KB |
| @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) | 204.35 KB |
| @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) | 94.24 KB |
| @sentry/browser - ES6 CDN Bundle (minified & uncompressed) | 69.09 KB |
| @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) | 34.33 KB |
| @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) | 67.91 KB |
| @sentry/react - Webpack (gzipped) | 22.23 KB |
| @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) | 84.53 KB |
| @sentry/nextjs Client - Webpack (gzipped) | 49.14 KB |
| @sentry-internal/feedback - Webpack (gzipped) | 16.73 KB |
feat: Add server runtime metrics aggregator
The release adds alpha support for Sentry developer metrics in the server runtime SDKs (@sentry/node, @sentry/deno, @sentry/nextjs server-side, etc.). Via the newly introduced APIs, you can now flush metrics directly to Sentry.
To enable capturing metrics, you first need to add the metricsAggregator experiment to your Sentry.init call.
Sentry.init({
dsn: '__DSN__',
_experiments: {
metricsAggregator: true,
},
});
Then you'll be able to add counters, sets, distributions, and gauges under the Sentry.metrics namespace.
// Add 4 to a counter named `hits`
Sentry.metrics.increment('hits', 4);
// Add 2 to gauge named `parallel_requests`, tagged with `type: "a"`
Sentry.metrics.gauge('parallel_requests', 2, { tags: { type: 'a' } });
// Add 4.6 to a distribution named `response_time` with unit seconds
Sentry.metrics.distribution('response_time', 4.6, { unit: 'seconds' });
// Add 2 to a set named `valuable.ids`
Sentry.metrics.set('valuable.ids', 2);
The ANR tracking integration for Node has been reworked to use an integration. ANR tracking now requires a minimum Node version of 16 or higher. Previously you had to call Sentry.enableANRDetection before running your application, now you can simply add the Anr integration to your Sentry.init call.
import * as Sentry from '@sentry/node';
Sentry.init({
dsn: 'https://public@dsn.ingest.sentry.io/1337',
integrations: [new Sentry.Integrations.Anr({ captureStackTrace: true, anrThreshold: 200 })],
});
getGlobalScope() method (#9920)getIsolationScope() method (#9957)span.end() to replace span.finish() (#9954)startSpan & startSpanManual fork scope (#9955)startSpan, startSpanManual, trace (#9958)| Path | Size |
|---|---|
| @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) | 75.89 KB |
| @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) | 67.25 KB |
| @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) | 60.87 KB |
| @sentry/browser (incl. Tracing) - Webpack (gzipped) | 31.83 KB |
| @sentry/browser (incl. Feedback) - Webpack (gzipped) | 30.39 KB |
| @sentry/browser - Webpack (gzipped) | 22.09 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) | 73.3 KB |
| @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) | 64.97 KB |
| @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) | 31.12 KB |
| @sentry/browser - ES6 CDN Bundle (gzipped) | 23.12 KB |
| @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) | 203.77 KB |
| @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) | 93.66 KB |
| @sentry/browser - ES6 CDN Bundle (minified & uncompressed) | 68.58 KB |
| @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) | 34.07 KB |
| @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) | 67.66 KB |
| @sentry/react - Webpack (gzipped) | 22.12 KB |
| @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) | 84.31 KB |
| @sentry/nextjs Client - Webpack (gzipped) | 48.95 KB |
| @sentry-internal/feedback - Webpack (gzipped) | 16.6 KB |
feat(replay): Change to use preset quality values
types field to package.json exports (#9926)| Path | Size |
|---|---|
| @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) | 75.39 KB |
| @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) | 66.79 KB |
| @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) | 60.38 KB |
| @sentry/browser (incl. Tracing) - Webpack (gzipped) | 31.39 KB |
| @sentry/browser (incl. Feedback) - Webpack (gzipped) | 30.04 KB |
| @sentry/browser - Webpack (gzipped) | 21.69 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) | 72.79 KB |
| @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) | 64.51 KB |
| @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) | 30.71 KB |
| @sentry/browser - ES6 CDN Bundle (gzipped) | 22.77 KB |
| @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) | 202.36 KB |
| @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) | 92.28 KB |
| @sentry/browser - ES6 CDN Bundle (minified & uncompressed) | 67.34 KB |
| @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) | 33.62 KB |
| @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) | 67.17 KB |
| @sentry/react - Webpack (gzipped) | 21.72 KB |
| @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) | 83.94 KB |
| @sentry/nextjs Client - Webpack (gzipped) | 48.57 KB |
| @sentry-internal/feedback - Webpack (gzipped) | 16.35 KB |
feat(core): Deprecate `configureScope`
configureScope (#9887)pushScope & popScope (#9890)This release deprecates configureScope, pushScope, and popScope, which will be removed in the upcoming v8 major release.
This release adds an integration for Hapi. It can be used as follows:
const Sentry = require('@sentry/node');
const Hapi = require('@hapi/hapi');
const init = async () => {
const server = Hapi.server({
// your server configuration ...
});
Sentry.init({
dsn: '__DSN__',
tracesSampleRate: 1.0,
integrations: [
new Sentry.Integrations.Hapi({ server }),
],
});
server.route({
// your route configuration ...
});
await server.start();
};
This release adds support for SvelteKit 2.0 in the @sentry/sveltekit package. If you're upgrading from SvelteKit 1.x to 2.x and already use the Sentry SvelteKit SDK, no changes apart from upgrading to this (or a newer) version are necessary.
withScope to return callback return value (#9866)Deno.CronSchedule for cron jobs (#9880)canvas.type setting (#9877)createReduxEnhancer (#9854)Event type in worldwide (#9864)eventFromUnknownInput to avoid scope pollution & getCurrentHub (#9868)addBreadcrumb directly & allow to pass hint (#9867)Work in this release contributed by @adam187, and @jghinestrosa. Thank you for your contributions!
| Path | Size |
|---|---|
| @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) | 75.14 KB |
| @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) | 66.57 KB |
| @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) | 60.16 KB |
| @sentry/browser (incl. Tracing) - Webpack (gzipped) | 31.23 KB |
| @sentry/browser (incl. Feedback) - Webpack (gzipped) | 29.85 KB |
| @sentry/browser - Webpack (gzipped) | 21.53 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) | 72.57 KB |
| @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) | 64.28 KB |
| @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) | 30.54 KB |
| @sentry/browser - ES6 CDN Bundle (gzipped) | 22.59 KB |
| @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) | 202.16 KB |
| @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) | 92.26 KB |
| @sentry/browser - ES6 CDN Bundle (minified & uncompressed) | 67.31 KB |
| @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) | 33.4 KB |
| @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) | 66.92 KB |
| @sentry/react - Webpack (gzipped) | 21.57 KB |
| @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) | 83.71 KB |
| @sentry/nextjs Client - Webpack (gzipped) | 48.38 KB |
| @sentry-internal/feedback - Webpack (gzipped) | 16.18 KB |
feat(browser): Add browser metrics sdk
The release adds alpha support for Sentry developer metrics in the Browser SDKs (@sentry/browser and related framework SDKs). Via the newly introduced APIs, you can now flush metrics directly to Sentry.
To enable capturing metrics, you first need to add the MetricsAggregator integration.
Sentry.init({
dsn: '__DSN__',
integrations: [
new Sentry.metrics.MetricsAggregator(),
],
});
Then you'll be able to add counters, sets, distributions, and gauges under the Sentry.metrics namespace.
// Add 4 to a counter named `hits`
Sentry.metrics.increment('hits', 4);
// Add 2 to gauge named `parallel_requests`, tagged with `happy: "no"`
Sentry.metrics.gauge('parallel_requests', 2, { tags: { happy: 'no' } });
// Add 4.6 to a distribution named `response_time` with unit seconds
Sentry.metrics.distribution('response_time', 4.6, { unit: 'seconds' });
// Add 2 to a set named `valuable.ids`
Sentry.metrics.set('valuable.ids', 2);
In a future release we'll add support for server runtimes (Node, Deno, Bun, Vercel Edge, etc.)
Deno.cron (#9808)This releases add support for instrumenting Deno cron's with Sentry cron monitors. This requires v1.38 of Deno run with the --unstable flag and the usage of the DenoCron Sentry integration.
// Import from the Deno registry
import * as Sentry from "https://deno.land/x/sentry/index.mjs";
Sentry.init({
dsn: '__DSN__',
integrations: [
new Sentry.Integrations.DenoCron(),
],
});
rrweb to 2.6.0 (#9847)| Path | Size |
|---|---|
| @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) | 75.24 KB |
| @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) | 66.63 KB |
| @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) | 60.22 KB |
| @sentry/browser (incl. Tracing) - Webpack (gzipped) | 31.3 KB |
| @sentry/browser (incl. Feedback) - Webpack (gzipped) | 29.9 KB |
| @sentry/browser - Webpack (gzipped) | 21.56 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) | 72.58 KB |
| @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) | 64.31 KB |
| @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) | 30.58 KB |
| @sentry/browser - ES6 CDN Bundle (gzipped) | 22.61 KB |
| @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) | 202.5 KB |
| @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) | 92.65 KB |
| @sentry/browser - ES6 CDN Bundle (minified & uncompressed) | 67.63 KB |
| @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) | 33.47 KB |
| @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) | 66.97 KB |
| @sentry/react - Webpack (gzipped) | 21.6 KB |
| @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) | 83.73 KB |
| @sentry/nextjs Client - Webpack (gzipped) | 48.41 KB |
| @sentry-internal/feedback - Webpack (gzipped) | 16.19 KB |
feat: Add top level getCurrentScope() method
getCurrentScope() method (#9800)rrweb to 2.5.0 (#9803)./exports (#9775)assetPrefix is defined (#9766)| Path | Size |
|---|---|
| @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) | 75.04 KB |
| @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) | 66.38 KB |
| @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) | 59.99 KB |
| @sentry/browser (incl. Tracing) - Webpack (gzipped) | 31.13 KB |
| @sentry/browser (incl. Feedback) - Webpack (gzipped) | 29.74 KB |
| @sentry/browser - Webpack (gzipped) | 21.39 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) | 71.61 KB |
| @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) | 63.33 KB |
| @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) | 29.67 KB |
| @sentry/browser - ES6 CDN Bundle (gzipped) | 21.72 KB |
| @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) | 199.58 KB |
| @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) | 89.94 KB |
| @sentry/browser - ES6 CDN Bundle (minified & uncompressed) | 64.92 KB |
| @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) | 32.34 KB |
| @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) | 66.75 KB |
| @sentry/react - Webpack (gzipped) | 21.44 KB |
| @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) | 83.48 KB |
| @sentry/nextjs Client - Webpack (gzipped) | 48.23 KB |
| @sentry-internal/feedback - Webpack (gzipped) | 16.19 KB |
feat(core): Use SDK_VERSION for hub API version
process.env.NODE_ENV access in Spotlight integration (#9748)| Path | Size |
|---|---|
| @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) | 74.66 KB |
| @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) | 66 KB |
| @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) | 59.6 KB |
| @sentry/browser (incl. Tracing) - Webpack (gzipped) | 31.13 KB |
| @sentry/browser (incl. Feedback) - Webpack (gzipped) | 29.74 KB |
| @sentry/browser - Webpack (gzipped) | 21.39 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) | 71.25 KB |
| @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) | 62.97 KB |
| @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) | 29.65 KB |
| @sentry/browser - ES6 CDN Bundle (gzipped) | 21.71 KB |
| @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) | 198.35 KB |
| @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) | 89.78 KB |
| @sentry/browser - ES6 CDN Bundle (minified & uncompressed) | 64.76 KB |
| @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) | 32.3 KB |
| @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) | 66.36 KB |
| @sentry/react - Webpack (gzipped) | 21.43 KB |
| @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) | 83.09 KB |
| @sentry/nextjs Client - Webpack (gzipped) | 48.23 KB |
| @sentry-internal/feedback - Webpack (gzipped) | 16.19 KB |
feat(core): Add addEventProcessor method
addEventProcessor method (#9554)box-shadow to use CSS var (#9630)| Path | Size |
|---|---|
| @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) | 74.63 KB |
| @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) | 65.99 KB |
| @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) | 59.59 KB |
| @sentry/browser (incl. Tracing) - Webpack (gzipped) | 31.12 KB |
| @sentry/browser (incl. Feedback) - Webpack (gzipped) | 29.72 KB |
| @sentry/browser - Webpack (gzipped) | 21.38 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) | 71.22 KB |
| @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) | 62.97 KB |
| @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) | 29.62 KB |
| @sentry/browser - ES6 CDN Bundle (gzipped) | 21.7 KB |
| @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) | 198.31 KB |
| @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) | 89.73 KB |
| @sentry/browser - ES6 CDN Bundle (minified & uncompressed) | 64.71 KB |
| @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) | 32.29 KB |
| @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) | 66.35 KB |
| @sentry/react - Webpack (gzipped) | 21.42 KB |
| @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) | 83.07 KB |
| @sentry/nextjs Client - Webpack (gzipped) | 48.21 KB |
| @sentry-internal/feedback - Webpack (gzipped) | 16.17 KB |
ref(nextjs): Set `automaticVercelMonitors` to be `false` by default
automaticVercelMonitors to be false by default (#9697)From this version onwards the default for the automaticVercelMonitors option in the Next.js SDK is set to false.
Previously, if you made use of Vercel Crons the SDK automatically instrumented the relevant routes to create Sentry monitors.
Because this feature will soon be generally available, we are now flipping the default to avoid situations where quota is used unexpectedly.
If you want to continue using this feature, make sure to set the automaticVercelMonitors flag to true in your next.config.js Sentry settings.
astro peer dependency range (#9696)middleware in node_modules (#9686)| Path | Size |
|---|---|
| @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) | 65.86 KB |
| @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) | 59.46 KB |
| @sentry/browser (incl. Tracing) - Webpack (gzipped) | 31.12 KB |
| @sentry/browser - Webpack (gzipped) | 21.38 KB |
| @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) | 62.72 KB |
| @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) | 29.53 KB |
| @sentry/browser - ES6 CDN Bundle (gzipped) | 21.6 KB |
| @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) | 197.46 KB |
| @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) | 89.32 KB |
| @sentry/browser - ES6 CDN Bundle (minified & uncompressed) | 64.29 KB |
| @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) | 32.22 KB |
| @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) | 66.25 KB |
| @sentry/react - Webpack (gzipped) | 21.42 KB |
| @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) | 82.96 KB |
| @sentry/nextjs Client - Webpack (gzipped) | 48.21 KB |
| @sentry-internal/feedback - Webpack (gzipped) | 16.19 KB |
chore(astro): Allow Astro 4.0 in peer dependencies
assets option to source maps upload options (#9668)exactOptionalPropertyTypes on ErrorBoundary (#9098)types (#9682)| Path | Size |
|---|---|
| @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) | 65.86 KB |
| @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) | 59.46 KB |
| @sentry/browser (incl. Tracing) - Webpack (gzipped) | 31.11 KB |
| @sentry/browser - Webpack (gzipped) | 21.38 KB |
| @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) | 62.71 KB |
| @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) | 29.52 KB |
| @sentry/browser - ES6 CDN Bundle (gzipped) | 21.6 KB |
| @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) | 197.46 KB |
| @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) | 89.32 KB |
| @sentry/browser - ES6 CDN Bundle (minified & uncompressed) | 64.29 KB |
| @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) | 32.21 KB |
| @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) | 66.24 KB |
| @sentry/react - Webpack (gzipped) | 21.42 KB |
| @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) | 82.96 KB |
| @sentry/nextjs Client - Webpack (gzipped) | 48.21 KB |
| @sentry-internal/feedback - Webpack (gzipped) | 16.19 KB |
feat(astro): Automatically add Sentry middleware in Astro integration
setup hook to integrations (#9556)getClient() method (#9638)mechanism as event hint (#9590)continueTrace without callback (#9615)addInstrumentationHandler to dedicated methods (#9542)BODY_PARSE_ERROR warning & time out fetch response load (#9622)RequestData integration to @sentry/core (#9597)Work in this release contributed by @arya-s. Thank you for your contribution!
| Path | Size |
|---|---|
| @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) | 66.02 KB |
| @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) | 56.21 KB |
| @sentry/browser (incl. Tracing) - Webpack (gzipped) | 31.19 KB |
| @sentry/browser - Webpack (gzipped) | 21.4 KB |
| @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) | 62.65 KB |
| @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) | 29.47 KB |
| @sentry/browser - ES6 CDN Bundle (gzipped) | 21.55 KB |
| @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) | 197.27 KB |
| @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) | 89.15 KB |
| @sentry/browser - ES6 CDN Bundle (minified & uncompressed) | 64.12 KB |
| @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) | 32.13 KB |
| @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) | 66.43 KB |
| @sentry/react - Webpack (gzipped) | 21.45 KB |
| @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) | 83.16 KB |
| @sentry/nextjs Client - Webpack (gzipped) | 48.32 KB |
| @sentry-internal/feedback - Webpack (gzipped) | 16.19 KB |
fix(astro): Remove method from span op
globalThis instead of global in edge runtime (#9612)Work in this release contributed by @powerfulyang, @LubomirIgonda1, @joshkel, and @alexgleason. Thank you for your contributions!
| Path | Size |
|---|---|
| @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) | 65.61 KB |
| @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) | 55.72 KB |
| @sentry/browser (incl. Tracing) - Webpack (gzipped) | 31.01 KB |
| @sentry/browser - Webpack (gzipped) | 21.32 KB |
| @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) | 62.03 KB |
| @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) | 29.13 KB |
| @sentry/browser - ES6 CDN Bundle (gzipped) | 21.26 KB |
| @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) | 195.71 KB |
| @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) | 88.38 KB |
| @sentry/browser - ES6 CDN Bundle (minified & uncompressed) | 63.34 KB |
| @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) | 31.85 KB |
| @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) | 65.92 KB |
| @sentry/react - Webpack (gzipped) | 21.36 KB |
| @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) | 82.66 KB |
| @sentry/nextjs Client - Webpack (gzipped) | 48.15 KB |
| @sentry-internal/feedback - Webpack (gzipped) | 16.12 KB |
ref: Deprecate extractTraceParentData from @sentry/core & downstream packages
- feat(nextjs): Add instrumentation utility for server actions (#9553)
This release adds a utility function withServerActionInstrumentation to the @sentry/nextjs SDK for instrumenting your Next.js server actions with error and performance monitoring.
You can optionally pass form data and headers to record them, and configure the wrapper to record the Server Action responses:
import * as Sentry from "@sentry/nextjs";
import { headers } from "next/headers";
export default function ServerComponent() {
async function myServerAction(formData: FormData) {
"use server";
return await Sentry.withServerActionInstrumentation(
"myServerAction", // The name you want to associate this Server Action with in Sentry
{
formData, // Optionally pass in the form data
headers: headers(), // Optionally pass in headers
recordResponse: true, // Optionally record the server action response
},
async () => {
// ... Your Server Action code
return { name: "John Doe" };
}
);
}
return (
<form action={myServerAction}>
<input type="text" name="some-input-value" />
<button type="submit">Run Action</button>
</form>
);
}
sendFeedback (#9560)level and remove breadcrumbs from feedback event (#9533)extractTraceParentData from @sentry/core & downstream packages (#9158)Work in this release contributed by @snoozbuster. Thank you for your contribution!
| Path | Size |
|---|---|
| @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) | 65.53 KB |
| @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) | 55.67 KB |
| @sentry/browser (incl. Tracing) - Webpack (gzipped) | 31.01 KB |
| @sentry/browser - Webpack (gzipped) | 21.32 KB |
| @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) | 61.99 KB |
| @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) | 29.13 KB |
| @sentry/browser - ES6 CDN Bundle (gzipped) | 21.26 KB |
| @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) | 195.53 KB |
| @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) | 88.38 KB |
| @sentry/browser - ES6 CDN Bundle (minified & uncompressed) | 63.34 KB |
| @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) | 31.85 KB |
| @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) | 65.84 KB |
| @sentry/react - Webpack (gzipped) | 21.36 KB |
| @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) | 82.58 KB |
| @sentry/nextjs Client - Webpack (gzipped) | 48.15 KB |
| @sentry-internal/feedback - Webpack (gzipped) | 16.08 KB |
No longer will prioritize the component names for replays, as this will break searching by CSS selector.
No longer will prioritize the component names for replays, as this will break searching by CSS selector.
| Path | Size |
|---|---|
| @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) | 65.47 KB |
| @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) | 55.68 KB |
| @sentry/browser (incl. Tracing) - Webpack (gzipped) | 31.03 KB |
| @sentry/browser - Webpack (gzipped) | 21.34 KB |
| @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) | 62 KB |
| @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) | 29.14 KB |
| @sentry/browser - ES6 CDN Bundle (gzipped) | 21.29 KB |
| @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) | 195.54 KB |
| @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) | 88.43 KB |
| @sentry/browser - ES6 CDN Bundle (minified & uncompressed) | 63.41 KB |
| @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) | 31.86 KB |
| @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) | 65.79 KB |
| @sentry/react - Webpack (gzipped) | 21.39 KB |
| @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) | 82.53 KB |
| @sentry/nextjs Client - Webpack (gzipped) | 48.17 KB |
| @sentry-internal/feedback - Webpack (gzipped) | 16.04 KB |
feat(utils): Prioritize Component name attributes over HTML Tree String
| Path | Size |
|---|---|
| @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) | 65.46 KB |
| @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) | 55.68 KB |
| @sentry/browser (incl. Tracing) - Webpack (gzipped) | 31.03 KB |
| @sentry/browser - Webpack (gzipped) | 21.34 KB |
| @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) | 62 KB |
| @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) | 29.14 KB |
| @sentry/browser - ES6 CDN Bundle (gzipped) | 21.29 KB |
| @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) | 195.53 KB |
| @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) | 88.43 KB |
| @sentry/browser - ES6 CDN Bundle (minified & uncompressed) | 63.41 KB |
| @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) | 31.86 KB |
| @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) | 65.81 KB |
| @sentry/react - Webpack (gzipped) | 21.39 KB |
| @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) | 82.53 KB |
| @sentry/nextjs Client - Webpack (gzipped) | 48.17 KB |
| @sentry-internal/feedback - Webpack (gzipped) | 16.04 KB |
fix(astro): Adjust Vite plugin config to upload server source maps
db.prisma (#9512)| Path | Size |
|---|---|
| @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) | 65.42 KB |
| @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) | 55.63 KB |
| @sentry/browser (incl. Tracing) - Webpack (gzipped) | 30.98 KB |
| @sentry/browser - Webpack (gzipped) | 21.3 KB |
| @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) | 61.95 KB |
| @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) | 29.1 KB |
| @sentry/browser - ES6 CDN Bundle (gzipped) | 21.24 KB |
| @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) | 195.42 KB |
| @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) | 88.32 KB |
| @sentry/browser - ES6 CDN Bundle (minified & uncompressed) | 63.3 KB |
| @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) | 31.81 KB |
| @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) | 65.77 KB |
| @sentry/react - Webpack (gzipped) | 21.34 KB |
| @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) | 82.49 KB |
| @sentry/nextjs Client - Webpack (gzipped) | 48.13 KB |
| @sentry-internal/feedback - Webpack (gzipped) | 16 KB |
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →