From b2e7b30dc81b9538e6ea938060e5daecdaf4a33a Mon Sep 17 00:00:00 2001 From: ryoii Date: Sun, 5 Apr 2020 17:45:45 +0800 Subject: [PATCH] Release v1.5.0 --- CHANGELOG.md | 18 ++++++++++++++++++ gradle.properties | 2 +- mirai-api-http/src/main/resources/plugin.yml | 2 +- 3 files changed, 20 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bb9a91ec..468f4436 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,24 @@ +## \[1.5.0-pre\] - 2020-04-05 + +### 变更 + +* 更新 `core` 依赖到 0.33.0 +* 所有 `messageId`, `time` 由 `Long` 变更为 `Int` +* `Quote` 消息类型增加 `targetId` 作为获取原消息发送目标的依据 +* Breaking Change: `/fetchMessage` 接口返回带状态码对象, [详情](https://github.com/mamoe/mirai-api-http/blob/master/README.md#%E5%93%8D%E5%BA%94-%E8%BF%94%E5%9B%9Ejson%E5%AF%B9%E8%B1%A1) + +### 新增 +* 支持 `FlashImage` 闪照类型,处理同 `Image`, `imageId` 可通用 + +### 修复 +* 处理 `消息过长` 异常 (code: 30) +* 处理意料之外的 `Bot被禁言` 异常 (code: 20), #34 + + + ## \[1.5.0-pre\] - 2020-04-05 ### 变更 diff --git a/gradle.properties b/gradle.properties index 1f6a6ac9..7707e9fb 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,5 +1,5 @@ # build -httpVersion=v1.4.1 +httpVersion=v1.5.0 # style guide kotlin.code.style=official # config diff --git a/mirai-api-http/src/main/resources/plugin.yml b/mirai-api-http/src/main/resources/plugin.yml index 983127b2..af23bd95 100644 --- a/mirai-api-http/src/main/resources/plugin.yml +++ b/mirai-api-http/src/main/resources/plugin.yml @@ -1,5 +1,5 @@ name: MiraiAPIHTTP path: net.mamoe.mirai.api.http.HttpApiPluginBase -version: v1.5.0-pre +version: v1.5.0 info: Mirai HTTP API Server Plugin author: "ryoii"