Skip to content

Commit

Permalink
chore(release): v4.10.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sdjdd committed Jan 19, 2021
1 parent 7c6466c commit 8519185
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 3 deletions.
24 changes: 24 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,27 @@
## 4.10.0(2021-01-19)

### Features

- 使用 masterKey 上传文件时,可自定义文件的 key :
```js
const file = new AV.File(name, data);
file.save({
useMasterKey: true,
key: 'custom-file-key',
});
```

### Internal Changes

- 升级了 browser 、node 和 weapp 平台的 Adapters:
package|from|to
-|-|-
@leancloud/adapter-types|`4.0.0`|`5.0.0`
@leancloud/platform-adapters-browser|`1.4.0`|`1.5.2`
@leancloud/platform-adapters-node|`1.4.0`|`1.5.2`
@leancloud/platform-adapters-weapp|`1.5.0`|`1.6.1`
使用其他依赖 `@leancloud/adapter-types@5` 的 Adapters 也需要升级 `leancloud-storage`4.10.0

# 4.9.02020-12-18

### Bug Fixes
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "leancloud-storage",
"version": "4.9.0",
"version": "4.10.0",
"main": "./dist/node/entry/index.js",
"description": "LeanCloud JavaScript SDK.",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion src/version.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
module.exports = '4.9.0';
module.exports = '4.10.0';

0 comments on commit 8519185

Please sign in to comment.