Skip to content

Commit

Permalink
Bumps into v0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
gehongyan committed Dec 24, 2022
1 parent 9c6c384 commit a8dd64b
Show file tree
Hide file tree
Showing 3 changed files with 87 additions and 2 deletions.
47 changes: 46 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,50 @@

---

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

## 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 `INestedChannel.SyncPermissionsAsync` method on interface definition. Implementations are
now available on the Kook.Net.Experimental package. (49f2d974640423bfff4dd0eeca3c8f2d9e7c7cd0)

## Added

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

## Fixed

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

## Misc

- Fix incorrect indentations. (d3e974bae04b3097554dd646117e502e4026d3e3)

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

## 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

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

## Fixed

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

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

## Added:
Expand All @@ -12,7 +56,8 @@
## Fixed

- Fixed `BaseSocketClient.UserUnbanned` that was not working (624750a0427925fb4b42e26720708b4cc9d60d1c)
- Fix `DownloadVoiceStatesAsync` and `DownloadBoostSubscriptionsAsync` were bypassed unexpectedly when `BaseSocketClient.GuildAvailable` is triggered (390b8ab65ad6cab22142c33ee51a62e54b3c1870)
- Fix `DownloadVoiceStatesAsync` and `DownloadBoostSubscriptionsAsync` were bypassed unexpectedly
when `BaseSocketClient.GuildAvailable` is triggered (390b8ab65ad6cab22142c33ee51a62e54b3c1870)

## v0.1.0 [2022-11-15]

Expand Down
40 changes: 40 additions & 0 deletions docs/changelog/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,46 @@ 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` 也将定义是否在启动时加载服务器成员数量

## 修复

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

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

### 新增
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.1.2</VersionPrefix>
<VersionPrefix>0.2.0</VersionPrefix>
<!-- <VersionSuffix>rc</VersionSuffix>-->
<LangVersion>latest</LangVersion>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
Expand Down

0 comments on commit a8dd64b

Please sign in to comment.