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
Uh oh!
There was an error while loading. Please reload this page.
-
Notable Changes
this.ctx访问来源上下文;同时调整了inject检测机制,服务中访问其他服务应遵循服务自身的上下文而非请求者上下文;新增了ctx.reflect内置服务;支持了服务混入中使用 getter / setter (cordiverse/cordis@0a0da4b, cordiverse/cordis@c9be0aa, cordiverse/cordis@90257b2, cordiverse/cordis@e06b3f3, cordiverse/cordis@1eba29f, cordiverse/cordis@cb0d85d, cordiverse/cordis@9909463, cordiverse/cordis@f904dc4, cordiverse/cordis@0956cb2, cordiverse/cordis@49f0cf8, cordiverse/cordis@d373e08, satorijs/satori@b61c1e0, f57e86d, cordiverse/webui@1ff66d1, cordiverse/minato@bb8e2e9, cordiverse/cordis@b005e94, koishijs/webui@53b7dea)Features
Inject字典结构 (cordiverse/cordis@acffbd3)<code-block>元素 (feat(discord): support<code-block>satorijs/satori#279) (satorijs/satori@f63c7d1)logger.meta,并允许扩展类型 (shigma/reggol@b32dfdd, cordiverse/cordis@ebaeded)interaction/button事件增加了data字段 (feat(qq): interaction/button event add button data satorijs/satori#281) (satorijs/satori@e5a70df)Bug Fixes
this参数的问题 (cordiverse/cordis@a2ea5b1)EMFILE报错 (Bug: explorer 插件启动失败 EMFILE: too many open files, watch '/koishi' webui#328) (koishijs/webui@232567c)data:URL 的正则匹配 (cordiverse/http@f6138b5)channel.type实现与标准不符的问题 (satorijs/satori@58cb423)data:URL 的正则匹配 (satorijs/satori@bbe05fe)manager服务失败的问题 (satorijs/webui@341bbab)Next Updates
以下变更属于开发中的 Cordis 生态,并不会影响 Koishi 的行为,但会在未来版本为 Koishi 提供更多功能。
ctx[service](cordiverse/webui@01c939a, cordiverse/webui@258d854)intercept的服务提供了子页面 (cordiverse/webui@107374f)usage国际化 (cordiverse/webui@db96a8c)Other Changes
This discussion was created from the release Koishi 4.17.9.
Beta Was this translation helpful? Give feedback.
All reactions