Commit Graph

217 Commits

Author SHA1 Message Date
Mark-fenng
392c4bd871 moved rrweb-snapshot into packages/rrweb-snapshot 2026-04-01 12:00:00 +08:00
Yanzhen Yu
c208a40e8e Release 1.1.7 2026-04-01 12:00:00 +08:00
Yanzhen Yu
ec8473b5e4 ignore prefetch and preload script links
related to:
1. https://github.com/rrweb-io/rrweb/issues/52
2. https://github.com/rrweb-io/rrweb/issues/297
3. https://github.com/rrweb-io/rrweb/issues/597
2026-04-01 12:00:00 +08:00
AssafKr
3c7aeb3b13 Handle quoted strings in data url (#84)
* handle quoted strings in data url

* unrefactor

* update package json

* Revert "update package json"

This reverts commit 9446109b0f94d9e569a961642f1e57b1a67793ee.

* change background-image to border-image
2026-04-01 12:00:00 +08:00
Yanzhen Yu
d9133fd7ac Release 1.1.6 2026-04-01 12:00:00 +08:00
Justin Halsall
9fdd8cd2dc move maskInputValue to rrweb-snapshot (#83)
More info: https://github.com/rrweb-io/rrweb/pull/602#discussion_r660434998
2026-04-01 12:00:00 +08:00
Yanzhen Yu
30f82a891b Release 1.1.5 2026-04-01 12:00:00 +08:00
Yanzhen Yu
63cec44c10 format code 2026-04-01 12:00:00 +08:00
bachmanity1
9110664ca2 add keepIframeSrcFn option (#81)
* add allowIframe option to snapshot

* rename allowIframe to keepIframeSrcFn
2026-04-01 12:00:00 +08:00
Yun Feng
61074a2303 style(rebuild.ts snapshot.ts): format code 2026-04-01 12:00:00 +08:00
bachmanity1
5fbb459a8e fix media playback bug (#80) 2026-04-01 12:00:00 +08:00
Yanzhen Yu
17b79ca210 Release 1.1.4 2026-04-01 12:00:00 +08:00
Lucky Feng
68b39c82c4 fix: "Uncaught TypeError: Cannot read property 'insertRule' of null" caused by CSP style-src (#79) 2026-04-01 12:00:00 +08:00
Justin Halsall
1849943d48 Fixes https://github.com/rrweb-io/rrweb/issues/567 (#78) 2026-04-01 12:00:00 +08:00
mgoshorn
42273eb2e4 Updates regex used to validate tagnames to allow for tagnames that include namespace information (esp: svg tags) (#77)
Co-authored-by: Mitch Goshorn <mitch.goshorn@calmid.com>
2026-04-01 12:00:00 +08:00
Yanzhen Yu
6e144d13b3 Release 1.1.3 2026-04-01 12:00:00 +08:00
Yanzhen Yu
41e5082c08 related to #75 mask password input by default 2026-04-01 12:00:00 +08:00
Justin Halsall
b75140dc62 Allow password to be maskable instead of ignorable (#65)
* Add password to maskInputOptions on types

* Add password on maskInputOptions to types definition
2026-04-01 12:00:00 +08:00
Eoghan Murray
f2c5ab096e Improve parsing of srcset according to whatwg spec (#74)
* Improve parsing of srcset according to whatwg spec; e.g. srcset="http://example.com/size400,300/img.jpg 640w"

* Trim/normalise the output in order to conform to prior version; solely to keep tests happy

* Add test case for embedded commas in a srcset url as well as support for future possible parenthesis in descriptor string

* Drop 'future proof' test as it causes an error message in test output
2026-04-01 12:00:00 +08:00
Yanzhen Yu
628fee9292 Release 1.1.2 2026-04-01 12:00:00 +08:00
re-fort
89cdf67234 Enable to mask texts (#73)
* chore: reorder options

* feat: enable to mask texts

* feat: add the default mask function

* refactor: rename options to identify the difference between  mask text and mask input

* test: add tests about masking
2026-04-01 12:00:00 +08:00
Justin Halsall
74706eeac6 Speed up addHoverClass on large stylesheets (#72)
* speed up addHoverClass on large style sheets

* longer strings first to prevent accidental partial matches

* can add hover class when there is a multi selector with the same prefix

* tweak performance
2026-04-01 12:00:00 +08:00
Yanzhen Yu
19038fe593 Release 1.1.1 2026-04-01 12:00:00 +08:00
Yanzhen Yu
e92d92b0b6 add isShadow flag if a node is under shadow root 2026-04-01 12:00:00 +08:00
Yanzhen Yu
d79922f6b6 update typings 2026-04-01 12:00:00 +08:00
Yanzhen Yu
697be5acf7 Release 1.1.0 2026-04-01 12:00:00 +08:00
Yanzhen Yu
105268f472 snapshot and rebuild shadow DOM
https://github.com/rrweb-io/rrweb/issues/38
2026-04-01 12:00:00 +08:00
Yanzhen Yu
af000d4a7a add typings script to prepack 2026-04-01 12:00:00 +08:00
Eoghan Murray
be2648054c Found an example in the wild of the deprecated pre-css way of adding a background image to table cells (#69) 2026-04-01 12:00:00 +08:00
Yanzhen Yu
7cb4a25597 using for loop instead of forEach in element classlists
pick #64 and close #68
2026-04-01 12:00:00 +08:00
Province Innovation
c09ee435d8 Valid tag names can include any digit [0-9] (#66) 2026-04-01 12:00:00 +08:00
Justin Halsall
17b1821a15 Adding prepare & prepack npm statement (#67)
* Add prepare & prepack

* Create .npmignore

* remove node_modules, they might be needed
2026-04-01 12:00:00 +08:00
Yanzhen Yu
3d463d219c Release 1.0.7 2026-04-01 12:00:00 +08:00
Yanzhen Yu
d449a1263d safe access iframe document 2026-04-01 12:00:00 +08:00
Yanzhen Yu
4d186077f4 Release 1.0.6 2026-04-01 12:00:00 +08:00
Yanzhen Yu
a5d77ea4f0 add iframe load timeout 2026-04-01 12:00:00 +08:00
Yanzhen Yu
59c849e429 Release 1.0.5 2026-04-01 12:00:00 +08:00
yz-yu
b0508d4df4 nested record iframe (#63)
* pick nested branch

* iframe snapshot

* temp: add bundle file to git

* revert ignore file

* refactor iframe impl
1. do callback one iframe is loaded, let rrweb handle the rest
2. handle iframe as normal element in rebuild

* rename hook function
2026-04-01 12:00:00 +08:00
Yanzhen Yu
f780c42b95 Release 1.0.4 2026-04-01 12:00:00 +08:00
Yanzhen Yu
af61cab872 fix href value 2026-04-01 12:00:00 +08:00
Yanzhen Yu
c24e610f9e Release 1.0.3 2026-04-01 12:00:00 +08:00
丶Cccccc
53f51e0e8e bugfix: svg url中id name被误转为绝对路径 (#59)
Co-authored-by: wanglei002 <wanglei002@sensorsdata.cn>
2026-04-01 12:00:00 +08:00
cgf
451bf457cc svg xlink:href 路径问题 (#55)
* feat: 修改在svg , xlink:href 相对路径改为绝对路径

* feat: 修改在svg , xlink:href 路径

* feat: 修改在svg, 图片路径问题

* feat: 修改在svg, 图片路径问题

* feat: 修改在svg , xlink:href 路径

Co-authored-by: caogf <caogf@guahao.com>
2026-04-01 12:00:00 +08:00
Yanzhen Yu
3f406ea5ce Release 1.0.2 2026-04-01 12:00:00 +08:00
Yanzhen Yu
3a946702c2 fix https://github.com/rrweb-io/rrweb-snapshot/issues/56
safe access tagName of form element
2026-04-01 12:00:00 +08:00
Yanzhen Yu
93be66e22a Release 1.0.1 2026-04-01 12:00:00 +08:00
Yanzhen Yu
c7966070ef fix https://github.com/rrweb-io/rrweb/issues/395 2026-04-01 12:00:00 +08:00
Yanzhen Yu
e65160697b Release 1.0.0 2026-04-01 12:00:00 +08:00
Yanzhen Yu
a9ef2cfa83 refactoring public API 2026-04-01 12:00:00 +08:00
Yanzhen Yu
6852da5fe5 close #38, update data uri regexp 2026-04-01 12:00:00 +08:00