unstale

npm / @sentry/rrweb

@sentry/rrweb

What changed in @sentry/rrweb 2, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-24.

1 new APIs and options4 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.2.8 on npm

@sentry/rrweb 25 changes

New APIs and options 1

  • Add top-level annotations through record.addAnnotation() and receive them with replayer.on('annotation', handler); captions and interactive timeline markers are supported.

    2.2.0release notes

Fixes and other changes 4

  • Fix record-side memory leaks and duplicate mutation emission by releasing observers and buffers at the appropriate lifecycle points and observing same-origin iframes only once.

    2.2.0release notes

  • Release shadow observers and mutation buffers when their host is removed, and re-observe them on reinsertion.

    2.2.0release notes

  • Fixes replay of recordings with bad CSS text split data produced since #1640.

    2.1.7release notes

  • Fixes normalization of '0px' in style sheets that caused problems with styled-components building style elements text element by text element.

    2.1.7release notes