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
ctx.isolate()
方法,用于创建具有隔离服务的新上下文 (cordiverse/cordis@b78516f, cordiverse/cordis@741448c)defineDriver()
方法,用于创建可重用的数据库插件;官方的数据库插件目前也已全部支持重用了 (5be03ad)Features
$isolate
和$filter
修饰符 (6f26772, b8ab3c8, f39100b)ctx.extend()
方法 (cordiverse/cordis@72a1e32)Context.filter
符号,可用于给事件监听器传入非会话的this
(cordiverse/cordis@20212d8)internal/runtime
和internal/fork
,可用于监听插件状态变更 (cordiverse/cordis@ea18542)Context.source
符号,可用于更准确地追踪服务的来源 (cordiverse/cordis@ec49876)Bug Fixes
state.update()
可能执行异常的问题 (cordiverse/cordis@c328781)using
和reusable
的插件可能执行异常的问题 (cordiverse/cordis@c339c50)app.stop()
后再次执行app.start()
功能异常的问题 (cordiverse/cordis@4e84d33)Other Changes
This discussion was created from the release Koishi 4.7.5.
Beta Was this translation helpful? Give feedback.
All reactions