@amplitude/rrweb@2.0.0-alpha.25
Pre-releaseMajor Changes
-
#43
0749d4c
Thanks @jxiwang! - 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#1033 to see the changes. -
#43
0749d4c
Thanks @jxiwang! - Important: If you don't reference distributed files directly, for example you runimport rrweb from 'rrweb'
you won't notice a difference. If you include rrweb in a script tag and referred to a.js
file, you'll now have to update that path to include a.umd.cjs
file. Distributed files have new paths, filenames and extensions. All packages now no longer include a.js
files, instead they include.cjs
,.umd.cjs
and.mjs
files. The.umd.cjs
files are CommonJS modules that bundle all files together to make it easy to ship one file to browser environments. The.mjs
files are ES modules that can be used in modern browsers, node.js and bundlers that support ES modules. The.cjs
files are CommonJS modules that can be used in older Node.js environments. -
#43
0749d4c
Thanks @jxiwang! - Remove the rrweb-all.js, rrweb-record.js, and rrweb-replay.js files fromrrweb
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.
Minor Changes
- #43
3ae57a6
Thanks @jxiwang! - Support top-layer components. Fixes rrweb-io#1381.
Patch Changes
-
#43
becf687
Thanks @jxiwang! - Fix that the optionalmaskInputFn
was being accidentally ignored during the creation of the full snapshot -
#43
178f1e6
Thanks @jxiwang! - fix: duplicate textContent for style elements cause incremental style mutations to be invalid -
#43
4fe0153
Thanks @jxiwang! - ExportReplayPlugin
from rrweb directly. Previously we had to doimport type { ReplayPlugin } from 'rrweb/dist/types';
now we can doimport type { ReplayPlugin } from 'rrweb';
-
#43
1dba10a
Thanks @jxiwang! - Export takeFullSnapshot function for a recording process -
#43
e8a0ecd
Thanks @jxiwang! - Added support for deprecated addRule & removeRule methods -
#43
f317df7
Thanks @jxiwang! - Fix: some nested cross-origin iframes can't be recorded -
#43
3ef1e70
Thanks @jxiwang! - optimisation: skip mask check on leaf elements -
#43
4442d21
Thanks @jxiwang! - Add slimDOM option to block animation on <title> tag; enabled when the 'all' value is used for slimDOM -
#43
9e9226f
Thanks @jxiwang! - Reverse monkey patch built in methods to support LWC (and other frameworks like angular which monkey patch built in methods). -
Updated dependencies [
becf687
,178f1e6
,3ae57a6
,0749d4c
,3ae57a6
,6676611
,3ef1e70
,4442d21
,9e9226f
]:- @amplitude/rrweb-snapshot@2.0.0-alpha.25
- @amplitude/rrdom@2.0.0-alpha.25
- @amplitude/rrweb-types@2.0.0-alpha.25
- @amplitude/rrweb-utils@2.0.0-alpha.25