From 19e4ea4bee1433305e5e075d64cbec399483cedc Mon Sep 17 00:00:00 2001 From: Gehongyan Date: Sat, 6 Jan 2024 20:34:56 +0800 Subject: [PATCH] Bumps into v0.5.4 --- CHANGELOG.md | 18 ++++++++++++++++++ Kook.Net.targets | 16 +++++++++------- docs/changelog/changelog.md | 18 ++++++++++++++++++ src/Kook.Net.Commands/Kook.Net.Commands.csproj | 2 ++ src/Kook.Net.Core/Kook.Net.Core.csproj | 2 ++ .../Kook.Net.Experimental.csproj | 2 ++ src/Kook.Net.Rest/Kook.Net.Rest.csproj | 2 ++ .../Kook.Net.WebSocket.csproj | 2 ++ src/Kook.Net/Kook.Net.csproj | 2 ++ 9 files changed, 57 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index af4e600f..ea09b760 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,24 @@ --- +## v0.5.4 [2024-01-06] + +### Update Path + +The set accessibility of the AuthTokenType and AuthToken properties in the KookRestApiClient has been changed to +private. Modifying these properties directly in user code may result in framework runtime exceptions. If you need to log +in with a different authentication on the KOOK gateway, please re-login using LoginAsync after calling LogoutAsync. + +### Added + +- Added HasAnnualBuff, IsSystemUser, and Nameplates properties to the IUser interface. +- Added BackgroundColor property to the UserTag. +- Added support for parsing interactive emojis. + +### Changed + +- Changed the set accessibility of the `AuthTokenType` and `AuthToken` properties in the `KookRestApiClient` to private. + ## v0.5.3 [2023-11-15] ### Update Path diff --git a/Kook.Net.targets b/Kook.Net.targets index 912a5da0..cea539cb 100644 --- a/Kook.Net.targets +++ b/Kook.Net.targets @@ -2,23 +2,24 @@ enable disable - 0.5.3 + 0.5.4 false latest snupkg + $(Version) gehongyan - kook;kookapp - https://github.com/gehongyan/Kook.Net - MIT - git - https://github.com/gehongyan/Kook.Net.git gehongyan + https://github.com/gehongyan/Kook.Net README.md + https://github.com/gehongyan/Kook.Net.git + git + kook;kookapp + See https://github.com/gehongyan/Kook.Net/releases/tag/v$(Version) + MIT net8.0;net7.0;net6.0;net462;netstandard2.0;netstandard2.1 net8.0;net7.0;net6.0;netstandard2.0;netstandard2.1 $(NoWarn);NU1803 - $(Version) 6 true true @@ -30,5 +31,6 @@ + diff --git a/docs/changelog/changelog.md b/docs/changelog/changelog.md index 29107b37..9131e88c 100644 --- a/docs/changelog/changelog.md +++ b/docs/changelog/changelog.md @@ -5,6 +5,24 @@ title: 变更日志 # 变更日志 +## v0.5.4 [2024-01-06] + +### 更新路线 + +`KookRestApiClient` 的 `AuthTokenType` 与 `AuthToken` 属性的 set 访问性已更改为 +private,用户代码对这些属性的更改可能会导致框架运行异常,如需使用不同的身份认证登录 KOOK 网关,请在 `LogoutAsync` +后重新 `LoginAsync`。 + +### 新增 + +- `IUser` 接口上新增 `HasAnnualBuff`、`IsSystemUser`、`Nameplates` 属性 +- `UserTag` 上新增 `BackgroundColor` 属性 +- 新增支持解析互动表情 + +### 变更 + +- `KookRestApiClient` 的 `AuthTokenType` 与 `AuthToken` 属性的 set 访问性已更改为 private + ## v0.5.3 [2023-11-15] ### 更新路线 diff --git a/src/Kook.Net.Commands/Kook.Net.Commands.csproj b/src/Kook.Net.Commands/Kook.Net.Commands.csproj index 0ec8bdde..d06ce390 100644 --- a/src/Kook.Net.Commands/Kook.Net.Commands.csproj +++ b/src/Kook.Net.Commands/Kook.Net.Commands.csproj @@ -5,6 +5,8 @@ Kook.Commands true + Kook.Net.Commands + The text message based command framework extension for Kook.Net. diff --git a/src/Kook.Net.Core/Kook.Net.Core.csproj b/src/Kook.Net.Core/Kook.Net.Core.csproj index 65b0439c..88f773c1 100644 --- a/src/Kook.Net.Core/Kook.Net.Core.csproj +++ b/src/Kook.Net.Core/Kook.Net.Core.csproj @@ -5,6 +5,8 @@ Kook true + Kook.Net.Core + The core definition library for Kook.Net. diff --git a/src/Kook.Net.Experimental/Kook.Net.Experimental.csproj b/src/Kook.Net.Experimental/Kook.Net.Experimental.csproj index d4feb526..23160c81 100644 --- a/src/Kook.Net.Experimental/Kook.Net.Experimental.csproj +++ b/src/Kook.Net.Experimental/Kook.Net.Experimental.csproj @@ -5,6 +5,8 @@ Kook.Rest true + Kook.Net.Experimental + The experimental functionality for Kook.Net, implementing non-official released API. diff --git a/src/Kook.Net.Rest/Kook.Net.Rest.csproj b/src/Kook.Net.Rest/Kook.Net.Rest.csproj index 8cb1303c..cf31baa3 100644 --- a/src/Kook.Net.Rest/Kook.Net.Rest.csproj +++ b/src/Kook.Net.Rest/Kook.Net.Rest.csproj @@ -5,6 +5,8 @@ Kook.Rest true + Kook.Net.Rest + The REST API implementation for Kook.Net. diff --git a/src/Kook.Net.WebSocket/Kook.Net.WebSocket.csproj b/src/Kook.Net.WebSocket/Kook.Net.WebSocket.csproj index 4d56c440..e50056f9 100644 --- a/src/Kook.Net.WebSocket/Kook.Net.WebSocket.csproj +++ b/src/Kook.Net.WebSocket/Kook.Net.WebSocket.csproj @@ -5,6 +5,8 @@ Kook.WebSocket true + Kook.Net.WebSocket + The WebSocket API implementation for Kook.Net. diff --git a/src/Kook.Net/Kook.Net.csproj b/src/Kook.Net/Kook.Net.csproj index 665ff385..b5f6ed06 100644 --- a/src/Kook.Net/Kook.Net.csproj +++ b/src/Kook.Net/Kook.Net.csproj @@ -5,6 +5,8 @@ Kook true + Kook.Net + An unofficial C# .NET implementation for KOOK API, including all necessary components for building a KOOK bot.