Skip to content

Commit

Permalink
chore(release): v4.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
leeyeh committed Mar 18, 2020
1 parent ae1d707 commit 5285917
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
8 changes: 8 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# 4.5.0 (2020-03-18)

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

### Features

- 多次调用 `init` 方法不再抛出「SDK 已初始化」的异常,而是会打印一条警告日志。

# 4.4.0 (2020-03-17)

这个版本中 SDK 新增了运行环境无关的版本,开发者可以在此基础上应用目标运行环境的 Adapters 来适配相应的运行平台。
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.4.0",
"version": "4.5.0",
"main": "./dist/cjs/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.4.0';
module.exports = '4.5.0';

0 comments on commit 5285917

Please sign in to comment.