Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): bump nonebot-plugin-alconna from 0.45.4 to 0.49.0 #21

Closed

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 8, 2024

Bumps nonebot-plugin-alconna from 0.45.4 to 0.49.0.

Release notes

Sourced from nonebot-plugin-alconna's releases.

Nonebot Plugin Alconna 0.49.0

新增

  • UniMessage 新增 export_sync 方法,用来同步形式调用 .export 方法
from nonebot_plugin_alconna import UniMessage
msg = UniMessage.at("123").text("hello").export_sync(adapter="OneBot V11")

  • 新增配置项 ALCONNA_BUILTIN_PLUGINS, 用来在配置项中声明要加载的内置插件
  • echo 插件增加配置项 NBP_ALC_ECHO_TOME
  • help 插件增加配置项 NBP_ALC_HELP_TEXT, NBP_ALC_HELP_ALIAS
  • help 插件新增命名空间的相关功能(列出,筛选)
  • Command 构造器增加 .namespace

改进

  • MusicShare.brief 字段改名为 .summary
  • TelegramSlashExtension 现在会检查 command 参数是否符合 tg 标准
  • context 中增加 bot.self_id, bot.platformadapter.name 三项
  • UniMessage.export 增加 adapter 参数表示指定适配器,并将 bot 参数设为严格可选
  • select 方法现在返回一个自定义的 SelectPattern, 其上有 .nth(), .first, .last, .from_() 四个方法/属性
from nonebot_plugin_alconna import Image, Video, select
img = select(Image).first
img_in_video = select(Image).from_(Video).nth(1)

Full Changelog: nonebot/plugin-alconna@v0.48.0...v0.49.0

Nonebot Plugin Alconna 0.48.0

新增

  • AlconnaMatcher.test 方法,其用来在 startup 阶段测试 alc 对象的可用性。
matcher = on_alconna(...)
matcher.test("command bar", {"foo": "bar"})
  • builtins.uniseg.MusicShare, 对应qq下的音乐分享元素

改进

Full Changelog: nonebot/plugin-alconna@v0.47.2...v0.48.0

Nonebot Plugin Alconna 0.47.2

新增

  • at_meat_in 两个 Rule,分别表示消息是否at了bot自己,是否at了指定目标(暂时不考虑尾部at)

... (truncated)

Commits
  • 968480a 🐛 fix version 0.49.0
  • 4ed151c 🔖 version 0.49.0
  • 4839746 ✨ optional bot for UniMessage.export
  • 73d80f1Command.namespace
  • 6927aed ⬆️ upgrade
  • 604b522 🐛 add limited in TelegramSlashExtension
  • 169dbde ✨ namespace for plugin help
  • a01b3c6 ✏️ change MusicShare.brief to .summary
  • b39a80e ⬆️ auto update by pre-commit hooks (#56)
  • 9cee136 ✨ load builtins plugins from env
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [nonebot-plugin-alconna](https://github.com/nonebot/plugin-alconna) from 0.45.4 to 0.49.0.
- [Release notes](https://github.com/nonebot/plugin-alconna/releases)
- [Commits](nonebot/plugin-alconna@v0.45.4...v0.49.0)

---
updated-dependencies:
- dependency-name: nonebot-plugin-alconna
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jul 8, 2024
Copy link
Contributor Author

dependabot bot commented on behalf of github Jul 22, 2024

Superseded by #24.

@dependabot dependabot bot closed this Jul 22, 2024
@dependabot dependabot bot deleted the dependabot/pip/master/nonebot-plugin-alconna-0.49.0 branch July 22, 2024 20:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants