Skip to content

Commit f41bb57

Browse files
committed
chore: pick changes from v2.3.0...v2.4.0
1 parent 0b0127b commit f41bb57

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

changelog.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,22 @@
7676
7777
更多背景与技术细节请参考 [#453](https://github.com/leancloud/javascript-sdk/pull/453#issue-208346693).
7878
79+
# 2.4.0 (2017-05-19)
80+
### Bug Fixes
81+
* **可能导致不兼容** 修复了 `Query#get` 方法在目标对象不存在的情况下会返回一个没有数据的 `AV.Object` 实例的问题,现在该方法会正确地抛出 `Object not found` 异常。这个问题是在 2.0.0 版本中引入的。
82+
83+
### Features
84+
* 增加了 `Conversation#broadcast` 方法用于广播系统消息
85+
86+
## 2.3.2 (2017-05-12)
87+
### Bug Fixes
88+
* 修复了获取图形验证码会导致栈溢出的问题。
89+
90+
# 2.3.0 (2017-05-11)
91+
### Features
92+
* 增加了 `AV.Conversation` 类。现在可以直接使用 SDK 来创建、管理会话,发送消息。
93+
* 改进了验证码 API。增加了 `AV.Captcha`,可以通过 `AV.Captcha.request` 方法获取一个 Captcha 实例。特别的,在浏览器中,可以直接使用 `Captcha#bind` 方法将 Captcha 与 DOM 元素进行绑定。
94+
7995
## 2.2.1 (2017-04-26)
8096
### Bug Fixes
8197
* 修复了 `User.requestLoginSmsCode`,`User.requestMobilePhoneVerify` 与 `User.requestPasswordResetBySmsCode` 方法 `authOptions.validateToken` 参数的拼写错误。

0 commit comments

Comments
 (0)