File tree 4 files changed +31
-4
lines changed
4 files changed +31
-4
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " leancloud-storage" ,
3
- "version" : " 3.11.1 " ,
3
+ "version" : " 3.12.0 " ,
4
4
"homepage" : " https://github.com/leancloud/javascript-sdk" ,
5
5
"authors" : [
" LeanCloud <[email protected] >" ],
6
6
"description" : " LeanCloud JavaScript SDK" ,
Original file line number Diff line number Diff line change
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
+
1
28
## 3.11.1 (2018-12-26)
2
29
3
30
### Bug fixes
4
31
5
32
* 修复了在初始化时设置了 serverURLs,但仍然会使用缓存的默认配置的问题。
6
- * 修复了 ` AV.Object#clone ` 与 ` AV.Error ` 的 TypeScript 定义中问题 。
33
+ * 修复了 ` AV.Object#clone ` 与 ` AV.Error ` 的 TypeScript 定义问题 。
7
34
8
35
# 3.11.0 (2018-11-08)
9
36
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " leancloud-storage" ,
3
- "version" : " 3.11.1 " ,
3
+ "version" : " 3.12.0 " ,
4
4
"main" : " ./dist/node/index.js" ,
5
5
"description" : " LeanCloud JavaScript SDK." ,
6
6
"repository" : {
Original file line number Diff line number Diff line change 1
- module . exports = '3.11.1 ' ;
1
+ module . exports = '3.12.0 ' ;
You can’t perform that action at this time.
0 commit comments