Skip to content

Commit

Permalink
Release v1.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ryoii committed Apr 5, 2020
1 parent 3adc6dd commit b2e7b30
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 2 deletions.
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

### 变更
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# build
httpVersion=v1.4.1
httpVersion=v1.5.0
# style guide
kotlin.code.style=official
# config
Expand Down
2 changes: 1 addition & 1 deletion mirai-api-http/src/main/resources/plugin.yml
Original file line number Diff line number Diff line change
@@ -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"

0 comments on commit b2e7b30

Please sign in to comment.