Skip to content

Commit

Permalink
Bumps into v0.5.4
Browse files Browse the repository at this point in the history
  • Loading branch information
gehongyan committed Jan 6, 2024
1 parent 008a383 commit 19e4ea4
Show file tree
Hide file tree
Showing 9 changed files with 57 additions and 7 deletions.
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
16 changes: 9 additions & 7 deletions Kook.Net.targets
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,24 @@
<PropertyGroup>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>disable</Nullable>
<VersionPrefix>0.5.3</VersionPrefix>
<VersionPrefix>0.5.4</VersionPrefix>
<IsPackable>false</IsPackable>
<!-- <VersionSuffix>rc</VersionSuffix>-->
<LangVersion>latest</LangVersion>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<PackageVersion>$(Version)</PackageVersion>
<Authors>gehongyan</Authors>
<PackageTags>kook;kookapp</PackageTags>
<PackageProjectUrl>https://github.com/gehongyan/Kook.Net</PackageProjectUrl>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<RepositoryType>git</RepositoryType>
<RepositoryUrl>https://github.com/gehongyan/Kook.Net.git</RepositoryUrl>
<Company>gehongyan</Company>
<PackageProjectUrl>https://github.com/gehongyan/Kook.Net</PackageProjectUrl>
<PackageReadmeFile>README.md</PackageReadmeFile>
<RepositoryUrl>https://github.com/gehongyan/Kook.Net.git</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageTags>kook;kookapp</PackageTags>
<PackageReleaseNotes>See https://github.com/gehongyan/Kook.Net/releases/tag/v$(Version)</PackageReleaseNotes>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<TargetFrameworks Condition=" '$(OS)' == 'Windows_NT' ">net8.0;net7.0;net6.0;net462;netstandard2.0;netstandard2.1</TargetFrameworks>
<TargetFrameworks Condition=" '$(OS)' != 'Windows_NT' ">net8.0;net7.0;net6.0;netstandard2.0;netstandard2.1</TargetFrameworks>
<NoWarn>$(NoWarn);NU1803</NoWarn>
<PackageVersion>$(Version)</PackageVersion>
<WarningLevel>6</WarningLevel>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
Expand All @@ -30,5 +31,6 @@

<ItemGroup>
<None Include="../../README.md" Pack="true" PackagePath="\"/>
<None Include="../../LICENSE" Pack="true" PackagePath="\"/>
</ItemGroup>
</Project>
18 changes: 18 additions & 0 deletions docs/changelog/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -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]

### 更新路线
Expand Down
2 changes: 2 additions & 0 deletions src/Kook.Net.Commands/Kook.Net.Commands.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
<PropertyGroup>
<RootNamespace>Kook.Commands</RootNamespace>
<IsPackable>true</IsPackable>
<PackageId>Kook.Net.Commands</PackageId>
<Description>The text message based command framework extension for Kook.Net.</Description>
</PropertyGroup>

<ItemGroup>
Expand Down
2 changes: 2 additions & 0 deletions src/Kook.Net.Core/Kook.Net.Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
<PropertyGroup>
<RootNamespace>Kook</RootNamespace>
<IsPackable>true</IsPackable>
<PackageId>Kook.Net.Core</PackageId>
<Description>The core definition library for Kook.Net.</Description>
</PropertyGroup>

<ItemGroup>
Expand Down
2 changes: 2 additions & 0 deletions src/Kook.Net.Experimental/Kook.Net.Experimental.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
<PropertyGroup>
<RootNamespace>Kook.Rest</RootNamespace>
<IsPackable>true</IsPackable>
<PackageId>Kook.Net.Experimental</PackageId>
<Description>The experimental functionality for Kook.Net, implementing non-official released API.</Description>
</PropertyGroup>

<ItemGroup>
Expand Down
2 changes: 2 additions & 0 deletions src/Kook.Net.Rest/Kook.Net.Rest.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
<PropertyGroup>
<RootNamespace>Kook.Rest</RootNamespace>
<IsPackable>true</IsPackable>
<PackageId>Kook.Net.Rest</PackageId>
<Description>The REST API implementation for Kook.Net.</Description>
</PropertyGroup>

<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
Expand Down
2 changes: 2 additions & 0 deletions src/Kook.Net.WebSocket/Kook.Net.WebSocket.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
<PropertyGroup>
<RootNamespace>Kook.WebSocket</RootNamespace>
<IsPackable>true</IsPackable>
<PackageId>Kook.Net.WebSocket</PackageId>
<Description>The WebSocket API implementation for Kook.Net.</Description>
</PropertyGroup>

<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
Expand Down
2 changes: 2 additions & 0 deletions src/Kook.Net/Kook.Net.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
<PropertyGroup>
<RootNamespace>Kook</RootNamespace>
<IsPackable>true</IsPackable>
<PackageId>Kook.Net</PackageId>
<Description>An unofficial C# .NET implementation for KOOK API, including all necessary components for building a KOOK bot.</Description>
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit 19e4ea4

Please sign in to comment.