Skip to content

Commit

Permalink
Merge branch 'master' into mainfix
Browse files Browse the repository at this point in the history
  • Loading branch information
dkindel committed Aug 20, 2024
2 parents bea64d2 + 5fbb904 commit 19176c4
Show file tree
Hide file tree
Showing 382 changed files with 21,222 additions and 32,631 deletions.
Empty file added .cache/.gitkeep
Empty file.
6 changes: 6 additions & 0 deletions .changeset/beige-olives-roll.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"rrweb-snapshot": patch
"rrweb": patch
---

Fix that the optional `maskInputFn` was being accidentally ignored during the creation of the full snapshot
2 changes: 2 additions & 0 deletions .changeset/bright-socks-clap.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
13 changes: 12 additions & 1 deletion .changeset/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,20 @@
"rrdom",
"rrdom-nodejs",
"rrweb-player",
"@rrweb/all",
"@rrweb/replay",
"@rrweb/record",
"@rrweb/types",
"@rrweb/packer",
"@rrweb/utils",
"@rrweb/web-extension",
"rrvideo"
"rrvideo",
"@rrweb/rrweb-plugin-console-record",
"@rrweb/rrweb-plugin-console-replay",
"@rrweb/rrweb-plugin-sequential-id-record",
"@rrweb/rrweb-plugin-sequential-id-replay",
"@rrweb/rrweb-plugin-canvas-webrtc-record",
"@rrweb/rrweb-plugin-canvas-webrtc-replay"
]
],
"linked": [],
Expand Down
14 changes: 14 additions & 0 deletions .changeset/cool-horses-bow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
"@rrweb/rrweb-plugin-canvas-webrtc-record": patch
"@rrweb/rrweb-plugin-canvas-webrtc-replay": patch
"@rrweb/rrweb-plugin-sequential-id-record": patch
"@rrweb/rrweb-plugin-sequential-id-replay": patch
"@rrweb/rrweb-plugin-console-record": patch
"@rrweb/rrweb-plugin-console-replay": patch
"@rrweb/packer": patch
"@rrweb/record": patch
"@rrweb/replay": patch
"@rrweb/all": patch
---

Keep package version in sync with other packages
6 changes: 6 additions & 0 deletions .changeset/cuddly-bikes-fail.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"rrweb-snapshot": patch
"rrweb": patch
---

fix: duplicate textContent for style elements cause incremental style mutations to be invalid
8 changes: 8 additions & 0 deletions .changeset/eighty-teachers-smash.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
"@rrweb/rrweb-plugin-canvas-webrtc-replay": patch
"@rrweb/rrweb-plugin-sequential-id-replay": patch
"@rrweb/rrweb-plugin-console-replay": patch
"rrweb": patch
---

Export `ReplayPlugin` from rrweb directly. Previously we had to do `import type { ReplayPlugin } from 'rrweb/dist/types';` now we can do `import type { ReplayPlugin } from 'rrweb';`
2 changes: 2 additions & 0 deletions .changeset/eleven-toys-vanish.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
5 changes: 5 additions & 0 deletions .changeset/giant-rats-chew.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"rrweb": patch
---

Export takeFullSnapshot function for a recording process
5 changes: 5 additions & 0 deletions .changeset/gold-experts-type.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rrweb/rrweb-plugin-console-record": patch
---

corrects behaviour of console.assert logging to only capture logs when the provided assertion is falsey
6 changes: 6 additions & 0 deletions .changeset/great-cows-camp.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@rrweb/record": patch
"rrweb": patch
---

Added support for deprecated addRule & removeRule methods
5 changes: 5 additions & 0 deletions .changeset/happy-carrots-hide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"rrweb-snapshot": minor
---

Record dialog's modal status for replay in rrweb. (Currently triggering `dialog.showModal()` is not supported in rrweb-snapshot's rebuild)
6 changes: 6 additions & 0 deletions .changeset/inlineImage-maybeNot-crossOrigin.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"rrweb": patch
"rrweb-snapshot": patch
---

inlineImages: during snapshot avoid adding an event listener for inlining of same-origin images (async listener mutates the snapshot which can be problematic)
5 changes: 5 additions & 0 deletions .changeset/kind-kids-design.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"rrweb": patch
---

Optimize performance of isParentRemoved by converting it to an iterative procedure
2 changes: 2 additions & 0 deletions .changeset/last-jest-to-vitest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
2 changes: 2 additions & 0 deletions .changeset/lovely-files-sparkle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
2 changes: 2 additions & 0 deletions .changeset/nasty-scissors-reply.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
6 changes: 6 additions & 0 deletions .changeset/no-neg-lookbehind.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"rrweb-snapshot": patch
"rrweb": patch
---

