File tree Expand file tree Collapse file tree 3 files changed +11
-3
lines changed Expand file tree Collapse file tree 3 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -117,20 +117,23 @@ log::debug!("调试信息: {:?}", data);
117117<Tabs items = { [' 修订号' , ' 次版本号' , ' 主版本号' ]} >
118118 <Tab >
119119 当进行向下兼容的缺陷修复时,递增修订号:
120+
120121 - 修复 bug
121122 - 优化性能
122123 - 改进文档
123124 - 不改变公共 API
124125 </Tab >
125126 <Tab >
126127 当增加向下兼容的新功能时,递增次版本号:
128+
127129 - 为公共结构添加新字段
128130 - 为请求结构添加可选字段
129131 - 添加新的 API 方法
130132 - 不改变现有 API 行为
131133 </Tab >
132134 <Tab >
133135 当进行不兼容的更新时,必须递增主版本号:
136+
134137 - 删除或重命名公共结构的已有字段
135138 - 修改字段类型
136139 - 改变 API 行为
@@ -143,6 +146,7 @@ log::debug!("调试信息: {:?}", data);
143146
144147 由于服务型插件的公共包(` sithra_<plugin_name>_common ` )定义了插件间通信的接口,
145148 错误的版本控制可能导致:
149+
146150 - 其他插件无法正常调用服务
147151 - 运行时类型不匹配崩溃
148152 - 数据序列化/反序列化失败
Original file line number Diff line number Diff line change @@ -89,4 +89,5 @@ self-id = 1234567890
8989 如果您在使用过程中遇到任何问题,欢迎在 GitHub Issues 提出。
9090 </p >
9191</div >
92+
9293您也可以加入我们的 QQ 群获取帮助:[ 948180922] ( https://qm.qq.com/q/9rhbJpXBF6 )
Original file line number Diff line number Diff line change @@ -27,9 +27,10 @@ sithra-rs 采用插件化架构设计,通过独立的插件二进制文件来
2727 - 可能包含恶意代码
2828
2929 因此在安装第三方插件时:
30- 2 . ** 必须确保插件开发者可信**
31- 3 . ** 建议使用开源插件**
32- 4 . ** 避免安装来源不明的插件**
30+
31+ 1 . ** 必须确保插件开发者可信**
32+ 2 . ** 建议使用开源插件**
33+ 3 . ** 避免安装来源不明的插件**
3334
3435 sithra-rs 官方不对任何非官方插件的安全性负责。
3536</Callout >
@@ -130,6 +131,7 @@ sithra-rs 官方维护的插件:
130131 href = " https://github.com/SithraBot/sithra-plugin-echo"
131132 >
132133 开发者的第一个插件,简单的复读插件。
134+
133135 - echo 指令将复读内容。
134136 - 戳一戳将回复:"你要干嘛~ "
135137 </Card >
@@ -139,6 +141,7 @@ sithra-rs 官方维护的插件:
139141 href = " https://github.com/SithraBot/sithra-plugin-mc-tools"
140142 >
141143 Minecraft 工具集,支持:
144+
142145 - 查询 MCMOD 百科 (由 ` headless ` 插件提供支持)
143146 - 获取玩家皮肤
144147 </Card >
You can’t perform that action at this time.
0 commit comments