From a8dd64b0a8a4be35beb7f6eae094d79e2623adbd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=88=88=E5=B0=8F=E8=8D=B7?= Date: Sun, 25 Dec 2022 00:26:45 +0800 Subject: [PATCH] Bumps into v0.2.0 --- CHANGELOG.md | 47 ++++++++++++++++++++++++++++++++++++- docs/changelog/changelog.md | 40 +++++++++++++++++++++++++++++++ src/Kook.Net.targets | 2 +- 3 files changed, 87 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4565b5a3..cf9bae64 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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: @@ -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] diff --git a/docs/changelog/changelog.md b/docs/changelog/changelog.md index 620116e3..907f9210 100644 --- a/docs/changelog/changelog.md +++ b/docs/changelog/changelog.md @@ -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] ### 新增 diff --git a/src/Kook.Net.targets b/src/Kook.Net.targets index 06885958..1fc2079c 100644 --- a/src/Kook.Net.targets +++ b/src/Kook.Net.targets @@ -2,7 +2,7 @@ enable disable - 0.1.2 + 0.2.0 latest snupkg