Skip to content

Commit 0a63853

Browse files
committed
chore(release): v3.4.0
1 parent 3d17029 commit 0a63853

File tree

5 files changed

+18
-5
lines changed

5 files changed

+18
-5
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

1010
JavaScript 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
贡献

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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
"LeanCloud <[email protected]>"

changelog.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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": {

src/version.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
module.exports = '3.3.1';
1+
module.exports = '3.4.0';

0 commit comments

Comments
 (0)