Commit Graph

980 Commits

Author SHA1 Message Date
Yanzhen Yu
cac660ce61 Release 0.6.7 2018-11-27 14:39:22 +08:00
Yanzhen Yu
e198ea494e ignore iframe src attribute 2018-11-27 14:39:13 +08:00
Yanzhen Yu
4a228c3078 add release-it cli config 2018-11-27 13:42:02 +08:00
Yanzhen Yu
e13f9bb0aa add release-it config 2018-11-27 13:38:51 +08:00
Yanzhen Yu
f2e7f2b346 Release 0.6.3 2018-11-27 13:35:02 +08:00
Yanzhen Yu
be73853bff add release-it config 2018-11-27 13:34:50 +08:00
Yanzhen Yu
2c0a0edf36 basic impl of wait for stylesheet loaded 2018-11-26 18:19:07 +08:00
Yanzhen Yu
b8bb590de3 Release 0.6.6 2018-11-26 17:43:07 +08:00
Yanzhen Yu
f73bad21e5 complately update relative path regexp 2018-11-26 17:42:52 +08:00
Yanzhen Yu
aca8207db9 Release 0.6.5 2018-11-23 23:36:30 +08:00
Yanzhen Yu
66e8d4318c fix absolute to doc 2018-11-23 23:36:19 +08:00
Yanzhen Yu
9228a8f04a Release 0.6.2 2018-11-23 23:18:11 +08:00
Yanzhen Yu
2ed5a41708 update dependency 2018-11-23 23:15:51 +08:00
Yanzhen Yu
c856fb5ea9 Release 0.6.4 2018-11-23 23:12:37 +08:00
Yanzhen Yu
d1987f2c05 Release 0.6.3 2018-11-23 23:08:23 +08:00
Yanzhen Yu
124959a67d fix css url regexp 2018-11-23 23:02:35 +08:00
Yanzhen Yu
9de02491fb Release 0.6.2 2018-11-23 22:47:43 +08:00
Yanzhen Yu
49c1ba0a1f absolute relative path in inline stylesheet 2018-11-23 22:47:19 +08:00
Yanzhen Yu
d186a06edf update bundle format and add sourcemap 2018-11-23 22:46:42 +08:00
Yanzhen Yu
5b61d98f8b check interaction target before apply 2018-11-23 20:02:18 +08:00
Yanzhen Yu
86286ddb94 check parentNode when calling insertBefore
When add new nodes, we may use insertBefore API to insert node before
its next sibling. But the sibling may not in the DOM tree at that
moment if it was in the missing node map.
2018-11-23 18:08:37 +08:00
Yanzhen Yu
eab30bd274 improve prevent default event when replay 2018-11-23 18:06:19 +08:00
Yanzhen Yu
17fe17b452 add sourcemap for terser bundles 2018-11-23 16:12:24 +08:00
Yanzhen Yu
7343ce4719 refactor the repl tool to support multipage apps and better dev 2018-11-23 16:01:55 +08:00
Yanzhen Yu
181c8e1d5d fix timer clear method with do not reassign actions pointer 2018-11-23 14:22:18 +08:00
Yanzhen Yu
e20b8ae8f1 do not auto inject stylesheet 2018-11-21 19:23:42 +08:00
edwardwu
6382315d43 resolve #4 Improve timer's performance by storing all callbacks in an array (#5) 2018-11-16 21:53:59 +08:00
Yanzhen Yu
2bf412c446 add bundle watch 2018-11-16 16:09:55 +08:00
Yanzhen Yu
40e030eda1 ignore href in integration test to avoid fail when code changed 2018-11-14 14:25:11 +08:00
Yanzhen Yu
8b4eb5caf0 fix repl rollup config 2018-11-14 13:15:37 +08:00
Yanzhen Yu
7845e74ae5 extract css by rollup plugin 2018-11-13 23:04:43 +08:00
Yanzhen Yu
a5010a7e68 Release 0.6.1 2018-11-13 19:50:33 +08:00
Yanzhen Yu
7ecd59a145 update bundle config 2018-11-13 19:47:28 +08:00
Yanzhen Yu
c617d2a49f Release 0.6.1 2018-11-13 19:11:39 +08:00
Yanzhen Yu
4287fb4810 update bundle config 2018-11-13 19:10:34 +08:00
Yanzhen Yu
ef6d50c9e7 bump 0.6.0 2018-11-13 16:27:21 +08:00
Yanzhen Yu
4a7e1e70c6 update test command 2018-11-13 16:26:11 +08:00
Yanzhen Yu
69c6d96455 update dependencies
In this commit, we updated rrweb-snapshot to 0.6.0 which including
a breaking change in data structure.
2018-11-13 16:21:05 +08:00
Yanzhen Yu
275551befb bump 0.6.0 2018-11-13 16:13:42 +08:00
Yanzhen Yu
8157b38f99 check is svg when serialization 2018-11-13 16:09:57 +08:00
Yanzhen Yu
e52ce9e380 fix file link 2018-11-08 17:04:18 +08:00
Yanzhen Yu
3fa9da75ec add internal design docs 2018-11-08 16:52:53 +08:00
Yanzhen Yu
fc4804c8bc prevent form and a tag default behaviour 2018-11-06 14:23:55 +08:00
Yanzhen Yu
c91a3a3af6 add a repl mode for quick test 2018-11-06 14:23:30 +08:00
Yanzhen Yu
b9fc4253ae add chinese README 2018-11-05 20:06:54 +08:00
Yanzhen Yu
9471d4dd01 improve style of the player 2018-11-05 18:09:43 +08:00
Yanzhen Yu
4709c720cd also resolve missing previous node 2018-11-05 13:20:42 +08:00
Yanzhen Yu
f1930490b8 bump 0.5.1 2018-11-02 19:35:51 +08:00
Yanzhen Yu
0fb8fc4e0b Fix add node logic with missingNextNodeMap
This patch include a breaking change to the recorder's event data.

We used to consider mirror.getId will always return the id of the
target node because we keep serialize every node. But if we call
mirror.getId before serialization then bug happened. This could
happen when we get nextId of newly added nodes if its next sibling
was also newly added.
So we have to return -1 as the id of node which was not serialized
and when we building added nodes in the replayer we should handle
this.

For example, nodes el1, el2 were added together and el1's nextId
will be -1 since el2 was not serialized at that moment. Now we
call el1 as a 'missing next node' and not append it into the DOM
tree after building, instead we store it in a missingNextNodeMap.
After a added node in the same mutation was successfully appened
we will check whether it has a previous id and the id was pointed
to some nodes in the map, if so, we will insert that node before
it and delete the node from map.
2018-11-02 19:23:03 +08:00
Yanzhen Yu
8f1d9d5ca9 update rrweb and use the resume method with better performance 2018-11-02 11:07:56 +08:00