Commit Graph

171 Commits

Author SHA1 Message Date
yz-yu
8bb1c791f5 mask input options and sampling options (#252)
* part of #80, support mask input options

* close #188 enhance sampling options
Use a more general sampling strategy interface to describe the
configuration of sampling events collection.

Implemented mousmove, mouse interaction, scroll and input sampling
strategy.
2026-04-01 12:00:00 +08:00
Yanzhen Yu
9c7e00a6b1 Release 0.8.2 2026-04-01 12:00:00 +08:00
Yanzhen Yu
9a5873005f hotfix: fix es module entry path 2026-04-01 12:00:00 +08:00
Yanzhen Yu
90a42a31da Release 0.8.1 2026-04-01 12:00:00 +08:00
Yanzhen Yu
42a205e4c5 update typings entry 2026-04-01 12:00:00 +08:00
Yanzhen Yu
ccb2dd0562 Release 0.8.0 2026-04-01 12:00:00 +08:00
Yanzhen Yu
191908aa1d continue #199: redesign the bundled file structure
According to @eoghanmurray's suggestion, we can support three
main scenarios:
1. record only
2. replay only
3. all in one

Since we have implemented the packer feature, which has a big
influence in bundle size, we provide another three bundles:
1. record and pack
2. replay and unpack
3. all in one with pack and unpack
2026-04-01 12:00:00 +08:00
Yanzhen Yu
6b10e1c4ee update typescript to 3.9.5 2026-04-01 12:00:00 +08:00
yz-yu
2a6e2e0ef9 Live mode 2 (#226)
* refactoring play, pause, resume, load style sheet to subscribe style code

* support live mode in state machine

* 1. upgrade @xstate/fsm
2. add toggle interact methods to the player
2026-04-01 12:00:00 +08:00
Yanzhen Yu
2a323da123 close #205
1. upgrade rollup postcss plugin
2. fix postcss plugins for bundles
2026-04-01 12:00:00 +08:00
yz-yu
1efc9ad30b Bundles (#199)
* provide more bundle outputs

* update commonJS and es module entry to boot file
2026-04-01 12:00:00 +08:00
yz-yu
bfc0c43aa7 impl basic player state machine (#198) 2026-04-01 12:00:00 +08:00
Yanzhen Yu
a7d857c9e4 update rollup terser plugin 2026-04-01 12:00:00 +08:00
Yanzhen Yu
b8366ebf2d Release 0.7.33 2026-04-01 12:00:00 +08:00
Yanzhen Yu
0a62fd730c upgrade TS 2026-04-01 12:00:00 +08:00
Yanzhen Yu
bc78468ef4 Release 0.7.32 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
Yanzhen Yu
f8b20530d3 Release 0.7.30 2026-04-01 12:00:00 +08:00
Yanzhen Yu
ca2b074743 update rrweb-snapshot 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
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
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
e1d025a1fd close #152
update rrweb-snapshot which contains the fix
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
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
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
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
bd6474cae5 Release 0.7.22 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
21e90a0c7d hotfix throttle function args 2026-04-01 12:00:00 +08:00
Yanzhen Yu
ee5554c890 Release 0.7.20 2026-04-01 12:00:00 +08:00
Yanzhen Yu
c47f8781e5 update rrweb-snapshot for css parse fault tolerance 2026-04-01 12:00:00 +08:00
Yanzhen Yu
530f5baa3a update rrweb-snapshot to fix #112 2026-04-01 12:00:00 +08:00
Yanzhen Yu
78959df05d Release 0.7.19 2026-04-01 12:00:00 +08:00
yz-yu
8d5fe7dd34 Css parser (#107)
* add gzip size badges

* update rrweb-snapshot which has a performance boost in CSS parsing
2026-04-01 12:00:00 +08:00
Yanzhen Yu
49b4f2067b Release 0.7.18 2026-04-01 12:00:00 +08:00
Yanzhen Yu
7d785c18c2 Release 0.7.17 2026-04-01 12:00:00 +08:00
Yanzhen Yu
891b678557 pass mask input option to snapshot 2026-04-01 12:00:00 +08:00
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
6fd4cd20c2 Release 0.7.15 2026-04-01 12:00:00 +08:00