@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.x
7.44.0
20 Mar 2023replay: Add
request_body_size&response_body_sizeto fetch/xhrreplay: Add additional properties for UI clicks
replay: Reduce time limit before pausing a recording
This release introduces the first alpha version of
@sentry/sveltekit, our newest JavaScript SDK for Sveltekit. Check out the README for usage instructions and what to expect from this alpha release.replay: Add
request_body_size&response_body_sizeto fetch/xhrreplay: Add additional properties for UI clicks
replay: Reduce time limit before pausing a recording
replay: Upgrade
rrwebandrrweb-playerreplay: Use new afterSend hook to improve error linking
serverless: Publish lambda layer for Node 16/18
sveltekit: Add wrapper for client load function
sveltekit: Add wrapper for server load function
sveltekit: Add server-side
handleErrorwrappersveltekit: Introduce client-side
handleErrorwrappersveltekit: Add SvelteKit client and server
initfunctionssveltekit: Inject
Sentry.initcalls into server and client bundlestracing: Expose
BrowserTracingin non-tracing bundlescore: Permanent idle timeout cancel finishes the transaction with the last finished child
integrations: Handle lower-case prefix windows paths in
RewriteFramesnext: Guard against missing serverSideProps
nextjs: Fix broken server component wrapping because of interrupted promise chain
nextjs: Fix runtime error for static pages
profiling: Catch sendProfile rejection
replay: Never capture file input changes
serverless: Explicitly export node package exports
vue: Do not depend on
window.locationfor SSR environments
Replay
rrwebchanges:@sentry-internal/rrwebwas updated from 1.105.0 to 1.106.0:Ensure password inputs are always masked
Ensure text masking for updated attributes works
Ensure unmaskTextSelector is used for masked attributes
Mask <option> values for selects & radio/checkbox value
Work in this release contributed by @woochanleee and @baked-dev. Thank you for your contribution!
7.43.0
13 Mar 2023nextjs: Run source map upload in Vercel develop and preview environments
types: Add
profilesSampleroption to node client typecore: Avoid using
Array.findIndex()as it is ES5 incompatible
nextjs: Run source map upload in Vercel develop and preview environments
types: Add
profilesSampleroption to node client typecore: Avoid using
Array.findIndex()as it is ES5 incompatiblenextjs: Add better error messages for missing params during next build
nextjs: Don't crash build when auth token is missing
node: Revert to dynamic
requirecall to fix monkey patching
7.42.0
9 Mar 2023core: Add lifecycle hooks
core: Emit hooks for transaction start/finish
nextjs: Connect traces for server components
core: Add lifecycle hooks
core: Emit hooks for transaction start/finish
nextjs: Connect traces for server components
replay: Attach an error
causeto send exceptionsreplay: Consider user input in form field as "user activity"
replay: Update rrweb to 1.105.0 & add breadcrumb when encountering large mutation
tracing: Expose cancelIdleTimeout and add option to make it permanent
tracing: Track PerformanceObserver interactions as spans
core: Ensure
originalExceptionhas typeunknowncore: Avoid using
Object.values()react: Make redux integration be configurable via
normalizeDepthtracing: Record LCP and CLS on transaction finish
Replay
rrwebchanges:@sentry-internal/rrwebwas updated from 1.104.1 to 1.105.0 (#7314):Add
onMutationoption to recordEnsure
<input type='submit' value='Btn text'>is masked
7.41.0
6 Mar 2023Ensure we use the same default
environmenteverywhereprofiling: Add JS self profiling in the browser
vue: Allow to set
routeLabel: 'path'to opt-out of using name
Ensure we use the same default
environmenteverywhereprofiling: Add JS self profiling in the browser
vue: Allow to set
routeLabel: 'path'to opt-out of using nameprofiling: Guard from throwing if profiler constructor throws
react: Use namespace import for react router v6
remix: Correctly parse
X-Forwarded-ForHttp header
Work in this release contributed by @OliverJAsh. Thank you for your contribution!
7.40.0
1 Mar 2023nextjs: Automatically resolve source of errors in dev mode
vue: Log errors to the console by default
ember: Disable performance in FastBoot
nextjs: Automatically resolve source of errors in dev mode
vue: Log errors to the console by default
ember: Disable performance in FastBoot
serverless: Capture custom tags in error events of GCP functions
serverless: Capture custom tags in GCP Background and CloudEvent function error events
7.39.0
27 Feb 2023- Removed
Remove
autoplayattribute from audio/video tags angular: Add Ivy-compatible Angular SDK package
core: Add source map images to
debug_meta
This release adds a new package,
@sentry/angular-ivy, which is our Angular SDK with full support for Angular's rendering engine, Ivy.This release also adds a new
enableTracingoption, which can be used instead oftracesSampleRatefor an easier setup.
Related to this, thehasTracingEnabledutility function was moved from@sentry/tracingto@sentry/core.
The old export from@sentry/tracinghas been deprecated and will be removed in v8.angular: Add Ivy-compatible Angular SDK package
core: Add source map images to
debug_metaloader: Make lazy-loading configurable
nextjs: Add performance monitoring to server components
nextjs: Default to
VERCEL_ENVas environmentreplay: Add more default block filters
tracing: Add
enableTracingoptioncore: Exclude client reports from offline queuing
nextjs: Export serverside data-fetcher wrappers from client
replay: Fix timestamps on LCP
Replay
rrwebchanges:@sentry-internal/rrwebwas updated from 1.103.0 to 1.104.1 (#7238):Export
typings/types- Removed
Remove
autoplayattribute from audio/video tags Exclude
modulepreloadas wellHandle removed attributes
Masking inputs on change when
maskAllInputs:falseMore robust
rootShadowHostcheckTextarea value is being duplicated
7.38.0
17 Feb 2023- Deprecated
integrations: Deprecate
Offlineintegration Put
abs_pathinto stack frame objectotel: Convert exception otel events to sentry errors
Put
abs_pathinto stack frame object- Deprecated
integrations: Deprecate
Offlineintegration otel: Convert exception otel events to sentry errors
replay: Change LCP calculation
tracing: Support Apollo/GraphQL with NestJS
tracing: Track
PerformanceResourceTiming.renderBlockingStatustracing|core: Remove transaction name change recording
browser: Ensure dedupe integration ignores non-errors
core: Skip empty integrations
nextjs: Fix faulty import in Next.js .d.ts
otel: Make otel.kind be a string
react: Make fallback render types more accurate
replay: Debounced flushes not respecting
maxWait(#7207, #7208)
Work in this release contributed by @lucas-zimermann. Thank you for your contribution!
Bundle size
Path Size @sentry/browser - ES5 CDN Bundle (gzipped + minified) 20.05 KB @sentry/browser - ES5 CDN Bundle (minified) 62.14 KB @sentry/browser - ES6 CDN Bundle (gzipped + minified) 18.68 KB @sentry/browser - ES6 CDN Bundle (minified) 55.29 KB @sentry/browser - Webpack (gzipped + minified) 20.41 KB @sentry/browser - Webpack (minified) 66.73 KB @sentry/react - Webpack (gzipped + minified) 20.44 KB @sentry/nextjs Client - Webpack (gzipped + minified) 47.78 KB @sentry/browser + @sentry/tracing - ES5 CDN Bundle (gzipped + minified) 26.93 KB @sentry/browser + @sentry/tracing - ES6 CDN Bundle (gzipped + minified) 25.2 KB @sentry/replay ES6 CDN Bundle (gzipped + minified) 42.57 KB @sentry/replay - Webpack (gzipped + minified) 36.78 KB @sentry/browser + @sentry/tracing + @sentry/replay - ES6 CDN Bundle (gzipped + minified) 60.2 KB @sentry/browser + @sentry/replay - ES6 CDN Bundle (gzipped + minified) 53.8 KB 7.37.2
13 Feb 2023Check
blockSelectorfor blocking elements as wellWith maskAllText, mask the attributes: placeholder, title,
aria-labelFix masking on
textarea
This release includes changes and fixes around text masking and blocking in Replay's
rrwebdependency. See versions 1.102.0 and 1.103.0.Check
blockSelectorfor blocking elements as wellWith maskAllText, mask the attributes: placeholder, title,
aria-labelFix masking on
textareaAdd
maskAllTextoption
SDK Changes:
replay: Fix svgs not getting unblocked
7.37.1
10 Feb 2023browser: Support
asyncin stack frame urlsnextjs: Make api route identifier stricter
node: Don't rely on
thisin http integration
browser: Support
asyncin stack frame urlsnextjs: Make api route identifier stricter
node: Don't rely on
thisin http integrationreplay: Fix missing fetch/xhr requests
tracing: Export
defaultStackParserfrom tracing CDN bundles
7.37.0
9 Feb 2023Add source map debug ids
browser: Add IndexedDb offline transport store
nextjs: Add auto-wrapping for server components
Add source map debug ids
browser: Add IndexedDb offline transport store
nextjs: Add auto-wrapping for server components
nextjs: Improve client stack traces
replay: Send client_report when replay sending fails
node:
LocalVariables, Improve frame matching for ESMnode: Add lru cache to http integration span map
replay: Export Replay from Sentry namespace in full CDN bundle
Work in this release contributed by @JamesHenry. Thank you for your contribution!
7.36.0
2 Feb 2023replay: Add back deprecated
maskInputOptionsreplay: Stop recording when hitting a rate limit
integrations: Report
BaseClientintegrations added after init
This Release re-introduces the accidentally removed but still deprecated
maskInputOptionsoption for Session Replay.
Furthermore, replays are now stopped instead of paused when a rate limit is encountered.replay: Add back deprecated
maskInputOptionsreplay: Stop recording when hitting a rate limit
integrations: Report
BaseClientintegrations added after initreplay: Don't mangle private rrweb property
replay: Fix feature detection of PerformanceObserver
7.35.0
1 Feb 2023- Deprecated
replay: Deprecate privacy options in favor of a new API, remove some recording options
browser: Track if cdn or npm bundle
core: Add aria label to breadcrumb attributes
Session Replay is deprecating privacy options in favor of a more streamlined API. Please see the Replay migration guide for further information.
Additionally, the following configuration options will no longer be configurable:slimDOMOptions,recordCanvas,inlineStylesheet,collectFonts,inlineImages.browser: Track if cdn or npm bundle
core: Add aria label to breadcrumb attributes
core: Add Offline Transport wrapper
loader: Add SENTRY_SDK_SOURCE to track loader stats
loader: Sync loader with Sentry template
- Deprecated
replay: Deprecate privacy options in favor of a new API, remove some recording options
replay: Move sample rate tags into event context
nextjs: Add isomorphic versions of
ErrorBoundary,withErrorBoundaryandshowReportDialognextjs: Don't modify require calls in wrapping loader
nextjs: Don't share I/O resources in between requests
nextjs: Inject client config into
_appinstead ofmainnextjs: Use Proxies to wrap to preserve static methods
replay: Catch style mutation handling & null events in rrweb
replay: Handle compression failures more robustly
replay: Only call
scope.getLastBreadcrumbif availableutils: Account for null prototype during normalization
Work in this release contributed by @boblauer. Thank you for your contribution!
7.34.0
26 Jan 2023nextjs: Add SDK to serverside
appdirectoryreplay: Do not renew session in error mode
replay: Handle compression worker errors more gracefully
This release adds automatic injection of the Next.js SDK into serverside
appdirectory bundles, allowing users to call the Sentry SDK in server components.nextjs: Add SDK to serverside
appdirectoryreplay: Do not renew session in error mode
replay: Handle compression worker errors more gracefully
replay: Fix path separator substitution to replay all
\replay: Ignore errors in CSSStyleSheetObserver (getsentry/rrweb#16)
Work in this release contributed by @mdtro. Thank you for your contribution!
7.33.0
24 Jan 2023replay: Remove default sample rates for replay
replay: try/catch around stopRecording
nextjs: Mark multiplexer targets as entrypoints
With this release, the sample rate for Session Replays will default to 0. We recommend explicitly setting the sample rate via the
replaysSessionSampleRateandreplaysOnErrorSampleRateoptions.replay: Remove default sample rates for replay
replay: try/catch around stopRecording
nextjs: Mark multiplexer targets as entrypoints
7.32.1
23 Jan 2023nextjs: Make SDK multiplexer more resilient
7.32.0
23 Jan 2023nextjs: Add browser SDK to
appdirectory browser bundlenode: Use
includeLocalVariablesoption to enableLocalVariablesintegrationnode: Add option to capture local variables for caught exceptions via LocalVariables integration
nextjs: Add browser SDK to
appdirectory browser bundlenode: Use
includeLocalVariablesoption to enableLocalVariablesintegrationnode: Add option to capture local variables for caught exceptions via LocalVariables integration
replay: Add
flushmethod to integrationreplay: Handle worker loading errors
replay: Lower the flush max delay from 15 seconds to 5 seconds
tracing: Promote
enableLongTaskto option ofBrowserTracingcore: Fix replay client report data category
nextjs: Fix SDK multiplexer loader on Windows
otel: Use http/grpc status over span status
react: Add children prop for Profiler
react: Make wrapCreateBrowserRouter generic
remix: Make sure the domain is created before running.
Work in this release contributed by @h3rmanj. Thank you for your contribution!
7.31.1
17 Jan 2023nextjs: Disable NextJS perf monitoring when using otel
nextjs: Add back browser field in package.json
nextjs: Connect Edge API route errors to span
nextjs: Disable NextJS perf monitoring when using otel
nextjs: Add back browser field in package.json
nextjs: Connect Edge API route errors to span
nextjs: Correctly handle ts middleware files
7.31.0
16 Jan 2023- Deprecated
nextjs: Deprecate
isBuild()andIS_BUILD nextjs: Add Edge Runtime SDK
nextjs: Add optional options argument to
withSentryConfigas an alternative to thesentryproperty
The Next.js SDK now supports error and performance monitoring for Next.js middleware and Edge API routes.
To set it up, add asentry.edge.config.jsorsentry.edge.config.tsfile to the root of your project and initialize the SDK:// sentry.edge.config.js or sentry.edge.config.ts import * as Sentry from "@sentry/nextjs"; const SENTRY_DSN = process.env.SENTRY_DSN || process.env.NEXT_PUBLIC_SENTRY_DSN; Sentry.init({ dsn: SENTRY_DSN || "YOUR DSN HERE", tracesSampleRate: 1.0, });The Next.js will automatically instrument Edge API routes and middleware.
If you want to opt out of automatic instrumentation of middleware can use theautoInstrumentMiddlewareoption in thesentryobject of your Next.js configuration:const moduleExports = { sentry: { autoInstrumentMiddleware: false, }, };Middleware can be manually instrumented by using the
wrapMiddlewareWithSentryfunction.nextjs: Add Edge Runtime SDK
nextjs: Add optional options argument to
withSentryConfigas an alternative to thesentrypropertynextjs: Add edge route and middleware wrappers
nextjs: Auto-wrap edge-routes and middleware
replay: Update rrweb & rrweb-snapshot
replay: Stop recording when retry fails
replay: Stop without retry when receiving bad API response
types: Add Trace Context type
nextjs: Export isomorphic data fetching wrappers from client SDK
nextjs: Make Next.js types isomorphic
node: Handle node build without inspector in LocalVariables integration
otel: Set trace context via Otel Span instead of Sentry span
otel: Prevent baggage from being overwritten
otel: Make sure we handle when sentry-trace is an empty array
remix: Make remix SDK type exports isomorphic
replay: Fix
checkoutEveryNmsreplay: Fix incorrect uncompressed recording size due to encoding
tracing: Attach request instrumentation span to active span instead of current transaction
- Deprecated
nextjs: Deprecate
isBuild()andIS_BUILD
7.30.0
10 Jan 2023core: Add
addIntegrationmethod to clientcore: Add
replay_eventtype for eventsgatsby: Support Gatsby v5
core: Add
addIntegrationmethod to clientcore: Add
replay_eventtype for eventsgatsby: Support Gatsby v5
integrations: Add HTTPClient integration
node: Add
LocalVariablesintegration to capture local variables to stack framesnode: Check for invalid url in node transport
replay: Remove
replayTypefrom tags and intoreplay_eventtransport: Return result through Transport send
nextjs: Don't wrap
res.jsonandres.sendnextjs: Don't write to
res.endto fixnext exportnextjs: Exclude SDK from Edge runtime bundles
replay: Allow Replay to be used in Electron renderers with nodeIntegration enabled
utils: Ignore stack frames over 1kb
ref(angular) Add error-like objects handling
Work in this release contributed by @rjoonas, @Naddiseo, and @theofidry. Thank you for your contributions!
7.29.0
4 Jan 2023core: Add
getSdkMetadatatoClientnextjs: Send events consistently on platforms that don't support streaming
replay: Use new
prepareEventutil & ensure dropping replays works
This update includes a change to the
@sentry/nextjsSDK that may increase response times of requests in applications
deployed to Vercel or AWS lambdas to ensure that error events are sent consistently.
Additionally, Next.js applications deployed to Vercel or AWS lambdas may also see an uptick in sent transactions. (for
more information see #6578)core: Add
getSdkMetadatatoClientnextjs: Send events consistently on platforms that don't support streaming
replay: Use new
prepareEventutil & ensure dropping replays workstypes: Upstream some replay types
replay: Envelope send should be awaited in try/catch
replay: Improve handling of
maskAllTextselectortracing: Don't finish React Router 6
pageloadtransactions early
7.28.1
22 Dec 2022replay: Do not mangle
_metadatain client optionsreplay: Cater for event processor returning null
7.28.0
20 Dec 2022nextjs: Check for Vercel Edge Function GA
utils: Improved envelope parser
nextjs: Export Replay from
index.server.tsto avoid TS error
nextjs: Check for Vercel Edge Function GA
utils: Improved envelope parser
nextjs: Export Replay from
index.server.tsto avoid TS errornextjs: Pass
thisthrough wrappers
7.27.0
16 Dec 2022browser: Export
Replayintegration from Browser SDKreplay: Change
MAX_SESSION_LIFEto 1 hourreplay: Do not capture errors originating from rrweb
This release exports the Session Replay integration via
@sentry/browserand all framework SDKs building on top of it.
Going forward, the@sentry/replaypackage doesn't have to be installed explicitly to use Replay.
Furthermore, this release increases the maximim replay session duration from 30 minutes to 1 hour.browser: Export
Replayintegration from Browser SDKreplay: Change
MAX_SESSION_LIFEto 1 hourreplay: Do not capture errors originating from rrweb
replay: Flush immediately on DOM checkouts
core: Make
beforeSendhandling defensive for different event typesreplay: Ensure lodash.debounce does not trigger next.js warning
replay: Make
maskAllTextselector more specificreplay: Send
dsnin envelope header if tunneling is activeutils: Don't attach context lines to stack frames without line number
Work in this release contributed by @theofidry. Thank you for your contribution!
7.26.0
13 Dec 2022browser: Export event builder methods for use in other SDKs
types: Add threads to Event
nextjs: Add option to automatically tunnel events
browser: Export event builder methods for use in other SDKs
types: Add threads to Event
nextjs: Add option to automatically tunnel events
nextjs: Fix automatic release value discovery
Work in this release contributed by @theofidry. Thank you for your contribution!
7.25.0
12 Dec 2022core: Add
scope.getLastBreadcrumb()replay: Allow to opt-in to capture replay exceptions
tracing: Add interaction transaction as an experiment
core: Add
scope.getLastBreadcrumb()replay: Allow to opt-in to capture replay exceptions
tracing: Add interaction transaction as an experiment
types: Add profile envelope item type
replay: Replace
_waitForErrorwithrecordingMode
7.24.2
7 Dec 2022- Deprecated
tracing: Deprecate and remove
reportAllChangesoption replay: Add missing rrweb type declarations
tracing: Check for otel before loading db module
replay: Add missing rrweb type declarations
tracing: Check for otel before loading db module
- Deprecated
tracing: Deprecate and remove
reportAllChangesoption
7.24.1
7 Dec 2022react: Add type for React Router's
encodeLocationmethodreplay: Add CDN bundle path to release artifacts
tracing: Instrument cursors returned from MongoDB operations.
This patch corrects an oversight on our end which caused the Sentry Replay integration CDN bundles to be ignored when uploading bundles to our CDN.
If you want to use the Replay CDN bundles, please use version 7.24.1 or newer.react: Add type for React Router's
encodeLocationmethodreplay: Add CDN bundle path to release artifacts
tracing: Instrument cursors returned from MongoDB operations.
Work in this release contributed by @theofidry. Thank you for your contribution!
7.24.0
7 Dec 2022browser: Support dom.maxStringLength configuration
nextjs: Don't init SDK on Vercel Edge Runtime
nextjs: Parameterize prefix loader values
This release bumps the
@sentry/replaypackage from version 0.x to 7.24.0.
Along with this version bump, we're introducing a few breaking changes.
Take a look at the Replay migration guide for further information.
Furthermore, we're now also publishing CDN bundles for the Replay integration.
The Replay version bump is the result of moving the package into the Sentry JavaScript SDK monorepo which aligns the version with our other JS SDK packages.browser: Support dom.maxStringLength configuration
nextjs: Don't init SDK on Vercel Edge Runtime
nextjs: Parameterize prefix loader values
nextjs: Support
assetPrefixoptionnextjs: Inject SDK in dev mode
nextjs: Use
basePathforassetPrefixif needednode: Move
profilesSampleRateintoBaseNodeOptions
Work in this release contributed by @tomgrossman and @ZachGawlik. Thank you for your contributions!
- 0.6.x
0.6.14
18 Nov 20220.6.13
9 Nov 2022Reading the note…
0.6.11
7 Nov 2022Reading the note…
0.6.10
4 Nov 2022Reading the note…
0.6.9
26 Oct 2022Reading the note…
0.6.8
25 Oct 2022Reading the note…
0.6.7
25 Oct 2022Reading the note…
0.6.6
21 Oct 2022Reading the note…
0.6.5
20 Oct 2022Reading the note…
0.6.4
19 Oct 2022Reading the note…
0.6.3
13 Oct 2022Reading the note…
0.6.2
13 Oct 2022Reading the note…
0.6.1
12 Oct 2022Reading the note…
0.6.0
27 Sep 2022Reading the note…
- 0.5.x
0.5.23
26 Sep 2022Reading the note…
0.5.22
23 Sep 2022Reading the note…
0.5.21
21 Sep 2022Reading the note…
0.5.20
21 Sep 2022Reading the note…
0.5.19
19 Sep 2022Reading the note…
0.5.18
19 Sep 2022Reading the note…
0.5.17
16 Sep 2022Reading the note…
0.5.16
15 Sep 2022Reading the note…
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.