Commit 7ccd1fe5 authored by Him188's avatar Him188

1.1-EA released

parent ed6f82c1
...@@ -5,18 +5,27 @@ ...@@ -5,18 +5,27 @@
** 此版本新增的 API 可能不稳定, 且可能在下一个版本中删除. ** ** 此版本新增的 API 可能不稳定, 且可能在下一个版本中删除. **
**主要**: **主要**:
- 支持 mirai 码解析, 添加 [mirai 码规范](docs\mirai-code-specification.md) - 添加实验性 `CodableMessage` 作为支持 mirai 码的 `Message` 的接口.
- 新模块 `mirai-serialization` - 支持 [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` - 删除 `Message.plus(another: Flow<Message>)``@ExperimentalCoroutinesApi`
- 提升发送群消息的稳定性 - 提升发送群消息的稳定性
- 分离一些公开 API 与内部实现 - 分离一些公开 API 与内部实现
- 一些文档优化
- 其他内部优化 - 其他内部优化
- 提升在上个版本中弃用的 API 的弃用等级
## `1.0.2` 2020/6/1 ## `1.0.2` 2020/6/1
- 新增 `Bot.botInstancesSequence` - 新增 `Bot.botInstancesSequence`
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
object Versions { object Versions {
object Mirai { object Mirai {
const val version = "1.0.2" const val version = "1.1-EA"
} }
object Kotlin { object Kotlin {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment