Skip to content

Commit 06f699d

Browse files
committed
chore(release): v3.1.0
1 parent 1997836 commit 06f699d

File tree

4 files changed

+17
-3
lines changed

4 files changed

+17
-3
lines changed

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.0.4",
3+
"version": "3.1.0",
44
"homepage": "https://github.com/leancloud/javascript-sdk",
55
"authors": [
66
"LeanCloud <[email protected]>"

changelog.md

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

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.0.4",
3+
"version": "3.1.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.0.4';
1+
module.exports = '3.1.0';

0 commit comments

Comments
 (0)