Notable Changes
- 增加了新的内置服务
ctx.schema
,用于动态注入配置项,以便在控制台中进行配置 (47fa5aa, b150279) - 实验性地支持了隐式服务,现在可以使用
plugin:xxx
和component:xxx
检测插件和组件是否已经被加载 (satorijs/satori@574a068, f5eb2de)
Features
- client: 将 vite 版本更新至 v4,同时优化了输出文件的体积 (koishijs/webui@d68091d)
- client: 支持了过滤器中使用
$or
表达式 (koishijs/webui@662395d) - element:
h.transform()
方法支持传入函数作为二参数了 (satorijs/satori@1eb8721) - market: 优化了插件卡片的悬浮和点击效果 (koishijs/registry@c2a67b6f6a10adcae62844b13931ba362cc6ac9c, koishijs/registry@bd5e6ab1e272b63287b111b7f3f98d86ce7e3bba)
- schema: 优化了
computed
类型的显示,并支持了内含union
类型 (shigma/schemastery@0d9f77a, shigma/schemastery@4b5ec70) - schema:
schema.role()
方法支持传入extra
二参数,用于表达额外的信息 (shigma/schemastery@88a3b86)
Bug Fixes
- core: 修复了提供本地化文本的插件被移除时
internal/i18n
事件不会触发的问题 (17c45fe) - element: 修复了向
h.select()
传入空值会报错的问题 (satorijs/satori@38c7702) - market: 修复了分页请求可能会丢失边缘数据的问题 (koishijs/registry@9e59ddaa271f1dd39f24404f3f1179dddfb6ba26)
- market: 修复了手动更新插件版本会导致插件市场显示异常的问题 (koishijs/webui#103) (koishijs/webui@8e41510)
- market: 修复了插件市场左侧栏无法滚动的问题 (koishijs/webui#104) (koishijs/webui@69d3cab)
- mock: 修复了多条消息会被错误模拟为一条的问题 (abe1724)
- mongo: 修复了
db.upsert()
面对数据缺失会报错的问题 (cordiverse/minato#19) (cordiverse/minato@56511fa)
Other Changes
- play: setup @koishijs/play (koishijs/webui@9061cb1)
- play: better support for abstract websocket (koishijs/webui@cd41579)
- play: experimental fs / path support (koishijs/webui@94c5f06)
- play: support fs-based multi instances (koishijs/webui@8a75107)
- play: add missing global config (koishijs/webui@be33853)
- play: support config storage (koishijs/webui@baa31a3)
- chore: bump versions (83c50f4)
- chore: bump versions (koishijs/webui@a64a07d)
- refa: move browser loader to @koishijs/play (a68d2a8)
- chore: bump versions (koishijs/webui@4a7601c)
- chore: fix outdated links (3e8090d)
- refa: migrate loader to fs promises (87298c3)
- chore: bump versions (koishijs/webui@3532521)
- chore: bump versions (satorijs/satori@dbb1bac)
- chore: bump versions (satorijs/satori@ed5efcf)
- chore: bump versions (02717b6)