From 87199d42be8be1679e035cadf02fa4255bf63d73 Mon Sep 17 00:00:00 2001 From: Gehongyan Date: Fri, 18 Aug 2023 20:54:07 +0800 Subject: [PATCH] Bumps version into v0.5.2 --- CHANGELOG.md | 23 +++++++++++++++++++++++ docs/changelog/changelog.md | 19 +++++++++++++++++++ src/Kook.Net.targets | 2 +- 3 files changed, 43 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 972dfe22..c18092de 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,29 @@ --- +## v0.5.2 [2023-08-18] + +### Update Path + +The parameter `Action` of the `ModifyEmoteNameAsync` method has been changed to `string`. All usages of this +method need to be updated. + +### Fixed + +- Fixed an issue where incorrect comparison of `SocketReaction` caused the reaction cannot be removed from the cached + message when a reaction is removed. +- Fixed an issue where the Socket client did not correctly send the close code when disconnecting. +- Fixed an issue where the results were incorrect when querying messages after a reference message in + the `GetMessagesAsync` method. +- Fixed an issue where the `ModifyEmoteNameAsync` method did not correctly rename guild emotes. + +### Misc + +- Completed the quick reference guide. +- Added actual functionality to the sample program `SimpleBot`, which can respond to a simple command, reply with + buttons, and respond to button click events. +- Added implementation examples for Visual Basic and F#. + ## v0.5.1 [2023-07-29] ### Added diff --git a/docs/changelog/changelog.md b/docs/changelog/changelog.md index 4873f01f..823fc95d 100644 --- a/docs/changelog/changelog.md +++ b/docs/changelog/changelog.md @@ -5,6 +5,25 @@ title: 变更日志 # 变更日志 +## v0.5.2 [2023-08-18] + +### 更新路线 + +`ModifyEmoteNameAsync` 方法的参数 `Action` 已变更为 `string`,所有使用此方法的用法都需要更新。 + +### 修复 + +- 修复了 `SocketReaction` 的比较不正确导致的回应移除时缓存中的消息的回应未能被正确移除的问题 +- 修复了 Socket 客户端断开连接时未能正确发送关闭代码的问题 +- 修复了 GetMessagesAsync 方法查询参考消息之后的消息时结果不正确的问题 +- 修复了 ModifyEmoteNameAsync 方法未能正确重命名服务器表情的问题 + +### 其它 + +- 补全了快速参考指南 +- 为示例程序 `SimpleBot` 加入实际的功能,能够响应一个简单的命令,回复按钮,并对按钮点击事件进行响应 +- 新增了 Visual Basic 及 F# 的调用示例 + ## v0.5.1 [2023-07-29] ### 新增 diff --git a/src/Kook.Net.targets b/src/Kook.Net.targets index a650d4e6..a62f6d36 100644 --- a/src/Kook.Net.targets +++ b/src/Kook.Net.targets @@ -2,7 +2,7 @@ enable disable - 0.5.1 + 0.5.2 latest snupkg