Packages

@rrweb/types

2.2.0 · 24 Oct 2026MIT3.7M / weekRepositoryHomepagenpmAtom feed

Upgrading @rrweb/types from 2.1.0 to 2.2.0

8 releases in betweennotes for 4

?
changes to make
0
advisories fixed
1+
new
3+
fixes

Counted from 4 of 8 release notes. Advisories are counted from the advisory database, in full.

Release by release

  1. 2.2.0

    24 Oct 20261 new
    • new

      Add a top-level annotation event with record.addAnnotation() and replayer.on('annotation', handler). Annotation data uses type: 'caption' or type: 'timelineMarker'. Import annotationData from @rrweb/types to type annotation data. The player can display these annotations as captions and interactive timeline markers.

  2. 2.1.4 – 2.1.74 releases, nothing new or fixed; 3 without a note

  3. 2.1.3

    8 Sep 20261 fix
    • fixed

      Ignore autoplay attribute mutations on <video>/<audio> regardless of tag-name case.

  4. 2.1.2

    8 Sep 20262 fixes
    • fixed

      Emit custom events even when skipping over them, eg. when seeking to a specific time

    • fixed

      Use the provided logger from player config instead of directly calling console.warn

  5. 2.1.1no release note

12 internal lines (docs, tests, tooling) left out.