Skip to content

Commit

Permalink
Bumps into .NET 8
Browse files Browse the repository at this point in the history
  • Loading branch information
gehongyan committed Nov 15, 2023
1 parent 8f2b0cc commit 9bc5266
Show file tree
Hide file tree
Showing 3 changed files with 56 additions and 1 deletion.
28 changes: 28 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion 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.5.2</VersionPrefix>
<VersionPrefix>0.5.3</VersionPrefix>
<IsPackable>false</IsPackable>
<!-- <VersionSuffix>rc</VersionSuffix>-->
<LangVersion>latest</LangVersion>
Expand Down
27 changes: 27 additions & 0 deletions docs/changelog/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -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]

### 更新路线
Expand Down

0 comments on commit 9bc5266

Please sign in to comment.