diff --git a/changelog.md b/changelog.md index b1eb42f9..cc4fb139 100644 --- a/changelog.md +++ b/changelog.md @@ -1,3 +1,16 @@ +## 4.15.0 (2023-04-21) + +### Features + +- 国际节点支持通过 stream 构建文件(需要手动设置文件大小) + ```js + const stats = fs.statSync('my_file'); + const stream = fs.createReadStream('my_file'); + const file = new AV.File('my_file', stream); + file.metaData('size', stats.size); + file.save(); + ``` + ## 4.14.0 (2022-12-15) ### Features diff --git a/package-lock.json b/package-lock.json index 0148356c..e71ca02e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "leancloud-storage", - "version": "4.14.0", + "version": "4.15.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "leancloud-storage", - "version": "4.14.0", + "version": "4.15.0", "license": "MIT", "dependencies": { "@babel/runtime-corejs3": "^7.18.6", diff --git a/package.json b/package.json index 7d3b1bd4..798cd5b5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "leancloud-storage", - "version": "4.14.0", + "version": "4.15.0", "main": "./dist/node/entry/index.js", "description": "LeanCloud JavaScript SDK.", "repository": { diff --git a/src/version.js b/src/version.js index 51c65439..5fb5a792 100644 --- a/src/version.js +++ b/src/version.js @@ -1 +1 @@ -module.exports = '4.14.0'; +module.exports = '4.15.0';