From cdac1c4f360bd7718698ca9fabb38910fe9b4528 Mon Sep 17 00:00:00 2001 From: ryoii Date: Mon, 19 Jul 2021 13:42:56 +0800 Subject: [PATCH] Release 2.1.0 --- CHANGELOG.md | 16 ++++++++++++++++ gradle.properties | 2 +- .../mamoe/mirai/api/http/HttpApiPluginBase.kt | 2 +- 3 files changed, 18 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0c64e9ef..c3143342 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,21 @@ # 更新日志 +## \[2.1.0\] - 2021-07-19 + +### 修复 + ++ 群文件相关接口字段错误 `isDictionary` -> `idDirectory`, `isDictionary` 保留一段时间兼容性, 涉及接口 + + http 文件上传 `/file/upload` 返回值(已兼容) + + 创建群文件夹 `/file/mkdir` 请求参数(**不兼容**) + + 查看群文件列表 `/file/list` 返回值(已兼容) + + 获取文件信息 `/file/info` 返回值(已兼容) ++ websocket 部分异常没有返回正确的格式 #383 ++ websocket 无法进行引用回复 #401 ++ 若干文档说明,更正 反向ws adapter 的使用文档 + +### 新增 ++ 获取 session 信息 #386 `[GET] /sessionInfo`, websocket 命令字 `sessionInfo` + ## \[2.0.2\] - 2021-06-14 ### 修复 diff --git a/gradle.properties b/gradle.properties index 9a97ec8c..dc16e05b 100644 --- a/gradle.properties +++ b/gradle.properties @@ -6,7 +6,7 @@ kotlin.parallel.tasks.in.project=true # build -httpVersion=2.0.2 +httpVersion=2.1.0 # kotlin kotlinVersion=1.5.10 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 198a3206..eac6f0d8 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.0.2") { + JvmPluginDescription(id = "net.mamoe.mirai-api-http", version = "2.1.0") { author("ryoii") info("Mirai HTTP API Server Plugin") }