From a2d836f858e83e589256d583a53f9885b5220d5e Mon Sep 17 00:00:00 2001 From: Gehongyan Date: Sat, 29 Jul 2023 15:54:19 +0800 Subject: [PATCH] Bumped into v0.5.1 --- CHANGELOG.md | 21 +++++++++++++++++++++ docs/changelog/changelog.md | 20 ++++++++++++++++++++ src/Kook.Net.targets | 2 +- 3 files changed, 42 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cbcd7c86..972dfe22 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,27 @@ --- +## v0.5.1 [2023-07-29] + +### Added + +- Introduced new methods `SocketGuild.GetCategoryChannel` and `RestGuild.GetCategoryChannelAsync`. + +### Fixed + +- Resolved an issue where the `GetJumpUrl` method was returning incorrect results. +- Corrected the value of `KookConfig.MaxMessagesPerBatch` that was not being set correctly. +- Fixed the incorrect deserialization of deleted quotes. +- Addressed the problem where the `RequestOptions` parameter of `MoveUsersAsync` was not optional. +- Fixed the failure of the `MoveUsersAsync` method. +- Fixed an issue where modifying channel permissions immediately after creating them on a `SocketGuildChannel` + could result in failure without any error information. + +### Optimized + +- Optimized the internal implementation of the `GetDirectMessageAsync` method. +- Ensured consistent string representation for `langword` in comments. + ## v0.5.0 [2023-05-21] ### Update Path diff --git a/docs/changelog/changelog.md b/docs/changelog/changelog.md index ebf582da..4873f01f 100644 --- a/docs/changelog/changelog.md +++ b/docs/changelog/changelog.md @@ -5,6 +5,26 @@ title: 变更日志 # 变更日志 +## v0.5.1 [2023-07-29] + +### 新增 + +- 添加了 `SocketGuild.GetCategoryChannel` 和 `RestGuild.GetCategoryChannelAsync` 方法 + +### 修复 + +- 修复了 `GetJumpUrl` 方法返回结果不正确的问题 +- 修复了 `KookConfig.MaxMessagesPerBatch` 设置不正确的问题 +- 修复了已删除引用的反序列化不正确的问题 +- 修复了 `MoveUsersAsync` 方法的 `RequestOptions` 参数不为可选参数的问题 +- 修复了 `MoveUsersAsync` 方法的失败问题 +- 修复了在 SocketGuildChannel 上创建频道权限复写后立即修改可能会导致失败且无错误信息的问题 + +### 优化 + +- 优化了 `GetDirectMessageAsync` 方法的内部实现 +- 统一了注释中 `langword` 的字符串表示方式 + ## v0.5.0 [2023-05-21] ### 更新路线 diff --git a/src/Kook.Net.targets b/src/Kook.Net.targets index 33a72508..a650d4e6 100644 --- a/src/Kook.Net.targets +++ b/src/Kook.Net.targets @@ -2,7 +2,7 @@ enable disable - 0.5.0 + 0.5.1 latest snupkg