From 9bc5266404641937c09b63cfce95343cac33c666 Mon Sep 17 00:00:00 2001 From: Gehongyan Date: Wed, 15 Nov 2023 23:39:24 +0800 Subject: [PATCH] Bumps into .NET 8 --- CHANGELOG.md | 28 ++++++++++++++++++++++++++++ Kook.Net.targets | 2 +- docs/changelog/changelog.md | 27 +++++++++++++++++++++++++++ 3 files changed, 56 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c18092de..af4e600f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,34 @@ --- +## v0.5.3 [2023-11-15] + +### Update Path + +The `IVoiceChannel.ServerUrl` property has been moved to the `IAudioChannel` interface. +All usages of this property need to be updated. + +### Added + +- Added voice region properties to the `IAudioChannel` interface. +- Added support for modifying voice region properties in the `IVoiceChannel.ModifyAsync` method. +- Added parameterized constructors to card, module, and element builders. + +### Changed + +- The `IVoiceChannel.ServerUrl` property has been moved to the `IAudioChannel` interface. +- Removed unintentionally provided public set accessors on some properties. + +### Fixed + +- Fixed incorrect build validation conditions for `SectionModuleBuild`. + +### Other + +- Replaced the Moq testing mock framework with NSubstitute. +- Added Docker usage examples. +- Added support for targeting .NET 8. + ## v0.5.2 [2023-08-18] ### Update Path diff --git a/Kook.Net.targets b/Kook.Net.targets index 9a55e196..912a5da0 100644 --- a/Kook.Net.targets +++ b/Kook.Net.targets @@ -2,7 +2,7 @@ enable disable - 0.5.2 + 0.5.3 false latest diff --git a/docs/changelog/changelog.md b/docs/changelog/changelog.md index 823fc95d..29107b37 100644 --- a/docs/changelog/changelog.md +++ b/docs/changelog/changelog.md @@ -5,6 +5,33 @@ title: 变更日志 # 变更日志 +## v0.5.3 [2023-11-15] + +### 更新路线 + +`IVoiceChannel.ServerUrl` 属性已移动至 `IAudioChannel` 接口,所有使用此属性的用法都需要更新。 + +### 新增 + +- 在 `IAudioChannel` 接口上新增语音区域相关属性 +- `IVoiceChannel.ModifyAsync` 方法参数新增支持修改语音区域相关属性 +- 为卡片、模块、元素构造器相关类新增有参构造函数 + +### 变更 + +- `IVoiceChannel.ServerUrl` 属性已移动至 `IAudioChannel` 接口 +- 移除了部分属性上的意外提供的公开 set 访问器 + +### 修复 + +- 修复了 `SectionModuleBuild` 的构建校验条件不正确的问题 + +### 其它 + +- 替换测试 Mock 框架 Moq 为 NSubstitute +- 新增 Docker 使用示例 +- 新增面向 .NET 8 的目标框架构建 + ## v0.5.2 [2023-08-18] ### 更新路线