Releases: koishijs/koishi
Releases · koishijs/koishi
Koishi 4.13.6
Features
- discord: 支持了 slash commands (satorijs/satori@e7569fd, satorijs/satori@74adbab, 5b180ce)
- discord, kook: 支持了群组角色相关事件 (satorijs/satori@3cafe2a)
- discord, kook: 增加了对全部原生事件的类型支持 (#1131) (satorijs/satori@96de466, satorijs/satori@8771afc)
- lark: 初步支持了
bot.editMessage()
(satorijs/satori@593a39b) - loader: 支持了
loader.keyFor()
,用于从插件导出获取插件名 (1303744) - loader: 支持了
logger.prolog
,用于存储启动阶段产生的日志输出 (8b44675) - satori: 新增了
session.isDirect
属性,用于取代过时的session.subtype
(satorijs/satori#126) (satorijs/satori@2610e8b, satorijs/satori@985e033)
Bug Fixes
- discord, kook: 修复了
bot.sendPrivateMessage()
不可用的问题 (satorijs/satori@dc1bb00)
Other Changes
- chore: bump versions (9d6ee0d)
- lark: update error code webpage url (satorijs/satori#123) (satorijs/satori@3d6c6b4)
- chore: bump versions (satorijs/satori@0f5f6a0)
- i18n: change all locales to full name (e1ae661)
- chore: bump versions (707f606)
Koishi 4.13.5
Notable Changes
- market: 全面优化了插件市场的索引机制,目前 market 插件在使用默认配置的情况下将不再需要读条了 (koishijs/webui#176) (koishijs/webui@44c2842, koishijs/webui@a499b80, koishijs/webui@73b0e35, koishijs/webui@e929f57, koishijs/webui@dc1ba28)
- satori: 支持了消息回应 API,目前可以在 Discord / KOOK 平台使用 (satorijs/satori@9984dfa)
- satori: 支持了群组角色 API,目前可以在 Discord / KOOK 平台使用 (satorijs/satori@3604cf0)
Features
- satori: 优化了
MessageEncoder
相关功能 (satorijs/satori@aac96bd, satorijs/satori@48f19d3) - telegram: 初步支持了
bot.editMessage()
(satorijs/satori@b9b694e)
Bug Fixes
- lark: 修复了私聊消息
subtype
错误的问题 (satorijs/satori@8e7a21c) - market: 修复了插件市场刷新无法作用于依赖管理页面的问题 (koishijs/webui#189) (koishijs/webui@7a24b0b)
- minato: 修复了不支持查询布尔值的问题 (cordiverse/minato#26) (cordiverse/minato@a63dc06)
- sandbox: 修复了沙盒中引用回复中的图片没有正常显示的问题 (koishijs/webui#192) (koishijs/webui@98b3249)
- schema: 修复了
dict
内嵌intersect
类型时无法配置属性名称的问题 (shigma/schemastery#47) (shigma/schemastery#50) (shigma/schemastery@0728019, shigma/schemastery@761e107) - schema: 修复了
union
内object
部分属性为required
时配置项消失的问题 (shigma/schemastery#48) (shigma/schemastery@5383e68) - schema: 修复了小数步长检查有概率出错的问题 (#1123) (shigma/schemastery@0824453)
- sqlite: 修复了一次性使用
upsert
插入条目过多时报错的问题 (cordiverse/minato#27) (cordiverse/minato@c32e15c)
Other Changes
- chore: bump versions (a79b005)
- chore: bump versions (cordiverse/minato@83a04a5)
- chore: bump versions (koishijs/webui@a7069f9)
- docs: update readme (#1125) (e71061e)
- i18n: init i18n config for logger (koishijs/webui@9589e1a)
- chore: bump versions (satorijs/satori@2dd501e)
- chore: bump versions (9d6ee0d)
Koishi 4.13.4
Features
- client: 实验性地支持了活动栏图标的自定义分组与排序 (koishijs/webui@37ec0a8, koishijs/webui@6ec80ee, koishijs/webui@bb7c86b)
- kook: 更新了类型声明 (satorijs/satori#121) (satorijs/satori#122) (satorijs/satori@5710bf2)
- market: 实验性的支持了以指令的形式安装、更新、卸载插件 (koishijs/webui@12044ae, koishijs/webui@1f24954)
- schema::
const
类型现在可以自行收窄参数类型了 (satorijs/satori@c290fd5) - schema: 新增了
.loose()
方法,可用于解决联动配置项中属性冲突问题 (shigma/schemastery@681a2f4)
Bug Fixes
- schema: 修复了
union
类型部分情况下行为异常的问题 (shigma/schemastery@5b42108)
Other Changes
- chore: bump versions (1e7c2d8)
- chore: bump versions (shigma/schemastery@bfe244d)
- chore: bump versions (satorijs/satori@b7041b2)
- chore: bump versions (a79b005)
Koishi 4.13.3
Features
- auth: 支持了配置漫游功能,用户可以在多个客户端同步配置 (koishijs/webui@02c2d90)
- client: 支持了客户端配置修复功能 (koishijs/webui@d069cdc)
- client: 支持了
slot.disabled()
,用于替换已废弃的slot.when()
(koishijs/webui@9693dac) - loader: 支持了
envData.message
,可用于启动后显示消息 (e919a7e) - logger: 支持了
target.write()
钩子,可用于保存更多日志信息 (shigma/reggol@2ad61d7, shigma/reggol@e39aa07, a61ca03) - logger: 优化了日志输出策略,修复了日志过大导致卡死的问题 (koishijs/webui#50) (koishijs/webui@16a8395)
- market: 实验性地支持了
ctx.installer
服务,可用于程序化地更新插件 (koishijs/webui@fd6086f)
Bug Fixes
- config: 修复了插件启用时日志没有输出在服务端的问题 ( (koishijs/webui@81798a2)
- core: 修复了
ctx.component()
不自动回收副作用的问题 (#1105) (satorijs/satori@108b98e) - core: 修复了带有
value
的选项仍然会吞掉参数的问题 (#1109) (c0593b4) - core: 修复了变长参数的类型转换无效的问题 (#1111) (f793cdd)
- discord: 修复了由于 gateway 版本过低导致事件缺失的问题 (satorijs/satori#119) (satorijs/satori@0291a27)
Other Changes
- chore: bump versions (shigma/reggol@e0c7591)
- chore: bump versions (7fa8e76)
- chore: bump versions (satorijs/satori@a74ca82)
- i18n: init i18n config for auth (koishijs/webui@392eb6b)
- chore: bump versions (koishijs/webui@ebd1464)
- chore: bump versions (1e7c2d8)
Koishi 4.13.2
Notable Changes
- 将部分插件的存储路径统一改为实例目录下的
data
文件夹 (koishijs/webui@f210c28, 2591a4b, 12cccb4) - 实验性地支持了 Action API,允许控制台扩展定义和触发上下文菜单 (koishijs/webui@78cdff6, koishijs/webui@0f8ccd4, koishijs/webui@b9b0f6d, koishijs/webui@8eb3309)
- 优化了
.role('table')
的表达能力:- 优化了表格边框的样式和动效 (shigma/schemastery@864604e)
- 支持了 array / dict 内嵌 object / tuple 的二维表格 (shigma/schemastery@e5b5639)
- 支持了
boolean
和union
作为表格内元素的基础类型 (shigma/schemastery@ac7f65f)
Features
- client: 优化了客户端样式 (koishijs/webui@3dcebb0)
- config: 支持了插件配置界面的上下文菜单 (koishijs/webui#70)
- console:
DataService
会默认依赖console
服务了 (koishijs/webui@7708b87) - core: 在实现
Bot
类时,适配器现在是可缺省的了 (satorijs/satori#117) (satorijs/satori@fc5f82d)
Bug Fixes
- mail: 修复了
bot.username
缺失的问题 (satorijs/satori#116) (satorijs/satori@a6054e0) - mail: 修复了连接失败时停用插件会导致无限重连的问题 (satorijs/satori#115) (satorijs/satori#118) (satorijs/satori@bbba848)
- theme: 优化了侧边栏样式和移动端适配 (koishijs/webui#175) (koishijs/webui#182) (koishijs/webui@f0dc492)
Other Changes
- chore: bump versions (ad71c0d)
- refa: migrate config menu to action api (koishijs/webui@c13e463)
- refa: enhance app file structure (koishijs/webui@3d99a52)
- refa: migrate to menu API for explorer (koishijs/webui@f687a09)
- refa: migrate to menu API for sandbox (koishijs/webui@eb3b7e5)
- chore: bump versions (koishijs/webui@b526d6d)
- chore: bump versions (shigma/schemastery@bde7963)
- chore: bump versions (koishijs/webui@0689493)
- chore: bump versions (satorijs/satori@76ca879)
- chore: bump versions (7fa8e76)
Koishi 4.13.1
Notable Changes
- 新增了主题系统,允许插件定义新的主题 (koishijs/webui@856f49c, koishijs/webui@86eb4b2, koishijs/webui@add178b, koishijs/webui@47363eb, koishijs/webui@677d71d, koishijs/webui@d9565e4)
- 将用户设置拆分为独立的子路由,并允许插件扩展配置项 (koishijs/webui@5614aaa, koishijs/webui@5dc95d7, koishijs/webui@0a30393)
Features
- explorer: 文件选择对话框的左上角增加了用于回退到上一级目录的按钮 (koishijs/webui@4514ebf)
- explorer: 为文件选择对话框中的文件、目录增加了图标提示 (koishijs/webui@6897219)
- explorer:
Schema.path()
支持了allowCreate
选项,当开启时将允许在对话框内创建目录、上传文件 (koishijs/webui@e2f9a6e) - explorer:
Schema.path()
支持了filters
选项,可以指定选择的对象是文件、目录、还是具体的文件类型 (通过后缀名区分);指定类型后会对可选的文件、目录进行过滤 (koishijs/webui@4071998) - insight: 优化了交互时的高亮效果 (koishijs/webui@fbbcd47)
- insight: 为插件组和服务类插件增加了特殊表示 (koishijs/webui@ee73c78)
- schema: 实验性地支持了
options.autoFix
(shigma/schemastery@323980f)
Bug Fixes
- client: 修复了部分页面底部存在遮挡的问题 (#1097) (koishijs/webui@1e38cb8)
- core: 修复了在指令回调中返回
h.i18n()
无法使用路径前缀的问题 (#1095) (3e87185) - explorer: 修复了编辑器主题不随控制台主题切换的问题 (koishijs/webui@214f21e)
Other Changes
- chore: bump versions (e92e480)
- refa: move theme default to console/app (koishijs/webui@61c3e00)
- chore: bump versions (koishijs/webui@d807a22)
- chore: enhance class names (shigma/schemastery@93dbaa0)
- refa: enhance exported apis (shigma/schemastery@ca3560c)
- refa: move back app to client package (koishijs/webui@438b2dd)
- refa: enhance schema components (koishijs/webui@b5b9560)
- chore: bump versions (koishijs/webui@93f1341)
- chore: bump versions (satorijs/satori@9530520)
- chore: bump versions (ad71c0d)
Koishi 4.13.0
Notable Changes
- 引入了语言回退机制,所有涉及语言配置的地方均改为使用数组代替单一语言字符串 (19b6447, 1b28127, f74d7ad, bab6715, c542806)
- login 插件被重新命名为 auth 插件,并增加了诸多新功能,包括多端独立的登录令牌、支持查看登录历史和删除令牌 (koishijs/webui@895ef30, koishijs/webui@a8bd51b, koishijs/webui@a3f4391, koishijs/webui@de88a39, koishijs/webui@d058103, koishijs/webui@65add24)
- market 插件被拆分为 market 和 config 两个独立的插件 (koishijs/webui@e1935d9, koishijs/webui@b16cb6c, koishijs/webui@2caf9e1, koishijs/webui@e437315, koishijs/webui@0801c64)
Features
- client: 优化了
<k-slot>
机制,支持了<k-slot-item>
等功能 (koishijs/webui@1986cf1, koishijs/webui@9c73df7, koishijs/webui@831e42f) - client: 控制台插件的搜索现在大小写不敏感了 (koishijs/webui#167) (koishijs/webui@3ae6e46)
- config: 支持了插件配置按需读取,大幅提高了启动速度 (koishijs/webui@5fd4c7a)
- market: 支持了插件清单文件中的多语言描述 (koishijs/webui@ac07090, koishijs/webui@a6e2797)
- market: 插件市场搜索输入引入了防抖机制 (koishijs/webui#130) (koishijs/webui@8bffbf3)
- schema: 增加了表单组件本身的国际化翻译支持 (shigma/schemastery@f3f01b5)
Bug Fixes
- sandbox: 修复了用户设置显示不正常的问题 (koishijs/webui@0bcb2dd)
- schema: 修复了 object 嵌套 intersect 嵌套 union 显示错误的问题 (shigma/schemastery@2b79a7c)
- schema: 修复了 intersect 内含 union 时,外侧的配置项被设置为默认值时,输出的对应配置为
null
的问题 (shigma/schemastery#45) (shigma/schemastery@35f5eef) - schema: 修复了 object 的第一个属性是 hidden 时,默认配置标题可能不会显示的问题 (koishijs/webui@f01bd4c)
Other Changes
- chore: bump versions (9784b9c)
- chore: bump versions (koishijs/webui@d51e9b5)
- chore: bump versions (shigma/schemastery@5385de7)
- chore: setup i18n for mysql, mongo, sqlite, hmr plugins (e75a620)
- i18n: update translations (#1077) (9d0333c)
- build: fix build scripts (koishijs/webui@37b8c38)
- chore: setup @koishijs/i18n-utils (469c97e)
- refa: move app to console plugin (koishijs/webui@288ece7)
- refa: initialize @koishijs/theme-default (koishijs/webui@9f4b57f)
- chore: bump versions (koishijs/webui@8a2532b)
- chore: bump versions (e92e480)
Koishi 4.12.9
Notable Changes
- 进行了实验性的控制台国际化支持,包括引入 vue-i18n,支持
schema.i18n()
等功能 (koishijs/webui@441354f, koishijs/webui@0a3c2db, shigma/schemastery@d4e17e2, koishijs/webui@7c5b2dd, shigma/schemastery@114a948)
Features
- axios:
http.file()
支持了timeout
选项 (satorijs/satori#72) (satorijs/satori@6d0e33e) - client: 新增「用户设置」界面,包含亮暗主题切换功能 (koishijs/webui@5dbb2be)
- core: 支持了
user.createdAt
属性 (ad760bf) - dataview: 新增了刷新按钮 (koishijs/webui#79) (koishijs/webui@f56e515)
- market: 增加了默认排序功能,相比按评分的排序方式会更加优先考虑搜索词与名称的关系 (koishijs/webui#139) (koishijs/webui@596602f)
- onebot: 将
cache
属性默认值更改为false
(satorijs/satori#72) (satorijs/satori@95af3b2) - onebot: 将接收文件也转化为
message
事件触发 (satorijs/satori#110) (satorijs/satori@4bde8c9)
Bug Fixes
- mysql: 修复了复合唯一键会被重复创建的问题 (cordiverse/minato#25) (cordiverse/minato@8157998)
- sqlite: 修复了高并发时存在内存泄漏的问题 (cordiverse/minato#23) (#1080) (cordiverse/minato@d10f074)
Other Changes
- chore: bump versions (e129f37)
- chore: bump versions (cordiverse/minato@cd55adc)
- chore: bump versions (koishijs/webui@0597be6)
- chore: fix tsconfig reference missing (koishijs/webui@d1b6a83)
- chore: bump versions (satorijs/satori@6060d00)
- chore: bump versions (shigma/schemastery@1a815f9)
- chore: bump versions (koishijs/webui@7cc8958)
- chore: bump versions (9784b9c)
Koishi 4.12.8
Notable Changes
- 支持了
Schema.dynamic()
,可用于在运行时设置动态的 Schema 为配置界面使用 (5d5ba30, koishijs/webui@1ce946f)
Features
- hmr: 当源码中存在语法错误时提供带有语法高亮的报错信息 (#1083) (2147314)
- market: 支持了插件市场分页 (koishijs/webui#55) (koishijs/webui#138) (koishijs/webui#149) (koishijs/webui@3db2d12)
- market: 将版本号链接调整为当前版本的链接,以避免错误引导 (koishijs/webui@2f9c3f0)
- market: 在「依赖管理」页面中增加了一键更新按钮 (koishijs/webui#115) (koishijs/webui@6fb6137)
- schema: 对于
array
和dict
类型支持了折叠 (shigma/schemastery@f578f1e)
Bug Fixes
- registry: 优化了默认的数据获取行为,尽量避免丢失更新 (koishijs/webui@1fafd74)
- schema: 修复了
intersect
内含union
时,外侧的配置项被设置为默认值时,输出的对应配置为null
的问题 (shigma/schemastery#45) (shigma/schemastery@3531b51) - schema: 修复了由于精度问题导致的整数倍判断错误问题 (shigma/schemastery#44) (shigma/schemastery@ef103f5, shigma/schemastery@bc59c70)
- schema: 修复了错误的
tuple
内容物可能导致渲染报错的问题 (shigma/schemastery@7a8f653)
Other Changes
- components: add virtual and chat components (koishijs/webui@4f0d131)
- chore: bump versions (767a1ce)
- chore: bump versions (koishijs/webui@ad1659f)
- chore: bump versions (shigma/schemastery@7676459)
- chore: bump versions (satorijs/satori@4b65521)
- chore: bump versions (koishijs/webui@90eef04)
- chore: bump versions (e129f37)
Koishi 4.12.7
Notable Changes
- 将 schemastery-vue 更新到 4.0.0 版本,包含以下变动:
- 全面重构了代码,提供了更好的扩展性
- 修复了一些边界情况下的已知问题,同时提高了性能
- 将示例加入了官方文档,可以在 这里 查看
- 提交列表: shigma/schemastery@51e46ac, shigma/schemastery@cd2756f, shigma/schemastery@92b625e, shigma/schemastery@eeac6ca, shigma/schemastery@5ed8806, shigma/schemastery@fec6f6a, shigma/schemastery@a9064e5, koishijs/webui@c403fb3, shigma/schemastery@894c976, shigma/schemastery@614db37, shigma/schemastery@5d0a168, koishijs/webui@d982496, shigma/schemastery@1aee997, shigma/schemastery@73838d3, shigma/schemastery@8426e53, shigma/schemastery@764296a
Features
- kook: 支持了 KOOK 平台下的 Internal API (satorijs/satori#26) (satorijs/satori#95) (satorijs/satori#105) (satorijs/satori@ff5033d, satorijs/satori@c52a3ce)
- onebot: 支持了
<face>
元素的name
属性 (satorijs/satori#101) (satorijs/satori@34f6202)
Bug Fixes
- core: 修复了接收到某些不支持的事件时会报错的问题 (satorijs/satori#47) (satorijs/satori@a4d5a39)
- registry: 调整了默认的拉取行为,避免丢失更新的问题 (koishijs/webui@1fafd74)
- sandbox: 修复了上下文菜单无法显示的问题 (koishijs/webui#157) (koishijs/webui@52cbf2f)
Other Changes
- chore: bump versions (5cb515c)
- refa: refactor workspaces (koishijs/webui@17a038f)
- chore: bump versions (koishijs/webui@e9d9cda)
- chore: remove docs (shigma/schemastery@1bd4e9d)
- chore: bump versions (shigma/schemastery@d7d3705)
- chore: bump versions (satorijs/satori@a686147)
- chore: bump versions (767a1ce)
- chore: bump versions (koishijs/webui@ad1659f)