he0119 / CoolQBot

基于 NoneBot2 的聊天机器人
MIT License
89 stars 22 forks source link

chore(deps): update all non-major dependencies #606

Closed renovate[bot] closed 3 months ago

renovate[bot] commented 3 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
nonebot-plugin-alconna >=0.50.3 -> >=0.51.3 age adoption passing confidence
nonebot-plugin-memes ==0.6.2 -> ==0.7.3 age adoption passing confidence
nonebot-plugin-orm >=0.7.5 -> >=0.7.6 age adoption passing confidence
nonebot-plugin-user (changelog) >=0.3.0 -> >=0.4.0 age adoption passing confidence

Release Notes

nonebot/plugin-alconna (nonebot-plugin-alconna) ### [`v0.51.3`](https://togithub.com/nonebot/plugin-alconna/releases/tag/v0.51.3): Nonebot Plugin Alconna 0.51.3 [Compare Source](https://togithub.com/nonebot/plugin-alconna/compare/v0.51.2...v0.51.3) - 修复在 `auto_send` 未设置时,触发了输出信息的解析结果被正常执行的问题 - 调整 `auto_send` 为 True **Full Changelog**: https://github.com/nonebot/plugin-alconna/compare/v0.51.2...v0.51.3 ### [`v0.51.2`](https://togithub.com/nonebot/plugin-alconna/releases/tag/v0.51.2): Nonebot Plugin Alconna 0.51.2 [Compare Source](https://togithub.com/nonebot/plugin-alconna/compare/v0.51.1...v0.51.2) #### 改进 - 支持在QQ适配器,群聊/私聊场景下的撤回操作 by [@​Decrabbityyy](https://togithub.com/Decrabbityyy) in [https://github.com/nonebot/plugin-alconna/pull/66](https://togithub.com/nonebot/plugin-alconna/pull/66) #### 修复 - 修复 `got_path` 下无法直接用 `参数名: 类型` 注入的问题 - 修复在 Onebot V11 适配器下合并转发的发送问题 - Fix InteractionCreateEvent send message by [@​Decrabbityyy](https://togithub.com/Decrabbityyy) in [https://github.com/nonebot/plugin-alconna/pull/68](https://togithub.com/nonebot/plugin-alconna/pull/68) #### New Contributors - [@​Decrabbityyy](https://togithub.com/Decrabbityyy) made their first contribution in [https://github.com/nonebot/plugin-alconna/pull/66](https://togithub.com/nonebot/plugin-alconna/pull/66) **Full Changelog**: https://github.com/nonebot/plugin-alconna/compare/v0.51.1...v0.51.2 ### [`v0.51.1`](https://togithub.com/nonebot/plugin-alconna/releases/tag/v0.51.1): Nonebot Plugin Alconna 0.51.1 [Compare Source](https://togithub.com/nonebot/plugin-alconna/compare/v0.51.0...v0.51.1) - 修复 `UniMessage.dump` 未能递归地处理 Media.raw 的问题 - `.dump` 的 `media_save_dir` 参数更新功能: - 若 media_save_dir 为 False,则不会保存媒体文件。 - 若 media_save_dir 为 True,则会将文件数据转为 base64 编码。 - 若不指定 media_save_dir,则会尝试导入 `nonebot_plugin_localstore` 并使用其提供的路径。 - 否则,将会尝试使用当前工作目录。 ### [`v0.51.0`](https://togithub.com/nonebot/plugin-alconna/releases/tag/v0.51.0): Nonebot Plugin Alconna 0.51.0 [Compare Source](https://togithub.com/nonebot/plugin-alconna/compare/v0.50.3...v0.51.0) #### 新增 - `FallbackStrategy.auto` 策略,会根据执行每个元素的情况执行最佳的回退策略 - `UniMessage` 的序列化&反序列化方法 `.load` 和 `.dump`,用于持久化消息 - `dump` 将消息序列化为 JSON 格式;若不指定 media_save_dir,则会尝试导入 `nonebot_plugin_localstore` 并使用其提供的路径。 否则,将会尝试使用当前工作目录。 - `load 从 JSON 数据加载消息` - `command_from_json/yaml` 和 `commands_from_json/yaml` 函数,用于从 JSON/YAML 文件中加载 Command 对象: ```python from nonebot_plugin_alconna import command_from_yaml cmd = command_from_yaml("foo.yml").build(...) ``` foo.yml: ```yml command: foo help: 测试 usage: foo shortcuts: - key: 测试 args: ["123"] actions: - params: ["bar"] code: | return f"hello, {bar}" ``` - 内置插件 `with`,用于在当前群组场景内设置一个局部命令前缀。对于包含多个子命令的指令,该插件可以使得此指令进行更加便捷的调用: ![image](https://togithub.com/user-attachments/assets/de60eefb-0cde-4c74-aecd-866214b4acf1) #### 改进 - `Text.color` 支持了更多的颜色 - `on_alconna` 中的配置项参数 (例如 `use_cmd_start`) 现在为 `bool | None` 类型: - 只有在类型为 None/ 不声明参数时,会跟随全局配置 #### 修复 - :bug: add type annotation for `image_fetch` by [@​lgc2333](https://togithub.com/lgc2333) in [https://github.com/nonebot/plugin-alconna/pull/61](https://togithub.com/nonebot/plugin-alconna/pull/61) - :bug: version 0.50.3 by [@​RF-Tar-Railt](https://togithub.com/RF-Tar-Railt) in [https://github.com/nonebot/plugin-alconna/pull/63](https://togithub.com/nonebot/plugin-alconna/pull/63) #### New Contributors - [@​RF-Tar-Railt](https://togithub.com/RF-Tar-Railt) made their first contribution in [https://github.com/nonebot/plugin-alconna/pull/63](https://togithub.com/nonebot/plugin-alconna/pull/63) **Full Changelog**: https://github.com/nonebot/plugin-alconna/compare/v0.50.3...v0.51.0
noneplugin/nonebot-plugin-memes (nonebot-plugin-memes) ### [`v0.7.3`](https://togithub.com/noneplugin/nonebot-plugin-memes/releases/tag/v0.7.3) [Compare Source](https://togithub.com/noneplugin/nonebot-plugin-memes/compare/v0.7.2...v0.7.3) #### What's Changed - 表情调用频率的计算方式调整为全局 **Full Changelog**: https://github.com/noneplugin/nonebot-plugin-memes/compare/v0.7.2...v0.7.3 ### [`v0.7.2`](https://togithub.com/noneplugin/nonebot-plugin-memes/releases/tag/v0.7.2) [Compare Source](https://togithub.com/noneplugin/nonebot-plugin-memes/compare/v0.7.1...v0.7.2) #### What's Changed - 使用数据库记录表情包制作记录 - 根据表情调用频率在列表图片添加 "hot" 图标 **Full Changelog**: https://github.com/noneplugin/nonebot-plugin-memes/compare/v0.7.1...v0.7.2 ### [`v0.7.1`](https://togithub.com/noneplugin/nonebot-plugin-memes/releases/tag/v0.7.1) [Compare Source](https://togithub.com/noneplugin/nonebot-plugin-memes/compare/v0.7.0...v0.7.1) #### What's Changed - 修复输入多段文字时的解析问题 - 部分指令补上 `use_cmd_start` 选项 **Full Changelog**: https://github.com/noneplugin/nonebot-plugin-memes/compare/v0.7.0...v0.7.1 ### [`v0.7.0`](https://togithub.com/noneplugin/nonebot-plugin-memes/releases/tag/v0.7.0) [Compare Source](https://togithub.com/noneplugin/nonebot-plugin-memes/compare/v0.6.2...v0.7.0) #### What's Changed - 适配新版 `meme-generator` - 使用 [nonebot-plugin-alconna](https://togithub.com/nonebot/plugin-alconna) 插件定义 `matcher`、选项、快捷指令等 - 添加 “表情搜索” 功能,根据表情标签查找相关表情 - 移除 `memes_command_start` 和 `memes_command_force_whitespace` 配置项 - 新增 `memes_list_image_config` 配置项 **Full Changelog**: https://github.com/noneplugin/nonebot-plugin-memes/compare/v0.6.2...v0.7.0
nonebot/plugin-orm (nonebot-plugin-orm) ### [`v0.7.6`](https://togithub.com/nonebot/plugin-orm/releases/tag/v0.7.6): 🔖 Release 0.7.6 [Compare Source](https://togithub.com/nonebot/plugin-orm/compare/v0.7.5...v0.7.6) #### What's Changed - [🐛 fix(alembic): default version_path and branch_label of revision](https://togithub.com/nonebot/plugin-orm/commit/12bc809684d71407a786593ceea6f100d7781026) - :arrow_up: auto update by pre-commit hooks by [@​pre-commit-ci](https://togithub.com/pre-commit-ci) in [https://github.com/nonebot/plugin-orm/pull/17](https://togithub.com/nonebot/plugin-orm/pull/17) **Full Changelog**: https://github.com/nonebot/plugin-orm/compare/v0.7.5...v0.7.6
he0119/nonebot-plugin-user (nonebot-plugin-user) ### [`v0.4.0`](https://togithub.com/he0119/nonebot-plugin-user/blob/HEAD/CHANGELOG.md#040---2024-08-07) [Compare Source](https://togithub.com/he0119/nonebot-plugin-user/compare/v0.3.0...v0.4.0) ##### Fixed - 修复用户创建日期的时区问题 ##### Changed - 事件响应器现在将阻断事件的传播 - 使用自带 typing 的 expiringdictx

Configuration

📅 Schedule: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.



This PR was generated by Mend Renovate. View the repository job log.

codecov[bot] commented 3 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 81.56%. Comparing base (ad6eb01) to head (cade925).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #606 +/- ## ======================================= Coverage 81.56% 81.56% ======================================= Files 65 65 Lines 2587 2587 ======================================= Hits 2110 2110 Misses 477 477 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.