Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
Mirai
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
Mirai
Commits
54dedeec
Commit
54dedeec
authored
Dec 20, 2019
by
Him188
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
0.9.0
parent
a496a934
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
0 deletions
+22
-0
UpdateLog.md
UpdateLog.md
+22
-0
No files found.
UpdateLog.md
View file @
54dedeec
...
...
@@ -4,6 +4,28 @@
开发版本. 频繁更新, 不保证高稳定性
### `0.9.0` *2019/12/20*
**协议模块独立**
现在
`mirai-core`
只提供基础的抽象类. 具体的各协议实现为
`mirai-core-PROTOCOL`
.
这些模块都继承自
`mirai-core`
.
现在, 要使用 mirai, 必须依赖于特定的协议模块, 如
`mirai-core-timpc`
.
查阅 API 时请查看
`mirai-core`
.
每个模块只提供少量的额外方法. 我们会给出详细列表.
在目前的开发中您无需考虑多协议兼容.
**Bot 构造**
协议抽象后构造 Bot 需指定协议的
`BotFactory`
.
在 JVM 平台, Mirai 通过 classname 自动加载协议模块的
`BotFactory`
, 因此若您只使用一套协议, 则无需修改现行源码
**事件**
大部分事件包名修改.
**UInt -> Long**
修改全部 QQ ID, Group ID 的类型由 UInt 为 Long.
**此为 API 不兼容更新**
, 请将所有无符号标志
`u`
删除即可. 如
`123456u`
改为
`123456`
另还有其他 API 的包名或签名修改, 源码兼容. 请使用 IDE 自动修补 import 即可.
### `0.8.2` *2019/12/15*
-
修复 GroupId.toGroupInternalId 错误
-
修复解析群消息时小概率出现的一个错误
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment