Official Sentry SDKs for JavaScript
tunnelRoute
option (#10958)setTransactionName
global
(#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 |
This alpha release fixes a build problem that prevented 8.0.0-alpha.1 from being properly released.
@sentry/opentelemetry-node
package (#10906)
The @sentry/opentelemetry-node
package has been removed. Instead, you can either use @sentry/node
with built-in
OpenTelemetry support, or use @sentry/opentelemetry
to manually connect Sentry with OpenTelemetry.
startSpan
options (#10825)skipOpenTelemetrySetup
(#10907)inspector
(#10910)Work in this release contributed by @harish-talview & @bfontaine. Thank you for your contributions!
Path | Size |
---|---|
@sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) | 77.16 KB |
@sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) | 68.39 KB |
@sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) | 72.32 KB |
@sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) | 61.94 KB |
@sentry/browser (incl. Tracing) - Webpack (gzipped) | 32.65 KB |
@sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) | 32.65 KB |
@sentry/browser (incl. Feedback) - Webpack (gzipped) | 31.01 KB |
@sentry/browser (incl. sendFeedback) - Webpack (gzipped) | 31.02 KB |
@sentry/browser - Webpack (gzipped) | 22.25 KB |
@sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) | 75.31 KB |
@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) | 66.96 KB |
@sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) | 32.85 KB |
@sentry/browser - ES6 CDN Bundle (gzipped) | 23.83 KB |
@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) | 210.15 KB |
@sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) | 99.01 KB |
@sentry/browser - ES6 CDN Bundle (minified & uncompressed) | 71.03 KB |
@sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) | 35.94 KB |
@sentry/react (incl. Tracing, Replay) - Webpack (gzipped) | 68.68 KB |
@sentry/react - Webpack (gzipped) | 22.28 KB |
@sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) | 85.1 KB |
@sentry/nextjs Client - Webpack (gzipped) | 49.51 KB |
@sentry-internal/feedback - Webpack (gzipped) | 17.1 KB |
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 |
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 |
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 |
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 |
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.
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 |
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.
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 |