Skip to content

v0.3.1

Latest

Choose a tag to compare

@xiaochaZ xiaochaZ released this 07 Sep 17:42

Patch release: fix settings binding on dsh core 0.1.2-rc.1.

  • settings service is now bound via ctx.inject(['settings'], cb) instead of touching ctx.settings directly — cordis refuses direct service access not declared in inject (cannot get property "settings" without inject). Mirrors dsh-doctor / dsh-ssh.
  • v0.3.0 缺少此修复:在该版本下插件会在启动时崩溃,请升级到 v0.3.1。

适配 DSH 核心 0.1.2-rc.1 的补丁版:设置服务改用 ctx.inject(['settings'], cb) 延迟绑定(cordis 注入契约:未在 inject 声明的服务不能直接 ctx.xxx 取)。