Skip to content

Commit 521e608

Browse files
committed
chore(release): v4.3.1
1 parent 0e7b9cd commit 521e608

File tree

4 files changed

+14
-5
lines changed

4 files changed

+14
-5
lines changed

changelog.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,19 @@
1+
## 4.3.1 (2020-03-12)
2+
3+
这个版本继续了对「更多运行环境支持」的探索,将 SDK 内置的多平台支持使用新的 `Adapter` 模式进行了重构。SDK 支持的运行平台、使用方法都没有变化。
4+
5+
### Bug Fixes
6+
7+
- 修复了进行 Relation 查询时抛 `_extraOptions is undefined` 异常的问题。这个问题是 v4.0.0 中引入的。
8+
- `setAdaptors` 接口被重命名为 `setAdapters`
9+
110
# 4.3.0 (2020-03-09)
211

312
### Features
413

5-
- 增加了 `AV.setAdaptors` 方法用于配置运行环境适配器。
14+
- 增加了 `AV.setAdaptors`(已在 v4.3.1 中重命名为 `setAdapters` 方法用于配置运行环境适配器。
615

7-
作为正在进行的对「更多运行环境支持」探索的第一步,这个版本的 SDK 所以对平台提供的 API 的依赖被抽象为可替换的 `Adaptor`。开发者可以配置全部或一部分 `Adaptor` 以支持包括小程序在内的各类平台。
16+
作为正在进行的对「更多运行环境支持」探索的第一步,这个版本的 SDK 所以对平台提供的 API 的依赖被抽象为可替换的 `Adapter`。开发者可以配置全部或一部分 `Adapter` 以支持包括小程序在内的各类平台。
817

918
-`AV.init``serverURLs` 参数增加了一个同义参数 `serverURL`
1019

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

0 commit comments

Comments
 (0)