Skip to content

Koishi 1.7.0

Compare
Choose a tag to compare
@shigma shigma released this 27 Jan 04:10
· 3782 commits to master since this release

Features

  • cli: 输出日志时会显示 scope (a245fa3)
  • core: before-user, before-group, attach 三个事件将在对应的上下文触发 (658944a)
  • plugin-common: registerUserInfo() 支持传入第三个参数 (7119a58)
  • plugin-common: 新增 contextify --member 选项 (7eb6d20)
  • plugin-nlp: 使用 meta.$parsed.message 取代 meta.message (5d4d7fe)
  • plugin-nlp: cmd.intend() 将返回 this 以便链式调用 (8036e02)

Bug Fixes

  • core: 快捷调用的 message 将自动去除头部空格 (abb7498), (f72ba21)
  • test-utils: 使用 '' 作为默认快照名,修复了与 jest 25 的兼容性的问题 (154a409)

Test Utilities 3.0

Breaking Changes

  • 将 jest 版本更新到 25.x
  • 调整了部分 Session API 的语法 (8799a2d) (cf175f7)
  • 调整了 app.receiveGroupRequest() 的语法 (16fd63e)

Features

  • Mocked Utilities API