Skip to content

Commit 0694b1e

Browse files
committed
0.10.0 released
1 parent 2b43046 commit 0694b1e

File tree

2 files changed

+14
-5
lines changed

2 files changed

+14
-5
lines changed

UpdateLog.md

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,15 @@
44

55
开发版本. 频繁更新, 不保证高稳定性
66

7+
### `0.10.0` *2019/12/23*
8+
**事件优化**
9+
更快的监听过程
10+
现在监听不再是 `suspend`, 而必须显式指定 `CoroutineScope`. 详见 [`Subscribers.kt`](mirai-core/src/commonMain/kotlin/net.mamoe.mirai/event/Subscribers.kt#L69)
11+
删除原本的 bot.subscribe 等监听模式.
12+
13+
**其他**
14+
`Contact` 现在实现接口 `CoroutineScope`
15+
716
### `0.9.0` *2019/12/20*
817
**协议模块独立**
918
现在 `mirai-core` 只提供基础的抽象类. 具体的各协议实现为 `mirai-core-PROTOCOL`.
@@ -12,16 +21,16 @@
1221
查阅 API 时请查看 `mirai-core`.
1322
每个模块只提供少量的额外方法. 我们会给出详细列表.
1423

15-
在目前的开发中您无需考虑多协议兼容.
24+
在目前的开发中您无需考虑多协议兼容.
1625

17-
**Bot 构造**
26+
**Bot 构造**
1827
协议抽象后构造 Bot 需指定协议的 `BotFactory`.
1928
在 JVM 平台, Mirai 通过 classname 自动加载协议模块的 `BotFactory`, 因此若您只使用一套协议, 则无需修改现行源码
2029

21-
**事件**
30+
**事件**
2231
大部分事件包名修改.
2332

24-
**UInt -> Long**
33+
**UInt -> Long**
2534
修改全部 QQ ID, Group ID 的类型由 UInt 为 Long.
2635
**此为 API 不兼容更新**, 请将所有无符号标志 `u` 删除即可. 如 `123456u` 改为 `123456`
2736

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# style guide
22
kotlin.code.style=official
33
# config
4-
mirai_version=0.9.0
4+
mirai_version=0.10.0
55
kotlin.incremental.multiplatform=true
66
kotlin.parallel.tasks.in.project=true
77
# kotlin

0 commit comments

Comments
 (0)