Commit Graph

830 Commits

Author SHA1 Message Date
Ailitonia
60e0752f1a
🐛 Fix: bot.call_api 在被 called api hook mock 后应该忽略 exception (#2374)
Co-authored-by: Ju4tCode <42488585+yanyongyu@users.noreply.github.com>
2023-09-25 11:02:50 +08:00
Bryan不可思议
7aaa66c8ba
Feature: 优先使用 Annotated 的最后一个子依赖 (#2360)
Co-authored-by: Ju4tCode <42488585+yanyongyu@users.noreply.github.com>
2023-09-14 00:14:45 +08:00
Akirami
dc6c194701
Feature: 优化检查事件响应器的日志 (#2355)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-09-12 15:13:35 +08:00
Akirami
ae8ba9f55d
📝 Docs: 更新 get_asgi 函数的文档字符串 (#2359) 2023-09-12 14:31:41 +08:00
Tarrailt
fd126ae154
Feature: 为 Matcher.HANDLER_PARAM_TYPES 补增类型 (#2352)
Co-authored-by: Ju4tCode <42488585+yanyongyu@users.noreply.github.com>
2023-09-09 20:58:50 +08:00
Ju4tCode
c4716e3e17
Feature: 为事件响应器添加更多源码信息 (#2351) 2023-09-09 13:46:09 +08:00
Akirami
81cb356503
📝 Feature: 补充依赖注入部分情况下类型错误时的日志提示 (#2343) 2023-09-05 00:17:55 +08:00
Ju4tCode
44b89d13f8
🚨 fix ruff error (#2338) 2023-09-03 13:39:26 +08:00
Ju4tCode
f59271bd47
Feature: 支持子依赖定义 Pydantic 类型校验 (#2310) 2023-08-29 18:45:12 +08:00
Ju4tCode
2e635370bb
Feature: 细化 driver 职责类型 (#2296) 2023-08-26 11:03:24 +08:00
eya46
2e8230e9f4
🐛 Fix: 设置 file request 默认 filename (#2284)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Ju4tCode <42488585+yanyongyu@users.noreply.github.com>
2023-08-23 14:14:07 +08:00
Ju4tCode
9c4ca28d61
🚨 make linter happy (#2286) 2023-08-18 19:07:35 +08:00
Ju4tCode
cb9fcae64c
🧑‍💻 Develop: 添加 Pyright 检查 (#2194) 2023-07-17 20:42:15 +08:00
Ju4tCode
6dc87a9455
use typing.override instead (#2193) 2023-07-17 15:56:27 +08:00
Ju4tCode
e167865686
🐛 fix quart context error (#2192) 2023-07-17 15:01:21 +08:00
eya46
94a6067a4b
Feature: 补充响应器组属性 (#2154)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-07-06 15:18:08 +08:00
eya46
0033d7c686
🐛 Fix: 修复 dotenv 配置项为 None 将会跳过赋值 (#2143)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Ju4tCode <42488585+yanyongyu@users.noreply.github.com>
2023-07-04 10:45:55 +08:00
eya46
c1b1742b20
Feature: CommandGroup 支持命令别名添加前缀选项 (#2134)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-07-01 15:40:30 +08:00
worldmozara
c03ff4e676
Feature: 添加用于动态继承支持适配器数据的方法 (#2127) 2023-06-27 16:25:27 +08:00
eya46
8de25447b3
🐛 Fix: 修复 ArgParam 不支持 Annotated (#2124)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-06-24 19:18:24 +08:00
Ju4tCode
3d5dd5969c
🚨 Develop: 添加 ruff linter (#2114) 2023-06-24 14:47:35 +08:00
Ju4tCode
e00890033e
add plugin metadata to builtin plugins (#2113) 2023-06-20 13:50:05 +08:00
Ju4tCode
f6b0809e5f
Feature: 依赖注入支持 Generic TypeVar 和 Matcher 重载 (#2089) 2023-06-11 15:33:33 +08:00
Jigsaw
324277091c
🐛 Fix: aiohttp 请求时 data 和 file 不能同时存在 (#2088) 2023-06-11 14:59:05 +08:00
DiheChen
491855876b
🐛 Fix: 修复因 loguru 更新导致的启动和关闭日志 name 不正常 (#2080)
Co-authored-by: Ju4tCode <42488585+yanyongyu@users.noreply.github.com>
2023-06-03 22:45:46 +08:00
Ju4tCode
f3d5c1f226
🔖 Release: v2.0.0 (#2070) 2023-06-01 14:18:16 +08:00
Ju4tCode
f52abc8314
Feature: 优化事件分发方法 (#2067) 2023-05-30 15:20:31 +08:00
Ju4tCode
2cfc20c143
🐛 fix require new plugin context error (#2040) 2023-05-22 00:00:50 +08:00
Ju4tCode
aa48299d5d
improve dependency injection params (#2034) 2023-05-21 16:01:55 +08:00
Ju4tCode
9616b4c0ca
Feature: 添加插件元数据字段 type homepage supported_adapters (#2012) 2023-05-18 16:00:10 +08:00
Ju4tCode
dc2c5e3c80
🐛 fix command whitespace if no arg (#1975) 2023-05-04 14:25:09 +08:00
synodriver
72b798f7ae
🐛 Fix: run_sync 上下文 (#1968) 2023-05-03 15:37:53 +08:00
Ju4tCode
93b79ddcb3
Feature: 支持 re.Match 依赖注入 (#1950) 2023-04-27 21:58:56 +08:00
Ju4tCode
6691f6ef70
support exit none driver (#1951) 2023-04-27 17:26:59 +08:00
Ju4tCode
565aba61dc
🐛 Fix: shell command 包含富文本时报错信息出错 (#1923) 2023-04-14 16:26:54 +08:00
Ju4tCode
1817102a7c
Feature: 为消息类添加 has join include exclude 方法 (#1895) 2023-04-04 21:42:01 +08:00
Akirami
283560daa7
Feature: 公开自定义 on 函数所需的函数 (#1856)
Co-authored-by: Ju4tCode <42488585+yanyongyu@users.noreply.github.com>
2023-03-29 23:09:33 +08:00
Ju4tCode
9f707469da
fix test coverage condition (#1862) 2023-03-29 19:00:25 +08:00
Ju4tCode
a8a76393a5
Feature: 重构驱动器 lifespan 方法 (#1860) 2023-03-29 15:59:54 +08:00
Ju4tCode
2a2f7b6dce
🐛 detect runtime plugin (#1857) 2023-03-29 12:22:50 +08:00
Ju4tCode
1213e89bf5
add coverage condition annotation (#1858) 2023-03-29 11:57:33 +08:00
Ju4tCode
8fbc85cf50
🐛 fix matcher create missing block (#1859) 2023-03-29 10:38:39 +08:00
uy/sun
8bb92309d5
📝 Docs: 更新指向文档的链接 (#1841) 2023-03-25 10:58:03 +08:00
uy/sun
00686380b8
Feature: 在 Windows 上处理 SIGBREAK 信号 (#1836) 2023-03-24 11:47:02 +08:00
Johnny Hsieh
3e92fccd4e
Feature: 为子依赖添加 PEP593 Annotated 支持 (#1832)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-03-22 20:54:46 +08:00
Ju4tCode
78bbf9e623
🐛 Fix: 修复 bot hook 缺少依赖缓存和上下文管理 (#1826) 2023-03-20 22:37:57 +08:00
Ju4tCode
ba808c85d5
improve user permission accessibility (#1825) 2023-03-20 12:39:17 +08:00
Ju4tCode
36e99bc3ea
Feature: 移除内置响应规则事件类型限制 (#1824) 2023-03-19 15:45:32 +08:00
Ju4tCode
8f44df371a
allow using matcher subclass (#1815) 2023-03-17 15:48:48 +08:00
Ju4tCode
3462295562
🐛 fix missing cache in session updater (#1807) 2023-03-16 15:51:48 +08:00