Skip to content

@amplitude/rrweb-snapshot@2.0.0-alpha.25

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 23 Oct 03:04
· 6 commits to master since this release
0d32fbf

Major Changes

  • #43 0749d4c Thanks @jxiwang! - Important: If you don't reference distributed files directly, for example you run import 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.

Minor Changes

  • #43 3ae57a6 Thanks @jxiwang! - Record dialog's modal status for replay in rrweb. (Currently triggering dialog.showModal() is not supported in rrweb-snapshot's rebuild)

Patch Changes

  • #43 becf687 Thanks @jxiwang! - Fix that the optional maskInputFn 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 6676611 Thanks @jxiwang! - Fix url() rewrite for nested stylesheets by rewriting during stringification instead of after

  • #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).