Added changesets for https://github.com/rrweb-io/rrweb/pull/1033 (#1497)
* Add extra changeset describing changes of https://github.com/rrweb-io/rrweb/pull/1033 * Apply formatting changes * chore: update changelog for PR 1033: Split plugins out of rrweb and move them into their own packages 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. * docs: describe changes to distributed files * Fix snapshot for vitest * Apply formatting changes * Make changeset about new bundled files clearer
This commit is contained in:
12
.changeset/perfect-bulldogs-punch.md
Normal file
12
.changeset/perfect-bulldogs-punch.md
Normal file
@@ -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.
|
||||
20
.changeset/pretty-meals-flash.md
Normal file
20
.changeset/pretty-meals-flash.md
Normal file
@@ -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
|
||||
---
|
||||
|
||||
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.
|
||||
8
.changeset/small-hats-kneel.md
Normal file
8
.changeset/small-hats-kneel.md
Normal file
@@ -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.
|
||||
@@ -5370,7 +5370,7 @@ exports[`same origin iframes > should emit contents of iframe once 1`] = `
|
||||
]"
|
||||
`;
|
||||
|
||||
exports[`same origin iframes should record cross-origin iframe in same-origin iframe 1`] = `
|
||||
exports[`same origin iframes > should record cross-origin iframe in same-origin iframe 1`] = `
|
||||
"[
|
||||
{
|
||||
\\"type\\": 4,
|
||||
|
||||
Reference in New Issue
Block a user