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
cordis: 支持了函数式服务,只需实现
Context.invoke
方法,即可支持将服务以方法的形式暴露在上下文对象上 (cordiverse/cordis@b6197dd, cordiverse/cordis@f692eb8, cordiverse/cordis@4fbf8bf, cordiverse/cordis@cab9ce1)undios: 使用
fetch
API 重构了http
服务,并以 undios 命名发布为插件 (Feature:ctx.http
使用 fetch 重构 #1181) (cordiverse/http@ce0d4b3, cordiverse/http@565250f, cordiverse/http@6f0776b, cordiverse/http@a0dc5f8, cordiverse/http@c2ff28a, cordiverse/http@67850ce, cordiverse/http@1e74c3c, cordiverse/http@1e2d09f, cordiverse/http@e918da6, satorijs/satori@cf899ea, satorijs/satori@5841dbd)dumble: 发布了一个名为 dumble 的工具,该工具用于零配置构建 TypeScript 项目,现已内置于模板项目工作区中,作为
build
命令的一部分 (cordiverse/dumble@f053f90, cordiverse/dumble@bd68eef)devDependencies
(cordiverse/dumble@97e886c).d.ts
文件进行复制而非编译 (cordiverse/dumble@8d52904)Features
ctx.intercept()
相关功能 (cordiverse/cordis@baea8d7)ctx.logger.info()
等 API (cordiverse/cordis@9d11895)Changes On Cordis
以下变更属于开发中的 Cordis 生态,并不会影响 Koishi 的行为,但会在未来版本替换 Koishi 的相关实现。
Other Changes
This discussion was created from the release Koishi 4.17.0-beta.0.
Beta Was this translation helpful? Give feedback.
All reactions