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
$.array()
和$.object()
等用于操作结构化数据的 API (Bug: @koishijs/plugin-database-mysql 升级后出现 Every derived table must have its own alias #1259) (feat(minato): first-class sql json type cordiverse/minato#43) (cordiverse/minato@9208ce5)Features
withProxy()
,可用于解决前端跨域问题 (Bug: 部分平台的机器人头像无法显示 webui#225) (koishijs/webui@4382e8e)inject
取代package.json
中的声明 (Feature: Service dependencies mismatch warnings between "package.json" and cordis "using" webui#241) (koishijs/webui@7eeffe2)ctx.loader
服务 (612c873)$
相关的类型提示 (cordiverse/minato@6fdff7b)ssl.rejectUnauthorized
配置项 (a98b000)bot.logger
属性 (需Bot
构造函数传入platform
参数) (satorijs/satori@5d3614a)Bug Fixes
service.caller
行为与预期不符的问题,目前推荐使用Context.current
(cordiverse/cordis@261ee6b)dispose
回调函数抛出错误可能导致副作用回收不完全的问题 (Bug: Cordis 某些框架函数传入的 callback 报错可能导致 Koishi 崩溃或者副作用处理异常 #1254) (cordiverse/cordis@68081c4)root
配置项的问题 (koishijs/webui@2a65b31)array
/tuple
类型调用schema.simplify()
可能返回错误的结果的问题 (shigma/schemastery@ab00aa9)Other Changes
This discussion was created from the release Koishi 4.15.5.
Beta Was this translation helpful? Give feedback.
All reactions