Commit Graph

846 Commits

Author SHA1 Message Date
Ju4tCode
ffbd1f9aeb
🐛 Fix: 修改遗漏的过时 Pydantic 方法 (#2577) 2024-02-16 21:16:46 +08:00
student_2333
11142253fb
🐛 Fix: Message.__contains__() 未考虑 bool(MessageSegment) 存在 False 情况导致的异常结果 (#2572)
Co-authored-by: Ju4tCode <42488585+yanyongyu@users.noreply.github.com>
2024-02-12 17:53:50 +08:00
pre-commit-ci[bot]
4dae23d3bb
⬆️ auto update by pre-commit hooks (#2565)
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>
2024-02-06 12:48:23 +08:00
Ju4tCode
dace63d9d2
Feature: 添加插件 Pydantic 相关使用方法 (#2563) 2024-02-05 14:00:49 +08:00
Ju4tCode
bbd13c04cc
Feature: 兼容 Pydantic v2 (#2544)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-01-26 11:12:57 +08:00
Ju4tCode
2c6affecea
🐛 Fix: websockets 驱动器连接关闭 code 获取错误 (#2537) 2024-01-17 16:39:35 +08:00
Ju4tCode
1153c5ff17
Feature: 使用自定义配置加载替代 pydantic-settings (#2521)
Co-authored-by: uy/sun <hmy0119@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-01-15 13:24:55 +08:00
Ju4tCode
6b1e34da63
🐛 Fix: 修复 echo 发送空消息 (#2525) 2024-01-14 14:49:05 +08:00
Bryan不可思议
5a6f4b9e1c
Feature: 带参数的 RegexStr() (#2499) 2024-01-11 11:52:07 +08:00
Johnny Hsieh
b65b3b438c
🐛 Fix: MessageTemplate 禁止访问私有属性 (#2509)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-01-04 11:11:37 +08:00
Bryan不可思议
8f3f385cb6
🐛 Fix: 新增 Lifespan._on_ready() 供适配器使用 (#2483)
Co-authored-by: Ju4tCode <42488585+yanyongyu@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-12-10 18:12:10 +08:00
Ju4tCode
50c03b0675
🚨 make pyright happy (#2486) 2023-12-08 15:03:59 +08:00
student_2333
addabd6396
📝 Docs: 修复事件后处理函数类型 docstring 错误 (#2459) 2023-11-20 10:21:10 +08:00
Ju4tCode
9305fe7875
🐛 修复依赖注入对 Literal 检查报错 (#2433) 2023-10-27 23:09:32 +08:00
RainEggplant
97a57c2f6e
Feature: 添加多消息段命令解析支持 (#2419)
Co-authored-by: Ju4tCode <42488585+yanyongyu@users.noreply.github.com>
2023-10-18 15:55:09 +08:00
Ju4tCode
842c6ff4c6
📝 Docs: 升级新版 NonePress 主题 (#2375) 2023-09-27 16:00:26 +08:00
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