Skip to content

Commit

Permalink
Fix changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
gehongyan committed Dec 24, 2022
1 parent a8dd64b commit 8eefe5e
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 21 deletions.
22 changes: 11 additions & 11 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,56 +4,56 @@

## v0.2.0 [2022-12-25]

## Update Path
### Update Path

This release split out non-official listed endpoints implementation into a separate package, namely
`INestedChannel.SyncPermissionsAsync`. Developers who are using this endpoints should install the
Kook.Net.Experimental package.

## Removed
### Removed

- Removed `INestedChannel.SyncPermissionsAsync` method on interface definition. Implementations are
now available on the Kook.Net.Experimental package. (49f2d974640423bfff4dd0eeca3c8f2d9e7c7cd0)

## Added
### Added

- Added Kook.Net.Experimental package for non-official listed endpoints implementation.
(49f2d974640423bfff4dd0eeca3c8f2d9e7c7cd0)

## Fixed
### Fixed

- Fixed potential NRE resulting from empty `IGuild.OpenId`. (f112a37073171fb02b79c46a56741a62f00461c2)

## Misc
### Misc

- Fix incorrect indentations. (d3e974bae04b3097554dd646117e502e4026d3e3)
- Fixed incorrect indentations. (d3e974bae04b3097554dd646117e502e4026d3e3)

## v0.1.2 [2022-12-18]

## Update Path
### Update Path

This release changed the type of `SocketGuild.MemberCount` from `int` to `int?`, where the `null` value represents
that the number of the guild members is unknown. In addition, similar changes occur on `SocketGuild.HasAllMembers`.
All usages relying on these two properties need to be updated.

## Changed
### Changed

- `AlwaysDownloadUsers` will also define whether the number of guild members will be loaded upon startup
(8f4fb79643eebd07f4736a681ddc30f3f04d6f20)

## Fixed
### Fixed

- Fixed incorrect preconditions when modifying voice channels (9f808b3a2153d2e0a37aceaad8097768288d43de)
- Fixed incorrect documentation (9e2669a56267970e4295555cf6e8840dfa28f6ab)

## v0.1.1 [2022-11-20]

## Added:
### Added:

- Added `IGuild.GetActiveBoostSubscriptionsAsync()` (32b1617a2e8c6bb0fa86f3e2ebc40e97a203bf61)
- Payloads themselves will be logged as well when deserialization exceptions occur (369dd044f5bd4e94bec37c4ba8e4d76e586cd01d)

## Fixed
### Fixed

- Fixed `BaseSocketClient.UserUnbanned` that was not working (624750a0427925fb4b42e26720708b4cc9d60d1c)
- Fix `DownloadVoiceStatesAsync` and `DownloadBoostSubscriptionsAsync` were bypassed unexpectedly
Expand Down
19 changes: 9 additions & 10 deletions docs/changelog/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,40 +7,39 @@ title: 变更日志

## v0.2.0 [2022-12-25]

## 更新路线
### 更新路线

此版本将非官方列出的接口实现分离到单独的包中,即 `INestedChannel.SyncPermissionsAsync`,使用此接口的开发者现在应该安装
Kook.Net.Experimental 包。

## 移除
### 移除

- 移除了接口定义上的方法 `INestedChannel.SyncPermissionsAsync`,接口的实现现已移动至 Kook.Net.Experimental 包中

## 新增
### 新增

- 新增 Kook.Net.Experimental 包,用于实现非官方列出的接口

## 修复
### 修复

- 修复了 `IGuild.OpenId` 为空时可能导致的空引用异常

## 其它

- 修复了不正确的代码缩进
### 其它

- 修正了不正确的代码缩进

## v0.1.2 [2022-12-18]

## 更新路线
### 更新路线

此版本将 `SocketGuild.MemberCount` 的类型从 `int` 更改为 `int?`,其中 `null` 值表示未知的服务器成员数量。此外,类似的更改发生也在
`SocketGuild.HasAllMembers` 上。所有依赖这两个属性的用法都需要更新。

## 变更
### 变更

- `AlwaysDownloadUsers` 也将定义是否在启动时加载服务器成员数量

## 修复
### 修复

- 修复了修改语音频道时应用的不正确的先决条件
- 修复了不正确的文档
Expand Down

0 comments on commit 8eefe5e

Please sign in to comment.