@sentry/replay
11.13.0 · 16 Nov 2026MIT37.2M / weekRepositoryHomepagenpmAtom feed
225 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.
7.79.0
8 Nov 2023tracing: Add span
originto trace contextdeno: Emit .mjs files
nextjs: Flush servercomponent events for edge
7.78.0
8 Nov 2023Replay Bundle Size improvements
astro: Add Sentry middleware
feedback: Add "outline focus" and "foreground hover" vars
Important Changes
Replay Bundle Size improvements
We've dramatically decreased the bundle size of our Replay package, reducing the minified & gzipped bundle size by ~20 KB!
This was possible by extensive use of tree shaking and a host of small changes to reduce our footprint:By using tree shaking it is possible to shave off up to 10 additional KB of the bundle.
Other Changes
astro: Add Sentry middleware
feedback: Add "outline focus" and "foreground hover" vars
feedback: Add
openDialogandcloseDialogonto integration interfacefeedback: Implement new user feedback embeddable widget
nextjs: Add automatic sourcemapping for edge part of the SDK
nextjs: Add client routing instrumentation for app router
node-experimental: Add hapi tracing support
replay: Allow to configure
beforeErrorSamplingreplay: Stop fixing truncated JSONs in SDK
nextjs: Fix sourcemaps resolving for local dev when basePath is set
nextjs: Only inject basepath in dev mode
replay: Ensure we stop for rate limit headers
Bundle size
Path Size @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 65.24 KB @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 55.48 KB @sentry/browser (incl. Tracing) - Webpack (gzipped) 30.97 KB @sentry/browser - Webpack (gzipped) 21.29 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 61.82 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 29.09 KB @sentry/browser - ES6 CDN Bundle (gzipped) 21.23 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 194.87 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 88.28 KB @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 63.28 KB @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 31.8 KB @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 65.61 KB @sentry/react - Webpack (gzipped) 21.34 KB @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 82.34 KB @sentry/nextjs Client - Webpack (gzipped) 48.12 KB @sentry-internal/feedback - Webpack (gzipped) 15.81 KB 7.77.0
31 Oct 2023- Security
nextjs: Match only numbers as orgid in tunnelRoute
- Security
nextjs: Strictly validate tunnel target parameters
Move LinkedErrors integration to @sentry/core
Security Fixes
- Security
nextjs: Match only numbers as orgid in tunnelRoute
- Security
nextjs: Strictly validate tunnel target parameters
Other Changes
Move LinkedErrors integration to @sentry/core
remix: Update sentry-cli version to ^2.21.2
replay: Allow to treeshake & configure compression worker URL
angular-ivy: Adjust package entry points to support Angular 17 with SSR config
feedback: Fixing feedback import
utils: Avoid keeping a reference of last used event
Bundle size
Path Size @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 77.46 KB @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 56.69 KB @sentry/browser (incl. Tracing) - Webpack (gzipped) 30.97 KB @sentry/browser - Webpack (gzipped) 21.29 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 67.83 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 29.09 KB @sentry/browser - ES6 CDN Bundle (gzipped) 21.23 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 216.89 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 88.28 KB @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 63.28 KB @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 31.8 KB @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 77.84 KB @sentry/react - Webpack (gzipped) 21.34 KB @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 94.18 KB @sentry/nextjs Client - Webpack (gzipped) 47.86 KB 7.76.0
27 Oct 2023core: Add cron monitor wrapper helper
nextjs: Instrument SSR page components
nextjs: Trace errors in page component SSR
Important Changes
core: Add cron monitor wrapper helper
This release adds
Sentry.withMonitor(), a wrapping function that wraps a callback with a cron monitor that will automatically report completions and failures:import * as Sentry from '@sentry/node'; // withMonitor() will send checkin when callback is started/finished // works with async and sync callbacks. const result = Sentry.withMonitor( 'dailyEmail', () => { // withMonitor return value is same return value here return sendEmail(); }, // Optional upsert options { schedule: { type: 'crontab', value: '0 * * * *', }, // 🇨🇦🫡 timezone: 'Canada/Eastern', }, );Other Changes
nextjs: Instrument SSR page components
nextjs: Trace errors in page component SSR
nextjs: Instrument route handlers with
jsxandtsxfile extensionsnextjs: Trace with performance disabled
replay: Ensure
replay_idis not added to DSC if session expiredreplay: Remove unused parts of pako from build
serverless: Don't mark all errors as unhandled
tracing-internal: Fix case when middleware contain array of routes with special chars as @
meta(nextjs): Bump peer deps for Next.js 14
Work in this release contributed by @LubomirIgonda1. Thank you for your contribution!
Bundle size
Path Size @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 77.44 KB @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 66.48 KB @sentry/browser (incl. Tracing) - Webpack (gzipped) 30.94 KB @sentry/browser - Webpack (gzipped) 21.26 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 67.66 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 28.93 KB @sentry/browser - ES6 CDN Bundle (gzipped) 21.09 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 216.39 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 87.77 KB @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 62.76 KB @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 31.71 KB @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 77.83 KB @sentry/react - Webpack (gzipped) 21.29 KB @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 94.16 KB @sentry/nextjs Client - Webpack (gzipped) 47.83 KB 7.75.1
25 Oct 2023browser: Allow collecting of pageload profiles
browser: Correct timestamp on pageload profiles
nextjs: Use webpack plugin release value to inject release
7.75.0
24 Oct 2023opentelemetry: Add new
@sentry/opentelemetrypackagereplay: Allow to treeshake rrweb features
__RRWEB_EXCLUDE_CANVAS__
Important Changes
opentelemetry: Add new
@sentry/opentelemetrypackage
This release publishes a new package,
@sentry/opentelemetry. This is a runtime agnostic replacement for@sentry/opentelemetry-nodeand exports a couple of useful utilities which can be used to use Sentry together with OpenTelemetry.You can read more about @sentry/opentelemetry in the Readme.
replay: Allow to treeshake rrweb features
Starting with this release, you can configure the following build-time flags in order to reduce the SDK bundle size:
__RRWEB_EXCLUDE_CANVAS____RRWEB_EXCLUDE_IFRAME____RRWEB_EXCLUDE_SHADOW_DOM__
You can read more about tree shaking in our docs.
Other Changes
Remove tslib
node: Add abnormal session support for ANR
node: Remove
lru_mapdependencynode: Vendor
cookiemodulereplay: Share performance instrumentation with tracing
types: Add missing Profiling types (macho debug image, profile measurements, stack frame properties)
types: Add statsd envelope types
astro: Add integration default export to types entry point
astro: Convert SDK init file import paths to POSIX paths
astro: Make
ReplayandBrowserTracingintegrations tree-shakeableintegrations: Fix transaction integration
nextjs: Restore
autoInstrumentMiddlewarefunctionalitynextjs: Guard for case where
getInitialPropsmay return undefinednode-experimental: Make node-fetch support optional
node: Check buffer length when attempting to parse ANR frame
replay: Fix xhr start timestamps
tracing-internal: Remove query params from urls with a trailing slash
Bundle size
Path Size @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 82.66 KB @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 71.77 KB @sentry/browser (incl. Tracing) - Webpack (gzipped) 30.94 KB @sentry/browser - Webpack (gzipped) 21.26 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 73.03 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 28.93 KB @sentry/browser - ES6 CDN Bundle (gzipped) 21.09 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 233.81 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 87.77 KB @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 62.76 KB @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 31.71 KB @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 83.05 KB @sentry/react - Webpack (gzipped) 21.29 KB @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 99.43 KB @sentry/nextjs Client - Webpack (gzipped) 47.83 KB 7.74.1
17 Oct 2023core: Narrow filters for health check transactions
nextjs: Fix HMR by inserting new entrypoints at the end
nextjs: Fix resolution of request async storage module
core: Narrow filters for health check transactions
nextjs: Fix HMR by inserting new entrypoints at the end
nextjs: Fix resolution of request async storage module
node-experimental: Guard against missing
fetchremix: Update
deferinjection logic.tracing-internal: Parameterize express middleware parameters
utils: Move Node specific ANR impl. out of utils
Work in this release contributed by @LubomirIgonda1. Thank you for your contribution!
Bundle size
Path Size @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 83.98 KB @sentry/browser (incl. Tracing) - Webpack (gzipped) 31.57 KB @sentry/browser - Webpack (gzipped) 21.75 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 80.47 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 29.51 KB @sentry/browser - ES6 CDN Bundle (gzipped) 21.69 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 245.55 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 85.53 KB @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 61.45 KB @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 32.64 KB @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 84.05 KB @sentry/react - Webpack (gzipped) 21.79 KB @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 102.18 KB @sentry/nextjs Client - Webpack (gzipped) 49.65 KB 7.74.0
13 Oct 2023- Removed
node: Remove ANR
debugoption and instead add logger.isEnabled() - Deprecated
utils: Deprecate
walkmethod astro: Add
sentryAstrointegration
Important Changes
astro: Add
sentryAstrointegration
This Release introduces the first alpha version of our new SDK for Astro.
At this time, the SDK is considered experimental and things might break and change in future versions.The core of the SDK is an Astro integration which you easily add to your Astro config:
// astro.config.js import { defineConfig } from "astro/config"; import sentry from "@sentry/astro"; export default defineConfig({ integrations: [ sentry({ dsn: "__DSN__", sourceMapsUploadOptions: { project: "astro", authToken: process.env.SENTRY_AUTH_TOKEN, }, }), ], });Check out the README for usage instructions and what to expect from this alpha release.
Other Changes
core: Add
addIntegrationutilitycore: Add
continueTracemethodnode-experimental: Add NodeFetch integration
node-experimental: Sample in OTEL Sampler
serverlesss: Allow disabling transaction traces
tracing: Allow direct pg module to enable esbuild support
utils: Move common node ANR code to utils
vue: Expose
VueIntegrationto initialize vue app laterDon't set
referrerPolicyon serverside fetch transportsEnsure we never mutate options passed to
initember: Avoid pulling in utils at build time
ember: Drop undefined config values
node: Ensure mysql integration works without callback
node: Only require
inspectorwhen needed- Removed
node: Remove ANR
debugoption and instead add logger.isEnabled() node: Strip
.mjsand.cjsextensions from module namereplay: Fix potential broken CSS in styled-components
sveltekit: Flush in server wrappers before exiting
types: Update signature of
processEventintegration hookutils: Dereference DOM events after they have servered their purpose
- Deprecated
utils: Deprecate
walkmethod
Work in this release contributed by @aldenquimby. Thank you for your contributions!
Bundle size
Path Size @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 84.27 KB @sentry/browser (incl. Tracing) - Webpack (gzipped) 31.43 KB @sentry/browser - Webpack (gzipped) 22.02 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 78.79 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 28.6 KB @sentry/browser - ES6 CDN Bundle (gzipped) 21.02 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 254.51 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 86.76 KB @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 62.45 KB @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 31.48 KB @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 84.3 KB @sentry/react - Webpack (gzipped) 22.06 KB @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 102.21 KB @sentry/nextjs Client - Webpack (gzipped) 50.96 KB 7.73.0
2 Oct 2023replay: Upgrade to rrweb2
Always assemble Envelopes
node: Rate limit local variables for caught exceptions and enable
captureAllExceptionsby default
Important Changes
replay: Upgrade to rrweb2
This is fully backwards compatible with prior versions of the Replay SDK. The only breaking change that we will making is to not be masking
aria-labelby default. The reason for this change is to align with our core SDK which also does not maskaria-label. This change also enables better support of searching by clicks.Another change that needs to be highlighted is the 13% bundle size increase. This bundle size increase is necessary to bring improved recording performance and improved replay fidelity, especially in regards to web components and iframes. We will be investigating the reduction of the bundle size in this PR.
Here are benchmarks comparing the version 1 of rrweb to version 2
metric v1 v2 lcp 1486.06 ms 1529.11 ms cls 0.40 ms 0.40 ms fid 1.53 ms 1.50 ms tbt 3207.22 ms 3036.80 ms memoryAvg 131.83 MB 124.84 MB memoryMax 324.8 MB 339.03 MB netTx 282.67 KB 272.51 KB netRx 8.02 MB 8.07 MB Other Changes
Always assemble Envelopes
node: Rate limit local variables for caught exceptions and enable
captureAllExceptionsby defaultcore: Ensure
tunnelis considered forisSentryUrlchecksnextjs: Fix
RequestAsyncStoragefallback pathnode-otel: Suppress tracing for generated sentry spans
node: Fill in span data from http request options object
node: Fixes and improvements to ANR detection
sveltekit: Avoid data invalidation in wrapped client-side
loadfunctions
Work in this release contributed by @vlad-zhukov. Thank you for your contribution!
Bundle size
Path Size @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 84.26 KB @sentry/browser (incl. Tracing) - Webpack (gzipped) 31.42 KB @sentry/browser - Webpack (gzipped) 22 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 78.69 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 28.52 KB @sentry/browser - ES6 CDN Bundle (gzipped) 20.59 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 254.14 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 86.42 KB @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 61.23 KB @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 31.38 KB @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 84.28 KB @sentry/react - Webpack (gzipped) 22.03 KB @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 102.2 KB @sentry/nextjs Client - Webpack (gzipped) 50.95 KB 7.72.0
26 Sep 2023node: App Not Responding with stack traces
nextjs: Filter
RequestAsyncStoragelocations by locations that webpack will resolvereplay: Ensure
replay_idis not captured when session is expired
Important Changes
node: App Not Responding with stack traces
This release introduces support for Application Not Responding (ANR) errors for Node.js applications.
These errors are triggered when the Node.js main thread event loop of an application is blocked for more than five seconds.
The Node SDK reports ANR errors as Sentry events and can optionally attach a stacktrace of the blocking code to the ANR event.To enable ANR detection, import and use the
enableANRDetectionfunction from the@sentry/nodepackage before you run the rest of your application code.
Any event loop blocking before callingenableANRDetectionwill not be detected by the SDK.Example (ESM):
import * as Sentry from "@sentry/node"; Sentry.init({ dsn: "___PUBLIC_DSN___", tracesSampleRate: 1.0, }); await Sentry.enableANRDetection({ captureStackTrace: true }); // Function that runs your app runApp();Example (CJS):
const Sentry = require("@sentry/node"); Sentry.init({ dsn: "___PUBLIC_DSN___", tracesSampleRate: 1.0, }); Sentry.enableANRDetection({ captureStackTrace: true }).then(() => { // Function that runs your app runApp(); });Other Changes
nextjs: Filter
RequestAsyncStoragelocations by locations that webpack will resolvereplay: Ensure
replay_idis not captured when session is expired
Bundle size
Path Size @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 75.58 KB @sentry/browser (incl. Tracing) - Webpack (gzipped) 31.46 KB @sentry/browser - Webpack (gzipped) 22.06 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 70.28 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 28.57 KB @sentry/browser - ES6 CDN Bundle (gzipped) 20.65 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 222.21 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 86.57 KB @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 61.42 KB @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 31.43 KB @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 75.61 KB @sentry/react - Webpack (gzipped) 22.09 KB @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 93.48 KB @sentry/nextjs Client - Webpack (gzipped) 51.04 KB 7.71.0
25 Sep 2023bun: Instrument Bun.serve
core: Ensure global event processors are always applied to event
core: Run client eventProcessors before global ones
bun: Instrument Bun.serve
core: Ensure global event processors are always applied to event
core: Run client eventProcessors before global ones
nextjs: Use webpack module paths to attempt to resolve internal request async storage module
react: Add actual error name to boundary error name
react: Compare location against
basename-prefixed route.
Work in this release contributed by @jorrit. Thank you for your contribution!
Bundle size
Path Size @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 75.58 KB @sentry/browser (incl. Tracing) - Webpack (gzipped) 31.46 KB @sentry/browser - Webpack (gzipped) 22.06 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 70.27 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 28.57 KB @sentry/browser - ES6 CDN Bundle (gzipped) 20.64 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 222.17 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 86.57 KB @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 61.42 KB @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 31.43 KB @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 75.6 KB @sentry/react - Webpack (gzipped) 22.09 KB @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 93.48 KB @sentry/nextjs Client - Webpack (gzipped) 51.04 KB 7.70.0
20 Sep 2023Add Bun SDK
remix: Add Remix 2.x release support.
core: Introduce
processEventhook onIntegration
Important Changes
Add Bun SDK
This release contains the beta version of
@sentry/bun, our SDK for the Bun JavaScript runtime! For details on how to use it, please see the README. Any feedback/bug reports are greatly appreciated, please reach out on GitHub.Note that as of now the Bun runtime does not support global error handlers. This is being actively worked on, see the tracking issue in Bun's GitHub repo.
remix: Add Remix 2.x release support.
The Sentry Remix SDK now officially supports Remix v2! See our Remix docs for more details.
Other Changes
core: Introduce
processEventhook onIntegrationnode: Improve non-error messages
vercel-edge: Add Vercel Edge Runtime package
remix: Use
React.ComponentTypeinstead ofReact.FCaswithSentry's generic type.replay: Ensure replay events go through
preprocessEventhooksveltekit: Adjust
handleErrorWithSentrytypeutils: Try-catch monkeypatching to handle frozen objects/functions
Work in this release contributed by @Dima-Dim, @krist7599555 and @lifeiscontent. Thank you for your contributions!
Special thanks for @isaacharrisholt for helping us implement a Vercel Edge Runtime SDK which we use under the hood for our Next.js SDK.
Bundle size
Path Size @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 75.58 KB @sentry/browser (incl. Tracing) - Webpack (gzipped) 31.49 KB @sentry/browser - Webpack (gzipped) 22.09 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 70.27 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 28.59 KB @sentry/browser - ES6 CDN Bundle (gzipped) 20.66 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 222.15 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 86.64 KB @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 61.49 KB @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 31.46 KB @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 75.61 KB @sentry/react - Webpack (gzipped) 22.12 KB @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 93.49 KB @sentry/nextjs Client - Webpack (gzipped) 51.07 KB 7.69.0
13 Sep 2023New Performance APIs
core: Export
BeforeFinishCallbacktypeintegration: Ensure
LinkedErrorsintegration runs before all event processors
Important Changes
New Performance APIs
feat: Update span performance API names
feat(core): Introduce startSpanManual
This release introduces a new set of top level APIs for the Performance Monitoring SDKs. These aim to simplify creating spans and reduce the boilerplate needed for performance instrumentation. The three new methods introduced are
Sentry.startSpan,Sentry.startInactiveSpan, andSentry.startSpanManual. These methods are available in the browser and node SDKs.Sentry.startSpanwraps a callback in a span. The span is automatically finished when the callback returns. This is the recommended way to create spans.// Start a span that tracks the duration of expensiveFunction const result = Sentry.startSpan({ name: 'important function' }, () => { return expensiveFunction(); }); // You can also mutate the span wrapping the callback to set data or status Sentry.startSpan({ name: 'important function' }, (span) => { // span is undefined if performance monitoring is turned off or if // the span was not sampled. This is done to reduce overhead. span?.setData('version', '1.0.0'); return expensiveFunction(); });If you don't want the span to finish when the callback returns, use
Sentry.startSpanManualto control when the span is finished. This is useful for event emitters or similar.// Start a span that tracks the duration of middleware function middleware(_req, res, next) { return Sentry.startSpanManual({ name: 'middleware' }, (span, finish) => { res.once('finish', () => { span?.setHttpStatus(res.status); finish(); }); return next(); }); }Sentry.startSpanandSentry.startSpanManualcreate a span and make it active for the duration of the callback. Any spans created while this active span is running will be added as a child span to it. If you want to create a span without making it active, useSentry.startInactiveSpan. This is useful for creating parallel spans that are not related to each other.const span1 = Sentry.startInactiveSpan({ name: 'span1' }); someWork(); const span2 = Sentry.startInactiveSpan({ name: 'span2' }); moreWork(); const span3 = Sentry.startInactiveSpan({ name: 'span3' }); evenMoreWork(); span1?.finish(); span2?.finish(); span3?.finish();Other Changes
core: Export
BeforeFinishCallbacktypeintegration: Ensure
LinkedErrorsintegration runs before all event processorsnode-experimental: Keep breadcrumbs on transaction
redux: Add 'attachReduxState' option
remix: Accept
org,projectandurlas args to upload scriptutils: Prevent iterating over VueViewModel
utils: uuidv4 fix for cloudflare
core: Always use event message and exception values for
ignoreErrorsnextjs: Add new potential location for Next.js request AsyncLocalStorage
node-experimental: Ensure we only create HTTP spans when outgoing
node-experimental: Ignore OPTIONS & HEAD requests
node-experimental: Ignore outgoing Sentry requests
node-experimental: Require parent span for
pgspansnode-experimental: Use Sentry logger as Otel logger
node-otel: Refactor OTEL span reference cleanup
react: Switch to props in
useRoutesremix: Add
globto Remix SDK dependencies.replay: Ensure
handleRecordingEmitaborts when event is not addedreplay: Fully stop & restart session when it expires
Work in this release contributed by @Duncanxyz and @malay44. Thank you for your contributions!
Bundle size
Path Size @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 75.39 KB @sentry/browser (incl. Tracing) - Webpack (gzipped) 31.32 KB @sentry/browser - Webpack (gzipped) 21.92 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 70.17 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 28.51 KB @sentry/browser - ES6 CDN Bundle (gzipped) 20.59 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 221.8 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 86.33 KB @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 61.18 KB @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 31.39 KB @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 75.42 KB @sentry/react - Webpack (gzipped) 21.95 KB @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 93.28 KB @sentry/nextjs Client - Webpack (gzipped) 50.89 KB 7.68.0
6 Sep 2023browser: Add
BroadcastChannelandSharedWorkerto TryCatch EventTargetscore: Add
nametoSpancore: Add
ServerRuntimeClient
browser: Add
BroadcastChannelandSharedWorkerto TryCatch EventTargetscore: Add
nametoSpancore: Add
ServerRuntimeClientnode-experimental: Ensure
span.finish()works as expectedremix: Add new sourcemap-upload script files to prepack assets.
publish: Publish downleveled TS3.8 types and fix types path
Bundle size
Path Size @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 75.35 KB @sentry/browser (incl. Tracing) - Webpack (gzipped) 31.24 KB @sentry/browser - Webpack (gzipped) 21.84 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 69.87 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 28.18 KB @sentry/browser - ES6 CDN Bundle (gzipped) 20.18 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 220.81 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 85.09 KB @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 59.73 KB @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 31.08 KB @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 75.37 KB @sentry/react - Webpack (gzipped) 21.88 KB @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 93.23 KB @sentry/nextjs Client - Webpack (gzipped) 50.81 KB 7.67.0
5 Sep 2023- Deprecated
browser: Deprecate top-level
wrapfunction Mark errors caught by the SDK as unhandled
node-experimental: Implement new performance APIs
Important Changes
Mark errors caught by the SDK as unhandled
feat(browser): Mark errors caught from
TryCatchintegration as unhandledfeat(integrations): Mark errors caught from
HttpClientandCaptureConsoleintegrations as unhandledfeat(nextjs): Mark errors caught from NextJS wrappers as unhandled
feat(react): Mark errors captured from ErrorBoundary as unhandled
feat(remix): Mark errors caught from Remix instrumentation as unhandled
feat(serverless): Mark errors caught in Serverless handlers as unhandled
feat(vue): Mark errors caught by Vue wrappers as unhandled
This release fixes inconsistent behaviour of when our SDKs classify captured errors as unhandled.
Previously, some of our instrumentations correctly set unhandled, while others set handled.
Going forward, all errors caught automatically from our SDKs will be marked as unhandled.
If you manually capture errors (e.g. by callingSentry.captureException), your errors will continue to be reported as handled.This change might lead to a decrease in reported crash-free sessions and consequently in your release health score.
If you have concerns about this, feel free to open an issue.Other Changes
node-experimental: Implement new performance APIs
node-experimental: Sync OTEL context with Sentry AsyncContext
replay: Allow to configure
maxReplayDurationremix: Add debugid injection and map deletion to sourcemaps script
browser: Add replay and profiling options to
BrowserClientOptionsbrowser: Check for existence of instrumentation targets
nextjs: Don't re-export default in route handlers
node: Improve mysql integration
remix: Guard against missing default export for server instrument
- Deprecated
browser: Deprecate top-level
wrapfunction
Work in this release contributed by @SorsOps. Thank you for your contribution!
Bundle size
Path Size @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 75.32 KB @sentry/browser (incl. Tracing) - Webpack (gzipped) 31.21 KB @sentry/browser - Webpack (gzipped) 21.83 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 69.83 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 28.16 KB @sentry/browser - ES6 CDN Bundle (gzipped) 20.15 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 220.71 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 84.99 KB @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 59.7 KB @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 31.05 KB @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 75.34 KB @sentry/react - Webpack (gzipped) 21.86 KB @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 93.2 KB @sentry/nextjs Client - Webpack (gzipped) 50.78 KB 7.66.0
30 Aug 2023Defer tracing decision to downstream SDKs when using SDK without performance
nextjs: Fix
package.jsonexportssveltekit: Ensure target file exists before applying auto instrumentation
Defer tracing decision to downstream SDKs when using SDK without performance
nextjs: Fix
package.jsonexportssveltekit: Ensure target file exists before applying auto instrumentation
Bundle size
Path Size @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 75.27 KB @sentry/browser (incl. Tracing) - Webpack (gzipped) 31.25 KB @sentry/browser - Webpack (gzipped) 21.86 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 69.79 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 28.2 KB @sentry/browser - ES6 CDN Bundle (gzipped) 20.19 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 220.3 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 85.13 KB @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 59.84 KB @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 31.1 KB @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 75.29 KB @sentry/react - Webpack (gzipped) 21.89 KB @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 93.13 KB @sentry/nextjs Client - Webpack (gzipped) 50.8 KB 7.65.0
28 Aug 2023- Deprecated
tracing-internal: Deprecate
tracePropagationTargetsinBrowserTracing core: Introduce
Sentry.startActiveSpanandSentry.startSpanMemoize
AsyncLocalStorageinstance
core: Introduce
Sentry.startActiveSpanandSentry.startSpanMemoize
AsyncLocalStorageinstancenextjs: Check for validity of API route handler signature
nextjs: Fix
requestAsyncStorageShimpath resolution on windowsnode: Log entire error object in
OnUncaughtExceptionnode: More relevant warning message when tracing extensions are missing
replay: Streamline session creation/refresh
sveltekit: Avoid invalidating data on route changes in
wrapServerLoadWithSentrytracing: Better guarding for performance observer
- Deprecated
tracing-internal: Deprecate
tracePropagationTargetsinBrowserTracing
Bundle size
Path Size @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 75.22 KB @sentry/browser (incl. Tracing) - Webpack (gzipped) 31.2 KB @sentry/browser - Webpack (gzipped) 21.85 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 69.75 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 28.21 KB @sentry/browser - ES6 CDN Bundle (gzipped) 20.18 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 220.06 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 84.89 KB @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 59.86 KB @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 31.1 KB @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 75.24 KB @sentry/react - Webpack (gzipped) 21.88 KB @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 93.04 KB @sentry/nextjs Client - Webpack (gzipped) 50.73 KB 7.64.0
14 Aug 2023core: Add setMeasurement export
nextjs: Check for existence of default export when wrapping pages
nextjs: Ensure imports are valid relative paths
core: Add setMeasurement export
nextjs: Check for existence of default export when wrapping pages
nextjs: Ensure imports are valid relative paths
nextjs: Only re-export default export if it exists
Bundle size
Path Size @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 75.12 KB @sentry/browser (incl. Tracing) - Webpack (gzipped) 31.14 KB @sentry/browser - Webpack (gzipped) 21.81 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 69.73 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 28.18 KB @sentry/browser - ES6 CDN Bundle (gzipped) 20.18 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 219.89 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 84.78 KB @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 59.86 KB @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 31.04 KB @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 65.3 KB @sentry/react - Webpack (gzipped) 21.84 KB @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 92.93 KB @sentry/nextjs Client - Webpack (gzipped) 50.66 KB 7.63.0
10 Aug 2023eventbuilder: Export
exceptionFromErrorfor use in hybrid SDKsnode-experimental: Re-export from node
tracing: Add db connection attributes for mysql spans
eventbuilder: Export
exceptionFromErrorfor use in hybrid SDKsnode-experimental: Re-export from node
tracing: Add db connection attributes for mysql spans
tracing: Add db connection attributes for postgres spans
tracing: Improve data collection for mongodb spans
nextjs: Execute sentry config independently of
autoInstrumentServerFunctionsandautoInstrumentAppDirectoryreplay: Ensure we do not flush if flush took too long
replay: Ensure we do not try to flush when we force stop replay
replay: Fix
hasCheckouthandlingreplay: Handle multiple clicks in a short time
Bundle size
Path Size @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 75.1 KB @sentry/browser (incl. Tracing) - Webpack (gzipped) 31.11 KB @sentry/browser - Webpack (gzipped) 21.81 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 69.71 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 28.16 KB @sentry/browser - ES6 CDN Bundle (gzipped) 20.18 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 219.8 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 84.69 KB @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 59.86 KB @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 31.03 KB @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 65.3 KB @sentry/react - Webpack (gzipped) 21.84 KB @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 92.92 KB @sentry/nextjs Client - Webpack (gzipped) 50.64 KB 7.62.0
9 Aug 2023integrations: Add
ContextLinesintegration for html-embedded JS stack framesnextjs: Make all wrappers isomorphic and available in all runtimes
replay: Cancel debounce when replay is too short/long
Important Changes
integrations: Add
ContextLinesintegration for html-embedded JS stack frames
This release adds the
ContextLinesintegration as an optional integration for the Browser SDKs to@sentry/integrations.This integration adds source code from inline JavaScript of the current page's HTML (e.g. JS in
<script>tags) to stack traces of captured errors.
It can't collect source code from assets referenced by your HTML (e.g.<script src="..." />).The
ContextLinesintegration is useful when you have inline JS code in HTML pages that can't be accessed by Sentry's backend, for example, due to a login-protected page.import { ContextLines } from "@sentry/integrations"; Sentry.init({ // ... integrations: [ new ContextLines({ // The number of lines to collect before and after each stack frame's line number // Defaults to 7 frameContextLines: 7, }), ], });Other Changes
nextjs: Make all wrappers isomorphic and available in all runtimes
replay: Cancel debounce when replay is too short/long
utils:
dirnameandbasenameshould handle Windows paths
Bundle size
Path Size @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 74.96 KB @sentry/browser (incl. Tracing) - Webpack (gzipped) 31.11 KB @sentry/browser - Webpack (gzipped) 21.81 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 69.58 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 28.15 KB @sentry/browser - ES6 CDN Bundle (gzipped) 20.17 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 219.29 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 84.67 KB @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 59.83 KB @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 31.02 KB @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 65.16 KB @sentry/react - Webpack (gzipped) 21.84 KB @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 92.78 KB @sentry/nextjs Client - Webpack (gzipped) 50.64 KB 7.61.1
4 Aug 2023nextjs: Add
AsyncLocalStorageasync context strategy to edge SDKcore: Filter internal API frames for synthetic frames
integrations: Capture exception if any arg to console method is an error
nextjs: Add
AsyncLocalStorageasync context strategy to edge SDKcore: Filter internal API frames for synthetic frames
integrations: Capture exception if any arg to console method is an error
node-experimental: Update auto integration lookup & readme
node: Add availablility check on current hub to Node
ContextLinesintegrationreplay: Ensure buffer sessions end after capturing an error
replay: Ensure buffer->session switch is reliable
replay: Ensure we debounce flush if replay too short
replay: Improve capture of errorIds/traceIds
tracing: Set correct parent span id on fetch sentry-trace header
utils: Avoid
pre_contextandcontext_lineoverlap if frame lineno is out of bounds
Bundle size
Path Size @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 74.85 KB @sentry/browser (incl. Tracing) - Webpack (gzipped) 31.11 KB @sentry/browser - Webpack (gzipped) 21.81 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 69.53 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 28.14 KB @sentry/browser - ES6 CDN Bundle (gzipped) 20.15 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 219.03 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 84.63 KB @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 59.8 KB @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 30.43 KB @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 65.06 KB @sentry/react - Webpack (gzipped) 21.84 KB @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 92.65 KB @sentry/nextjs Client - Webpack (gzipped) 50.61 KB 7.61.0
31 Jul 2023node-experimental: Add
@sentry/node-experimentalpackage as MVP for POTELnode: Don't set extra baggage headers
tracing: Trim idle transaction spans if they exceed final timeout
Important Changes
node-experimental: Add
@sentry/node-experimentalpackage as MVP for POTEL
This introduces a new, experimental package,
@sentry/node-experimental.
This is a variant of the Node SDK which uses OpenTelemetry under the hood for performance instrumentation.Note that this package is very much WIP, considered unstable and may change at any time.
No SemVer guarantees apply whatsoever. Still, if you're brave enough you can give it a try.
Read more about @sentry/node-experimentalOther Changes
node: Don't set extra baggage headers
tracing: Trim idle transaction spans if they exceed final timeout
Bundle size
Path Size @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 75.07 KB @sentry/browser (incl. Tracing) - Webpack (gzipped) 31.4 KB @sentry/browser - Webpack (gzipped) 21.95 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 69.79 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 28.28 KB @sentry/browser - ES6 CDN Bundle (gzipped) 20.33 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 220.89 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 85.99 KB @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 60.48 KB @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 30.41 KB @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 65.14 KB @sentry/react - Webpack (gzipped) 21.96 KB @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 92.91 KB @sentry/nextjs Client - Webpack (gzipped) 50.89 KB 7.60.1
26 Jul 2023nextjs: Match folder paths with trailing separator
replay: Ignore clicks with
shiftpressedreplay: Use
session.startedfor min/max duration check
7.60.0
21 Jul 2023replay: Ensure min/max duration when flushing
profiling: Align to SDK selected time origin
replay: Ensure multi click has correct timestamps
Important Changes
replay: Ensure min/max duration when flushing
We will not send replays that are <5s long anymore. Additionally, we also added further safeguards to avoid overly long (>1h) replays.
You can optionally configure the min. replay duration (defaults to 5s):new Replay({ minReplayDuration: 10000 // in ms - note that this is capped at 15s max! })Other Changes
profiling: Align to SDK selected time origin
replay: Ensure multi click has correct timestamps
utils: Truncate aggregate exception values (LinkedErrors)
Bundle size
Path Size @sentry/browser - ES5 CDN Bundle (gzipped + minified) 21.99 KB @sentry/browser - ES5 CDN Bundle (minified) 69.25 KB @sentry/browser - ES6 CDN Bundle (gzipped + minified) 20.33 KB @sentry/browser - ES6 CDN Bundle (minified) 60.48 KB @sentry/browser - Webpack (gzipped + minified) 21.95 KB @sentry/browser - Webpack (minified) 71.63 KB @sentry/react - Webpack (gzipped + minified) 21.96 KB @sentry/nextjs Client - Webpack (gzipped + minified) 50.83 KB @sentry/browser + @sentry/tracing - ES5 CDN Bundle (gzipped + minified) 30.37 KB @sentry/browser + @sentry/tracing - ES6 CDN Bundle (gzipped + minified) 28.25 KB @sentry/replay ES6 CDN Bundle (gzipped + minified) 49.56 KB @sentry/replay - Webpack (gzipped + minified) 43.33 KB @sentry/browser + @sentry/tracing + @sentry/replay - ES6 CDN Bundle (gzipped + minified) 69.73 KB @sentry/browser + @sentry/replay - ES6 CDN Bundle (gzipped + minified) 62 KB 7.59.3
19 Jul 2023browser: 0 is a valid index
nextjs: Ensure Webpack plugin is available after dynamic require
types(browser): Add browser profiling client options
7.59.1
18 Jul 2023No changes. This release was published to fix a publishing issue with 7.59.0. Please see 7.59.0 for the changes in that release.
7.58.1
13 Jul 2023node: Set propagation context even when tracingOptions are not defined
7.58.0
12 Jul 2023Performance Monitoring not required for Distributed Tracing
tracing: Add tracing without performance to browser and client Sveltekit
node: Add tracing without performance to Node http integration
Important Changes
Performance Monitoring not required for Distributed Tracing
This release adds support for distributed tracing without requiring performance monitoring to be active on the JavaScript SDKs (browser and node). This means even if there is no sampled transaction/span, the SDK will still propagate traces to downstream services. Distributed Tracing can be configured with the
tracePropagationTargetsoption, which controls what requests to attach thesentry-traceandbaggageHTTP headers to (which is what propagates tracing information).Sentry.init({ tracePropagationTargets: ["third-party-site.com", /^https:\/\/yourserver\.io\/api/], });tracing: Add tracing without performance to browser and client Sveltekit
node: Add tracing without performance to Node http integration
node: Add tracing without performance to Node Undici
node: Populate propagation context using env variables
core: Support
AggregateErrorsinLinkedErrorsintegration
This release adds support for
AggregateErrors. AggregateErrors are considered as Exception Groups by Sentry, and will be visualized and grouped differently. See the Exception Groups Changelog Post for more details.Exception Group support requires Self-Hosted Sentry version 23.5.1 or newer.
replay: Add a new option
networkDetailDenyUrls
This release adds a new option
networkDetailDenyUrlsto theReplayintegration. This option allows you to specify a list of URLs that should not be captured by theReplayintegration, which can be used alongside the existingnetworkDetailAllowUrlsfor finely grained control of which URLs should have network details captured.Sentry.init({ integrations: [ new Sentry.Integrations.Replay({ networkDetailDenyUrls: [/^http:\/\/example.com\/test$/], }), ], });Other Changes
core: Add helpers to get module metadata from injected code
core: Add sampling decision to trace envelope header
node: Add trace context to checkin
node: Export
getModulefor Electron SDKtypes: Allow
user.idto be a numberbrowser: Set anonymous
crossoriginattribute on report dialognextjs: Ignore
tunnelRoutewhen doing static exportsnextjs: Use
basePathoption fortunnelRoutenode: Apply source context to linked errors even when it is uncached
node: Report errorMiddleware errors as unhandled
react: Add support for
basenameoption ofcreateBrowserRouterremix: Add explicit
@sentry/nodeexports.remix: Don't inject trace/baggage to
redirectandcatchresponsesreplay: Adjust slow/multi click handling
Work in this release contributed by @mrdulin, @donaldxdonald & @ziyad-elabid-nw. Thank you for your contributions!
Bundle size
Path Size @sentry/browser - ES5 CDN Bundle (gzipped + minified) 21.95 KB @sentry/browser - ES5 CDN Bundle (minified) 69.13 KB @sentry/browser - ES6 CDN Bundle (gzipped + minified) 20.28 KB @sentry/browser - ES6 CDN Bundle (minified) 60.38 KB @sentry/browser - Webpack (gzipped + minified) 21.9 KB @sentry/browser - Webpack (minified) 71.51 KB @sentry/react - Webpack (gzipped + minified) 21.92 KB @sentry/nextjs Client - Webpack (gzipped + minified) 50.58 KB @sentry/browser + @sentry/tracing - ES5 CDN Bundle (gzipped + minified) 30.11 KB @sentry/browser + @sentry/tracing - ES6 CDN Bundle (gzipped + minified) 28.16 KB @sentry/replay ES6 CDN Bundle (gzipped + minified) 49.42 KB @sentry/replay - Webpack (gzipped + minified) 43.1 KB @sentry/browser + @sentry/tracing + @sentry/replay - ES6 CDN Bundle (gzipped + minified) 69.51 KB @sentry/browser + @sentry/replay - ES6 CDN Bundle (gzipped + minified) 61.82 KB 7.57.0
28 Jun 2023types: Add tracePropagationTargets to top level options
angular: Filter out
TryCatchintegration by defaultbrowser: Better event name handling for non-Error objects
Important Changes
This release version bumps the internally used typescript version from 3.8.x to 4.9.x.
We use ds-downlevel to generate two versions of our types, one for >=3.8, one for >=4.9.
This means that this change should be fully backwards compatible and not have any noticable user impact,
but if you still encounter issues please let us know.types: Add tracePropagationTargets to top level options
Instead of passing
tracePropagationTargetsto theBrowserTracingintegration, you can now define them on the top level:Sentry.init({ tracePropagationTargets: ['api.site.com'], });angular: Filter out
TryCatchintegration by default
The Angular and Angular-ivy SDKs will not install the TryCatch integration anymore by default.
This integration conflicted with theSentryErrorHander, sometimes leading to duplicated errors and/or missing data on events.browser: Better event name handling for non-Error objects
When capturing non-errors via
Sentry.captureException(), e.g.Sentry.captureException({ prop: "custom object" }),
we now generate a more helpful value for the synthetic exception. Instead of e.g.Non-Error exception captured with keys: currentTarget, isTrusted, target, type, you'll now get messages like:Object captured as exception with keys: prop1, prop2 Event `MouseEvent` (type=click) captured as exception Event `ErrorEvent` captured as exception with message `Script error.`
Other Changes
browser: Send profiles in same envelope as transactions
profiling: Collect timings on profiler stop calls
replay: Do not capture replays < 5 seconds (GA)
tracing: Add experiment to capture http timings
tracing: Add
http.response.status_codetospan.dataangular: Stop routing spans on navigation cancel and error events
core: Only start spans in
traceif tracing is enablednextjs: Inject init calls via loader instead of via entrypoints
replay: Mark ui.slowClickDetected
clickCountas optionalserverless: Export
autoDiscoverNodePerformanceMonitoringIntegrationsfrom SDKsveltekit: Check for cached requests in client-side fetch instrumentation
sveltekit: Only instrument SvelteKit
fetchif the SDK client is validtracing: Instrument Prisma client in constructor of integration
Bundle size
Path Size @sentry/browser - ES5 CDN Bundle (gzipped + minified) 21.49 KB @sentry/browser - ES5 CDN Bundle (minified) 67.59 KB @sentry/browser - ES6 CDN Bundle (gzipped + minified) 19.82 KB @sentry/browser - ES6 CDN Bundle (minified) 58.9 KB @sentry/browser - Webpack (gzipped + minified) 21.43 KB @sentry/browser - Webpack (minified) 69.87 KB @sentry/react - Webpack (gzipped + minified) 21.46 KB @sentry/nextjs Client - Webpack (gzipped + minified) 49.81 KB @sentry/browser + @sentry/tracing - ES5 CDN Bundle (gzipped + minified) 29.39 KB @sentry/browser + @sentry/tracing - ES6 CDN Bundle (gzipped + minified) 27.48 KB @sentry/replay ES6 CDN Bundle (gzipped + minified) 49.34 KB @sentry/replay - Webpack (gzipped + minified) 43.11 KB @sentry/browser + @sentry/tracing + @sentry/replay - ES6 CDN Bundle (gzipped + minified) 68.82 KB @sentry/browser + @sentry/replay - ES6 CDN Bundle (gzipped + minified) 61.38 KB 7.56.0
19 Jun 2023replay: Rework slow click & multi click detection
replay: Stop replay when event buffer exceeds max. size
replay: Consider
window.openfor slow clicks
replay: Rework slow click & multi click detection
replay: Stop replay when event buffer exceeds max. size
replay: Consider
window.openfor slow clickscore: Temporarily store debug IDs in stack frame and only put them into
debug_metabefore sendingremix: Extract deferred responses correctly in root loaders.
vue: Don't call
nextin Vue router 4 instrumentation
Bundle size
Path Size @sentry/browser - ES5 CDN Bundle (gzipped + minified) 21.17 KB @sentry/browser - ES5 CDN Bundle (minified) 66.13 KB @sentry/browser - ES6 CDN Bundle (gzipped + minified) 19.71 KB @sentry/browser - ES6 CDN Bundle (minified) 58.6 KB @sentry/browser - Webpack (gzipped + minified) 21.33 KB @sentry/browser - Webpack (minified) 69.52 KB @sentry/react - Webpack (gzipped + minified) 21.36 KB @sentry/nextjs Client - Webpack (gzipped + minified) 49.28 KB @sentry/browser + @sentry/tracing - ES5 CDN Bundle (gzipped + minified) 28.79 KB @sentry/browser + @sentry/tracing - ES6 CDN Bundle (gzipped + minified) 27.03 KB @sentry/replay ES6 CDN Bundle (gzipped + minified) 49.37 KB @sentry/replay - Webpack (gzipped + minified) 43.1 KB @sentry/browser + @sentry/tracing + @sentry/replay - ES6 CDN Bundle (gzipped + minified) 68.4 KB @sentry/browser + @sentry/replay - ES6 CDN Bundle (gzipped + minified) 61.29 KB 7.55.2
14 Jun 2023replay: Stop exporting
EventTypefrom@sentry-internal/rrwebserverless: Export captureCheckIn
7.55.1
14 Jun 2023replay: Do not export types from
@sentry-internal/rrweb
7.55.0
13 Jun 2023replay: Capture slow clicks (GA)
replay: Improve types for replay recording events
nextjs: Strip query params from transaction names of navigations to unknown routes
replay: Capture slow clicks (GA)
replay: Improve types for replay recording events
nextjs: Strip query params from transaction names of navigations to unknown routes
replay: Ignore max session life for buffered sessions
sveltekit: Export captureCheckIn
Bundle size
Path Size @sentry/browser - ES5 CDN Bundle (gzipped + minified) 21.12 KB @sentry/browser - ES5 CDN Bundle (minified) 65.86 KB @sentry/browser - ES6 CDN Bundle (gzipped + minified) 19.65 KB @sentry/browser - ES6 CDN Bundle (minified) 58.34 KB @sentry/browser - Webpack (gzipped + minified) 21.28 KB @sentry/browser - Webpack (minified) 69.26 KB @sentry/react - Webpack (gzipped + minified) 21.31 KB @sentry/nextjs Client - Webpack (gzipped + minified) 49.23 KB @sentry/browser + @sentry/tracing - ES5 CDN Bundle (gzipped + minified) 28.74 KB @sentry/browser + @sentry/tracing - ES6 CDN Bundle (gzipped + minified) 26.98 KB @sentry/replay ES6 CDN Bundle (gzipped + minified) 48.68 KB @sentry/replay - Webpack (gzipped + minified) 42.26 KB @sentry/browser + @sentry/tracing + @sentry/replay - ES6 CDN Bundle (gzipped + minified) 67.63 KB @sentry/browser + @sentry/replay - ES6 CDN Bundle (gzipped + minified) 60.54 KB 7.54.0
1 Jun 2023core: Add default entries to
ignoreTransactionsfor Healthchecks #8191All SDKs now filter out health check transactions by default.
These are transactions where the transaction name matches typical API health check calls, such as/^.*healthy.*$/or/^. *heartbeat.*$/. Take a look at this list to learn which regexes we currently use to match transaction names.
We believe that these transactions do not provide value in most cases and we want to save you some of your quota by filtering them out by default.
These filters are implemented as default values for the top levelignoreTransactionsoption.You can disable this filtering by manually specifiying the
InboundFiltersintegration and setting thedisableTransactionDefaultsoption:Sentry.init({ //... integrations: [new InboundFilters({ disableTransactionDefaults: true })], })replay: Add
mutationBreadcrumbLimitandmutationLimitto Replay OptionsThe previously experimental options
mutationBreadcumbLimitandmutationLimithave been promoted to regular Replay integration options.A high number of DOM mutations (in a single event loop) can cause performance regressions in end-users' browsers.
UsemutationBreadcrumbLimitto send a breadcrumb along with your recording if the mutation limit was reached.
UsemutationLimitto stop recording if the mutation limit was reached.sveltekit: Add source maps support for Vercel (lambda)
The SvelteKit SDK can now be used if you deploy your SvelteKit app to Vercel.
By default, the SDK's Vite plugin will detect the used adapter and adjust the source map uploading config as necessary.
If you want to override the default adapter detection, you can specify theadapteroption in thesentrySvelteKitoptions:// vite.config.js export default defineConfig({ plugins: [ sentrySvelteKit({ adapter: 'vercel', }), sveltekit(), ], });Currently, the Vite plugin will configure itself correctly for
@sveltejs/adapter-auto,@sveltejs/adapter-verceland@sveltejs/adapter-node.Important: The SvelteKit SDK is not yet compatible with Vercel's edge runtime.
It will only work for lambda functions.
Important Changes
core: Add default entries to
ignoreTransactionsfor Healthchecks #8191All SDKs now filter out health check transactions by default.
These are transactions where the transaction name matches typical API health check calls, such as/^.*healthy.*$/or/^. *heartbeat.*$/. Take a look at this list to learn which regexes we currently use to match transaction names.
We believe that these transactions do not provide value in most cases and we want to save you some of your quota by filtering them out by default.
These filters are implemented as default values for the top levelignoreTransactionsoption.You can disable this filtering by manually specifiying the
InboundFiltersintegration and setting thedisableTransactionDefaultsoption:Sentry.init({ //... integrations: [new InboundFilters({ disableTransactionDefaults: true })], })replay: Add
mutationBreadcrumbLimitandmutationLimitto Replay OptionsThe previously experimental options
mutationBreadcumbLimitandmutationLimithave been promoted to regular Replay integration options.A high number of DOM mutations (in a single event loop) can cause performance regressions in end-users' browsers.
UsemutationBreadcrumbLimitto send a breadcrumb along with your recording if the mutation limit was reached.
UsemutationLimitto stop recording if the mutation limit was reached.sveltekit: Add source maps support for Vercel (lambda)
feat(sveltekit): Auto-detect SvelteKit adapters
The SvelteKit SDK can now be used if you deploy your SvelteKit app to Vercel.
By default, the SDK's Vite plugin will detect the used adapter and adjust the source map uploading config as necessary.
If you want to override the default adapter detection, you can specify theadapteroption in thesentrySvelteKitoptions:// vite.config.js export default defineConfig({ plugins: [ sentrySvelteKit({ adapter: 'vercel', }), sveltekit(), ], });Currently, the Vite plugin will configure itself correctly for
@sveltejs/adapter-auto,@sveltejs/adapter-verceland@sveltejs/adapter-node.Important: The SvelteKit SDK is not yet compatible with Vercel's edge runtime.
It will only work for lambda functions.
Other Changes
replay: Throttle breadcrumbs to max 300/5s
sveltekit: Add option to control handling of unknown server routes
node: Strip query and fragment from request URLs without route parameters
remix: Don't log missing parameters warning on server-side.
remix: Pass
loadContextthrough wrapped document request functionreplay: Guard against missing key
sveltekit: Avoid capturing redirects and 4xx Http errors in request Handlers
sveltekit: Bump
magicastto supportsatisfiedkeywordwasm: Avoid throwing an error when WASM modules are loaded from blobs
Bundle size
Path Size @sentry/browser - ES5 CDN Bundle (gzipped + minified) 21.12 KB @sentry/browser - ES5 CDN Bundle (minified) 65.86 KB @sentry/browser - ES6 CDN Bundle (gzipped + minified) 19.65 KB @sentry/browser - ES6 CDN Bundle (minified) 58.34 KB @sentry/browser - Webpack (gzipped + minified) 21.28 KB @sentry/browser - Webpack (minified) 69.26 KB @sentry/react - Webpack (gzipped + minified) 21.31 KB @sentry/nextjs Client - Webpack (gzipped + minified) 49.23 KB @sentry/browser + @sentry/tracing - ES5 CDN Bundle (gzipped + minified) 28.74 KB @sentry/browser + @sentry/tracing - ES6 CDN Bundle (gzipped + minified) 26.98 KB @sentry/replay ES6 CDN Bundle (gzipped + minified) 48.58 KB @sentry/replay - Webpack (gzipped + minified) 42.28 KB @sentry/browser + @sentry/tracing + @sentry/replay - ES6 CDN Bundle (gzipped + minified) 67.63 KB @sentry/browser + @sentry/replay - ES6 CDN Bundle (gzipped + minified) 60.55 KB 7.53.1
24 May 2023core: Fix racecondition that modifies in-flight sessions
node: Catch
os.uptime()throwing because of EPERMreplay: Fix buffered replays creating replay w/o error occuring
core: Fix racecondition that modifies in-flight sessions
node: Catch
os.uptime()throwing because of EPERMreplay: Fix buffered replays creating replay w/o error occuring
Bundle size
Path Size @sentry/browser - ES5 CDN Bundle (gzipped + minified) 21.05 KB @sentry/browser - ES5 CDN Bundle (minified) 65.69 KB @sentry/browser - ES6 CDN Bundle (gzipped + minified) 19.59 KB @sentry/browser - ES6 CDN Bundle (minified) 58.16 KB @sentry/browser - Webpack (gzipped + minified) 21.21 KB @sentry/browser - Webpack (minified) 69.08 KB @sentry/react - Webpack (gzipped + minified) 21.23 KB @sentry/nextjs Client - Webpack (gzipped + minified) 49.16 KB @sentry/browser + @sentry/tracing - ES5 CDN Bundle (gzipped + minified) 28.67 KB @sentry/browser + @sentry/tracing - ES6 CDN Bundle (gzipped + minified) 26.91 KB @sentry/replay ES6 CDN Bundle (gzipped + minified) 48.25 KB @sentry/replay - Webpack (gzipped + minified) 42.1 KB @sentry/browser + @sentry/tracing + @sentry/replay - ES6 CDN Bundle (gzipped + minified) 67.22 KB @sentry/browser + @sentry/replay - ES6 CDN Bundle (gzipped + minified) 60.12 KB 7.53.0
23 May 2023replay: Add
beforeAddRecordingEventReplay optionreplay: Do not capture replays < 5 seconds
nextjs: Guard for non-absolute paths when injecting sentry config
replay: Add
beforeAddRecordingEventReplay optionreplay: Do not capture replays < 5 seconds
nextjs: Guard for non-absolute paths when injecting sentry config
nextjs: Import path issue on Windows
nextjs: Make
withSentryConfigisomorphicnode: Add debug logging for node checkin
node: Add LRU map for tracePropagationTargets calculation
node: Remove new URL usage in Undici integration
replay: Show the correct Replay config option name
maskFnsveltekit: Avoid double-wrapping load functions
tracing: Change where content-length gets added
tracing: Use integer for content length
utils: Fail silently if the provided Dsn is invalid
Bundle size
Path Size @sentry/browser - ES5 CDN Bundle (gzipped + minified) 21.03 KB @sentry/browser - ES5 CDN Bundle (minified) 65.68 KB @sentry/browser - ES6 CDN Bundle (gzipped + minified) 19.59 KB @sentry/browser - ES6 CDN Bundle (minified) 58.15 KB @sentry/browser - Webpack (gzipped + minified) 21.2 KB @sentry/browser - Webpack (minified) 69.07 KB @sentry/react - Webpack (gzipped + minified) 21.22 KB @sentry/nextjs Client - Webpack (gzipped + minified) 49.16 KB @sentry/browser + @sentry/tracing - ES5 CDN Bundle (gzipped + minified) 28.67 KB @sentry/browser + @sentry/tracing - ES6 CDN Bundle (gzipped + minified) 26.9 KB @sentry/replay ES6 CDN Bundle (gzipped + minified) 48.24 KB @sentry/replay - Webpack (gzipped + minified) 42.1 KB @sentry/browser + @sentry/tracing + @sentry/replay - ES6 CDN Bundle (gzipped + minified) 67.21 KB @sentry/browser + @sentry/replay - ES6 CDN Bundle (gzipped + minified) 60.11 KB 7.52.1
15 May 2023replay: Capture slow clicks (experimental)
7.52.0
15 May 2023nextjs: Add API method to wrap API routes with crons instrumentation
nextjs: Add automatic monitors for Vercel Cron Jobs
replay: Capture keyboard presses for special characters
Important Next.js SDK changes
This release adds support Vercel Cron Jobs in the Next.js SDK.
The SDK will automatically create Sentry Cron Monitors for your Vercel Cron Jobs configured viavercel.jsonwhen deployed on Vercel.You can opt out of this functionality by setting the
automaticVercelMonitorsoption tofalse:// next.config.js const nextConfig = { sentry: { automaticVercelMonitors: false, }, };(Note: Sentry Cron Monitoring is currently in beta and subject to change. Help us make it better by letting us know what you think. Respond on GitHub or write to us at crons-feedback@sentry.io)
nextjs: Add API method to wrap API routes with crons instrumentation
nextjs: Add automatic monitors for Vercel Cron Jobs
Other changes
replay: Capture keyboard presses for special characters
build: Don't mangle away global debug ID map
core: Return checkin id from client
core: Use last error for
ignoreErrorscheckreplay: Check relative URLs correctly
tracing-internal: Avoid classifying protocol-relative URLs as same-origin urls
Bundle size
Path Size @sentry/browser - ES5 CDN Bundle (gzipped + minified) 21.03 KB @sentry/browser - ES5 CDN Bundle (minified) 65.63 KB @sentry/browser - ES6 CDN Bundle (gzipped + minified) 19.57 KB @sentry/browser - ES6 CDN Bundle (minified) 58.09 KB @sentry/browser - Webpack (gzipped + minified) 21.17 KB @sentry/browser - Webpack (minified) 69.04 KB @sentry/react - Webpack (gzipped + minified) 21.19 KB @sentry/nextjs Client - Webpack (gzipped + minified) 49.12 KB @sentry/browser + @sentry/tracing - ES5 CDN Bundle (gzipped + minified) 28.65 KB @sentry/browser + @sentry/tracing - ES6 CDN Bundle (gzipped + minified) 26.89 KB @sentry/replay ES6 CDN Bundle (gzipped + minified) 47.7 KB @sentry/replay - Webpack (gzipped + minified) 41.57 KB @sentry/browser + @sentry/tracing + @sentry/replay - ES6 CDN Bundle (gzipped + minified) 66.6 KB @sentry/browser + @sentry/replay - ES6 CDN Bundle (gzipped + minified) 59.48 KB 7.51.2
8 May 2023nextjs: Continue traces in data fetchers when there is an already active transaction on the hub
sveltekit: Avoid creating the Sentry Vite plugin in dev mode
7.51.1
8 May 2023replay: Add event to capture options on checkouts
replay: Improve click target detection
node: Make sure we use same ID for checkIns
replay: Add event to capture options on checkouts
replay: Improve click target detection
node: Make sure we use same ID for checkIns
fix(replay: Keep session active on key press
replay: Move error sampling to before send
sveltekit: Wrap
loadwhen typed explicitly
Replay
rrwebchanges:@sentry-internal/rrwebwas updated from 1.106.0 to 1.108.0:Fix some input masking (esp for radio buttons)
Unescaped
:in CSS rule from SafariDefine custom elements (web components)
Work in this release contributed by @sreetamdas. Thank you for your contribution!
Bundle size
Path Size @sentry/browser - ES5 CDN Bundle (gzipped + minified) 21.01 KB @sentry/browser - ES5 CDN Bundle (minified) 65.62 KB @sentry/browser - ES6 CDN Bundle (gzipped + minified) 19.55 KB @sentry/browser - ES6 CDN Bundle (minified) 58.08 KB @sentry/browser - Webpack (gzipped + minified) 21.16 KB @sentry/browser - Webpack (minified) 69.03 KB @sentry/react - Webpack (gzipped + minified) 21.18 KB @sentry/nextjs Client - Webpack (gzipped + minified) 49.09 KB @sentry/browser + @sentry/tracing - ES5 CDN Bundle (gzipped + minified) 28.64 KB @sentry/browser + @sentry/tracing - ES6 CDN Bundle (gzipped + minified) 26.86 KB @sentry/replay ES6 CDN Bundle (gzipped + minified) 47.35 KB @sentry/replay - Webpack (gzipped + minified) 41.13 KB @sentry/browser + @sentry/tracing + @sentry/replay - ES6 CDN Bundle (gzipped + minified) 66.3 KB @sentry/browser + @sentry/replay - ES6 CDN Bundle (gzipped + minified) 59.18 KB 7.51.0
4 May 2023sveltekit: Auto-wrap
loadfunctions with proxy module+(page|layout).(ts|js)files (universal loads)+(page|layout).server.(ts|js)files (server-only loads)
Important Changes
sveltekit: Auto-wrap
loadfunctions with proxy module
@sentry/sveltekitnow auto-wrapsloadfunctions in+(page|layout).(ts|js)files (universal loads)+(page|layout).server.(ts|js)files (server-only loads)
This means that you don't have to manually add the
wrapLoadWithSentryandwrapServerLoadWithSentryfunctions around your load functions. The SDK will not interfere with already wrappedloadfunctions.For more details, take a look at the Readme
We now officially support Angular 16 in
@sentry/angular-ivy.
Note that@sentry/angulardoes not support Angular 16.node: Add ability to send cron monitor check ins
Note: This release contains a bug with generating cron monitors. We recommend you wait till the next release of the JS SDK to use cron monitoring functionality
This release adds Sentry cron monitoring support to the Node SDK.
To monitor your cron jobs, send check-ins everytime you execute your cron jobs to Sentry. You can do this with the
captureCheckInmethod exported from the SDK. First you must send anin_progress, checkin, then you can send one with statusokorerrorbased on what happened with your cron job.const Sentry = require('@sentry/node'); // ... Sentry.captureCheckIn({ // make sure this is the same slug as what you set up your // Sentry cron monitor with. monitorSlug: 'dailyEmail', status: 'in_progress', }); const startTime = timeInSeconds(); runTask(); Sentry.captureCheckIn({ monitorSlug: 'dailyEmail', status: 'ok', duration: timeInSeconds() - startTime, });Additional Features and Fixes
browser: Export makeMultiplexedTransport from browser SDK
node: Add
http.methodto node http spanstracing: Add body size for fetch requests
tracing: Use http.method for span data
integrations: Handle windows paths with no prefix or backslash prefix in
RewriteFramesnode: Mark stack frames with url protocol as in-app frames
remix: Export
Integrationtype declaration as union typereplay: Do not add replay_id to DSC while buffering
tracing: Don't set method multiple times
utils: Normalize
undefinedtoundefinedinstead of"[undefined]"
Work in this release contributed by @srubin and @arjenbrandenburgh. Thank you for your contributions!
Bundle size
Path Size @sentry/browser - ES5 CDN Bundle (gzipped + minified) 21.01 KB @sentry/browser - ES5 CDN Bundle (minified) 65.62 KB @sentry/browser - ES6 CDN Bundle (gzipped + minified) 19.55 KB @sentry/browser - ES6 CDN Bundle (minified) 58.08 KB @sentry/browser - Webpack (gzipped + minified) 21.16 KB @sentry/browser - Webpack (minified) 69.03 KB @sentry/react - Webpack (gzipped + minified) 21.18 KB @sentry/nextjs Client - Webpack (gzipped + minified) 49.09 KB @sentry/browser + @sentry/tracing - ES5 CDN Bundle (gzipped + minified) 28.64 KB @sentry/browser + @sentry/tracing - ES6 CDN Bundle (gzipped + minified) 26.86 KB @sentry/replay ES6 CDN Bundle (gzipped + minified) 46.86 KB @sentry/replay - Webpack (gzipped + minified) 40.67 KB @sentry/browser + @sentry/tracing + @sentry/replay - ES6 CDN Bundle (gzipped + minified) 65.74 KB @sentry/browser + @sentry/replay - ES6 CDN Bundle (gzipped + minified) 58.63 KB 7.50.0
27 Apr 2023replay: Allow to configure URLs to capture network bodies/headers
replay: Change the behavior of error-based sampling
replay: Change
flush()API to record current event buffer
Important Changes
With this release, the Sveltekit SDK (@sentry/sveltekit) is promoted to Beta.
This means that we do not expect any more breaking changes.The final breaking change is that
sentryHandleis now a function.
So in order to update to 7.50.0, you have to update yourhooks.server.jsfile:// hooks.server.js // Old: export const handle = sentryHandle; // New: export const handle = sentryHandle();
replay: Allow to configure URLs to capture network bodies/headers
You can now capture request/response bodies & headers of network requests in Replay.
You have to define an allowlist of URLs you want to capture additional information for:new Replay({ networkDetailAllowUrls: ['https://sentry.io/api'], });By default, we will capture request/response bodies, as well as the request/response headers
content-type,content-lengthandaccept.
You can configure this with some additional configuration:new Replay({ networkDetailAllowUrls: ['https://sentry.io/api'], // opt-out of capturing bodies networkCaptureBodies: false, // These headers are captured _in addition to_ the default headers networkRequestHeaders: ['X-Custom-Header'], networkResponseHeaders: ['X-Custom-Header', 'X-Custom-Header-2'] });Note that bodies will be truncated to a max length of ~150k characters.
- feat(replay): Changes of sampling behavior & public API
replay: Change the behavior of error-based sampling
replay: Change
flush()API to record current event bufferreplay: Change
stop()to flush and remove current session
We have changed the behavior of error-based sampling, as well as adding & adjusting APIs a bit to be more aligned with expectations.
See Sampling for details.We've also revamped some public APIs in order to be better aligned with expectations. See Stoping & Starting Replays manually for details.
core: Add multiplexed transport
We added a new transport to support multiplexing.
With this, you can configure Sentry to send events to different DSNs, depending on a logic of your choosing:import { makeMultiplexedTransport } from '@sentry/core'; import { init, captureException, makeFetchTransport } from '@sentry/browser'; function dsnFromFeature({ getEvent }) { const event = getEvent(); switch(event?.tags?.feature) { case 'cart': return ['__CART_DSN__']; case 'gallery': return ['__GALLERY_DSN__']; } return [] } init({ dsn: '__FALLBACK_DSN__', transport: makeMultiplexedTransport(makeFetchTransport, dsnFromFeature) });Additional Features and Fixes
nextjs: Add
disableLoggeroption that automatically tree shakes logger statementsnode: Make Undici a default integration.
replay: Extend session idle time until expire to 15min
tracing: Add
db.systemspan data to DB spanscore: Avoid crash when Function.prototype is frozen
nextjs: Fix inject logic for Next.js 13.3.1 canary
replay: Ensure console breadcrumb args are truncated
replay: Ensure we do not set replayId on dsc if replay is disabled
replay: Ensure we still truncate large bodies if they are failed JSON
utils: Default normalize() to a max. of 100 levels deep instead of Inifnity
Work in this release contributed by @Jack-Works. Thank you for your contribution!
Bundle size
Path Size @sentry/browser - ES5 CDN Bundle (gzipped + minified) 21.02 KB @sentry/browser - ES5 CDN Bundle (minified) 65.66 KB @sentry/browser - ES6 CDN Bundle (gzipped + minified) 19.56 KB @sentry/browser - ES6 CDN Bundle (minified) 58.12 KB @sentry/browser - Webpack (gzipped + minified) 21.17 KB @sentry/browser - Webpack (minified) 69.07 KB @sentry/react - Webpack (gzipped + minified) 21.19 KB @sentry/nextjs Client - Webpack (gzipped + minified) 49.03 KB @sentry/browser + @sentry/tracing - ES5 CDN Bundle (gzipped + minified) 28.59 KB @sentry/browser + @sentry/tracing - ES6 CDN Bundle (gzipped + minified) 26.82 KB @sentry/replay ES6 CDN Bundle (gzipped + minified) 46.81 KB @sentry/replay - Webpack (gzipped + minified) 40.59 KB @sentry/browser + @sentry/tracing + @sentry/replay - ES6 CDN Bundle (gzipped + minified) 65.62 KB @sentry/browser + @sentry/replay - ES6 CDN Bundle (gzipped + minified) 58.57 KB 7.49.0
20 Apr 2023- Deprecated
deprecate: Deprecate
timestampWithMs sveltekit: Read adapter output directory from
svelte.config.jsreplay: Ensure we normalize scope breadcrumbs to max. depth to avoid circular ref
Important Changes
sveltekit: Read adapter output directory from
svelte.config.js
Our source maps upload plugin is now able to read
svelte.config.js. This is necessary to automatically find the output directory that users can specify when setting up the Node adapter.replay: Ensure we normalize scope breadcrumbs to max. depth to avoid circular ref
This release fixes a potential problem with how Replay captures console logs.
Any objects logged will now be cut off after a maximum depth of 10, as well as cutting off any properties after the 1000th.
This should ensure we do not accidentally capture massive console logs, where a stringified object could reach 100MB or more.utils: Normalize HTML elements as string
We used to normalize references to HTML elements as POJOs.
This is both not very easily understandable, as well as potentially large, as HTML elements may have properties attached to them.
With this change, we now normalize them to e.g.[HTMLElement: HTMLInputElement].Additional Features and Fixes
browser: Simplify stack parsers
node: Add monitor upsert types
replay: Truncate network bodies to max size
gatsby: Don't crash build when auth token is missing
gatsby: Use
importforgatsby-browser.jsinstead ofrequirenextjs: Handle braces in stack frame URLs
nextjs: Mark value injection loader result as uncacheable
node: Reduce deepReadDirSync runtime complexity
sveltekit: Avoid capturing "Not Found" errors in server
handleErrorwrappersveltekit: Detect sentry release before creating the Vite plugins
sveltekit: Use
sentry.propertiesfile when uploading source mapstracing: Ensure we use s instead of ms for startTimestamp
- Deprecated
deprecate: Deprecate
timestampWithMs
Bundle size
Path Size @sentry/browser - ES5 CDN Bundle (gzipped + minified) 21.02 KB @sentry/browser - ES5 CDN Bundle (minified) 65.65 KB @sentry/browser - ES6 CDN Bundle (gzipped + minified) 19.56 KB @sentry/browser - ES6 CDN Bundle (minified) 58.1 KB @sentry/browser - Webpack (gzipped + minified) 21.16 KB @sentry/browser - Webpack (minified) 69.06 KB @sentry/react - Webpack (gzipped + minified) 21.18 KB @sentry/nextjs Client - Webpack (gzipped + minified) 49.03 KB @sentry/browser + @sentry/tracing - ES5 CDN Bundle (gzipped + minified) 28.59 KB @sentry/browser + @sentry/tracing - ES6 CDN Bundle (gzipped + minified) 26.82 KB @sentry/replay ES6 CDN Bundle (gzipped + minified) 46.05 KB @sentry/replay - Webpack (gzipped + minified) 39.92 KB @sentry/browser + @sentry/tracing + @sentry/replay - ES6 CDN Bundle (gzipped + minified) 64.91 KB @sentry/browser + @sentry/replay - ES6 CDN Bundle (gzipped + minified) 57.89 KB 7.48.0
14 Apr 2023node: Add
AsyncLocalStorageimplementation ofAsyncContextStrategysveltekit: Remove
withSentryViteConfigsveltekit: Add Sentry Vite Plugin to upload source maps
Important Changes
node: Add
AsyncLocalStorageimplementation ofAsyncContextStrategyfeat(core): Extend
AsyncContextStrategyto allow reuse of existing contextfeat(core): Make
runWithAsyncContextpublic APIfeat(core): Add async context abstraction
feat(node): Adds
domainimplementation ofAsyncContextStrategyfeat(node): Auto-select best
AsyncContextStrategyfor Node.js versionfeat(node): Migrate to domains used through
AsyncContextStrategy
This release switches the SDK to use
AsyncLocalStorageas the async context isolation mechanism in the SDK for Node 14+. For Node 10 - 13, we continue to use the Nodedomainstandard library, sinceAsyncLocalStorageis not supported there. Preliminary testing showed a 30% improvement in latency and rps when making the switch from domains toAsyncLocalStorageon Node 16.If you want to manually add async context isolation to your application, you can use the new
runWithAsyncContextAPI.import * as Sentry from '@sentry/node'; const requestHandler = (ctx, next) => { return new Promise((resolve) => { Sentry.runWithAsyncContext(async () => { const hub = Sentry.getCurrentHub(); hub.configureScope(scope => scope.addEventProcessor(event => Sentry.addRequestDataToEvent(event, ctx.request, { include: { user: false, }, }) ) ); await next(); resolve(); }); }); };If you're manually using domains to isolate Sentry data, we strongly recommend switching to this API!
In addition to exporting
runWithAsyncContextpublicly, the SDK also uses it internally where we previously used domains.sveltekit: Remove
withSentryViteConfigfeat(sveltekit): Remove SDK initialization via dedicated files
This release removes our
withSentryViteConfigwrapper we previously instructed you to add to yourvite.config.jsfile. It is replaced Vite plugins which you simply add to your Vite config, just like thesveltekit()Vite plugins. We believe this is a more transparent and Vite/SvelteKit-native way of applying build time modifications. Here's how to use the plugins:// vite.config.js import { sveltekit } from '@sveltejs/kit/vite'; import { sentrySvelteKit } from '@sentry/sveltekit'; export default { plugins: [sentrySvelteKit(), sveltekit()], // ... rest of your Vite config };Take a look at the
READMEfor updated instructions!Furthermore, with this transition, we removed the possibility to intialize the SDK in dedicated
sentry.(client|server).config.jsfiles. Please use SvelteKit's hooks files to initialize the SDK.Please note that these are breaking changes! We're sorry for the inconvenience but the SvelteKit SDK is still in alpha stage and we want to establish a clean and SvelteKit-friendly API before making the SDK stable. You have been warned ;)
sveltekit: Add Sentry Vite Plugin to upload source maps
This release adds automatic upload of source maps to the SvelteKit SDK. No need to configure anything other than adding our Vite plugins to your SDK. The example above shows you how to do this.
Please make sure to follow the
READMEto specify your Sentry auth token, as well as org and project slugs.- feat(replay): Capture request & response headers (#7816)
Replay now captures the
content-length,content-type, andacceptheaders from requests and responses automatically.Additional Features and Fixes
browser: Export request instrumentation options
core: Add async context abstraction
core: Add DSC to all outgoing envelopes
core: Cache processed stacks for debug IDs
node: Add checkin envelope types
replay: Add
getReplayId()methodbrowser: Adjust
BrowserTransportOptionsto support offline transport optionsbrowser: DOMException SecurityError stacktrace parsing bug
core: Log warning when tracing extensions are missing
core: Only call
applyDebugMetadatafor error eventsintegrations: Ensure httpclient integration works with Request
node:
reuseExistingdoes not need to call bind on domainnode: Fix domain scope inheritance
node: Make
trpcMiddlewarefactory synchronousserverless: Account when transaction undefined
utils: Make xhr instrumentation independent of parallel running SDK versions
Bundle size
Path Size @sentry/browser - ES5 CDN Bundle (gzipped + minified) 21.04 KB @sentry/browser - ES5 CDN Bundle (minified) 65.66 KB @sentry/browser - ES6 CDN Bundle (gzipped + minified) 19.59 KB @sentry/browser - ES6 CDN Bundle (minified) 58.12 KB @sentry/browser - Webpack (gzipped + minified) 21.19 KB @sentry/browser - Webpack (minified) 69.07 KB @sentry/react - Webpack (gzipped + minified) 21.21 KB @sentry/nextjs Client - Webpack (gzipped + minified) 49.06 KB @sentry/browser + @sentry/tracing - ES5 CDN Bundle (gzipped + minified) 28.61 KB @sentry/browser + @sentry/tracing - ES6 CDN Bundle (gzipped + minified) 26.85 KB @sentry/replay ES6 CDN Bundle (gzipped + minified) 45.35 KB @sentry/replay - Webpack (gzipped + minified) 39.28 KB @sentry/browser + @sentry/tracing + @sentry/replay - ES6 CDN Bundle (gzipped + minified) 64.28 KB @sentry/browser + @sentry/replay - ES6 CDN Bundle (gzipped + minified) 57.26 KB 7.47.0
5 Apr 2023- Deprecated
feat(tracing): Deprecate
@sentry/tracingexports feat(browser): Add captureUserFeedback
sveltekit: Add partial instrumentation for client-side
fetch
Important Changes
feat(browser): Add captureUserFeedback
This release adds a new API,
Sentry.captureUserFeedback, to browser-side SDKs that allows you to send user feedback to Sentry without loading and opening Sentry's user feedback dialog. This allows you to obtain user feedback however and whenever you want to and simply send it to Sentry using the SDK.For instance, you can collect feedback, whenever convenient as shown in this example:
const eventId = Sentry.captureMessage('User Feedback'); const user = Sentry.getCurrentHub().getScope().getUser(); const userFeedback = { event_id: eventId; email: user.email name: user.username comments: 'I really like your App, thanks!' } Sentry.captureUserFeedback(userFeedback);Note that feedback needs to be coupled to an event but as in the example above, you can just use
Sentry.captureMessageto generate one.You could also collect feedback in a custom way if an error happens and use the SDK to send it along:
Sentry.init({ dsn: '__DSN__', beforeSend: event => { const userFeedback = collectYourUserFeedback(); const feedback = { ...userFeedback, event_id: event.event_id. } Sentry.captureUserFeedback(feedback); return event; } })- Deprecated
feat(tracing): Deprecate
@sentry/tracingexports
With this release, we officially deprecate all exports from the
@sentry/tracingpackage, in favour of using them directly from the main SDK package. The@sentry/tracingpackage will be removed in a future major release.Please take a look at the Migration docs for more details.
Additional Features and Fixes
sveltekit: Add partial instrumentation for client-side
fetchangular: Handle routes with empty path
angular: Only open report dialog if error was sent
core: Determine debug ID paths from the top of the stack
ember: Ensure only one client is created & Replay works
integrations: Ensure HttpClient integration works with Axios
loader: Ensure JS loader works with tracing & add tests
nextjs: Restore tree shaking capabilities
node: Disable
LocalVariablesintegration on Node < v18node: Redact URL authority only in breadcrumbs and spans
react: Only show report dialog if event was sent to Sentry
remix: Remove unnecessary dependencies
replay: Ensure circular references are handled
sveltekit: Don't capture thrown
Redirects as exceptionssveltekit: Log error to console by default in
handleErrorWithSentrytracing: Make sure idle transaction does not override other transactions
Work in this release contributed by @de-don and @TrySound. Thank you for your contributions!
Bundle size
Path Size @sentry/browser - ES5 CDN Bundle (gzipped + minified) 20.89 KB @sentry/browser - ES5 CDN Bundle (minified) 65.29 KB @sentry/browser - ES6 CDN Bundle (gzipped + minified) 19.44 KB @sentry/browser - ES6 CDN Bundle (minified) 57.75 KB @sentry/browser - Webpack (gzipped + minified) 21.06 KB @sentry/browser - Webpack (minified) 68.73 KB @sentry/react - Webpack (gzipped + minified) 21.09 KB @sentry/nextjs Client - Webpack (gzipped + minified) 48.87 KB @sentry/browser + @sentry/tracing - ES5 CDN Bundle (gzipped + minified) 28.45 KB @sentry/browser + @sentry/tracing - ES6 CDN Bundle (gzipped + minified) 26.68 KB @sentry/replay ES6 CDN Bundle (gzipped + minified) 44.88 KB @sentry/replay - Webpack (gzipped + minified) 38.87 KB @sentry/browser + @sentry/tracing + @sentry/replay - ES6 CDN Bundle (gzipped + minified) 63.77 KB @sentry/browser + @sentry/replay - ES6 CDN Bundle (gzipped + minified) 56.8 KB 7.46.0
30 Mar 2023feat(sveltekit): Add Performance Monitoring for SvelteKit
feat(core): Add
ignoreTransactionsoptionfeat(node): Undici integration
Important Changes
feat(sveltekit): Add Performance Monitoring for SvelteKit
feat(sveltekit): Add meta tag for backend -> frontend
fix(sveltekit): Explicitly export Node SDK exports
fix(sveltekit): Handle nested server calls in
sentryHandleref(sveltekit): Split up universal and server load wrappers
This release adds support for Performance Monitoring in our SvelteKit SDK for the client/server. We've also changed how you should initialize your SDK. Please read our updated SvelteKit README instructions for more details.
feat(core): Add
ignoreTransactionsoption
You can now easily filter out certain transactions from being sent to Sentry based on their name.
Sentry.init({ ignoreTransactions: ['/api/healthcheck', '/ping'], })feat(node): Undici integration
feat(nextjs): Add Undici integration automatically
feat(sveltekit): Add Undici integration by default
We've added an integration that automatically instruments Undici and Node server side fetch. This supports Undici
v4.7.0or higher and requires Nodev16.7.0or higher. After adding the integration outgoing requests made by Undici will have associated spans and breadcrumbs in Sentry.Sentry.init({ integrations: [new Sentry.Integrations.Undici()], })In our Next.js and SvelteKit SDKs, this integration is automatically added.
feat(node): Add Sentry tRPC middleware
We've added a new middleware for trpc that automatically adds TRPC information to Sentry transactions. This middleware is meant to be used in combination with a Sentry server integration (Next.js, Express, etc).
import { initTRPC } from '@trpc/server'; import * as Sentry from '@sentry/node'; const t = initTRPC.context().create(); const sentryMiddleware = t.middleware( Sentry.Handlers.trpcMiddleware({ attachRpcInput: true, }), ); const sentrifiedProcedure = t.procedure.use(sentryMiddleware);feat(tracing): Remove requirement for
@sentry/tracingpackage
With
7.46.0you no longer require the@sentry/tracingpackage to use tracing and performance monitoring with the Sentry JavaScript SDKs. The@sentry/tracingpackage will be removed in a future major release, but can still be used with no changes.Please see the Migration docs for more details.
fix(node): Convert debugging code to callbacks to fix memory leak in
LocalVariablesintegration
This fixes a memory leak in the opt-in
LocalVariablesintegration, which adds local variables to the stacktraces sent to Sentry. The minimum recommended version to use theLocalVariablesis now7.46.0.Additional Features and Fixes
node: Auto discovery only returns integrations where dependency loads
node: Sanitize URLs in Span descriptions and breadcrumbs (PII)
replay: Add
responseStatus,decodedBodySizeto perf entriesreplay: Add experiment to capture request/response bodies
replay: Capture replay mutation breadcrumbs & add experiment
tracing: Ensure
pageloadtransaction starts at timeOrigincore: Remove
abs_pathfrom stack trace (reverting #7167)nextjs: Add loading component type to server component wrapping
nextjs: Don't report
NEXT_NOT_FOUNDandNEXT_REDIRECTerrorsnextjs: Rewrite
abs_pathframesnextjs: Show errors and warnings only once during build
nextjs: Use Next.js internal AsyncStorage
nextjs: Gracefully handle undefined
beforeFilesin rewrites
Work in this release contributed by @aldenquimby and @bertho-zero. Thank you for your contributions!
Bundle size
Path Size @sentry/browser - ES5 CDN Bundle (gzipped + minified) 20.62 KB @sentry/browser - ES5 CDN Bundle (minified) 64.4 KB @sentry/browser - ES6 CDN Bundle (gzipped + minified) 19.15 KB @sentry/browser - ES6 CDN Bundle (minified) 56.78 KB @sentry/browser - Webpack (gzipped + minified) 21.53 KB @sentry/browser - Webpack (minified) 72 KB @sentry/react - Webpack (gzipped + minified) 21.55 KB @sentry/nextjs Client - Webpack (gzipped + minified) 52.05 KB @sentry/browser + @sentry/tracing - ES5 CDN Bundle (gzipped + minified) 28.21 KB @sentry/browser + @sentry/tracing - ES6 CDN Bundle (gzipped + minified) 26.41 KB @sentry/replay ES6 CDN Bundle (gzipped + minified) 44.74 KB @sentry/replay - Webpack (gzipped + minified) 38.86 KB @sentry/browser + @sentry/tracing + @sentry/replay - ES6 CDN Bundle (gzipped + minified) 63.46 KB @sentry/browser + @sentry/replay - ES6 CDN Bundle (gzipped + minified) 56.49 KB 7.45.0
24 Mar 2023core: Add trace function
hub: Make scope always defined on the hub
replay: Add
replay_idto transaction DSC
core: Add trace function
hub: Make scope always defined on the hub
replay: Add
replay_idto transaction DSCreplay: Capture fetch body size for replay events
sveltekit: Add performance monitoring for client load
sveltekit: Add performance monitoring for server load
sveltekit: Add performance monitoring to Sveltekit server handle
sveltekit: Add SvelteKit routing instrumentation
browser: Ensure keepalive flag is correctly set for parallel requests
core: Ensure
ignoreErrorsonly applies to error eventsnode: Consider tracing error handler for process exit
otel: Make sure we use correct hub on finish
react: Handle case where error.cause already defined
Bundle size
Path Size @sentry/browser - ES5 CDN Bundle (gzipped + minified) 20.57 KB @sentry/browser - ES5 CDN Bundle (minified) 64.2 KB @sentry/browser - ES6 CDN Bundle (gzipped + minified) 19.13 KB @sentry/browser - ES6 CDN Bundle (minified) 56.58 KB @sentry/browser - Webpack (gzipped + minified) 21.59 KB @sentry/browser - Webpack (minified) 71.66 KB @sentry/react - Webpack (gzipped + minified) 21.61 KB @sentry/nextjs Client - Webpack (gzipped + minified) 51.88 KB @sentry/browser + @sentry/tracing - ES5 CDN Bundle (gzipped + minified) 27.93 KB @sentry/browser + @sentry/tracing - ES6 CDN Bundle (gzipped + minified) 26.1 KB @sentry/replay ES6 CDN Bundle (gzipped + minified) 44.33 KB @sentry/replay - Webpack (gzipped + minified) 38.39 KB @sentry/browser + @sentry/tracing + @sentry/replay - ES6 CDN Bundle (gzipped + minified) 62.54 KB @sentry/browser + @sentry/replay - ES6 CDN Bundle (gzipped + minified) 56.06 KB 7.44.2
21 Mar 2023cdn: Fix ES5 CDN bundles
7.44.1
20 Mar 2023Maintenance only: docs, tests, build or refactoring. Nothing changes in how you use it.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.