Skip to content

Commit 3b884d6

Browse files
leeyehsdjdd
andauthored
chore(release): v4.6.0 (#610)
Co-authored-by: sdjdd <[email protected]>
1 parent 1c34934 commit 3b884d6

File tree

5 files changed

+19
-5
lines changed

5 files changed

+19
-5
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,3 @@ npm-debug.log
99
.nyc_output
1010
dist
1111
docs
12-
.DS_Store

changelog.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
# 4.6.0 (2020-03-18)
2+
3+
### Features
4+
5+
- 增加了以下平台无关的小程序登录方法,通过各平台 Adapters 生成的 `authInfo` 进行登录:
6+
- `AV.User.loginWithMiniApp`
7+
- `AV.User#loginWithMiniApp`
8+
- 增加了 `AV.User.mergeUnionId` 方法用于合并 `authInfo``unionId`
9+
10+
### Bug Fixes
11+
12+
- 修复了 React Native 上导入 SDK 抛异常的问题。详细的安装步骤参见 [《JavaScript SDK 安装指南 · React Native》](https://url.leanapp.cn/react-native-setup)
13+
- 修复了通过 `AV.User.updatePassword` 更新密码后,未能同步更新当前用户的 `sessionToken` 的问题。
14+
- 修复了调用 `AV.User.become` 时,传递空 `sessionToken` 未抛异常的问题。
15+
116
## 4.5.3 (2020-04-03)
217

318
### Bug Fixes
@@ -24,7 +39,7 @@
2439

2540
# 4.5.0 (2020-03-18)
2641

27-
SDK [计划](https://github.com/leancloud/javascript-sdk/wiki/Roadmap)在 5.0 中支持同时访问多个应用。在此之前,尽管当前版本中重复初始化 SDK 存在导致预期之外且难以追查的问题的风险,改变当前访问的应用的能力在很多场景下依然是有价值的。因此在这个版本中 SDK 允许通过多次调用 `init` 方法进行重新初始化。
42+
SDK [计划](https://github.com/leancloud/javascript-sdk/wiki/Roadmap) 在 5.0 中支持同时访问多个应用。在此之前,尽管当前版本中重复初始化 SDK 存在导致预期之外且难以追查的问题的风险,改变当前访问的应用的能力在很多场景下依然是有价值的。因此在这个版本中 SDK 允许通过多次调用 `init` 方法进行重新初始化。
2843

2944
### Features
3045

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.5.3",
3+
"version": "4.6.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.5.3';
1+
module.exports = '4.6.0';

0 commit comments

Comments
 (0)