Replay: Replace negative lookbehind in regexes from css parser as it causes issues with Safari 16
12 changes: 12 additions & 0 deletions .changeset/perfect-bulldogs-punch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
"@rrweb/rrweb-plugin-canvas-webrtc-record": major
"@rrweb/rrweb-plugin-canvas-webrtc-replay": major
"@rrweb/rrweb-plugin-sequential-id-record": major
"@rrweb/rrweb-plugin-sequential-id-replay": major
"@rrweb/rrweb-plugin-console-record": major
"@rrweb/rrweb-plugin-console-replay": major
"@rrweb/packer": major
"rrweb": major
---

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 https://github.com/rrweb-io/rrweb/pull/1033 to see the changes.
46 changes: 45 additions & 1 deletion .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,26 @@
"rrweb-snapshot": "2.0.0-alpha.4",
"@rrweb/types": "2.0.0-alpha.4",
"@rrweb/web-extension": "2.0.0-alpha.4",
"rrvideo": "2.0.0-alpha.6"
"rrvideo": "2.0.0-alpha.6",
"@rrweb/all": "2.0.0-alpha.14",
"@rrweb/packer": "2.0.0-alpha.14",
"@rrweb/rrweb-plugin-canvas-webrtc-record": "2.0.0-alpha.14",
"@rrweb/rrweb-plugin-canvas-webrtc-replay": "2.0.0-alpha.14",
"@rrweb/rrweb-plugin-console-record": "2.0.0-alpha.14",
"@rrweb/rrweb-plugin-console-replay": "2.0.0-alpha.14",
"@rrweb/rrweb-plugin-sequential-id-record": "2.0.0-alpha.14",
"@rrweb/rrweb-plugin-sequential-id-replay": "2.0.0-alpha.14",
"@rrweb/record": "2.0.0-alpha.14",
"@rrweb/replay": "2.0.0-alpha.14",
"@rrweb/utils": "2.0.0-alpha.16"
},
"changesets": [
"attribute-text-reductions",
"beige-olives-roll",
"brave-numbers-joke",
"breezy-cats-heal",
"breezy-mice-breathe",
"bright-socks-clap",
"calm-bulldogs-speak",
"calm-oranges-sin",
"chatty-cherries-train",
Expand All @@ -25,13 +38,17 @@
"cold-hounds-teach",
"controller-finish-flag",
"cool-grapes-hug",
"cool-horses-bow",
"cuddly-bikes-fail",
"cuddly-readers-warn",
"curvy-apples-lay",
"curvy-balloons-brake",
"date-now-guard",
"dirty-rules-dress",
"eight-terms-hunt",
"eighty-teachers-smash",
"eleven-bobcats-peel",
"eleven-toys-vanish",
"empty-bikes-cheer",
"event-single-wrap",
"fair-dragons-greet",
Expand All @@ -47,21 +64,29 @@
"fresh-cars-impress",
"fresh-spoons-drive",
"friendly-numbers-leave",
"giant-rats-chew",
"gold-apples-joke",
"gold-experts-type",
"gold-terms-look",
"great-cows-camp",
"grumpy-ways-own",
"happy-carrots-hide",
"hip-worms-relax",
"hungry-dodos-taste",
"inlineImage-maybeNot-crossOrigin",
"itchy-dryers-double",
"khaki-dots-bathe",
"kind-kids-design",
"large-ants-prove",
"last-jest-to-vitest",
"lazy-squids-draw",
"lazy-toes-confess",
"lemon-lamps-switch",
"light-fireants-exercise",
"little-radios-thank",
"little-suits-leave",
"loud-seals-raise",
"lovely-files-sparkle",
"lovely-pears-cross",
"lovely-students-boil",
"mean-tips-impress",
Expand All @@ -70,18 +95,24 @@
"mighty-frogs-sparkle",
"modern-doors-watch",
"moody-dots-refuse",
"nasty-scissors-reply",
"nervous-buses-pump",
"nervous-kiwis-nail",
"nervous-mirrors-perform",
"nervous-poets-grin",
"nervous-tables-travel",
"new-snakes-call",
"nice-pugs-reply",
"no-neg-lookbehind",
"old-dryers-hide",
"perfect-bulldogs-punch",
"polite-olives-wave",
"pretty-meals-flash",
"pretty-plums-rescue",
"pretty-schools-remember",
"proud-clocks-hope",
"proud-experts-jam",
"purple-carrots-film",
"rare-adults-sneeze",
"real-masks-explode",
"real-trains-switch",
Expand All @@ -90,9 +121,17 @@
"rich-jars-remember",
"rotten-spies-enjoy",
"serious-ants-juggle",
"serious-eggs-greet",
"shadow-dom-unbusify",
"silent-plants-perform",
"silly-knives-chew",
"silver-pots-sit",
"silver-windows-float",
"six-llamas-brush",
"sixty-impalas-laugh",
"skip-mask-check-on-leaf-elements",
"slimy-eagles-grow",
"small-hats-kneel",
"small-olives-arrive",
"smart-ears-refuse",
"smart-geckos-cover",
Expand All @@ -110,12 +149,17 @@
"tiny-buckets-love",
"tiny-candles-whisper",
"tiny-chairs-build",
"title-deanimate-option",
"tricky-panthers-guess",
"twenty-goats-kneel",
"twenty-lies-switch",
"twenty-planets-repeat",
"two-boats-boil",
"unlucky-mirrors-invite",
"violet-melons-itch",
"violet-zebras-cry",
"wicked-dolphins-tie",
"wicked-lions-return",
"wise-spiders-jog",
"witty-kids-talk",
"yellow-mails-cheat",
Expand Down
20 changes: 20 additions & 0 deletions .changeset/pretty-meals-flash.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
"@rrweb/all": major
"@rrweb/packer": major
"@rrweb/rrweb-plugin-canvas-webrtc-record": major
"@rrweb/rrweb-plugin-canvas-webrtc-replay": major
"@rrweb/rrweb-plugin-console-record": major
"@rrweb/rrweb-plugin-console-replay": major
"@rrweb/rrweb-plugin-sequential-id-record": major
"@rrweb/rrweb-plugin-sequential-id-replay": major
"@rrweb/record": major
"@rrweb/replay": major
"rrdom": major
"rrdom-nodejs": major
"rrweb": major
"rrweb-player": major
"rrweb-snapshot": major
"@rrweb/types": major
---

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 '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.
5 changes: 5 additions & 0 deletions .changeset/proud-clocks-hope.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"rrweb-snapshot": patch
---

(when `recordCanvas: true`): ensure we use doc.createElement instead of document.createElement to allow use in non-browser e.g. jsdom environments
5 changes: 5 additions & 0 deletions .changeset/purple-carrots-film.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"rrweb": patch
---

Fix: some nested cross-origin iframes can't be recorded
2 changes: 2 additions & 0 deletions .changeset/serious-eggs-greet.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
5 changes: 5 additions & 0 deletions .changeset/shadow-dom-unbusify.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"rrweb": patch
---

Refactor to preclude the need for a continuous raf loop running in the background which is related to shadowDom
5 changes: 5 additions & 0 deletions .changeset/silent-plants-perform.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"rrweb": patch
---

Return early for child same origin frames
7 changes: 7 additions & 0 deletions .changeset/silly-knives-chew.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"rrdom": minor
"rrweb": minor
"@rrweb/types": minor
---

Support top-layer <dialog> components. Fixes #1381.
6 changes: 6 additions & 0 deletions .changeset/single-style-capture.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"rrweb-snapshot": patch
"rrweb": patch
---

Edge case: Provide support for mutations on a <style> element which (unusually) has multiple text nodes
5 changes: 5 additions & 0 deletions .changeset/six-llamas-brush.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"rrweb-snapshot": patch
---

Fix `url()` rewrite for nested stylesheets by rewriting during stringification instead of after
6 changes: 6 additions & 0 deletions .changeset/skip-mask-check-on-leaf-elements.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"rrweb-snapshot": patch
"rrweb": patch
---

optimisation: skip mask check on leaf elements
2 changes: 2 additions & 0 deletions .changeset/slimy-eagles-grow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
8 changes: 8 additions & 0 deletions .changeset/small-hats-kneel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
"@rrweb/all": major
"@rrweb/record": major
"@rrweb/replay": major
"rrweb": major
---

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](https://github.com/rrweb-io/rrweb/pull/1033) to see the changes.
6 changes: 6 additions & 0 deletions .changeset/title-deanimate-option.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"rrweb-snapshot": patch
"rrweb": patch
---

Add slimDOM option to block animation on <title> tag; enabled when the 'all' value is used for slimDOM
2 changes: 2 additions & 0 deletions .changeset/two-boats-boil.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
7 changes: 7 additions & 0 deletions .changeset/unlucky-mirrors-invite.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"rrweb-snapshot": patch
"rrweb": patch
"@rrweb/utils": patch
---

Reverse monkey patch built in methods to support LWC (and other frameworks like angular which monkey patch built in methods).
5 changes: 5 additions & 0 deletions .changeset/wicked-dolphins-tie.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rrweb/web-extension": minor
---

Added session downloader for chrome extension
2 changes: 2 additions & 0 deletions .changeset/wicked-lions-return.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
13 changes: 13 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
.DS_Store
node_modules
/build
/dist
/package
.env
.env.*
!.env.example

# Ignore files for PNPM, NPM and YARN
pnpm-lock.yaml
package-lock.json
yarn.lock
Loading

0 comments on commit 19176c4

Please sign in to comment.