Commit Graph

467 Commits

Author SHA1 Message Date
Yanzhen Yu
2a1bfc9316 Release 0.7.16 2026-04-01 12:00:00 +08:00
Yanzhen Yu
57df28de2f remove mitt typings namesapce 2026-04-01 12:00:00 +08:00
Yanzhen Yu
eaf339ed79 Upgrade the DOM mutation observer
This is an important patch contains some crtical bug fixes for
the DOM mutation observer.
Previously the observer did not handle complex DOM movement very
well. So in this patch we optimized this by distinguishing moved
node better and added a resolving queue to avoid the error caused
by ordering.
2026-04-01 12:00:00 +08:00
Marcos Passos
79981a6a44 Export useful enums (#77)
Fixes #74
2026-04-01 12:00:00 +08:00
Yanzhen Yu
6fd4cd20c2 Release 0.7.15 2026-04-01 12:00:00 +08:00
Yanzhen Yu
7d4b2ad3e0 emit mouse interaction event during replay 2026-04-01 12:00:00 +08:00
Yanzhen Yu
9466c4dca7 Release 0.7.14 2026-04-01 12:00:00 +08:00
Yanzhen Yu
d155f9ab6b update rrweb-snapshot 2026-04-01 12:00:00 +08:00
yz-yu
689840d237 start to support live mode (#73)
1. add a liveMode flag to config, when liveMode is set, the timer
will keep running even though all the actions casted
2. add a public method addEvent, which will cast newly added event
in sync
3. move mouse in sync mode with the latest position info
2026-04-01 12:00:00 +08:00
Yanzhen Yu
d23c0cd0c1 Release 0.7.13 2026-04-01 12:00:00 +08:00
Yanzhen Yu
f312ecbadc add the inline stylesheet option when recording 2026-04-01 12:00:00 +08:00
Yanzhen Yu
e1f023ae0c fix #66 update npm files and dependencies 2026-04-01 12:00:00 +08:00
Yanzhen Yu
6c4f0f16ef Release 0.7.12 2026-04-01 12:00:00 +08:00
Yanzhen Yu
503987c583 fix #62 accept RegExp type block class config 2026-04-01 12:00:00 +08:00
Yanzhen Yu
4f58cad48d resume with time offset when after wait stylesheet load 2026-04-01 12:00:00 +08:00
Yanzhen Yu
17751e528d fix character data test snapshot with latest puppeteer 2026-04-01 12:00:00 +08:00
Yanzhen Yu
ebaa318d54 update typescript and fix test cases 2026-04-01 12:00:00 +08:00
Yanzhen Yu
32c33f3ce8 move browser related APIs into runtime 2026-04-01 12:00:00 +08:00
Yanzhen Yu
6010d62c60 Release 0.7.10 2026-04-01 12:00:00 +08:00
Yanzhen Yu
d1b32e6e9d impl #23 add custom privacy selectors 2026-04-01 12:00:00 +08:00
Yanzhen Yu
7380e599c8 update dependency rrweb-snapshot 2026-04-01 12:00:00 +08:00
Yanzhen Yu
da54061b53 check attribute is null instead of any falsy value 2026-04-01 12:00:00 +08:00
Yanzhen Yu
281eca7fe2 Release 0.7.9 2026-04-01 12:00:00 +08:00
Yanzhen Yu
931f71e738 update mutation observer handler
1. deep delete from adds set when node was dropped
2. remove node from dropped set when node was added again
2026-04-01 12:00:00 +08:00
Yanzhen Yu
12fc5de3a7 check whether the removed node's ancestors has been removed 2026-04-01 12:00:00 +08:00
Yanzhen Yu
153035f4b0 turn some warning message into debug message 2026-04-01 12:00:00 +08:00
Yanzhen Yu
adba7ee0bb add company info 2026-04-01 12:00:00 +08:00
Yanzhen Yu
3158c87443 update auto play option in the guide 2026-04-01 12:00:00 +08:00
Yanzhen Yu
cfe77b2cb2 Release 0.7.8 2026-04-01 12:00:00 +08:00
yz-yu
4a2c733583 improve mouse record and replay (#49)
Increase the throttle value of collecting mouse move and add a
transition time to the replayer's mouse. This may decrease the
size of mouse move data and make the replay movement more smooth.
Another change is to move and hover when click event is replayed.
This is to improve the replay of some programmatic click, such as
E2E tests.
2026-04-01 12:00:00 +08:00
Yanzhen Yu
e2bc867b2e move all events to an enum and update guide 2026-04-01 12:00:00 +08:00
Yanzhen Yu
3c51f79229 Release 0.7.7 2026-04-01 12:00:00 +08:00
Yanzhen Yu
34571ad708 resolve #47 update dependency 2026-04-01 12:00:00 +08:00
Yanzhen Yu
384227d0df resolve #48 check focus and blur before call since the target can be HTMLDocument in firefox 2026-04-01 12:00:00 +08:00
Yanzhen Yu
fdda3c7e99 Release 0.7.6 2026-04-01 12:00:00 +08:00
yz-yu
329de4e9f7 update dependencies and generate typings (#44) 2026-04-01 12:00:00 +08:00
yz-yu
ca61d6b19e fix remove node observer and check on the result of getNode (#43)
* check removed node and its parent before collect

* add more more checks on the result of getNode
2026-04-01 12:00:00 +08:00
Yanzhen Yu
7e337d4f4e Release 0.7.5 2026-04-01 12:00:00 +08:00
Mike MacCana
2a4c40ff0b Small fixes to English around rrwebRecord / rrweb.record (#41)
* Small fixes to English around rrwebRecord / rrweb.record

* Fix missing word
2026-04-01 12:00:00 +08:00
Yanzhen Yu
eb29b74281 repl: reset events when start and add types to inquirer prompt 2026-04-01 12:00:00 +08:00
Rongjian Zhang
09117796bd REPL tool enhancement (#21)
* exit after record saved

* refactor: use inquirer instead of low level readline

* feat: ask user if record another one, instead of exit
2026-04-01 12:00:00 +08:00
yz-yu
081781d1ca add checkout config to recorder (#36)
* add checkout config to recorder

* add test cases for checkout feature and extract assertSnapshot method
2026-04-01 12:00:00 +08:00
Yanzhen Yu
d72a15fd1b expose iframe as public property 2026-04-01 12:00:00 +08:00
Yanzhen Yu
1dd69c7662 add gitter badge to Chinese README 2026-04-01 12:00:00 +08:00
The Gitter Badger
924ce4b082 Add Gitter badge (#35) 2026-04-01 12:00:00 +08:00
Yanzhen Yu
21465e785f resolve #13 add warning messages when target is not found 2026-04-01 12:00:00 +08:00
Yanzhen Yu
ac6c1fc360 Release 0.7.4 2026-04-01 12:00:00 +08:00
Yanzhen Yu
21ba657653 resolve #28, init replayer config in the constructor 2026-04-01 12:00:00 +08:00
Yanzhen Yu
fc941aa89e update Chinese guide doc 2026-04-01 12:00:00 +08:00
Charlie Jonas
fac101f3c7 demonstrating how to stop recording (#20)
* demonstrating how to stop recording

* made record stop example seperate
2026-04-01 12:00:00 +08:00