@sentry-internal/rrweb
2.43.0 · 12 May 2026MIT47.8k / weekRepositoryHomepagenpmAtom feed
Upgrading @sentry-internal/rrweb from 2.1.1 to 2.43.0
44 releases in betweennotes for 1
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
4 internal lines (docs, tests, tooling) left out.