Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
18 KiB
rrweb-snapshot
2.0.0-alpha.20
2.0.0-alpha.19
Patch Changes
-
#1580
47a7c3fThanks @guntherjh! - Handle exceptions thrown from postcss when calling adaptCssForReplay -
#1615
dc20cd4Thanks @eoghanmurray! - Improve performance of splitCssText for <style> elements with large css content - see #1603 -
#1640
3e9e42fThanks @eoghanmurray! - Improve performance of splitCssText for <style> elements with large css content - see #1603 -
#1600
a6893f7Thanks @eoghanmurray! - #1575 Fix that postcss could fall over when trying to process css content split arbitrarily -
#1705
f2419f2Thanks @megboehlert! - Use ownerNode.baseURI for stringifying sheet hrefs -
#1614
6f4e691Thanks @billyvg! - Change to ignore all link[rel="modulepreload"] instead of including only those withas="script" -
#1731
76df979Thanks @eoghanmurray! - Fix missing import after #1705
2.0.0-alpha.18
Major Changes
- #1593
5a78938Thanks @daibhin! -NodeTypeenum was moved from rrweb-snapshot to @rrweb/types The following types where moved from rrweb-snapshot to @rrweb/types:documentNode,documentTypeNode,legacyAttributes,textNode,cdataNode,commentNode,elementNode,serializedNode,serializedNodeWithId,serializedElementNodeWithId,serializedTextNodeWithId,IMirror,INode,mediaAttributes,attributesandDataURLOptions
Patch Changes
-
#1331
02cc62dThanks @billyvg! - fix dimensions for blocked element not being applied -
#1535
04ee6edThanks @eoghanmurray! - Slight simplification to how we replace :hover after #1458 -
#1437
5fbb904Thanks @eoghanmurray! - Edge case: Provide support for mutations on a <style> element which (unusually) has multiple text nodes
2.0.0-alpha.17
Minor Changes
- #1503
335639aThanks @Juice10! - Record dialog's modal status for replay in rrweb. (Currently triggeringdialog.showModal()is not supported in rrweb-snapshot's rebuild)
Patch Changes
-
#1417
40bbc25Thanks @YunFeng0817! - fix: duplicate textContent for style elements cause incremental style mutations to be invalid -
#1533
d350da8Thanks @jeffdnguyen! - Fixurl()rewrite for nested stylesheets by rewriting during stringification instead of after -
#1509
be6bf52Thanks @Juice10! - Reverse monkey patch built in methods to support LWC (and other frameworks like angular which monkey patch built in methods).
2.0.0-alpha.16
Patch Changes
-
#1386
a2c8a1aThanks @ababik! - Fix that the optionalmaskInputFnwas being accidentally ignored during the creation of the full snapshot -
#1512
d08624cThanks @eoghanmurray! - optimisation: skip mask check on leaf elements
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 '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
-
#1468
4014305Thanks @eoghanmurray! - inlineImages: during snapshot avoid adding an event listener for inlining of same-origin images (async listener mutates the snapshot which can be problematic) -
#1493
82f6fecThanks @eoghanmurray! - Replay: Replace negative lookbehind in regexes from css parser as it causes issues with Safari 16 -
#1482
f3cf092Thanks @AlfieJones! - (whenrecordCanvas: true): ensure we use doc.createElement instead of document.createElement to allow use in non-browser e.g. jsdom environments -
#760
e08706aThanks @eoghanmurray! - Add slimDOM option to block animation on