Skip to content

Commit 8519185

Browse files
committed
chore(release): v4.10.0
1 parent 7c6466c commit 8519185

File tree

4 files changed

+27
-3
lines changed

4 files changed

+27
-3
lines changed

changelog.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,27 @@
1+
## 4.10.0(2021-01-19)
2+
3+
### Features
4+
5+
- 使用 masterKey 上传文件时,可自定义文件的 key :
6+
```js
7+
const file = new AV.File(name, data);
8+
file.save({
9+
useMasterKey: true,
10+
key: 'custom-file-key',
11+
});
12+
```
13+
14+
### Internal Changes
15+
16+
- 升级了 browser 、node 和 weapp 平台的 Adapters:
17+
package|from|to
18+
-|-|-
19+
@leancloud/adapter-types|`4.0.0`|`5.0.0`
20+
@leancloud/platform-adapters-browser|`1.4.0`|`1.5.2`
21+
@leancloud/platform-adapters-node|`1.4.0`|`1.5.2`
22+
@leancloud/platform-adapters-weapp|`1.5.0`|`1.6.1`
23+
使用其他依赖 `@leancloud/adapter-types@5` 的 Adapters 也需要升级 `leancloud-storage` 到 4.10.0 。
24+
125
# 4.9.0(2020-12-18)
226

327
### Bug Fixes

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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": "4.9.0",
3+
"version": "4.10.0",
44
"main": "./dist/node/entry/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 = '4.9.0';
1+
module.exports = '4.10.0';

0 commit comments

Comments
 (0)