From ef59e24381f57bc663df48d41a6d93da28e8bece Mon Sep 17 00:00:00 2001 From: Gehongyan Date: Wed, 28 Feb 2024 17:47:43 +0800 Subject: [PATCH] Bumps to v0.6.0 --- CHANGELOG.md | 25 +++++++++++++++++++++++++ docs/changelog/changelog.md | 26 ++++++++++++++++++++++++++ 2 files changed, 51 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index f83fb5ce..b4487751 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,31 @@ --- +## v0.6.0 [2024-02-28] + +### Update Roadmap + +In KOOK, mentioning voice channels in text messages is not supported, meaning `IVoiceChannel` should not be derived from `IMentionable` interface. Incorrect usage of mentioning `IVoiceChannel` should be removed or modified. + +The name of the cancellation token has been changed from `CancelToken` to `CancellationToken`. Existing methods, variables, properties, and parameters related to cancellation token should be updated. + +### Added + +- Added connection and streaming for voice channels. + +### Fixed + +- Fixed an issue where `KookSocketClient` did not correctly handle `ConnectionState` when casted to `IKookClient` or `BaseKookClient`. + +### Changes + +- `IVoiceChannel` no longer derived from `IMentionable` interface. +- Renamed the name of methods, variables, properties, and parameters from `CancelToken` to `CancellationToken`. + +### Other + +- Updated document template, added example project page, and added voice streaming documentation. + ## v0.5.5 [2024-02-02] ### Update Path diff --git a/docs/changelog/changelog.md b/docs/changelog/changelog.md index 7339db42..061db28c 100644 --- a/docs/changelog/changelog.md +++ b/docs/changelog/changelog.md @@ -5,6 +5,32 @@ title: 变更日志 # 变更日志 +## v0.6.0 [2024-02-28] + +### 更新路线 + +KOOK 内不支持在文本消息中提及语音频道,即 `IVoiceChannel` 不可被提及,现已不再派生自 `IMentionable` +接口。有关提及 `IVoiceChannel` 的错误用法应该予以移除或变更。 + +有关取消令牌的的名称已从 `CancelToken` 更改为 `CancellationToken`,现有关于取消用牌的方法、变量、属性、参数的名称都应该更新。 + +### 新增 + +- 新增语音频道的连接与推流 + +### 修复 + +- 修复 `KookSocketClient` 转换为 `IKookClient` 或 `BaseKookClient` 时 `ConnectionState` 不正确的问题 + +### 变更 + +- `IVoiceChannel` 不再派生自的 `IMentionable` 接口 +- 重命名方法、变量、属性、参数的名称 `CancelToken` 为 `CancellationToken` + +### 其它 + +- 更改文档模板,新增示例项目页面,新增语音推流文档 + ## v0.5.5 [2024-02-02] ### 更新路线