File tree Expand file tree Collapse file tree 4 files changed +17
-3
lines changed
Expand file tree Collapse file tree 4 files changed +17
-3
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " leancloud-storage" ,
3- "version" : " 3.0.4 " ,
3+ "version" : " 3.1.0 " ,
44 "homepage" : " https://github.com/leancloud/javascript-sdk" ,
55 "authors" : [
66
Original file line number Diff line number Diff line change 1+ # 3.1.0 (2017-08-09)
2+ ### Bug Fixes
3+ - 修复了在某些运行环境中使用 LiveQuery 或 Captcha 功能时可能会出现 ` Object.assign ` 不存在的问题。
4+
5+ ### Features
6+ - ` AV.Object ` 增加了静态属性 ` query ` ,该属性是一个 getter,每次访问该属性会返回一个当前类的 Query。
7+ <details >
8+
9+ ``` javascript
10+ class Post extends AV .Object {}
11+ // 等价于 const query = new AV.Query(Post);
12+ const query = Post .query ;
13+ ```
14+
115## 3.0.4 (2017-08-01)
216
317### Bug fixes
Original file line number Diff line number Diff line change 11{
22 "name" : " leancloud-storage" ,
3- "version" : " 3.0.4 " ,
3+ "version" : " 3.1.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.0.4 ' ;
1+ module . exports = '3.1.0 ' ;
You can’t perform that action at this time.
0 commit comments