2021-12-29 13:33:36 +08:00
---
description: Changelog
2022-02-17 15:44:49 +08:00
toc_max_heading_level: 2
2021-12-29 13:33:36 +08:00
---
2020-11-18 08:48:23 +08:00
# 更新日志
2022-10-02 16:05:19 +08:00
## v2.0.0-rc.1
2022-08-08 10:26:00 +08:00
2022-08-08 21:08:47 +08:00
### 💥 破坏性变更
2022-09-18 22:36:17 +08:00
- Feature: `SUPERUSER` 权限匹配任意超管事件 [@AkiraXie ](https://github.com/AkiraXie ) ([#1275](https://github.com/nonebot/nonebot2/pull/1275))
2022-08-21 11:25:26 +08:00
- Remove: 移除过时的 State 注入参数 [@yanyongyu ](https://github.com/yanyongyu ) ([#1160](https://github.com/nonebot/nonebot2/pull/1160))
- Remove: 移除过时的 `nonebot.plugins` toml 配置 [@yanyongyu ](https://github.com/yanyongyu ) ([#1151](https://github.com/nonebot/nonebot2/pull/1151))
- Remove: 移除 Python 3.7 支持 [@yanyongyu ](https://github.com/yanyongyu ) ([#1148](https://github.com/nonebot/nonebot2/pull/1148))
2022-08-08 21:08:47 +08:00
- Remove: 删除过时的 Export 功能 [@yanyongyu ](https://github.com/yanyongyu ) ([#1125](https://github.com/nonebot/nonebot2/pull/1125))
2022-08-24 09:55:17 +08:00
### 🚀 新功能
2022-09-18 22:36:17 +08:00
- Feature: `SUPERUSER` 权限匹配任意超管事件 [@AkiraXie ](https://github.com/AkiraXie ) ([#1275](https://github.com/nonebot/nonebot2/pull/1275))
2022-09-10 20:56:12 +08:00
- Feature: 改进 `CommandGroup` 与 `MatcherGroup` 的结构 [@A-kirami ](https://github.com/A-kirami ) ([#1240](https://github.com/nonebot/nonebot2/pull/1240))
2022-09-09 11:54:19 +08:00
- Feature: 调整日志输出格式与等级 [@yanyongyu ](https://github.com/yanyongyu ) ([#1233](https://github.com/nonebot/nonebot2/pull/1233))
2022-09-07 10:00:34 +08:00
- Feature: 优化依赖注入结构 [@yanyongyu ](https://github.com/yanyongyu ) ([#1227](https://github.com/nonebot/nonebot2/pull/1227))
2022-08-31 10:08:36 +08:00
- Featue: `load_plugin` 支持 `pathlib.Path` [@Lancercmd ](https://github.com/Lancercmd ) ([#1194](https://github.com/nonebot/nonebot2/pull/1194))
2022-08-30 09:55:21 +08:00
- Feature: 新增事件类型过滤 rule [@yanyongyu ](https://github.com/yanyongyu ) ([#1183](https://github.com/nonebot/nonebot2/pull/1183))
2022-08-24 09:55:17 +08:00
- Feature: shell command 添加富文本支持 [@yanyongyu ](https://github.com/yanyongyu ) ([#1171](https://github.com/nonebot/nonebot2/pull/1171))
2022-08-22 14:40:04 +08:00
### 🐛 Bug 修复
2022-09-29 16:57:20 +08:00
- Fix: 内置规则和权限没有捕获错误 [@yanyongyu ](https://github.com/yanyongyu ) ([#1291](https://github.com/nonebot/nonebot2/pull/1291))
2022-09-01 10:42:53 +08:00
- Fix: 修复 User 会话权限更新嵌套问题 [@yanyongyu ](https://github.com/yanyongyu ) ([#1208](https://github.com/nonebot/nonebot2/pull/1208))
2022-08-22 14:40:04 +08:00
- Fix: 修复当消息与不支持的类型相加时抛出的异常类型错误 [@mnixry ](https://github.com/mnixry ) ([#1166](https://github.com/nonebot/nonebot2/pull/1166))
2022-08-15 21:34:28 +08:00
### 💫 杂项
2022-09-09 18:53:37 +08:00
- Fix: 修正 GenshinUID 的发布类型 [@A-kirami ](https://github.com/A-kirami ) ([#1243](https://github.com/nonebot/nonebot2/pull/1243))
2022-09-08 10:38:39 +08:00
- Remove: 移除未使用的导入 [@A-kirami ](https://github.com/A-kirami ) ([#1236](https://github.com/nonebot/nonebot2/pull/1236))
2022-09-04 19:31:42 +08:00
- Plugin: 更新插件米游社辅助工具 tag [@Ljzd-PRO ](https://github.com/Ljzd-PRO ) ([#1221](https://github.com/nonebot/nonebot2/pull/1221))
2022-08-25 10:27:25 +08:00
- Plugin: 修改插件多功能简易群管信息 [@HuYihe2008 ](https://github.com/HuYihe2008 ) ([#1180](https://github.com/nonebot/nonebot2/pull/1180))
2022-08-16 10:08:08 +08:00
- Plugin: 修改插件多功能简易群管信息 [@HuYihe2008 ](https://github.com/HuYihe2008 ) ([#1159](https://github.com/nonebot/nonebot2/pull/1159))
- Plugin: 修改 QQ 续火花插件信息 [@GC-ZF ](https://github.com/GC-ZF ) ([#1158](https://github.com/nonebot/nonebot2/pull/1158))
2022-08-15 21:34:28 +08:00
- Plugin: 修改插件多功能简易群管信息 [@HuYihe2008 ](https://github.com/HuYihe2008 ) ([#1154](https://github.com/nonebot/nonebot2/pull/1154))
2022-08-08 10:26:00 +08:00
### 🍻 插件发布
2022-09-29 16:43:25 +08:00
- Plugin: 文字识别 [@yanyongyu ](https://github.com/yanyongyu ) ([#1295](https://github.com/nonebot/nonebot2/pull/1295))
2022-09-29 16:17:33 +08:00
- Plugin: 在线编曲 [@yanyongyu ](https://github.com/yanyongyu ) ([#1293](https://github.com/nonebot/nonebot2/pull/1293))
2022-09-25 23:24:53 +08:00
- Plugin: 图灵机器人 [@yanyongyu ](https://github.com/yanyongyu ) ([#1289](https://github.com/nonebot/nonebot2/pull/1289))
2022-09-23 20:26:33 +08:00
- Plugin: PicStatus [@yanyongyu ](https://github.com/yanyongyu ) ([#1287](https://github.com/nonebot/nonebot2/pull/1287))
2022-09-21 16:58:18 +08:00
- Plugin: 阿里云盘福利码自动兑换 [@yanyongyu ](https://github.com/yanyongyu ) ([#1283](https://github.com/nonebot/nonebot2/pull/1283))
2022-09-21 16:49:44 +08:00
- Plugin: gal 角色语音生成 [@yanyongyu ](https://github.com/yanyongyu ) ([#1281](https://github.com/nonebot/nonebot2/pull/1281))
2022-09-19 17:56:45 +08:00
- Plugin: 漂流瓶 [@yanyongyu ](https://github.com/yanyongyu ) ([#1279](https://github.com/nonebot/nonebot2/pull/1279))
2022-09-18 22:30:09 +08:00
- Plugin: BWIKI 助手移植版 [@yanyongyu ](https://github.com/yanyongyu ) ([#1274](https://github.com/nonebot/nonebot2/pull/1274))
2022-09-15 21:58:15 +08:00
- Plugin: nonebot 物联网插件 [@yanyongyu ](https://github.com/yanyongyu ) ([#1265](https://github.com/nonebot/nonebot2/pull/1265))
2022-09-12 21:27:14 +08:00
- Plugin: 狼人杀插件 [@yanyongyu ](https://github.com/yanyongyu ) ([#1252](https://github.com/nonebot/nonebot2/pull/1252))
2022-09-12 12:30:37 +08:00
- Plugin: ayaka - 文字游戏开发辅助插件 [@yanyongyu ](https://github.com/yanyongyu ) ([#1254](https://github.com/nonebot/nonebot2/pull/1254))
2022-09-11 20:59:20 +08:00
- Plugin: 图像超分辨率重建 [@yanyongyu ](https://github.com/yanyongyu ) ([#1250](https://github.com/nonebot/nonebot2/pull/1250))
2022-09-09 10:16:34 +08:00
- Plugin: Minecraft Server 聊天同步 [@yanyongyu ](https://github.com/yanyongyu ) ([#1245](https://github.com/nonebot/nonebot2/pull/1245))
2022-09-07 10:25:49 +08:00
- Plugin: 查询 ETH 合并日期 [@yanyongyu ](https://github.com/yanyongyu ) ([#1232](https://github.com/nonebot/nonebot2/pull/1232))
2022-09-05 10:02:23 +08:00
- Plugin: 星际战甲事件查询 [@yanyongyu ](https://github.com/yanyongyu ) ([#1220](https://github.com/nonebot/nonebot2/pull/1220))
2022-09-04 11:18:37 +08:00
- Plugin: 米游社辅助工具 [@yanyongyu ](https://github.com/yanyongyu ) ([#1218](https://github.com/nonebot/nonebot2/pull/1218))
2022-09-03 10:27:15 +08:00
- Plugin: 原神每日材料查询 [@yanyongyu ](https://github.com/yanyongyu ) ([#1216](https://github.com/nonebot/nonebot2/pull/1216))
2022-09-01 10:42:53 +08:00
- Plugin: MC_QQ_MCRcon [@yanyongyu ](https://github.com/yanyongyu ) ([#1211](https://github.com/nonebot/nonebot2/pull/1211))
2022-09-01 10:05:08 +08:00
- Plugin: 原神角色展柜查询 [@yanyongyu ](https://github.com/yanyongyu ) ([#1209](https://github.com/nonebot/nonebot2/pull/1209))
2022-08-31 15:46:34 +08:00
- Plugin: 修仙模拟器 [@yanyongyu ](https://github.com/yanyongyu ) ([#1202](https://github.com/nonebot/nonebot2/pull/1202))
2022-08-31 14:57:46 +08:00
- Plugin: 赛博浅草寺 [@yanyongyu ](https://github.com/yanyongyu ) ([#1206](https://github.com/nonebot/nonebot2/pull/1206))
2022-08-31 10:05:28 +08:00
- Plugin: 不背单词 [@yanyongyu ](https://github.com/yanyongyu ) ([#1204](https://github.com/nonebot/nonebot2/pull/1204))
2022-08-30 19:39:33 +08:00
- Plugin: 自识别 todo [@yanyongyu ](https://github.com/yanyongyu ) ([#1193](https://github.com/nonebot/nonebot2/pull/1193))
2022-08-28 20:12:28 +08:00
- Plugin: 雨课堂自动签到 [@yanyongyu ](https://github.com/yanyongyu ) ([#1189](https://github.com/nonebot/nonebot2/pull/1189))
2022-08-27 22:30:10 +08:00
- Plugin: 反馈及通知 [@yanyongyu ](https://github.com/yanyongyu ) ([#1187](https://github.com/nonebot/nonebot2/pull/1187))
2022-08-27 22:16:48 +08:00
- Plugin: MagiaDice 骰娘及 TRPGLOG [@yanyongyu ](https://github.com/yanyongyu ) ([#1185](https://github.com/nonebot/nonebot2/pull/1185))
2022-08-27 21:51:18 +08:00
- Plugin: 面麻小助手 [@yanyongyu ](https://github.com/yanyongyu ) ([#1191](https://github.com/nonebot/nonebot2/pull/1191))
2022-08-26 10:16:15 +08:00
- Plugin: 话痨排行榜 [@yanyongyu ](https://github.com/yanyongyu ) ([#1182](https://github.com/nonebot/nonebot2/pull/1182))
2022-08-25 10:00:45 +08:00
- Plugin: 保存群聊闪照 [@yanyongyu ](https://github.com/yanyongyu ) ([#1179](https://github.com/nonebot/nonebot2/pull/1179))
2022-08-23 15:01:42 +08:00
- Plugin: 课表查询 [@yanyongyu ](https://github.com/yanyongyu ) ([#1168](https://github.com/nonebot/nonebot2/pull/1168))
2022-08-23 14:35:43 +08:00
- Plugin: 业余无线电助手 [@yanyongyu ](https://github.com/yanyongyu ) ([#1173](https://github.com/nonebot/nonebot2/pull/1173))
2022-08-23 12:04:55 +08:00
- Plugin: NoneBot 树形帮助插件 [@yanyongyu ](https://github.com/yanyongyu ) ([#1177](https://github.com/nonebot/nonebot2/pull/1177))
2022-08-23 11:54:04 +08:00
- Plugin: 工作性价比 [@yanyongyu ](https://github.com/yanyongyu ) ([#1175](https://github.com/nonebot/nonebot2/pull/1175))
2022-08-23 11:48:13 +08:00
- Plugin: 娶群友 [@yanyongyu ](https://github.com/yanyongyu ) ([#1170](https://github.com/nonebot/nonebot2/pull/1170))
2022-08-22 18:12:31 +08:00
- Plugin: PixivBot [@yanyongyu ](https://github.com/yanyongyu ) ([#1165](https://github.com/nonebot/nonebot2/pull/1165))
2022-08-21 11:25:26 +08:00
- Plugin: 日韩中 VITS 模型原神拟声 [@yanyongyu ](https://github.com/yanyongyu ) ([#1162](https://github.com/nonebot/nonebot2/pull/1162))
2022-08-19 09:10:13 +08:00
- Plugin: 每日人品 [@yanyongyu ](https://github.com/yanyongyu ) ([#1156](https://github.com/nonebot/nonebot2/pull/1156))
2022-08-18 09:43:06 +08:00
- Plugin: nonebot-plugin-drawer [@yanyongyu ](https://github.com/yanyongyu ) ([#1146](https://github.com/nonebot/nonebot2/pull/1146))
2022-08-14 17:11:29 +08:00
- Plugin: 小游戏合集 [@yanyongyu ](https://github.com/yanyongyu ) ([#1150](https://github.com/nonebot/nonebot2/pull/1150))
2022-08-12 15:02:00 +08:00
- Plugin: 简易群管(带入群欢迎) [@yanyongyu ](https://github.com/yanyongyu ) ([#1142](https://github.com/nonebot/nonebot2/pull/1142))
2022-08-11 13:52:38 +08:00
- Plugin: wiki 条目搜索、获取简介 [@yanyongyu ](https://github.com/yanyongyu ) ([#1133](https://github.com/nonebot/nonebot2/pull/1133))
2022-08-11 13:51:05 +08:00
- Plugin: bangumi 搜索 [@yanyongyu ](https://github.com/yanyongyu ) ([#1137](https://github.com/nonebot/nonebot2/pull/1137))
2022-08-09 19:01:23 +08:00
- Plugin: 疫情小助手-频道版 [@yanyongyu ](https://github.com/yanyongyu ) ([#1131](https://github.com/nonebot/nonebot2/pull/1131))
2022-08-08 12:19:01 +08:00
- Plugin: MC_QQ 通信 [@yanyongyu ](https://github.com/yanyongyu ) ([#1127](https://github.com/nonebot/nonebot2/pull/1127))
2022-08-08 10:26:00 +08:00
- Plugin: BAWiki [@yanyongyu ](https://github.com/yanyongyu ) ([#1129](https://github.com/nonebot/nonebot2/pull/1129))
2022-09-05 13:52:33 +08:00
### 🍻 机器人发布
2022-09-16 19:52:43 +08:00
- Bot: IdhagnBot [@yanyongyu ](https://github.com/yanyongyu ) ([#1267](https://github.com/nonebot/nonebot2/pull/1267))
2022-09-13 10:47:25 +08:00
- Bot: LittlePaimon [@yanyongyu ](https://github.com/yanyongyu ) ([#1256](https://github.com/nonebot/nonebot2/pull/1256))
2022-09-05 14:23:20 +08:00
- Bot: GenshinUID [@yanyongyu ](https://github.com/yanyongyu ) ([#1226](https://github.com/nonebot/nonebot2/pull/1226))
2022-09-05 13:52:33 +08:00
- Bot: 小白机器人 [@yanyongyu ](https://github.com/yanyongyu ) ([#1224](https://github.com/nonebot/nonebot2/pull/1224))
2022-09-02 13:41:40 +08:00
### 🍻 适配器发布
2022-09-29 17:21:16 +08:00
- Adapter: GitHub [@yanyongyu ](https://github.com/yanyongyu ) ([#1297](https://github.com/nonebot/nonebot2/pull/1297))
2022-09-02 13:41:40 +08:00
- Adapter: Console [@yanyongyu ](https://github.com/yanyongyu ) ([#1213](https://github.com/nonebot/nonebot2/pull/1213))
2022-08-04 14:27:40 +08:00
## v2.0.0-beta.5
2022-06-24 10:49:36 +08:00
2022-07-15 10:12:35 +08:00
### 🚀 新功能
2022-07-20 10:23:17 +08:00
- Feature: on_x 支持 expire_time 参数 [@Dobiichi-Origami ](https://github.com/Dobiichi-Origami ) ([#1106](https://github.com/nonebot/nonebot2/pull/1106))
2022-07-15 10:12:35 +08:00
- Feature: 正向驱动器 startup/shutdown hook 支持同步函数 [@synodriver ](https://github.com/synodriver ) ([#1104](https://github.com/nonebot/nonebot2/pull/1104))
2022-06-24 10:52:05 +08:00
### 🐛 Bug 修复
2022-08-04 13:40:36 +08:00
- Fix: 修复插件父子关系识别错漏 [@yanyongyu ](https://github.com/yanyongyu ) ([#1121](https://github.com/nonebot/nonebot2/pull/1121))
2022-08-02 10:31:11 +08:00
- Fix: run post hook 应该处理 matcher.state [@AkiraXie ](https://github.com/AkiraXie ) ([#1119](https://github.com/nonebot/nonebot2/pull/1119))
2022-08-01 10:53:25 +08:00
- Fix: 修复 setuptools 未安装导致 ImportError [@yanyongyu ](https://github.com/yanyongyu ) ([#1116](https://github.com/nonebot/nonebot2/pull/1116))
2022-06-25 12:34:24 +08:00
- Fix: 修复 typing 中 T_RunPostProcessor 类型的注释描述不正确 [@A-kirami ](https://github.com/A-kirami ) ([#1057](https://github.com/nonebot/nonebot2/pull/1057))
2022-06-24 10:52:05 +08:00
2022-06-30 12:20:11 +08:00
### 📝 文档
2022-07-08 12:26:23 +08:00
- Docs: 添加 nonemoji 并更新开发指南 [@yanyongyu ](https://github.com/yanyongyu ) ([#1088](https://github.com/nonebot/nonebot2/pull/1088))
2022-08-04 14:18:34 +08:00
- Docs: 修复 event message 类型注释错误 [@yanyongyu ](https://github.com/yanyongyu ) ([#1079](https://github.com/nonebot/nonebot2/pull/1079))
2022-07-02 10:21:11 +08:00
- Docs: 修复旧 Vuepress 文档缓存问题 [@StarHeartHunt ](https://github.com/StarHeartHunt ) ([#1077](https://github.com/nonebot/nonebot2/pull/1077))
2022-07-01 10:58:18 +08:00
- Docs: 更新 Readme 贡献图片 [@yanyongyu ](https://github.com/yanyongyu ) ([#1074](https://github.com/nonebot/nonebot2/pull/1074))
2022-06-30 14:31:31 +08:00
- Docs: 注销旧 Vuepress 文档的 Service Worker [@StarHeartHunt ](https://github.com/StarHeartHunt ) ([#1073](https://github.com/nonebot/nonebot2/pull/1073))
2022-06-30 12:20:11 +08:00
- Docs: 修改 `权限控制` 一节中主动调用的错误 [@MingxuanGame ](https://github.com/MingxuanGame ) ([#1072](https://github.com/nonebot/nonebot2/pull/1072))
2022-07-22 14:23:48 +08:00
### 💫 杂项
- Bot: 修改剑网三 bot 信息 [@JustUndertaker ](https://github.com/JustUndertaker ) ([#1107](https://github.com/nonebot/nonebot2/pull/1107))
2022-06-24 10:49:36 +08:00
### 🍻 插件发布
2022-08-01 14:19:28 +08:00
- Plugin: 「能不能好好说话?」缩写翻译 [@yanyongyu ](https://github.com/yanyongyu ) ([#1118](https://github.com/nonebot/nonebot2/pull/1118))
2022-07-31 10:33:58 +08:00
- Plugin: 推送钩子 [@yanyongyu ](https://github.com/yanyongyu ) ([#1115](https://github.com/nonebot/nonebot2/pull/1115))
2022-07-25 10:01:16 +08:00
- Plugin: 易命令 [@yanyongyu ](https://github.com/yanyongyu ) ([#1111](https://github.com/nonebot/nonebot2/pull/1111))
2022-07-23 10:25:34 +08:00
- Plugin: 群昵称时间 [@yanyongyu ](https://github.com/yanyongyu ) ([#1109](https://github.com/nonebot/nonebot2/pull/1109))
2022-07-12 15:22:59 +08:00
- Plugin: 处理好友添加和群邀请 [@yanyongyu ](https://github.com/yanyongyu ) ([#1099](https://github.com/nonebot/nonebot2/pull/1099))
2022-07-12 14:59:52 +08:00
- Plugin: 明日方舟寻访记录分析 [@yanyongyu ](https://github.com/yanyongyu ) ([#1097](https://github.com/nonebot/nonebot2/pull/1097))
2022-07-11 16:05:27 +08:00
- Plugin: b 站视频每日推送 [@yanyongyu ](https://github.com/yanyongyu ) ([#1095](https://github.com/nonebot/nonebot2/pull/1095))
2022-07-10 14:38:53 +08:00
- Plugin: 自动回复(文 i) 插件 [@yanyongyu ](https://github.com/yanyongyu ) ([#1090](https://github.com/nonebot/nonebot2/pull/1090))
2022-07-10 10:48:38 +08:00
- Plugin: ACC 计算工具 [@yanyongyu ](https://github.com/yanyongyu ) ([#1093](https://github.com/nonebot/nonebot2/pull/1093))
2022-07-06 11:02:29 +08:00
- Plugin: OSU 查分插件 [@yanyongyu ](https://github.com/yanyongyu ) ([#1082](https://github.com/nonebot/nonebot2/pull/1082))
- Plugin: 战地 1、5 战绩查询工具 [@yanyongyu ](https://github.com/yanyongyu ) ([#1087](https://github.com/nonebot/nonebot2/pull/1087))
2022-07-06 10:38:40 +08:00
- Plugin: 一起燚 xN 吧 [@yanyongyu ](https://github.com/yanyongyu ) ([#1085](https://github.com/nonebot/nonebot2/pull/1085))
2022-07-01 10:39:14 +08:00
- Plugin: 米游币商品自动兑换 [@yanyongyu ](https://github.com/yanyongyu ) ([#1076](https://github.com/nonebot/nonebot2/pull/1076))
2022-06-30 14:29:47 +08:00
- Plugin: 赛马 [@yanyongyu ](https://github.com/yanyongyu ) ([#1069](https://github.com/nonebot/nonebot2/pull/1069))
2022-06-29 10:56:19 +08:00
- Plugin: PicMenu [@yanyongyu ](https://github.com/yanyongyu ) ([#1071](https://github.com/nonebot/nonebot2/pull/1071))
2022-06-28 10:26:03 +08:00
- Plugin: nonebot-plugin-bread [@yanyongyu ](https://github.com/yanyongyu ) ([#1064](https://github.com/nonebot/nonebot2/pull/1064))
2022-06-25 16:20:06 +08:00
- Plugin: 黑白名单 [@yanyongyu ](https://github.com/yanyongyu ) ([#1061](https://github.com/nonebot/nonebot2/pull/1061))
2022-06-24 10:49:36 +08:00
- Plugin: BitTorrent [@yanyongyu ](https://github.com/yanyongyu ) ([#1059](https://github.com/nonebot/nonebot2/pull/1059))
2022-07-14 11:31:37 +08:00
### 🍻 机器人发布
2022-07-28 12:42:49 +08:00
- Bot: SkadiBot [@yanyongyu ](https://github.com/yanyongyu ) ([#1113](https://github.com/nonebot/nonebot2/pull/1113))
2022-07-14 11:31:37 +08:00
- Bot: 真宵 Bot [@yanyongyu ](https://github.com/yanyongyu ) ([#1103](https://github.com/nonebot/nonebot2/pull/1103))
2022-06-20 19:40:59 +08:00
## v2.0.0-beta.4
2022-05-21 09:15:31 +08:00
2022-05-26 16:36:55 +08:00
### 🚀 新功能
2022-06-20 15:51:00 +08:00
- Feature: 添加插件元信息定义 [@yanyongyu ](https://github.com/yanyongyu ) ([#1046](https://github.com/nonebot/nonebot2/pull/1046))
2022-06-03 21:00:11 +08:00
- Feature: 日志记录自动检测终端是否支持彩色 [@BlueGlassBlock ](https://github.com/BlueGlassBlock ) ([#1034](https://github.com/nonebot/nonebot2/pull/1034))
2022-05-26 16:36:55 +08:00
- Feature: 优化插件加载内部逻辑 [@yanyongyu ](https://github.com/yanyongyu ) ([#1011](https://github.com/nonebot/nonebot2/pull/1011))
2022-05-22 19:43:31 +08:00
### 🐛 Bug 修复
2022-06-20 15:53:30 +08:00
- Fix: 修复 MessageSegment 在有额外数据时报错 [@yanyongyu ](https://github.com/yanyongyu ) ([#1055](https://github.com/nonebot/nonebot2/pull/1055))
2022-06-18 14:49:01 +08:00
- Fix: 修复环境变量无法覆盖 dotenv 内配置项值 [@yanyongyu ](https://github.com/yanyongyu ) ([#1052](https://github.com/nonebot/nonebot2/pull/1052))
2022-05-22 19:43:31 +08:00
- Fix: 修复依赖注入 bot event 参数 union 校验失败 [@yanyongyu ](https://github.com/yanyongyu ) ([#1001](https://github.com/nonebot/nonebot2/pull/1001))
2022-05-21 19:42:46 +08:00
### 📝 文档
2022-05-21 11:18:43 +08:00
2022-05-24 12:37:58 +08:00
- Docs: 添加文档排版规范 [@j1g5awi ](https://github.com/j1g5awi ) ([#1005](https://github.com/nonebot/nonebot2/pull/1005))
2022-05-21 22:04:12 +08:00
- Docs: 更新 require 样例 [@yanyongyu ](https://github.com/yanyongyu ) ([#996](https://github.com/nonebot/nonebot2/pull/996))
2022-05-21 19:42:46 +08:00
- Docs: 更新 README 中的 QQ 频道图标 [@mnixry ](https://github.com/mnixry ) ([#997](https://github.com/nonebot/nonebot2/pull/997))
2022-05-21 11:18:43 +08:00
- Docs: 调整跨插件访问文档 [@AkiraXie ](https://github.com/AkiraXie ) ([#993](https://github.com/nonebot/nonebot2/pull/993))
2022-05-21 09:15:31 +08:00
### 🍻 插件发布
2022-06-19 09:25:55 +08:00
- Plugin: 历史上的今天 [@yanyongyu ](https://github.com/yanyongyu ) ([#1049](https://github.com/nonebot/nonebot2/pull/1049))
2022-06-18 15:59:15 +08:00
- Plugin: smart_reply [@yanyongyu ](https://github.com/yanyongyu ) ([#1054](https://github.com/nonebot/nonebot2/pull/1054))
2022-06-18 11:13:55 +08:00
- Plugin: nonebot_plugin_setu4 [@yanyongyu ](https://github.com/yanyongyu ) ([#1051](https://github.com/nonebot/nonebot2/pull/1051))
2022-06-06 10:26:03 +08:00
- Plugin: 命令重启机器人 [@yanyongyu ](https://github.com/yanyongyu ) ([#1038](https://github.com/nonebot/nonebot2/pull/1038))
2022-06-04 19:34:00 +08:00
- Plugin: 青年大学习自动提交 [@yanyongyu ](https://github.com/yanyongyu ) ([#1036](https://github.com/nonebot/nonebot2/pull/1036))
2022-06-03 10:42:41 +08:00
- Plugin: 疫情小助手 [@yanyongyu ](https://github.com/yanyongyu ) ([#1033](https://github.com/nonebot/nonebot2/pull/1033))
- Plugin: 谁艾特我了 [@yanyongyu ](https://github.com/yanyongyu ) ([#1031](https://github.com/nonebot/nonebot2/pull/1031))
2022-06-02 00:37:04 +08:00
- Plugin: Hikari-战舰世界水表查询 [@yanyongyu ](https://github.com/yanyongyu ) ([#1025](https://github.com/nonebot/nonebot2/pull/1025))
2022-05-31 12:36:51 +08:00
- Plugin: Warframe 时间查询 [@yanyongyu ](https://github.com/yanyongyu ) ([#1023](https://github.com/nonebot/nonebot2/pull/1023))
2022-05-30 20:41:17 +08:00
- Plugin: imagetools [@yanyongyu ](https://github.com/yanyongyu ) ([#1021](https://github.com/nonebot/nonebot2/pull/1021))
2022-05-29 10:57:28 +08:00
- Plugin: 明日方舟工具箱 [@yanyongyu ](https://github.com/yanyongyu ) ([#1019](https://github.com/nonebot/nonebot2/pull/1019))
2022-05-27 17:29:27 +08:00
- Plugin: B 站视频伪分享卡片 [@yanyongyu ](https://github.com/yanyongyu ) ([#1014](https://github.com/nonebot/nonebot2/pull/1014))
2022-05-24 19:34:00 +08:00
- Plugin: TETRIS Stats [@yanyongyu ](https://github.com/yanyongyu ) ([#1009](https://github.com/nonebot/nonebot2/pull/1009))
2022-05-24 10:43:21 +08:00
- Plugin: 签到插件 [@yanyongyu ](https://github.com/yanyongyu ) ([#1007](https://github.com/nonebot/nonebot2/pull/1007))
2022-05-21 11:15:19 +08:00
- Plugin: 数据库连接插件 [@yanyongyu ](https://github.com/yanyongyu ) ([#995](https://github.com/nonebot/nonebot2/pull/995))
2022-05-21 10:54:46 +08:00
- Plugin: 百度翻译 [@yanyongyu ](https://github.com/yanyongyu ) ([#992](https://github.com/nonebot/nonebot2/pull/992))
2022-05-21 09:15:31 +08:00
- Plugin: MockingBird 语音 [@yanyongyu ](https://github.com/yanyongyu ) ([#989](https://github.com/nonebot/nonebot2/pull/989))
2022-05-23 01:16:30 +08:00
### 🍻 机器人发布
2022-06-16 11:43:18 +08:00
- Bot: nya_bot [@yanyongyu ](https://github.com/yanyongyu ) ([#1045](https://github.com/nonebot/nonebot2/pull/1045))
2022-05-23 01:16:30 +08:00
- Bot: LiteyukiBot-轻雪机器人 [@yanyongyu ](https://github.com/yanyongyu ) ([#1003](https://github.com/nonebot/nonebot2/pull/1003))
2022-06-01 18:36:51 +08:00
### 🍻 适配器发布
- Adapter: OneBot V12 [@yanyongyu ](https://github.com/yanyongyu ) ([#1027](https://github.com/nonebot/nonebot2/pull/1027))
2022-05-20 18:21:32 +08:00
## v2.0.0-beta.3
2022-02-16 12:05:34 +08:00
2022-05-14 21:08:07 +08:00
### 💥 破坏性变更
2022-05-20 17:35:28 +08:00
- Fix: 添加 export 方法 Deprecation 警告 [@yanyongyu ](https://github.com/yanyongyu ) ([#983](https://github.com/nonebot/nonebot2/pull/983))
2022-05-20 08:45:25 +08:00
- Feature: 支持 WebSocket 连接同时获取 str 或 bytes [@yanyongyu ](https://github.com/yanyongyu ) ([#962](https://github.com/nonebot/nonebot2/pull/962))
2022-05-14 21:08:07 +08:00
2022-02-18 11:05:38 +08:00
### 🚀 新功能
2022-05-20 08:45:25 +08:00
- Feature: 支持 WebSocket 连接同时获取 str 或 bytes [@yanyongyu ](https://github.com/yanyongyu ) ([#962](https://github.com/nonebot/nonebot2/pull/962))
- Feature: 添加 `CommandStart` 依赖注入参数 [@MeetWq ](https://github.com/MeetWq ) ([#915](https://github.com/nonebot/nonebot2/pull/915))
2022-03-17 21:12:30 +08:00
- Feature: 添加 Rule, Permission 反向位运算支持 [@yanyongyu ](https://github.com/yanyongyu ) ([#872](https://github.com/nonebot/nonebot2/pull/872))
2022-02-18 11:05:38 +08:00
- Feature: 新增文本完整匹配规则 [@A-kirami ](https://github.com/A-kirami ) ([#797](https://github.com/nonebot/nonebot2/pull/797))
2022-02-17 15:56:39 +08:00
### 🐛 Bug 修复
2022-05-14 16:55:45 +08:00
- Fix: 修复依赖注入默认值参数在 `__eq__` 被重写时报错的问题 [@yanyongyu ](https://github.com/yanyongyu ) ([#971](https://github.com/nonebot/nonebot2/pull/971))
2022-04-30 10:00:37 +08:00
- Fix: 修复`MessageTemplate`在没有格式化说明符时行为不正确的问题 [@mnixry ](https://github.com/mnixry ) ([#947](https://github.com/nonebot/nonebot2/pull/947))
2022-04-04 10:36:23 +08:00
- Fix: Bot Hook 没有捕获跳过异常 [@yanyongyu ](https://github.com/yanyongyu ) ([#905](https://github.com/nonebot/nonebot2/pull/905))
2022-04-01 16:30:51 +08:00
- Fix: 修复部分事件响应器参数类型中冗余的 Optional [@A-kirami ](https://github.com/A-kirami ) ([#904](https://github.com/nonebot/nonebot2/pull/904))
2022-03-20 19:41:34 +08:00
- Fix: 修复 event 类型检查会对类型进行自动转换 [@yanyongyu ](https://github.com/yanyongyu ) ([#876](https://github.com/nonebot/nonebot2/pull/876))
2022-02-18 14:08:33 +08:00
- Fix: 修复 `on_fullmatch` 返回类型错误 [@yanyongyu ](https://github.com/yanyongyu ) ([#815](https://github.com/nonebot/nonebot2/pull/815))
2022-02-17 15:56:39 +08:00
- Fix: 修复 DataclassEncoder 嵌套 encode 的问题 [@AkiraXie ](https://github.com/AkiraXie ) ([#812](https://github.com/nonebot/nonebot2/pull/812))
2022-02-16 19:36:28 +08:00
### 📝 文档
2022-05-19 07:38:35 +08:00
- Docs: 修复定时任务一节中的部分拼写错误 [@Nova-Noir ](https://github.com/Nova-Noir ) ([#982](https://github.com/nonebot/nonebot2/pull/982))
2022-05-15 13:51:01 +08:00
- Fix: 商店搜索失效 [@yanyongyu ](https://github.com/yanyongyu ) ([#978](https://github.com/nonebot/nonebot2/pull/978))
2022-05-07 13:17:59 +08:00
- Docs: 添加 QQ 频道链接 [@StarHeartHunt ](https://github.com/StarHeartHunt ) ([#961](https://github.com/nonebot/nonebot2/pull/961))
2022-04-30 16:05:57 +08:00
- Docs: 添加 nonebug 单元测试文档 [@MingxuanGame ](https://github.com/MingxuanGame ) ([#929](https://github.com/nonebot/nonebot2/pull/929))
2022-04-30 14:41:36 +08:00
- Docs: 添加 pm2 部署文档 [@evlic ](https://github.com/evlic ) ([#853](https://github.com/nonebot/nonebot2/pull/853))
2022-04-24 18:08:06 +08:00
- Docs: 更新 GitHub Action 部署文档 [@kexue-z ](https://github.com/kexue-z ) ([#937](https://github.com/nonebot/nonebot2/pull/937))
2022-04-16 10:21:11 +08:00
- Docs: 添加自定义匹配规则文档 [@yanyongyu ](https://github.com/yanyongyu ) ([#914](https://github.com/nonebot/nonebot2/pull/914))
2022-03-11 15:48:09 +08:00
- Docs: 修复适配器文档内商店链接 [@yanyongyu ](https://github.com/yanyongyu ) ([#861](https://github.com/nonebot/nonebot2/pull/861))
2022-03-11 12:13:18 +08:00
- Docs: tips for finding adapters' document link [@StarHeartHunt ](https://github.com/StarHeartHunt ) ([#860](https://github.com/nonebot/nonebot2/pull/860))
2022-02-22 23:11:23 +08:00
- Docs: 添加对 `fastapi_reload` 在 Windows 平台额外影响的说明 [@CherryGS ](https://github.com/CherryGS ) ([#830](https://github.com/nonebot/nonebot2/pull/830))
2022-02-19 11:22:02 +08:00
- Docs: 修复 ci/cd action 中错误的版本号 [@Bubbleioa ](https://github.com/Bubbleioa ) ([#819](https://github.com/nonebot/nonebot2/pull/819))
2022-02-17 16:00:39 +08:00
- Docs: 减小更新日志 toc 最大显示等级 [@yanyongyu ](https://github.com/yanyongyu ) ([#813](https://github.com/nonebot/nonebot2/pull/813))
2022-02-16 23:19:06 +08:00
- Docs: 修改议题模板中的错误链接 [@he0119 ](https://github.com/he0119 ) ([#807](https://github.com/nonebot/nonebot2/pull/807))
2022-02-16 20:25:05 +08:00
- Docs: 修改消息模板文档中错误的样例 [@mnixry ](https://github.com/mnixry ) ([#806](https://github.com/nonebot/nonebot2/pull/806))
2022-02-16 19:36:28 +08:00
- Docs: 更新贡献指南 [@yanyongyu ](https://github.com/yanyongyu ) ([#798](https://github.com/nonebot/nonebot2/pull/798))
2022-02-16 12:05:34 +08:00
### 💫 杂项
2022-05-02 11:01:43 +08:00
- Plugin: nonebot-plugin-chess 改名为 nonebot-plugin-boardgame [@MeetWq ](https://github.com/MeetWq ) ([#953](https://github.com/nonebot/nonebot2/pull/953))
2022-05-20 08:45:25 +08:00
- Plugin: 网易云无损音乐下载更改 [@kitUIN ](https://github.com/kitUIN ) ([#924](https://github.com/nonebot/nonebot2/pull/924))
2022-04-05 21:54:00 +08:00
- Docs: 移除商店中的过期插件 [@j1g5awi ](https://github.com/j1g5awi ) ([#902](https://github.com/nonebot/nonebot2/pull/902))
2022-03-25 18:25:27 +08:00
- CI: 修复发布机器人的意外错误 [@he0119 ](https://github.com/he0119 ) ([#892](https://github.com/nonebot/nonebot2/pull/892))
2022-03-21 23:05:52 +08:00
- Docs: 替换和移除部分已经失效的插件 [@MeetWq ](https://github.com/MeetWq ) ([#879](https://github.com/nonebot/nonebot2/pull/879))
2022-02-18 16:00:02 +08:00
- Docs: 添加 netlify 标签 [@yanyongyu ](https://github.com/yanyongyu ) ([#816](https://github.com/nonebot/nonebot2/pull/816))
2022-02-16 19:45:11 +08:00
- Fix: 修改错误的插件 PyPI 项目名称 [@Lancercmd ](https://github.com/Lancercmd ) ([#804](https://github.com/nonebot/nonebot2/pull/804))
2022-02-16 12:05:34 +08:00
- CI: 添加更新日志自动更新 action [@yanyongyu ](https://github.com/yanyongyu ) ([#799](https://github.com/nonebot/nonebot2/pull/799))
2022-02-16 12:12:35 +08:00
### 🍻 插件发布
2022-05-20 08:45:25 +08:00
- Plugin: imageutils [@yanyongyu ](https://github.com/yanyongyu ) ([#985](https://github.com/nonebot/nonebot2/pull/985))
2022-05-18 16:54:30 +08:00
- Plugin: 摸鱼日历 [@yanyongyu ](https://github.com/yanyongyu ) ([#980](https://github.com/nonebot/nonebot2/pull/980))
2022-05-15 11:23:24 +08:00
- Plugin: 走迷宫 [@yanyongyu ](https://github.com/yanyongyu ) ([#977](https://github.com/nonebot/nonebot2/pull/977))
2022-05-15 10:36:29 +08:00
- Plugin: 语录娱乐 [@yanyongyu ](https://github.com/yanyongyu ) ([#973](https://github.com/nonebot/nonebot2/pull/973))
2022-05-14 23:16:43 +08:00
- Plugin: 国内新冠疫情数据查询 [@yanyongyu ](https://github.com/yanyongyu ) ([#975](https://github.com/nonebot/nonebot2/pull/975))
2022-05-13 23:05:36 +08:00
- Plugin: nonebot_plugin_eventdone [@yanyongyu ](https://github.com/yanyongyu ) ([#966](https://github.com/nonebot/nonebot2/pull/966))
2022-05-13 15:36:59 +08:00
- Plugin: 幻影坦克图片合成 [@yanyongyu ](https://github.com/yanyongyu ) ([#968](https://github.com/nonebot/nonebot2/pull/968))
2022-05-13 10:34:52 +08:00
- Plugin: 合成字符画(GIF) [@yanyongyu ](https://github.com/yanyongyu ) ([#964](https://github.com/nonebot/nonebot2/pull/964))
2022-05-02 19:51:05 +08:00
- Plugin: 国际象棋 [@yanyongyu ](https://github.com/yanyongyu ) ([#957](https://github.com/nonebot/nonebot2/pull/957))
2022-05-01 10:30:47 +08:00
- Plugin: NoneBot2 文档搜索 [@yanyongyu ](https://github.com/yanyongyu ) ([#952](https://github.com/nonebot/nonebot2/pull/952))
2022-04-30 14:45:08 +08:00
- Plugin: 中国象棋 [@yanyongyu ](https://github.com/yanyongyu ) ([#949](https://github.com/nonebot/nonebot2/pull/949))
2022-04-28 18:16:51 +08:00
- Plugin: B 站视频封面提取 [@yanyongyu ](https://github.com/yanyongyu ) ([#946](https://github.com/nonebot/nonebot2/pull/946))
2022-04-28 17:59:12 +08:00
- Plugin: 一言 [@yanyongyu ](https://github.com/yanyongyu ) ([#944](https://github.com/nonebot/nonebot2/pull/944))
2022-04-28 17:49:41 +08:00
- Plugin: 答案之书 [@yanyongyu ](https://github.com/yanyongyu ) ([#942](https://github.com/nonebot/nonebot2/pull/942))
2022-04-28 17:43:10 +08:00
- Plugin: 支付宝到账语音 [@yanyongyu ](https://github.com/yanyongyu ) ([#940](https://github.com/nonebot/nonebot2/pull/940))
2022-04-20 17:03:15 +08:00
- Plugin: nonebot-plugin-dida [@yanyongyu ](https://github.com/yanyongyu ) ([#934](https://github.com/nonebot/nonebot2/pull/934))
2022-04-18 18:24:27 +08:00
- Plugin: 随机唐可可 [@yanyongyu ](https://github.com/yanyongyu ) ([#931](https://github.com/nonebot/nonebot2/pull/931))
2022-04-16 10:21:11 +08:00
- Plugin: splatoon2 新闻 [@yanyongyu ](https://github.com/yanyongyu ) ([#917](https://github.com/nonebot/nonebot2/pull/917))
2022-04-05 22:21:41 +08:00
- Plugin: nonebot_plugin_draw [@yanyongyu ](https://github.com/yanyongyu ) ([#910](https://github.com/nonebot/nonebot2/pull/910))
2022-04-05 10:53:11 +08:00
- Plugin: 扫雷游戏 [@yanyongyu ](https://github.com/yanyongyu ) ([#907](https://github.com/nonebot/nonebot2/pull/907))
2022-03-29 10:33:41 +08:00
- Plugin: 汉兜 Handle [@yanyongyu ](https://github.com/yanyongyu ) ([#899](https://github.com/nonebot/nonebot2/pull/899))
2022-03-28 15:36:06 +08:00
- Plugin: 多适配器帮助函数 [@yanyongyu ](https://github.com/yanyongyu ) ([#897](https://github.com/nonebot/nonebot2/pull/897))
2022-03-25 21:19:16 +08:00
- Plugin: 语句抽象化 [@yanyongyu ](https://github.com/yanyongyu ) ([#894](https://github.com/nonebot/nonebot2/pull/894))
2022-03-25 11:44:05 +08:00
- Plugin: 快速搜索 [@yanyongyu ](https://github.com/yanyongyu ) ([#889](https://github.com/nonebot/nonebot2/pull/889))
2022-03-25 11:11:00 +08:00
- Plugin: wordle 猜单词 [@yanyongyu ](https://github.com/yanyongyu ) ([#891](https://github.com/nonebot/nonebot2/pull/891))
2022-03-25 11:03:58 +08:00
- Plugin: MediaWiki 查询 [@yanyongyu ](https://github.com/yanyongyu ) ([#886](https://github.com/nonebot/nonebot2/pull/886))
2022-03-24 10:47:44 +08:00
- Plugin: HikariSearch [@yanyongyu ](https://github.com/yanyongyu ) ([#884](https://github.com/nonebot/nonebot2/pull/884))
2022-03-23 10:43:18 +08:00
- Plugin: 第二个 leetcode 查询插件 [@yanyongyu ](https://github.com/yanyongyu ) ([#882](https://github.com/nonebot/nonebot2/pull/882))
2022-03-20 19:43:57 +08:00
- Plugin: 成分姬 [@yanyongyu ](https://github.com/yanyongyu ) ([#878](https://github.com/nonebot/nonebot2/pull/878))
2022-03-18 22:49:11 +08:00
- Plugin: Arcaea 查分插件 [@yanyongyu ](https://github.com/yanyongyu ) ([#875](https://github.com/nonebot/nonebot2/pull/875))
2022-03-17 10:57:02 +08:00
- Plugin: QQ 自动同意好友申请 [@yanyongyu ](https://github.com/yanyongyu ) ([#871](https://github.com/nonebot/nonebot2/pull/871))
2022-03-11 23:41:47 +08:00
- Plugin: 21 点游戏插件 [@yanyongyu ](https://github.com/yanyongyu ) ([#865](https://github.com/nonebot/nonebot2/pull/865))
2022-03-11 16:43:18 +08:00
- Plugin: 色图生成 [@yanyongyu ](https://github.com/yanyongyu ) ([#863](https://github.com/nonebot/nonebot2/pull/863))
2022-03-10 17:21:58 +08:00
- Plugin: bilibili 通知插件 [@yanyongyu ](https://github.com/yanyongyu ) ([#859](https://github.com/nonebot/nonebot2/pull/859))
2022-03-05 23:36:03 +08:00
- Plugin: 订阅推送管理 [@yanyongyu ](https://github.com/yanyongyu ) ([#855](https://github.com/nonebot/nonebot2/pull/855))
2022-03-03 17:44:57 +08:00
- Plugin: 动漫新闻 [@yanyongyu ](https://github.com/yanyongyu ) ([#852](https://github.com/nonebot/nonebot2/pull/852))
2022-03-02 17:48:28 +08:00
- Plugin: 游戏王卡查 [@yanyongyu ](https://github.com/yanyongyu ) ([#846](https://github.com/nonebot/nonebot2/pull/846))
2022-03-01 12:28:59 +08:00
- Plugin: 二维码识别与发送 [@yanyongyu ](https://github.com/yanyongyu ) ([#843](https://github.com/nonebot/nonebot2/pull/843))
2022-02-28 11:56:30 +08:00
- Plugin: mockingbird [@yanyongyu ](https://github.com/yanyongyu ) ([#841](https://github.com/nonebot/nonebot2/pull/841))
2022-02-27 15:36:59 +08:00
- Plugin: QQ 自动续火花 [@yanyongyu ](https://github.com/yanyongyu ) ([#839](https://github.com/nonebot/nonebot2/pull/839))
2022-02-23 15:38:38 +08:00
- Plugin: 每日一句 [@yanyongyu ](https://github.com/yanyongyu ) ([#832](https://github.com/nonebot/nonebot2/pull/832))
2022-02-21 03:17:42 +08:00
- Plugin: 原神抽卡记录分析 [@yanyongyu ](https://github.com/yanyongyu ) ([#829](https://github.com/nonebot/nonebot2/pull/829))
2022-02-20 23:18:56 +08:00
- Plugin: YetAnotherPicSearch [@yanyongyu ](https://github.com/yanyongyu ) ([#825](https://github.com/nonebot/nonebot2/pull/825))
2022-02-16 23:19:06 +08:00
- Plugin: 60s 读世界小插件 [@yanyongyu ](https://github.com/yanyongyu ) ([#810](https://github.com/nonebot/nonebot2/pull/810))
2022-02-16 14:17:33 +08:00
- Plugin: pixiv.net p 站查询图片 [@yanyongyu ](https://github.com/yanyongyu ) ([#803](https://github.com/nonebot/nonebot2/pull/803))
2022-02-16 12:05:34 +08:00
2022-05-02 13:12:14 +08:00
### 🍻 机器人发布
2022-05-20 08:45:25 +08:00
- Bot: 屑岛风 Bot [@yanyongyu ](https://github.com/yanyongyu ) ([#987](https://github.com/nonebot/nonebot2/pull/987))
2022-05-05 10:20:00 +08:00
- Bot: ShigureBot [@yanyongyu ](https://github.com/yanyongyu ) ([#959](https://github.com/nonebot/nonebot2/pull/959))
2022-05-02 13:12:14 +08:00
- Bot: Inkar Suki [@yanyongyu ](https://github.com/yanyongyu ) ([#955](https://github.com/nonebot/nonebot2/pull/955))
2022-02-15 23:39:04 +08:00
## v2.0.0-beta.2
2022-01-10 11:22:35 +08:00
- 修复 `receive` , `got` 在参数为空消息时依旧会反复询问
- 修复文档商店分页显示错误
- 修复插件导入失败时,依然存在于已导入插件列表中
- 移除 `state` 依赖注入所需的默认值 `State()`
2022-01-12 11:54:01 +08:00
- 增加 `fastapi` 配置项:是否将适配器路由包含在 schema 中
- 修改 `load_builtin_plugins` 函数,使其能够支持加载多个内置插件
- 新增 `load_builtin_plugin` 函数,用于加载单个内置插件
2022-01-30 13:21:51 +08:00
- 修改 `Message` 和 `MessageSegment` 类,完善 typing, 转移 Mapping 构建支持至 pydantic validate
2022-02-06 14:52:50 +08:00
- 调整项目结构,分离内部定义与用户接口
2022-02-06 15:24:41 +08:00
- 新增 Bot 连接事件钩子 (如 `driver.on_bot_connect` ) 的依赖注入
2022-01-10 11:22:35 +08:00
2022-02-15 23:39:04 +08:00
## v2.0.0-beta.1
2021-10-04 22:00:32 +08:00
- 新增 `MessageTemplate` 对于 `str` 普通模板的支持
2021-11-11 17:33:30 +08:00
- 移除插件加载的 `NameSpace` 模式
- 修改 toml 加载插件时的键名为 `tool.nonebot` 以符合规范
2021-11-22 23:31:03 +08:00
- 新增 Handler 依赖注入支持,同步/异步支持
2021-12-06 10:28:31 +08:00
- 统一 `Processor` , `Rule` , `Permission` , `Processor` 使用 `Handler`
- 修改内置 `Rule` , `Permission` 如 `startswith` , `command` 等使用 class 实现
- 更换文档框架 (docusaurus) 以及主题 (docusaurus-theme-nonepress)
2021-12-11 17:35:12 +08:00
- 移除 Matcher `state_factory` 支持
2021-10-04 22:00:32 +08:00
2021-08-29 00:11:52 +08:00
## v2.0.0a16
2021-10-02 15:35:15 +08:00
- 新增 `MessageTemplate` 可用于 `Message` 的模板生成
- 新增 `matcher.got` `matcher.send` `matcher.pause` `matcher.reject` `matcher.finish` 支持 `MessageTemplate`
- 移除 `matcher.got` 原本的 `state format` 支持,由 `MessageTemplate` template 替代
2021-09-11 13:45:07 +08:00
- `adapter` 基类拆分为单独文件
- 修复 `fastapi` Driver Websocket 未能正确提供请求头部
2021-10-01 23:45:47 +08:00
- 新增 `fastapi` Driver 更多的 uvicorn 相关配置项
2021-10-02 15:35:15 +08:00
- 新增 `quart` Driver 更多的 uvicorn 相关配置项
2021-10-04 22:00:32 +08:00
- 修复 `endswith` Rule 错误的正则匹配
- 修复 `cqhttp` Adapter `image` , `record` , `video` 对 `BytesIO` 不正常的读取操作
2021-08-29 00:11:52 +08:00
2021-08-12 14:01:09 +08:00
## v2.0.0a15
- 修复 `fastapi` Driver 未能正确进行 reconnect
- 修复 `MessageSegment` 错误的 Mapping 映射
2021-04-19 21:15:10 +08:00
## v2.0.0a14
- 修改日志等级,支持输出等级自定义
2021-04-19 21:51:36 +08:00
- 修复日志输出模块名错误
2021-05-10 18:42:32 +08:00
- 修改 `Matcher` 属性 `module` 类型
- 新增 `Matcher` 属性 `plugin_name` `module_name` `module_prefix`
2021-05-24 16:49:27 +08:00
- 移除 `bot.call_api` 参数 `self_id` 切换机器人支持
2021-05-31 21:49:25 +08:00
- 修复 `type_updater` `permission_updater` 未传递的错误
- 修复 `type_updater` `permission_updater` 参数 `state` 错误
2021-05-31 21:54:17 +08:00
- 修复使用 `state_factory` 后导致无法在 session 内传递 `state`
2021-08-04 13:42:21 +08:00
- 重构 `Driver` 及连接信息抽象
2021-07-23 00:51:19 +08:00
- 新增正向 Driver(Client) 支持
- 新增 `aiohttp` 正向 Driver
- `fastapi` Driver 新增正向支持
2021-04-19 21:15:10 +08:00
## v2.0.0a13.post1
2021-03-20 16:28:25 +08:00
- 分离 `handler` 与 `matcher`
- 修复 `cqhttp` secret 校验出错
- 修复 `pydantic 1.8` 导致的 `alias` 问题
2021-03-20 16:38:42 +08:00
- 修改 `cqhttp` `ding` `session id` ,不再允许跨群
2021-03-26 14:27:05 +08:00
- 修改 `shell_command` 存储 message
2021-03-31 21:20:07 +08:00
- 修复 `cqhttp` 检查 reply 失败退出
- 新增 `call_api` hook 接口
- 优化 `import hook`
2021-03-20 16:28:25 +08:00
2021-02-18 19:59:18 +08:00
## v2.0.0a11
- 修改 `nonebot` 项目结构,分离所有 `adapter`
2021-02-19 15:24:52 +08:00
- 修改插件加载逻辑,使用 `import hook` (PEP 302)
2021-03-03 16:09:37 +08:00
- 新增插件加载方式: `json` , `toml`
2021-03-01 19:24:03 +08:00
- 适配 `pydantic` ~1.8
2021-03-03 16:06:19 +08:00
- 移除 4 种内置事件类型限制,允许自定义事件类型
- 新增会话权限更新自定义,会话中断时更新权限以做到多人会话
2021-02-18 19:59:18 +08:00
## v2.0.0a10
- 新增 `Quart Driver` 支持
- 修复 `mirai` 协议适配命令处理以及消息转义
2021-01-12 17:27:23 +08:00
## v2.0.0a9
- 修复 `Message` 消息为 `None` 时的处理错误
- 修复 `Message.extract_plain_text` 返回为转义字符串的问题
- 修复命令处理错误地删除了后续空格
2021-01-16 11:47:48 +08:00
- 增加好友添加和加群请求事件 `approve` , `reject` 方法
2021-02-02 13:13:27 +08:00
- 新增 `mirai-api-http` 协议适配
- 修复 rule 运行时 state 覆盖问题,隔离 state
- 新增 `shell like command` 支持
2021-01-12 17:27:23 +08:00
2020-12-16 13:34:41 +08:00
## v2.0.0a8
2020-12-16 13:36:40 +08:00
- 修改 typing 类型注释
- 修改 event 基类接口
2020-12-22 20:14:52 +08:00
- 修复部分非法 CQ 码被识别导致报错
- 修复非 text 类型 CQ 码 data 未进行去转义
2020-12-31 20:10:26 +08:00
- 修复内置插件未进行去转义,修改内置插件为 cqhttp 定制
- 修复 `load_plugins` 加载不合法的包时出现 `spec` 为 `None` 的问题
2020-12-28 00:24:18 +08:00
- 出于**CQ 码安全性考虑**,使用 cqhttp 的 `bot.send` 或者 `matcher.send` 时默认对字符串进行转义
2020-12-31 17:58:09 +08:00
- 移动 cqhttp 相关 `Permission` 至 `nonebot.adapters.cqhttp` 包内
2020-12-16 13:34:41 +08:00
2020-11-21 20:37:44 +08:00
## v2.0.0a7
- 修复 cqhttp 检查 to me 时出现 IndexError
- 修复已失效的事件响应器仍会运行一次的 bug
- 修改 cqhttp 检查 reply 时未去除后续 at 以及空格
2020-11-21 20:40:09 +08:00
- 添加 get_plugin 获取插件函数
- 添加插件 export, require 方法
2020-12-05 01:22:28 +08:00
- **移除**内置 apscheduler 定时任务支持
- **移除**内置协议适配默认加载
2020-12-04 02:11:20 +08:00
- 新增**钉钉**协议适配
- 移除原有共享型 `MatcherGroup` 改为默认型 `MatcherGroup`
2020-11-21 20:37:44 +08:00
2020-11-18 08:48:23 +08:00
## v2.0.0a6
2020-11-18 15:05:03 +08:00
- 修复 block 失效问题 (hotfix)
2020-11-18 08:48:23 +08:00
## v2.0.0a5
- 更新插件指南文档
- 修复临时事件响应器运行后删除造成的多次响应问题