File tree Expand file tree Collapse file tree 4 files changed +31
-4
lines changed Expand file tree Collapse file tree 4 files changed +31
-4
lines changed Original file line number Diff line number Diff line change 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 <support@leancloud.rocks>" ],
66 "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+
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
Original file line number Diff line number Diff line change 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" : {
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