Skip to content

⬆️ Bump nonebot-plugin-alconna from 0.48.0 to 0.49.0 #367

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

Merged

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps nonebot-plugin-alconna from 0.48.0 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

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)

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jul 8, 2024
@dependabot dependabot bot force-pushed the dependabot/pip/main/nonebot-plugin-alconna-0.49.0 branch from ed8dd39 to 8e28dfa Compare July 9, 2024 15:17
@shoucandanghehe shoucandanghehe enabled auto-merge (squash) July 9, 2024 15:20
@dependabot dependabot bot force-pushed the dependabot/pip/main/nonebot-plugin-alconna-0.49.0 branch from 8e28dfa to 5765ac6 Compare July 9, 2024 15:21
Bumps [nonebot-plugin-alconna](https://github.com/nonebot/plugin-alconna) from 0.48.0 to 0.49.0.
- [Release notes](https://github.com/nonebot/plugin-alconna/releases)
- [Commits](nonebot/plugin-alconna@v0.48.0...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 force-pushed the dependabot/pip/main/nonebot-plugin-alconna-0.49.0 branch from 5765ac6 to 617b373 Compare July 9, 2024 15:24
@shoucandanghehe shoucandanghehe merged commit ec13ebc into main Jul 9, 2024
4 checks passed
@shoucandanghehe shoucandanghehe deleted the dependabot/pip/main/nonebot-plugin-alconna-0.49.0 branch July 9, 2024 15:26
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.

1 participant