Releases: rrweb-io/rrweb
@rrweb/[email protected]
Major Changes
-
#1497
2606a2a
Thanks @Juice10! - 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 #1033 to see the changes. -
#1497
2606a2a
Thanks @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.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 inpackage.json
and if you need specific types they might be exported from new packages (for examplePlayerMachineState
andSpeedMachineState
are now exported from@rrweb/replay
). Check thepackage.json
'smain
andexports
field for the available files.
Patch Changes
- Updated dependencies [
2606a2a
]:- @rrweb/[email protected]
@rrweb/[email protected]
Major Changes
-
#1497
2606a2a
Thanks @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.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 inpackage.json
and if you need specific types they might be exported from new packages (for examplePlayerMachineState
andSpeedMachineState
are now exported from@rrweb/replay
). Check thepackage.json
'smain
andexports
field for the available files. -
#1497
2606a2a
Thanks @Juice10! - Remove the rrweb-all.js, rrweb-record.js, and rrweb-replay.js files fromrrweb
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 to see the changes.
Patch Changes
- Updated dependencies [
7261c43
,4014305
,609b7fa
,82f6fec
,2606a2a
,2606a2a
,5c27b76
,d38893f
,d7cf8dd
,2606a2a
,e08706a
]:- [email protected]
- @rrweb/[email protected]
- @rrweb/[email protected]
[email protected]
Patch Changes
-
#1464
03b5216
Thanks @colingm! - better support for coexistence with older libraries (e.g. MooTools & Prototype.js) which modify the in-builtArray.from
function -
#1441
ae6908d
Thanks @eoghanmurray! - perf: Avoid an extra function call and object clone during event emission -
#1481
46f1b25
Thanks @eoghanmurray! - Fix and test for bug #1457 which was affecting replay of complex tailwind css -
#1476
cbbd1e5
Thanks @eoghanmurray! - Fixup for multiple background-clip replacement -
#1467
e96f668
Thanks @eoghanmurray! - Bugfix after #1434 perf improvements: fix that blob urls persist on the shared anchor element and can't be later modified -
Updated dependencies [
03b5216
,46f1b25
,cbbd1e5
,5e7943d
,c0f83af
,e96f668
]:
[email protected]
Patch Changes
-
#1464
03b5216
Thanks @colingm! - better support for coexistence with older libraries (e.g. MooTools & Prototype.js) which modify the in-builtArray.from
function -
#1481
46f1b25
Thanks @eoghanmurray! - Fix and test for bug #1457 which was affecting replay of complex tailwind css -
#1476
cbbd1e5
Thanks @eoghanmurray! - Fixup for multiple background-clip replacement -
#1387
5e7943d
Thanks @H4ad! - Avoid recreating the same element every time, instead, we cache and we just update the element.Before: 779k ops/s
After: 860k ops/sBenchmark: https://jsbench.me/ktlqztuf95/1
-
#1440
c0f83af
Thanks @daibhin! - better nested css selector splitting when commas or brackets happen to be in quoted text -
#1467
e96f668
Thanks @eoghanmurray! - Bugfix after #1434 perf improvements: fix that blob urls persist on the shared anchor element and can't be later modified
[email protected]
[email protected]
Patch Changes
- Updated dependencies []:
[email protected]
[email protected]
@rrweb/[email protected]
[email protected]
Minor Changes
- #1432
123a81e
Thanks @Juice10! - Full overhawl ofvideo
andaudio
element playback. More robust and fixes lots of bugs related to pausing/playing/skipping/muting/playbackRate etc.
Patch Changes
-
#1422
3d1877c
Thanks @marandaneto! - fix: createImageBitmap throws DOMException if source is 0 width or height -
#1432
123a81e
Thanks @Juice10! - Recordloop
on<audio>
&<video>
elements. -
#1445
02f50d2
Thanks @daibhin! - fix: protect against missing parentNode -
Updated dependencies [
123a81e
,123a81e
,f7c6973
,123a81e
,c278d06
]: