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
这个版本中包含大量底层重构,可能不稳定。如果你在使用过程中遇到了问题,可以提交 issue 进行反馈。
Proxy
代替Object.defineProperty
实现服务注入 (cordiverse/cordis@5852859)Context.service()
静态方法,使用ctx.root.provide()
代替 (cordiverse/cordis@92d8d76)Features
command
指令,可用于对指令进行管理 (koishijs/webui@3b3e9a2, koishijs/webui@457a58b)inject
属性 (功能同using
) (Bug:using
is a keyword in Typescript 5.2 now!??? #1228) (cordiverse/cordis@13b6cdd)internal/event
事件 (cordiverse/cordis@ea4d860)user.nick
,同时将member.name
更名为member.nick
(satorijs/satori@f446dad)Adapter
,Bot
等类型新增了Context
泛型 (satorijs/satori@9cdb980, b0ac248, satorijs/satori@0395ebc)bitset
类型将保存为string[]
,以便更好地在配置文件中直接编辑 (shigma/schemastery@267c917)checkbox
外观 (shigma/schemastery@8e95332)checkbox
外观下的disabled
等属性 (shigma/schemastery@8884cdc)/satori
(satorijs/satori@2f5931a)token
配置项 (satorijs/satori@b386cca)Bug Fixes
Service
的子类启动失败的问题 (cordiverse/cordis@51555de)message.create
返回值与标准不符的问题 (Bug: Telegram 适配器与 satori server 结合使用时,message.create
接口返回值与文档不符 satorijs/satori#173) (satorijs/satori@0db5532)quote.user
缺失的问题 (fix(telegram): missing quote.user satorijs/satori#171) (satorijs/satori@742a92c)Other Changes
This discussion was created from the release Koishi 4.15.2.
Beta Was this translation helpful? Give feedback.
All reactions