Notable Changes
- 本次更新我们为消息元素加入了更多特性:包括插值、注释、模板元素、JSX 支持等 (satorijs/satori@337c0d6, satorijs/satori@501206e, satorijs/satori@9c9820f, satorijs/satori@514b427, satorijs/satori@33092c1, satorijs/satori@3e37345, satorijs/satori@ad49e86, satorijs/satori@2f3a0c5)
- 初步支持了消息组件在会话和本地化文件中的使用 (fff025f, 98602b5)
- 为了适配消息组件的功能,我们同步更新了一些基础插件,请注意升级:help, rate-limit, schedule, mock
- 如果你想在你的项目中使用 JSX 开发插件,可以参考 这篇升级指南
Features
- cli: 支持了子进程健康监测 (#850) (5ae1529)
- sandbox: 支持了嵌套消息的解析与
before-send
事件 (koishijs/webui#48) (koishijs/webui@6b72b4c) - sandbox: 支持了
bot.deleteMessage()
(koishijs/webui@1dd3983)
Bug Fixes
- element: 修复了嵌套元素不支持
transform
三参数的问题 (satorijs/satori@9df30a6) - help: 修复了指令语法未被转义的问题 (6433a23)
- loader: 修复了配置文件没有写入权限时的
loader.writable
(#852) (e503a4d) - minato: 修复了
sel.evaluate()
报错的问题 (cordiverse/minato@7c783dd)
Other Changes
- chore: bump versions (a651244)
- chore: bump versions (koishijs/webui@cbdcd22)
- chore: add LICENSE, close satorijs/satori#44 (satorijs/satori@521f194)
- refa: do not use second param of
messenger.render()
(satorijs/satori@3e42223) - chore: bump versions (satorijs/satori@fa87702)
- chore: bump dependencies (8e310f8)
- refa: migrate to latest selection API (502011c)
- refa: use global namespace for declaration merging (satorijs/satori@58dafec)
- chore: bump versions (satorijs/satori@cfb4926)
- chore: bump versions (1e654b1)