@rrweb/types
0.0.62
Patch Changes
-
#3853
f95a0ecThanks @TueHaulund! - Capture native Fullscreen API transitions in session replay. Entering native fullscreen (element.requestFullscreen()) is rendered by the browser via the UA:fullscreenpseudo-class with no DOM mutation, so the recorder previously captured nothing and replays showed the element at its pre-fullscreen size with drifted click coordinates. The recorder now emits a reserved custom event onfullscreenchange(standard pluswebkit/moz/MSprefixes), and the replayer re-applies fullscreen layout to the element on playback (including when scrubbing into a fullscreen region) via a reservedrr_fullscreenattribute, consistent with rrweb's existingrr_*attribute namespace.Known limitation: fullscreen of an element inside a same-origin iframe is recorded against the
<iframe>element rather than the inner element, so replay pins the iframe. (2026-06-16)
0.0.61
Patch Changes
- #3510
a5d86c9Thanks @arnaudhillen! - Move posthog-rrweb sources into the posthog-js monorepo underpackages/rrweb/. The seven packages we publish (@posthog/rrweb,@posthog/rrweb-types,@posthog/rrweb-utils,@posthog/rrdom,@posthog/rrweb-snapshot,@posthog/rrweb-record,@posthog/rrweb-plugin-console-record) now release from this repo via the existing changesets pipeline. No runtime behavior changes. (2026-05-05)
2.0.0-alpha.18
2.0.0-alpha.17
Minor Changes
Patch Changes
2.0.0-alpha.16
Patch Changes
2.0.0-alpha.15
Major Changes
- #1497
2606a2aThanks @Juice10! - Distributed files have new filenames, paths and extensions. Important: If you reference distributed files or types directly, you might have to update your paths/filenames. E.g. you import fromrrweb/typings/...orrrdom/es. However you runimport rrweb from '@posthog/rrweb'you won't notice a difference with this change. If you include rrweb files directly in a script tag, you might have to update that path to include a the.umd.cjsfiles instead. All.jsfiles now use ES modules which can be used in modern browsers, node.js and bundlers that support ES modules. All npm packages now also ship.cjsand.umd.cjsfiles. The.umd.cjsfiles are CommonJS modules that bundle all files together to make it easy to ship one file to browser environments (similar to the previous.jsfiles). The.cjsfiles are CommonJS modules that can be used in older Node.js environments. Types should be better defined inpackage.jsonand if you need specific types they might be exported from new packages (for examplePlayerMachineStateandSpeedMachineStateare now exported from@rrweb/replay). Check thepackage.json'smainandexportsfield for the available files.
Patch Changes
2.0.0-alpha.14
Patch Changes
2.0.0-alpha.13
Patch Changes
-
#1432
123a81eThanks @Juice10! - AddlooptomediaInteractionParam -
#1369
c278d06Thanks @stefansundin! - Fix type error when using"moduleResolution": "NodeNext".
2.0.0-alpha.12
Patch Changes
2.0.0-alpha.11
Patch Changes
2.0.0-alpha.10
Patch Changes
-
#1268
d872d28Thanks @eoghanmurray! - Compact style mutation fixes and improvements- fixes when style updates contain a 'var()' on a shorthand property #1246
- further ensures that style mutations are compact by reverting to string method if it is shorter
-
Updated dependencies [
c6600e7]:
2.0.0-alpha.9
Patch Changes
- Updated dependencies [
d7c72bf]:
2.0.0-alpha.8
Minor Changes
- #1129
979d2b1Thanks @eoghanmurray! - 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