Commit Graph

235 Commits

Author SHA1 Message Date
Yanzhen Yu
bc78468ef4 Release 0.7.32 2026-04-01 12:00:00 +08:00
Yanzhen Yu
7fb0eb4d19 Revert "Create FUNDING.yml"
This reverts commit 2c438d1812.
2026-04-01 12:00:00 +08:00
yz-yu
825ebdf6e8 Create FUNDING.yml 2026-04-01 12:00:00 +08:00
Yanzhen Yu
4209ea7fe8 Update rollup
With rollup's preserveModules option and the sideEffects flag in
package.json, now we have the power of tree shaking.
2026-04-01 12:00:00 +08:00
yz-yu
dcad6ff922 Packer (#172)
* introduce pako and add general packer interface

* add tests for packer

* use function API instead of class API for better tree shaking support

* refcatoring the rollup bundle config
2026-04-01 12:00:00 +08:00
Yanzhen Yu
f1adef4693 Release 0.7.31 2026-04-01 12:00:00 +08:00
Eoghan Murray
3d4280b23a Keep track of pause/play state so that player doesn't accidentally 'unpause' a user pause action (#189) 2026-04-01 12:00:00 +08:00
Yanzhen Yu
f8b20530d3 Release 0.7.30 2026-04-01 12:00:00 +08:00
Yanzhen Yu
f57bb1041b remove useless console.log 2026-04-01 12:00:00 +08:00
Yanzhen Yu
67ef897454 tolerate insertRule error since browser may throw Error on wrong prefix 2026-04-01 12:00:00 +08:00
Yanzhen Yu
c68d3e1803 avoid style sheet rules index overflow 2026-04-01 12:00:00 +08:00
Yanzhen Yu
bd5aa59589 ignore style sheet changes before the target DOM was serialized
The serialized DOM will contains all the styles, so this looks safe.
2026-04-01 12:00:00 +08:00
Yanzhen Yu
79a7191916 add an integration tests for react and styled components 2026-04-01 12:00:00 +08:00
Yanzhen Yu
e194e08b17 make the unit tests more stable 2026-04-01 12:00:00 +08:00
Yanzhen Yu
ca2b074743 update rrweb-snapshot 2026-04-01 12:00:00 +08:00
Filip Slatinac
a242a105d3 Checking node existence (#174)
* added our package

* reverted back to old rrweb snapshot

* Array.from does not capture all elements added in the set, we have to manually iterate through the iterator

* package lock

* checking if nodes are in the parent before we try inserting them
2026-04-01 12:00:00 +08:00
Eoghan Murray
23220f1771 Was experiencing case when a TouchEnd event occurred on a text element i.e. (nodeType: 3 / nodeName: #text) (#180)
This was a recording taken with rrweb 0.7.27 (3afff63970) and rrweb-snapshot 0.7.21 (a0dc9481b2) so issue may have been fixed in the intervening commits
2026-04-01 12:00:00 +08:00
Yanzhen Yu
91064d48cb Release 0.7.29 2026-04-01 12:00:00 +08:00
Yanzhen Yu
329c790194 add trigger focus option to replayer, which may helps integration into other apps 2026-04-01 12:00:00 +08:00
Yanzhen Yu
9035a8f814 Release 0.7.28 2026-04-01 12:00:00 +08:00
Yanzhen Yu
268a0df040 update rrweb-snapshot 2026-04-01 12:00:00 +08:00
David Cramer
704f6d4a4f Add support for replaying StyleSheetRule events (#178) 2026-04-01 12:00:00 +08:00
David Cramer
3a0e829884 Add observers for stylesheet mutations (#177)
* hack together stylesheet observer

* Add test coverage for insertRule/deleteRule on stylesheets

* Add new observers

* update patch based on changes to master

* Functioning event recording

* Remove print statements

* Fix ID usage and mark add vs remove

* Correct type

Co-authored-by: Jon Perl <perl.jonathan@gmail.com>
2026-04-01 12:00:00 +08:00
Yanzhen Yu
c7140ea8c6 fix dependency path 2026-04-01 12:00:00 +08:00
Yanzhen Yu
5bfc2c704a impl media interactions recording
close #159
close #72
listen to HTMLMediaElement's play/pause events, and replay them
by programmatically play and pause the target element.
2026-04-01 12:00:00 +08:00
Yanzhen Yu
d0c31bb4cf close #153 emit event when it being casted 2026-04-01 12:00:00 +08:00
Yanzhen Yu
e1d025a1fd close #152
update rrweb-snapshot which contains the fix
2026-04-01 12:00:00 +08:00
Yanzhen Yu
73dc8bd9cd update release it config 2026-04-01 12:00:00 +08:00
Yanzhen Yu
fb13d24a86 Release 0.7.27 2026-04-01 12:00:00 +08:00
Yanzhen Yu
33e69c5af9 close #143 tweak the code of iterating iterators
Originally we use Array.from to transform iterator into array.
But we found some framework may overwrite the Array.from with a
pollyfill which was not implement correctly.
2026-04-01 12:00:00 +08:00
Filip Slatinac
39eacdece9 Changing Array.from to iterators. (#145)
* added our package

* reverted back to old rrweb snapshot

* Array.from does not capture all elements added in the set, we have to manually iterate through the iterator

* package lock
2026-04-01 12:00:00 +08:00
mpstv
84de337040 Try add configurable threshold for events throttling (#147) 2026-04-01 12:00:00 +08:00
Yanzhen Yu
9f1f31fb85 Release 0.7.26 2026-04-01 12:00:00 +08:00
Yanzhen Yu
cd12816638 close #140 transform mutated attributes 2026-04-01 12:00:00 +08:00
Yanzhen Yu
26f9b1bfc8 fix types in replayer unit test 2026-04-01 12:00:00 +08:00
Yanzhen Yu
bae4dd8294 fix unit test types 2026-04-01 12:00:00 +08:00
Yanzhen Yu
4d813fff39 close #138 change source map into a single file 2026-04-01 12:00:00 +08:00
Yanzhen Yu
b26132dc3c Release 0.7.25 2026-04-01 12:00:00 +08:00
yz-yu
1afc0b7527 add hooks API (#132) 2026-04-01 12:00:00 +08:00
Yanzhen Yu
a91399046b Release 0.7.24 2026-04-01 12:00:00 +08:00
Yanzhen Yu
5319a028ae update rrweb-snapshot to fix #129 2026-04-01 12:00:00 +08:00
Yanzhen Yu
dd6bba8ddc Release 0.7.23 2026-04-01 12:00:00 +08:00
Yanzhen Yu
2ac8634607 re-add addCustomEvent function via function property 2026-04-01 12:00:00 +08:00
Yanzhen Yu
f872ed143b Revert "temp revert #81"
This reverts commit 835161c737.
2026-04-01 12:00:00 +08:00
Yanzhen Yu
bd6474cae5 Release 0.7.22 2026-04-01 12:00:00 +08:00
Yanzhen Yu
602c848be6 update mask option test snapshot 2026-04-01 12:00:00 +08:00
Yanzhen Yu
2be090cc0d temp revert #81
This patch introduce a breaking change in rrweb-record's API, so
we will revert it in 0.7.x and release it in 0.8.
2026-04-01 12:00:00 +08:00
Yanzhen Yu
3d3a51b3de Fix #93 update rrweb-snapshot 2026-04-01 12:00:00 +08:00
Yanzhen Yu
9f3404a26a Release 0.7.21 2026-04-01 12:00:00 +08:00
Yanzhen Yu
21e90a0c7d hotfix throttle function args 2026-04-01 12:00:00 +08:00