Skip to content

Commit 96feb95

Browse files
committed
chore: fix changelogs
1 parent 0a63853 commit 96feb95

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

changelog.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,11 @@
33
### Features
44
- 小程序中支持通过 `onprogress` 回调参数拿到文件上传进度。
55
- 在 v3.1.1 中,我们在异常的信息 `error.message` 中附加了一些请求相关的信息。这可能会导致一些依赖对错误信息进行字符串匹配的逻辑出错。我们为这个问题提供了两种解决方案:
6-
1. 使用新增的 `error.rawMessage` 代替 `error.message`并且我们推荐依赖 `error.code` 进行判断,而非对错误信息进行字符串匹配。
6+
1. 使用新增的 `error.rawMessage` 代替 `error.message`此外我们推荐依赖 `error.code` 进行判断,而非对错误信息进行字符串匹配。
77
2. 全局设置 `AV.keepErrorRawMessage(true)` 恢复 v3.1.1 之前的行为。
88

99
### Bug Fixes
10-
- 优化了关联对象保存时的逻辑,减少了一些不必要的保存请求,避免了在关联对象有循环依赖时可能会出现死循环的问题。
11-
- 修复了使用应用内社交模块 `inboxQuery` 查询时可能出现 `URI too long` 异常的问题。
10+
- 修复了在 Node.js 中通过 Stream 构造 `AV.File` 可能会抛 `Cannot read property 'match' of undefined` 异常的问题。
1211

1312

1413
## 3.3.1 (2017-10-25)

0 commit comments

Comments
 (0)