Skip to content

Commit

Permalink
chore(rrweb): update changesets to amplitude
Browse files Browse the repository at this point in the history
  • Loading branch information
jxiwang committed Oct 22, 2024
1 parent fc69d50 commit 4e4f5b3
Show file tree
Hide file tree
Showing 14 changed files with 48 additions and 48 deletions.
4 changes: 2 additions & 2 deletions .changeset/beige-olives-roll.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
"rrweb-snapshot": patch
"rrweb": patch
"@amplitude/rrweb-snapshot": patch
"@amplitude/rrweb": patch
---

Fix that the optional `maskInputFn` was being accidentally ignored during the creation of the full snapshot
4 changes: 2 additions & 2 deletions .changeset/cuddly-bikes-fail.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
"rrweb-snapshot": patch
"rrweb": patch
"@amplitude/rrweb-snapshot": patch
"@amplitude/rrweb": patch
---

fix: duplicate textContent for style elements cause incremental style mutations to be invalid
2 changes: 1 addition & 1 deletion .changeset/giant-rats-chew.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
"rrweb": patch
"@amplitude/rrweb": patch
---

Export takeFullSnapshot function for a recording process
4 changes: 2 additions & 2 deletions .changeset/great-cows-camp.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
"@rrweb/record": patch
"rrweb": patch
"@amplitude/rrweb-record": patch
"@amplitude/rrweb": patch
---

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

Record dialog's modal status for replay in rrweb. (Currently triggering `dialog.showModal()` is not supported in rrweb-snapshot's rebuild)
16 changes: 8 additions & 8 deletions .changeset/perfect-bulldogs-punch.md
Original file line number Diff line number Diff line change
@@ -1,12 +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
"@amplitude/rrweb-plugin-canvas-webrtc-record": major
"@amplitude/rrweb-plugin-canvas-webrtc-replay": major
"@amplitude/rrweb-plugin-sequential-id-record": major
"@amplitude/rrweb-plugin-sequential-id-replay": major
"@amplitude/rrweb-plugin-console-record": major
"@amplitude/rrweb-plugin-console-replay": major
"@amplitude/rrweb-packer": major
"@amplitude/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.
32 changes: 16 additions & 16 deletions .changeset/pretty-meals-flash.md
Original file line number Diff line number Diff line change
@@ -1,20 +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
"@amplitude/rrweb-all": major
"@amplitude/rrweb-packer": major
"@amplitude/rrweb-plugin-canvas-webrtc-record": major
"@amplitude/rrweb-plugin-canvas-webrtc-replay": major
"@amplitude/rrweb-plugin-console-record": major
"@amplitude/rrweb-plugin-console-replay": major
"@amplitude/rrweb-plugin-sequential-id-record": major
"@amplitude/rrweb-plugin-sequential-id-replay": major
"@amplitude/rrweb-record": major
"@amplitude/rrweb-replay": major
"@amplitude/rrdom": major
"@amplitude/rrdom-nodejs": major
"@amplitude/rrweb": major
"@amplitude/rrweb-player": major
"@amplitude/rrweb-snapshot": major
"@amplitude/rrweb-types": major
---

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.
2 changes: 1 addition & 1 deletion .changeset/purple-carrots-film.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
"rrweb": patch
"@amplitude/rrweb": patch
---

Fix: some nested cross-origin iframes can't be recorded
6 changes: 3 additions & 3 deletions .changeset/silly-knives-chew.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
"rrdom": minor
"rrweb": minor
"@rrweb/types": minor
"@amplitude/rrdom": minor
"@amplitude/rrweb": minor
"@amplitude/rrweb-types": minor
---

Support top-layer <dialog> components. Fixes #1381.
2 changes: 1 addition & 1 deletion .changeset/six-llamas-brush.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
"rrweb-snapshot": patch
"@amplitude/rrweb-snapshot": patch
---

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

optimisation: skip mask check on leaf elements
8 changes: 4 additions & 4 deletions .changeset/small-hats-kneel.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
"@rrweb/all": major
"@rrweb/record": major
"@rrweb/replay": major
"rrweb": major
"@amplitude/rrweb-all": major
"@amplitude/rrweb-record": major
"@amplitude/rrweb-replay": major
"@amplitude/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.
4 changes: 2 additions & 2 deletions .changeset/title-deanimate-option.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
"rrweb-snapshot": patch
"rrweb": patch
"@amplitude/rrweb-snapshot": patch
"@amplitude/rrweb": patch
---

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

Reverse monkey patch built in methods to support LWC (and other frameworks like angular which monkey patch built in methods).

0 comments on commit 4e4f5b3

Please sign in to comment.