@sentry-internal/rrweb
2.43.0 · 12 May 2026MIT47.8k / weekRepositoryHomepagenpmAtom feed
Upgrading @sentry-internal/rrweb from 1.104.0 to 2.43.0
53 releases in betweennotes for 5
- 6+
- changes to make
- 0
- advisories fixed
- 32+
- new
- 104+
- fixes
Counted from 5 of 53 release notes. Advisories are counted from the advisory database, in full.
Before you upgrade
Tick each one off as you go- breaking2.0.0
- breaking2.0.0
- breaking2.0.0
- breaking2.0.0
- breaking2.0.0
- deprecated2.0.0
Release by release
2.3.0 – 2.43.043 releases, no release note
- new
Add a top-level annotation event with
record.addAnnotation()andreplayer.on('annotation', handler). Annotation data usestype: 'caption'ortype: 'timelineMarker'. ImportannotationDatafrom@rrweb/typesto type annotation data. The player can display these annotations as captions and interactive timeline markers. - fixed
Stopping a recording now releases the root document's mutation buffer and observer — previously the document observer was only disconnected, so each start/stop cycle leaked one buffer — and removes the cross-origin iframe
messagelistener. - fixed
A same-origin iframe is observed once instead of re-observed on every full snapshot (
checkoutEveryNth/checkoutEveryNms/manualtakeFullSnapshot), so a single iframe mutation is no longer emitted once per checkout; its observers are also released when the iframe is removed or navigates away. - fixed
The untainted-
MutationObserverhelper iframe used on WebKit/Safari is reference-counted, so it is torn down only when the last observer stops and will get rebuilt for a later recording. - fixed
Disconnect shadow-DOM observers when their host is removed
- new
2.1.1nothing new or fixed in the note
- fixed
Fix that the replayer
getCurrentTime()was getting 'stuck' in liveMode after last event was exhausted
- fixed
- fixed
Fix broken MutationObserver in Webkit/Safari when a webpage has been monkey patched by a 3rd party library
- fixed
- new
Click events now include a
.pointerTypeattribute which distinguishes between 'pen', 'mouse' and 'touch' events. There is no new PenDown/PenUp events, but these can be detected with a MouseDown/MouseUp + pointerType=pen - new
Full overhawl of
videoandaudioelement playback. More robust and fixes lots of bugs related to pausing/playing/skipping/muting/playbackRate etc. - new
Extends maskInputFn to pass the HTMLElement to the deciding function
- new
Ensure password inputs remain masked when switching input type
- new
1.104.1 – 1.108.05 releases, no release note
22 internal lines (docs, tests, tooling) left out.