You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Notable Changes
login.features
,用于判断平台支持哪些 API (satorijs/satori@31cb578)login.proxyUrls
和/v1/proxy/
路由 (satorijs/satori@31cb578, satorijs/satori@f72ad6c)bot.createUpload()
相关 API,用于上传文件 (satorijs/satori@4ae699b, satorijs/satori@fbfa005, satorijs/satori@8a9c6d3)ctx.satori.server
服务了 (satorijs/satori@7f795ab)Features
bin
中的导出自动生成 hashbang (cordiverse/dumble@9085ced)ctx.http.ws()
时自动将http
协议转换为ws
协议 (cordiverse/http@42be858)ctx.http.file()
返回值中使用type
取代mime
(cordiverse/http@c2c6f96, satorijs/satori@9d22205)http/file
事件,允许下游支持更多协议的文件下载 (cordiverse/http@b6b3833)Bug Fixes
required
永远为false
(fix(discord): confuse ofrequired
argument satorijs/satori#272) (satorijs/satori@48bdc78)Next Updates
以下变更属于开发中的 Cordis 生态,并不会影响 Koishi 的行为,但会在未来版本为 Koishi 提供更多功能。
Cordis 核心功能
default
导致插件无法加载的问题 (cordiverse/cordis@f6f6b88)Cordis WebUI
Notifier
服务 (cordiverse/webui@566e078, cordiverse/webui@bd477e5)CLIENT_CONFIG
代替KOISHI_CONFIG
(cordiverse/webui@72dbe80)Satori WebUI
bot.getMessageList()
参数的默认值 (satorijs/webui@5e47911)基础设施
yarn create
创建 Cordis 或 Satori 项目 (cordiverse/cordis@223887b, satorijs/satori@a299a43)readFile
而非require
读取package.json
(cordiverse/cordis@9ebab6f)RemoteScanner
,用于构建插件市场 (cordiverse/webui@2178f5c, cordiverse/webui@88bfaea)Other Changes
This discussion was created from the release Koishi 4.17.7.
Beta Was this translation helpful? Give feedback.
All reactions