Skip to content

Latest commit

 

History

History
366 lines (210 loc) · 39.5 KB

CHANGELOG.md

File metadata and controls

366 lines (210 loc) · 39.5 KB

rrweb

2.0.0-alpha.18

Minor Changes

Patch Changes

2.0.0-alpha.17

Minor Changes

Patch Changes

2.0.0-alpha.16

Patch Changes

2.0.0-alpha.15

Major Changes

  • #1497 2606a2a Thanks @Juice10! - Split plugins out of rrweb and move them into their own packages: @rrweb/packer, @rrweb/rrweb-plugin-canvas-webrtc-record, @rrweb/rrweb-plugin-canvas-webrtc-replay, @rrweb/rrweb-plugin-sequential-id-record, @rrweb/rrweb-plugin-sequential-id-replay, @rrweb/rrweb-plugin-console-record, @rrweb/rrweb-plugin-console-replay. Check out the README of each package for more information or check out rrweb-io/rrweb#1033 to see the changes.

  • #1497 2606a2a Thanks @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 from rrweb/typings/... or rrdom/es. However you run import 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.cjs files instead. All .js files 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 .cjs and .umd.cjs files. The .umd.cjs files are CommonJS modules that bundle all files together to make it easy to ship one file to browser environments (similar to the previous .js files). The .cjs files are CommonJS modules that can be used in older Node.js environments. Types should be better defined in package.json and if you need specific types they might be exported from new packages (for example PlayerMachineState and SpeedMachineState are now exported from @rrweb/replay). Check the package.json's main and exports field for the available files.

  • #1497 2606a2a Thanks @Juice10! - Remove the rrweb-all.js, rrweb-record.js, and rrweb-replay.js files from rrweb package. Now you can use @rrweb/all, @rrweb/record, and @rrweb/replay packages instead. Check out the README of each package for more information or check out PR #1033 to see the changes.

Patch Changes

2.0.0-alpha.14

Patch Changes

2.0.0-alpha.13

Minor Changes

  • #1432 123a81e Thanks @Juice10! - Full overhawl of video and audio element playback. More robust and fixes lots of bugs related to pausing/playing/skipping/muting/playbackRate etc.

Patch Changes

2.0.0-alpha.12

Minor Changes

Patch Changes

2.0.0-alpha.11

Patch Changes

2.0.0-alpha.10

Patch Changes

  • #1269 7103625 Thanks @eoghanmurray! - Don't include redundant data from text/attribute mutations on just-added nodes

  • #1268 d872d28 Thanks @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
  • #1262 36da39d Thanks @billyvg! - feat: Add ignoreSelector option

    Similar to ignoreClass, but accepts a CSS selector so that you can use any CSS selector.

  • #1251 bbbfa22 Thanks @wfk007! - fix: Resize and MediaInteraction events repeat generated after the iframe appeared

  • #1254 d0fbe23 Thanks @mydea! - Handle case where event is null/undefined

  • #1273 a3de582 Thanks @Juice10! - Canvas FPS recording: override preserveDrawingBuffer: true on canvas creation. Canvas replay: fix flickering canvas elemenrs. Canvas FPS recording: fix bug that wipes webgl(2) canvas backgrounds while recording.

  • Updated dependencies [d872d28, c6600e7]:

2.0.0-alpha.9

Patch Changes

2.0.0-alpha.8

Minor Changes

Patch Changes

2.0.0-alpha.7

Minor Changes

  • #1170 d2582e9 Thanks @mydea! - feat: Ensure password inputs remain masked when switching input type

  • #1107 a225d8e Thanks @mydea! - feat: Allow to pass errorHandler as record option

Patch Changes

  • #1179 e0f862b Thanks @wfk007! - Fix: #1178 remove warning related to worker_threads while building

  • #1186 267e990 Thanks @YunFeng0817! - Fix: processed-node-manager is created even in the environment that doesn't need a recorder

  • #1145 a82a3b4 Thanks @eoghanmurray! - For a mutation which removes a node, reduce the number of spurious warnings to take into account that an anscestor (rather than just a parent) may have been just removed

  • #1191 1e6f71b Thanks @Juice10! - Only apply touch-active styling on flush

  • #1191 1e6f71b Thanks @Juice10! - Trigger mouse movement and hover with mouse up and mouse down events when replayer.pause(...) is called.

  • #1163 4cb4d0e Thanks @zhaobosky! - Fix: some websites rebuild imcomplete

    1. Some websites, addedSet in emit function is not empty, but the result converted from Array.from is empty.
    2. Some websites polyfill classList functions of HTML elements. Their implementation may throw errors and cause the snapshot to fail. I add try-catch statements to make the code robust.
  • Updated dependencies [d2582e9, e7f0c80]:

2.0.0-alpha.6

Patch Changes

2.0.0-alpha.5

Patch Changes