Skip to content

Commit

Permalink
Bumps to v0.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
gehongyan committed Feb 28, 2024
1 parent e585d8b commit ef59e24
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 0 deletions.
25 changes: 25 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
26 changes: 26 additions & 0 deletions docs/changelog/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -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]

### 更新路线
Expand Down

0 comments on commit ef59e24

Please sign in to comment.