Skip to content

Commit

Permalink
Bumps version into v0.9.3
Browse files Browse the repository at this point in the history
  • Loading branch information
gehongyan committed Oct 27, 2024
1 parent ba91041 commit b744a6a
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 1 deletion.
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Kook.Net.targets
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<PropertyGroup>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<VersionPrefix>0.9.2</VersionPrefix>
<VersionPrefix>0.9.3</VersionPrefix>
<!-- <VersionSuffix>beta5</VersionSuffix>-->
<IsPackable>false</IsPackable>
<IsTrimmable>false</IsTrimmable>
Expand Down
15 changes: 15 additions & 0 deletions docs/changelog/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -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]

### 新增
Expand Down

0 comments on commit b744a6a

Please sign in to comment.