-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
28 changed files
with
1,722 additions
and
1,410 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{ | ||
"presets": [ "es2015" ] | ||
} | ||
"presets": [ "es2015-rollup" ] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,3 +21,6 @@ indent_size = 4 | |
[*.json] | ||
# 缩进2个空格 | ||
indent_size = 2 | ||
|
||
[makefile] | ||
indent_style = tab |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,21 @@ | ||
v1.0.4 | ||
U use rollup.js bundler to reduce dist package size(33% off) | ||
A add makefile, use make for automatic procedures | ||
U replace comments in English | ||
A add `get` method to get logs in suitable time range, rename `getAll` to `all` | ||
|
||
V1.0.3 | ||
F indexDB使用自增键作为主键,修复在高频存储调用过程中会报错的问题(因为唯一keypath timestamp可能会重复) | ||
U 优化了localStorage协议的存储结构,节省空间 | ||
F add auto-increase as key of IndexedDB, to fix error when logging in high frequency(old keypath timestamp may repeat) | ||
U updated localStorage protocol's storage structer to save spaces | ||
|
||
V1.0.2 | ||
A 自动按照协议的优先级选择可用的协议,优先级来自构建时的参数 | ||
A 自定义数据库名 | ||
A ability to choose protocol automatically | ||
A custom database name | ||
|
||
V1.0.1 | ||
D 解耦日志上传功能,api `reportTO` 和 `deploy` 被移除 | ||
D log upload api `reportTo` and `deploy` is removed, | ||
|
||
V1.0.0 | ||
A 日志记录 | ||
A 日志上传 | ||
A 自定义构建,允许只打包业务需要的协议 | ||
A log record | ||
A log upload | ||
A custom build, allow build with only protocols wanted |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
WIP | ||
[ ] 不使用 webpack 编译,以减小打包文件的大小 HIGH | ||
none | ||
|
||
CONSIDERING | ||
[ ] 完善错误处理细节 LOW | ||
[ ] fullfill error handling LOW | ||
[ ] 修复phantomjs无法正确测试indexeddb的问题,phantomjs在关闭数据后才能读取到新存储的内容 LOW | ||
[ ] 添加标记,用于指示当前日志协议是否有未完成或者等待中的异步任务 LOW | ||
[ ] 允许获取指定时间范围内的日志 NICE TO HAVE | ||
[ ] add a tag, to indicate pending operations LOW | ||
[ ] ability to get desired NICE TO HAVE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
No third parties dependencies |
Oops, something went wrong.