Skip to content

Commit

Permalink
Bumped into v0.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
gehongyan committed Jul 29, 2023
1 parent 605f8b3 commit a2d836f
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 1 deletion.
21 changes: 21 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
20 changes: 20 additions & 0 deletions docs/changelog/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -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]

### 更新路线
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.0</VersionPrefix>
<VersionPrefix>0.5.1</VersionPrefix>
<!-- <VersionSuffix>rc</VersionSuffix>-->
<LangVersion>latest</LangVersion>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
Expand Down

0 comments on commit a2d836f

Please sign in to comment.