diff --git a/CHANGELOG.md b/CHANGELOG.md index 24a01fcd..a13e3f56 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,30 @@ # 更新日志 +## \[2.5.0\] - 2022-2-17 + +### 修复 + ++ 配置文件中 adapter 声明顺序导致请求头中 sessionKey 丢失 + +### 新增 + ++ 支持其他客户端的同步消息 `FriendMessageSyncEvent`, `GroupMessageSyncEvent`等 [新增消息类型](./docs/api/MessageType.md#同步消息链类型) ++ 支持商店标签 `MarketFace` [商店表情](./docs/api/MessageType.md#MarketFace) ++ 新增公告相关接口 [公告接口](./docs/api/API.md#群公告) + - [HttpAdapter](./docs/adapter/HttpAdapter.md#群公告) + - [WsAdapter](./docs/adapter/WebsocketAdapter.md#群公告) + - [ReverseWsAdapter](./docs/adapter/ReverseWebsocketAdapter.md#群公告) + - [WebhookAdapter](./docs/adapter/WebhookAdapter.md#群公告) ++ 新增查询非好友账号信息接口 [文档](./docs/api/API.md#获取QQ用户资料) @developer-ken ++ 查询 sessionInfo 接口追加到 WsAdapter, ReverseWsAdapter ++ 为 `websocket` 新增帧监听日志,通过配置文件的 debug 参数开启 + +### 变更 + ++ 更新 core 到版本 2.10.0 + + + ## \[2.4.0\] - 2021-12-06 ### 修复 diff --git a/gradle.properties b/gradle.properties index 38b10b8f..1f5768fa 100644 --- a/gradle.properties +++ b/gradle.properties @@ -5,7 +5,7 @@ kotlin.incremental.multiplatform=true org.gradle.parallel=true # build -httpVersion=2.4.0 +httpVersion=2.5.0 # kotlin kotlinVersion=1.6.0 diff --git a/mirai-api-http/src/main/kotlin/net/mamoe/mirai/api/http/HttpApiPluginBase.kt b/mirai-api-http/src/main/kotlin/net/mamoe/mirai/api/http/HttpApiPluginBase.kt index ab006269..85e7c568 100644 --- a/mirai-api-http/src/main/kotlin/net/mamoe/mirai/api/http/HttpApiPluginBase.kt +++ b/mirai-api-http/src/main/kotlin/net/mamoe/mirai/api/http/HttpApiPluginBase.kt @@ -24,7 +24,7 @@ import java.io.File * 主要职责为读取配置文件 [MainSetting] 和 启动具体实现 [MahPluginImpl] */ object HttpApiPluginBase : KotlinPlugin( - JvmPluginDescription(id = "net.mamoe.mirai-api-http", version = "2.4.0") { + JvmPluginDescription(id = "net.mamoe.mirai-api-http", version = "2.5.0") { author("ryoii") info("Mirai HTTP API Server Plugin") }