Skip to content

Commit

Permalink
Bumps version into v0.5.2
Browse files Browse the repository at this point in the history
  • Loading branch information
gehongyan committed Aug 18, 2023
1 parent 2879bee commit 87199d4
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 1 deletion.
23 changes: 23 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,29 @@

---

## v0.5.2 [2023-08-18]

### Update Path

The parameter `Action<string>` 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
Expand Down
19 changes: 19 additions & 0 deletions docs/changelog/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,25 @@ title: 变更日志

# 变更日志

## v0.5.2 [2023-08-18]

### 更新路线

`ModifyEmoteNameAsync` 方法的参数 `Action<string>` 已变更为 `string`,所有使用此方法的用法都需要更新。

### 修复

- 修复了 `SocketReaction` 的比较不正确导致的回应移除时缓存中的消息的回应未能被正确移除的问题
- 修复了 Socket 客户端断开连接时未能正确发送关闭代码的问题
- 修复了 GetMessagesAsync 方法查询参考消息之后的消息时结果不正确的问题
- 修复了 ModifyEmoteNameAsync 方法未能正确重命名服务器表情的问题

### 其它

- 补全了快速参考指南
- 为示例程序 `SimpleBot` 加入实际的功能,能够响应一个简单的命令,回复按钮,并对按钮点击事件进行响应
- 新增了 Visual Basic 及 F# 的调用示例

## v0.5.1 [2023-07-29]

### 新增
Expand Down
2 changes: 1 addition & 1 deletion src/Kook.Net.targets
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<PropertyGroup>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>disable</Nullable>
<VersionPrefix>0.5.1</VersionPrefix>
<VersionPrefix>0.5.2</VersionPrefix>
<!-- <VersionSuffix>rc</VersionSuffix>-->
<LangVersion>latest</LangVersion>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
Expand Down

0 comments on commit 87199d4

Please sign in to comment.