File tree Expand file tree Collapse file tree 5 files changed +18
-5
lines changed
Expand file tree Collapse file tree 5 files changed +18
-5
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ LeanCloud JavaScript SDK
44![ gzip size] ( http://img.badgesize.io/leancloud/javascript-sdk/dist/dist/av-min.js.svg?compression=gzip&style=flat-square )
55[ ![ Build Status] ( https://img.shields.io/travis/leancloud/javascript-sdk.svg?style=flat-square )] ( https://travis-ci.org/leancloud/javascript-sdk )
66[ ![ Codecov] ( https://img.shields.io/codecov/c/github/leancloud/javascript-sdk.svg?style=flat-square )] ( https://codecov.io/github/leancloud/javascript-sdk )
7- [ ![ David ] ( https://img.shields. io/david/ leancloud/javascript-sdk.svg?style=flat-square )] ( https://david-dm.org /leancloud/javascript-sdk )
7+ [ ![ Known Vulnerabilities ] ( https://snyk. io/test/github/ leancloud/javascript-sdk/badge .svg?style=flat-square )] ( https://snyk.io/test/github /leancloud/javascript-sdk )
88
99
1010JavaScript SDK for [ LeanCloud] ( http://leancloud.cn/ ) .
@@ -30,7 +30,7 @@ bower install leancloud-storage --save
3030----
3131* 如果你发现了新的 bug,或者有新的 feature request,请新建一个 issue
3232* 在使用过程中遇到了问题时
33- * 如果你购买了技术支持服务,请新建一个 ticket 。
33+ * 如果你是商用版用户,请新建一个工单 。
3434 * 也可以在 [ 论坛] ( https://forum.leancloud.cn/ ) 提问、讨论。
3535
3636贡献
Original file line number Diff line number Diff line change 11{
22 "name" : " leancloud-storage" ,
3- "version" : " 3.3.1 " ,
3+ "version" : " 3.4.0 " ,
44 "homepage" : " https://github.com/leancloud/javascript-sdk" ,
55 "authors" : [
66
Original file line number Diff line number Diff line change 1+ # 3.4.0 (2017-11-13)
2+
3+ ### Features
4+ - 小程序中支持通过 ` onprogress ` 回调参数拿到文件上传进度。
5+ - 在 v3.1.1 中,我们在异常的信息 ` error.message ` 中附加了一些请求相关的信息。这可能会导致一些依赖对错误信息进行字符串匹配的逻辑出错。我们为这个问题提供了两种解决方案:
6+ 1 . 使用新增的 ` error.rawMessage ` 代替 ` error.message ` 。并且我们推荐依赖 ` error.code ` 进行判断,而非对错误信息进行字符串匹配。
7+ 2 . 全局设置 ` AV.keepErrorRawMessage(true) ` 恢复 v3.1.1 之前的行为。
8+
9+ ### Bug Fixes
10+ - 优化了关联对象保存时的逻辑,减少了一些不必要的保存请求,避免了在关联对象有循环依赖时可能会出现死循环的问题。
11+ - 修复了使用应用内社交模块 ` inboxQuery ` 查询时可能出现 ` URI too long ` 异常的问题。
12+
13+
114## 3.3.1 (2017-10-25)
215
316### Bug fixes
Original file line number Diff line number Diff line change 11{
22 "name" : " leancloud-storage" ,
3- "version" : " 3.3.1 " ,
3+ "version" : " 3.4.0 " ,
44 "main" : " ./dist/node/index.js" ,
55 "description" : " LeanCloud JavaScript SDK." ,
66 "repository" : {
Original file line number Diff line number Diff line change 1- module . exports = '3.3.1 ' ;
1+ module . exports = '3.4.0 ' ;
You can’t perform that action at this time.
0 commit comments