he0119 / nonebot-plugin-wordcloud

适用于 NoneBot2 的词云插件
https://pypi.org/project/nonebot-plugin-wordcloud/
MIT License
86 stars 7 forks source link

chore(deps): bump the production-dependencies group with 2 updates #276

Closed dependabot[bot] closed 5 months ago

dependabot[bot] commented 6 months ago

Bumps the production-dependencies group with 2 updates: nonebot-plugin-alconna and emoji.

Updates nonebot-plugin-alconna from 0.38.0 to 0.42.3

Release notes

Sourced from nonebot-plugin-alconna's releases.

Nonebot Plugin Alconna 0.42.3

  • 修复未增加 onebot12 target fetcher 的问题
  • 去掉 Target 的 dataclass 以避免 pyd 的加料

Full Changelog: https://github.com/nonebot/plugin-alconna/compare/v0.42.2...v0.42.3

Nonebot Plugin Alconna 0.42.2

  • Target.dump 增加 only_scope 参数,设为 True则不保存 adapter 信息
  • SupportScope 新增 onebot12_othersatori_other
  • MsgTarget 等获取的 target 会携带 scope 信息

Full Changelog: https://github.com/nonebot/plugin-alconna/compare/v0.42.1...v0.42.2

Nonebot Plugin Alconna 0.42.1

  • Target 的 selector 与 从 scope 获得的 selector 现在是独立的(即二者会组合)
  • 新增 apply_fetch_targets,调用后会在 nonebot 启动后为每个 bot 运行一次发送对象列表拉取
  • Target 的 selector 的默认函数现在为从拉取到的对象列表中判断是否符合
  • 新增配置项 alconna_apply_fetch_targets,控制是否启动时拉取一次发送对象列表
  • Target 增加 dump, load 方法,用来存储与读取

附1:target 上 adapter,scope等的优先级为 adapter & platform > scope > selector 附2:自定义 selector:

async def is_friend(target: Target, bot: Bot):
    if not target.private:
        return False
    friends = await bot.get_friend_list()
    return target.id in [friend["user_id"] for friend in friends]

user_target = Target("123", private=True, selector=is_friend, adapter=SupportAdapter.onebot11)

Full Changelog: https://github.com/nonebot/plugin-alconna/compare/v0.42.0...v0.42.1

Nonebot Plugin Alconna 0.42.0

What's Changed

  • Target 新增属性 selector, scopeplatform,原 platform 字段改为 adapter selector 负责从 bots 中选择符合条件的具体 Bot 实例,scope 可以选择插件内置的 selectoradapterplatform 用于先验条件:
      from nonebot_plugin_alconna import Target, UniMessage, SupportAdapter, SupportScope
    

    async def (): # 所有属于 qq协议端 的适配器下的 bot 都是可选择的,在无更多条件时随机挑选 receipt = await Target.group("123456789", SupportScope.qq_client).send(UniMessage.image(path="test.png")) # receipt 会使用上次选择的 bot await receipt.send(...) # 此时仅选择 QQ 适配器的 bot await Target.channel("123456789", SupportScope.qq_api, SupportAdapter.qq).send(UniMessage.image(path="test.png")) # 此时在 Satori 适配器下选择 platform 参数在 ["chronocat", "lark", "wecom"] 中的 bot await Target("123456789", adapter=SupportAdapter.satori, platform={"chronocat", "lark", "wecom"}).send(UniMessage.image(path="test.png"))

... (truncated)

Commits


Updates emoji from 2.10.1 to 2.11.0

Release notes

Sourced from emoji's releases.

v2.11.0

  • Update to Unicode v15.1
Changelog

Sourced from emoji's changelog.

v2.11.0 (2024-03-26)

  • Update to Unicode v15.1
Commits
  • ceddc11 Update init.py
  • f9be362 Update CHANGES.md
  • 75bee45 Merge pull request #284 from cvzi/unicode15-1
  • 3fb2d13 Copy translations from fully_qualified to minimally_qualified and vice versa
  • 7cd8262 Add :Turkey: as an alias of 🇹🇷
  • 87a977b Update dependencies
  • 778dc33 Compress dictionary
  • 69d9229 Update dictionary
  • c69374a Update utility to unicode 15.1 and CLDR 44-1
  • b60e5ef Revert compressing dict
  • See full diff in compare view


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 ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
dependabot[bot] commented 5 months ago

Superseded by #279.