Skip to content

Releases: nonebot/nonebot2

Release v2.0.0-RCNB.1 🌈🐮🍺

02 Oct 08:06

Choose a tag to compare

💥 破坏性变更

🚀 新功能

🐛 Bug 修复

  • Fix: 内置规则和权限没有捕获错误 @yanyongyu (#1291)
  • Fix: 修复 User 会话权限更新嵌套问题 @yanyongyu (#1208)
  • Fix: 修复当消息与不支持的类型相加时抛出的异常类型错误 @mnixry (#1166)

💫 杂项

🍻 插件发布

🍻 机器人发布

🍻 适配器发布

Release v2.0.0-beta.5 🌈💑

04 Aug 06:28

Choose a tag to compare

🚀 新功能

🐛 Bug 修复

📝 文档

💫 杂项

🍻 插件发布

🍻 机器人发布

Release v2.0.0-beta.4 🌈👨🏻

20 Jun 11:43

Choose a tag to compare

🚀 新功能

🐛 Bug 修复

  • Fix: 修复 MessageSegment 在有额外数据时报错 @yanyongyu (#1055)
  • Fix: 修复环境变量无法覆盖 dotenv 内配置项值 @yanyongyu (#1052)
  • Fix: 修复依赖注入 bot event 参数 union 校验失败 @yanyongyu (#1001)

📝 文档

🍻 插件发布

🍻 机器人发布

🍻 适配器发布

Release v2.0.0-beta.3 🌈🌹💗

20 May 10:22

Choose a tag to compare

💥 破坏性变更

  • Fix: 添加 export 方法 Deprecation 警告 @yanyongyu (#983)
  • Feature: 支持 WebSocket 连接同时获取 str 或 bytes @yanyongyu (#962)

🚀 新功能

  • Feature: 支持 WebSocket 连接同时获取 str 或 bytes @yanyongyu (#962)
  • Feature: 添加 CommandStart 依赖注入参数 @MeetWq (#915)
  • Feature: 添加 Rule, Permission 反向位运算支持 @yanyongyu (#872)
  • Feature: 新增文本完整匹配规则 @A-kirami (#797)

🐛 Bug 修复

  • Fix: 修复依赖注入默认值参数在 __eq__ 被重写时报错的问题 @yanyongyu (#971)
  • Fix: 修复MessageTemplate在没有格式化说明符时行为不正确的问题 @mnixry (#947)
  • Fix: Bot Hook 没有捕获跳过异常 @yanyongyu (#905)
  • Fix: 修复部分事件响应器参数类型中冗余的 Optional @A-kirami (#904)
  • Fix: 修复 event 类型检查会对类型进行自动转换 @yanyongyu (#876)
  • Fix: 修复 on_fullmatch 返回类型错误 @yanyongyu (#815)
  • Fix: 修复 DataclassEncoder 嵌套 encode 的问题 @AkiraXie (#812)

📝 文档

💫 杂项

🍻 插件发布

Read more

Release v2.0.0-beta.2 🌈🌹🏮

14 Feb 16:29

Choose a tag to compare

Documentation

See: https://v2.nonebot.dev

💫 Changes

💥 Breaking Changes

🚀 Features

  • Feature: refactor and support bot connection hook @yanyongyu (#771)
  • Feature: Advanced message slice support @mnixry (#705)
  • 从 Fastapi 的文档中排除驱动器的 HTTP 上报地址 @A-kirami (#673)

🐛 Bug Fixes

📝 Documentation

🍻 Plugin Publish

🍻 Bot Publish

🍻 Adapter Publish

Release v2.0.0-beta.1 🌈

08 Jan 09:52

Choose a tag to compare

Documentation

See: https://v2.nonebot.dev

💫 Changes

💥 Breaking Changes

🚀 Features

  • Support user-defined format spec for message template @mnixry (#645)
  • ✨ Compatible with cross-platform superusers @j1g5awi (#642)
  • Feature: Handler Dependency Injection @yanyongyu (#588)
  • Feature: remove namespace @yanyongyu (#587)
  • Feature: template support raw string @yanyongyu (#557)
  • Feature: support use MessageSegment factory method as message template format spec @mnixry (#555)

🐛 Bug Fixes

🍻 Plugin Publish

🍻 Bot Publish

Pre Release v2.0.0a16 🌈

02 Oct 12:37
cfd992b

Choose a tag to compare

Pre-release

Documentation

See: https://v2.nonebot.dev

💫 Changes

🚀 Features

  • Feature: Add support for mirai adapter NudgeEvent @mnixry (#546)
  • Feature: support use Message object as message template @mnixry (#545)
  • 完善飞书相关文档和部分事件Model @StarHeartHunt (#536)
  • Feature: str.format like message formatting support @mnixry (#510)
  • 添加设置项,使得可以切换飞书和Lark API地址 @mri-moe (#495)

🐛 Bug Fixes

🍻 Plugin Publish

🍻 Bot Publish

Pre Release v2.0.0a15 🌈

12 Aug 16:40
c4e3309

Choose a tag to compare

Pre-release

Documentation

See: https://v2.nonebot.dev

💫 Changes

🚀 Features

  • feature: mirai multiple accounts support @mnixry (#492)

🐛 Bug Fixes

  • bugfix: catch setup factory exception @mnixry (#491)
  • Bugfix: remove mirai session expiry @mnixry (#489)
  • Fix log tag escape error in event.get_description in mirai adapter @mnixry (#471)

🍻 Plugin Publish

🍻 Bot Publish

Pre Release v2.0.0a14 🌈

04 Aug 06:10
832875e

Choose a tag to compare

Pre-release

Documentation

See: https://v2.nonebot.dev

💫 Changes

💥 Breaking Changes

🚀 Features

🐛 Bug Fixes

  • 修复由于 quart.exception在新版Quart被移除导致import出错 @mnixry (#452)
  • 修复mirai adapter中上传相关api操作报错 @mnixry (#430)
  • 修复shell_command多次--help时重复输出 @rmuchan (#410)
  • 修复Mirai加群通过时报错 @mnixry (#407)
  • Fix: log module name error @yanyongyu (#334)

🍻 Plugin Publish

🍻 Bot Publish

🍻 Adapter Publish

Pre Release v2.0.0a13.post1 🌈

01 Apr 17:46
916d620

Choose a tag to compare

Pre-release

Documentation

See: https://v2.nonebot.dev

💫 Changes

💥 Breaking Changes

  • 统一adapters中MessageEvent get_session_id方法返回的内容 @Reverier-Xu (#276)

🚀 Features

🐛 Bug Fixes

  • Fix: matcher got recursion @yanyongyu (#309)
  • 修复单独被@报错问题,以及使机器人可以判断出在消息任意位置的@信息 @SinonJZH (#300)
  • Fix: exclude all __init__.py in adapter packaging @yanyongyu (#262)
  • Fix: fix adapter override namespace file @yanyongyu (#261)

🍻 Plugin Publish

🍻 Bot Publish