From 55003ecbd619fdb53381bcee3a3e3409ccde57fe Mon Sep 17 00:00:00 2001 From: sdjdd Date: Mon, 21 Dec 2020 16:34:42 +0800 Subject: [PATCH] chore(release): v5.0.0-rc.5 --- changelog.md | 12 +++++++++++- package-lock.json | 2 +- package.json | 2 +- 3 files changed, 13 insertions(+), 3 deletions(-) diff --git a/changelog.md b/changelog.md index fbd1ce047..a4f074916 100644 --- a/changelog.md +++ b/changelog.md @@ -1,3 +1,13 @@ + + +# [5.0.0-rc.5](https://github.com/leancloud/js-realtime-sdk/compare/v5.0.0-rc.4...v5.0.0-rc.5) (2020-12-21) + +### Bug Fixes + +- 修复了装饰器 `messageType` 和 `messageField` 类型定义的错误。 +- 修复了 `Realtime#createIMClient` 参数类型定义的错误。 +- 对话签名中邀请、移除成员时的 action 从 `add` / `remove` 更改为 `invite` / `kick`,如果你使用了签名控制对话邀请、移除成员权限,需要更新对 action 的判断逻辑。 + # [5.0.0-rc.4](https://github.com/leancloud/js-realtime-sdk/compare/v5.0.0-rc.3...v5.0.0-rc.4) (2020-12-16) @@ -9,7 +19,7 @@ conversation.get('attr.type'); ``` -### BugFixes +### Bug Fixes - 修复了装饰器 `messageType` 和 `messageField` 类型定义的错误。 - 修复了重连后可能意外关闭长连接的问题。 diff --git a/package-lock.json b/package-lock.json index 09fbda19f..343d3f8c2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "leancloud-realtime", - "version": "5.0.0-rc.4", + "version": "5.0.0-rc.5", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 2cf46352e..f3ae2216e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "leancloud-realtime", - "version": "5.0.0-rc.4", + "version": "5.0.0-rc.5", "description": "LeanCloud Realtime Message JavaScript SDK", "main": "./dist/im-node.js", "files": [