Skip to content

Commit 4e3f70f

Browse files
committed
chore(release): v3.12.0
1 parent 45a1331 commit 4e3f70f

File tree

4 files changed

+31
-4
lines changed

4 files changed

+31
-4
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.11.1",
3+
"version": "3.12.0",
44
"homepage": "https://github.com/leancloud/javascript-sdk",
55
"authors": ["LeanCloud <[email protected]>"],
66
"description": "LeanCloud JavaScript SDK",

changelog.md

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,36 @@
1+
# 3.12.0 (2019-03-01)
2+
3+
### Features
4+
5+
* `AV.File#save` 方法增加了 `keepFileName` 方法允许保留下载文件的文件名。
6+
7+
<details>
8+
<summary>
9+
示例
10+
</summary>
11+
12+
```js
13+
new AV.File('file-name.ext', source).save({ keepFileName: true });
14+
// https://your-file-domain/5112b94e0536e995741c/file-name.ext
15+
16+
new AV.File('file-name.ext', source).save();
17+
// https://your-file-domain/5112b94e0536e995741c.ext
18+
```
19+
20+
</details>
21+
22+
* 增加了 `AV.Object#revert` 方法撤销部分或全部修改了但未保存(save)的改动。
23+
24+
### Bug fixes
25+
26+
* 修复了 `AV.Object#set` 的 TypeScript 定义问题。
27+
128
## 3.11.1 (2018-12-26)
229

330
### Bug fixes
431

532
* 修复了在初始化时设置了 serverURLs,但仍然会使用缓存的默认配置的问题。
6-
* 修复了 `AV.Object#clone``AV.Error` 的 TypeScript 定义中问题
33+
* 修复了 `AV.Object#clone``AV.Error` 的 TypeScript 定义问题
734

835
# 3.11.0 (2018-11-08)
936

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.11.1",
3+
"version": "3.12.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.11.1';
1+
module.exports = '3.12.0';

0 commit comments

Comments
 (0)