Commit Graph

231 Commits

Author SHA1 Message Date
Ju4tCode
081dc8352d
🚨 Develop: 完全使用 ruff 替代 isort 与 black (#3151) 2024-12-01 12:31:11 +08:00
Ju4tCode
e3cb4c7907
🐛 Fix: 修复结构化并发子依赖取消缓存问题 (#3084) 2024-10-29 14:22:41 +08:00
Ju4tCode
ff21ceb946
Feature: 迁移至结构化并发框架 AnyIO (#3053) 2024-10-26 15:36:01 +08:00
Ju4tCode
b59b1be6ff
Feature: 优化依赖注入在 pydantic v2 下的性能 (#2870) 2024-08-11 15:15:59 +08:00
Ju4tCode
c97a780645
Feature: 添加遗漏的类型标注 (#2856) 2024-08-06 14:19:17 +08:00
Ju4tCode
723fa4b3d8
🐛 Fix: State ForwardRef 检测错误 (#2698) 2024-05-09 15:08:49 +08:00
Ju4tCode
6bf10aafb7
Feature: 嵌套插件名称作用域优化 (#2665) 2024-04-20 14:47:12 +08:00
Azide
f5f5d93b64
🐛 Bug: inherit_supported_adapters 在展开缩写前取交集 (#2654)
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>
2024-04-18 18:50:11 +08:00
Ju4tCode
4a02dde83f
💥 Remove: 移除 Python 3.8 支持 (#2641) 2024-04-16 00:33:48 +08:00
Ju4tCode
9b4b1526b1
🐛 Bug: 添加 HTTP 客户端会话上下文检查 (#2632) 2024-04-08 20:17:03 +08:00
Ju4tCode
485aa62755
Feature: 支持 HTTP 客户端会话 (#2627) 2024-04-05 21:11:05 +08:00
uy/sun
9ff7f4baba
🧑‍💻 Develop: 添加 ruff RUF 规则 (#2598)
Co-authored-by: Ju4tCode <42488585+yanyongyu@users.noreply.github.com>
2024-03-07 14:57:26 +08:00
MingxuanGame
a830346545
Feature: 优化 pydantic 兼容函数 model_dumptype_validate_json (#2579)
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>
2024-02-17 23:18:00 +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
Ju4tCode
d3c26a1548
🔖 bump version 2.1.3 (#2498) 2023-12-25 11:51:10 +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
af6cc63db2
⬆️ upgrade pytest-asyncio and fix test (#2436) 2023-10-31 17:26:06 +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
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
Ju4tCode
c4716e3e17
Feature: 为事件响应器添加更多源码信息 (#2351) 2023-09-09 13:46:09 +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
e167865686
🐛 fix quart context error (#2192) 2023-07-17 15:01:21 +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
080b876d93
👷 Test: 移除 httpbin 并整理测试 (#2110) 2023-06-19 17:48:59 +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
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
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
Ju4tCode
93b79ddcb3
Feature: 支持 re.Match 依赖注入 (#1950) 2023-04-27 21:58:56 +08:00
Ju4tCode
565aba61dc
🐛 Fix: shell command 包含富文本时报错信息出错 (#1923) 2023-04-14 16:26:54 +08:00