From b744a6a413920eb51d33aae987f87820fc282a63 Mon Sep 17 00:00:00 2001 From: Gehongyan Date: Sun, 27 Oct 2024 20:29:36 +0800 Subject: [PATCH] Bumps version into v0.9.3 --- CHANGELOG.md | 16 ++++++++++++++++ Kook.Net.targets | 2 +- docs/changelog/changelog.md | 15 +++++++++++++++ 3 files changed, 32 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9966f850..16e4183d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,22 @@ --- +## v0.9.3 [2024-10-27] + +### Added + +- Added basic support for thread channels. Introduced the thread channel type `ChannelType.Thread`, and related entities + `IThreadChannel`, `RestThreadChannel`, `SocketThreadChannel`. Added support for operations to get, create, modify, + and delete thread channels. +- Added permissions `GuildPermission.ReplyToPost` and `ChannelPermission.ReplyToPost` to represent the permission to + reply to posts, and added support for post channel permissions in methods related to permissions. +- Added `SocketRole.Members`, which can be used to retrieve all users with a specified role from the cache. + +### Fixed + +- Fixed the issue where the `SocketGuildUser.RemoveRolesAsync` method did not respect `RequestOptions`. +- Fixed the issue where `IChannel.Name` may be null. + ## v0.9.2 [2024-10-18] ### Added diff --git a/Kook.Net.targets b/Kook.Net.targets index 8f253876..cd95f90e 100644 --- a/Kook.Net.targets +++ b/Kook.Net.targets @@ -2,7 +2,7 @@ enable enable - 0.9.2 + 0.9.3 false false diff --git a/docs/changelog/changelog.md b/docs/changelog/changelog.md index f49d68ae..a1001b15 100644 --- a/docs/changelog/changelog.md +++ b/docs/changelog/changelog.md @@ -5,6 +5,21 @@ title: 变更日志 # 变更日志 +## v0.9.3 [2024-10-27] + +### 新增 + +- 新增对帖子频道的基本支持。新增帖子频道类型 `ChannelType.Thread`,新增帖子频道相关实体 + `IThreadChannel`、`RestThreadChannel`、`SocketThreadChannel`,新增对帖子频道的获取、创建、修改、删除操作的支持。 +- 新增权限 `GuildPermission.ReplyToPost`、`ChannelPermission.ReplyToPost` + 表示发布帖子回复的权限,并在各与权限相关的方法中添加对帖子频道权限的支持。 +- 新增 `SocketRole.Members`,可用于获取缓存中拥有指定角色的所有用户。 + +### 修复 + +- 修复 `SocketGuildUser.RemoveRolesAsync` 方法未能处理 `RequestOptions` 的问题。 +- 修复 `IChannel.Name` 可能为空的问题。 + ## v0.9.2 [2024-10-18] ### 新增