Skip to content

Commit

Permalink
1.1-EA released
Browse files Browse the repository at this point in the history
  • Loading branch information
Him188 committed Jun 16, 2020
1 parent ed6f82c commit 7ccd1fe
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 5 deletions.
17 changes: 13 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,27 @@
** 此版本新增的 API 可能不稳定, 且可能在下一个版本中删除. **

**主要**:
- 支持 mirai 码解析, 添加 [mirai 码规范](docs\mirai-code-specification.md)
- 新模块 `mirai-serialization`
- 添加实验性 `CodableMessage` 作为支持 mirai 码的 `Message` 的接口.
- 支持 [mirai 码](docs\mirai-code-specification.md) 解析; 新模块 [`mirai-serialization`](mirai-serialization)
- 实现 `MessagePreSendEvent``MessagePostSendEvent` (#339).

**不兼容变更**:
-`PttMessage``Voice` 标注 `@MiraiExperimentalAPI` (missing)
- 重命名实验性 API `CustomMessage.Factory.serialize``CustomMessage.Factory.dump`
- 重命名实验性 API `CustomMessage.Factory.deserialize``CustomMessage.Factory.load`
- 弃用 `MessageSendEvent` (#339). 迁移计划: WARNING in 1.1.0, ERROR in 1.2.0, REMOVE in 1.3.0
- 调整 `VipFace` 的 mirai 码表示, 详见 mirai 码规范
- `Face.toString()` 现在返回表情名称, 如 "\[偷笑\]", 而不是 "\[表情\]" (#345)

**优化**:
**优化和修复**:

- 修复群头像的获取不正确的问题 (#340)
-`PttMessage``Voice` 标注 `@MiraiExperimentalAPI` (missing)
- 删除 `Message.plus(another: Flow<Message>)``@ExperimentalCoroutinesApi`
- 提升发送群消息的稳定性
- 分离一些公开 API 与内部实现
- 一些文档优化
- 其他内部优化
- 提升在上个版本中弃用的 API 的弃用等级

## `1.0.2` 2020/6/1
- 新增 `Bot.botInstancesSequence`
Expand Down
2 changes: 1 addition & 1 deletion buildSrc/src/main/kotlin/Versions.kt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

object Versions {
object Mirai {
const val version = "1.0.2"
const val version = "1.1-EA"
}

object Kotlin {
Expand Down

0 comments on commit 7ccd1fe

Please sign in to comment.