Notable Changes
- 支持了细粒度的重载控制:当你在运行时通过配置文件或控制台,修改某个插件或全局的部分配置时,会根据这个配置的具体功能决定是否需要重载插件或整个应用;开发者可以声明自己插件的具体哪些配置项应该触发重载,以及不触发重载的配置项被修改时的回调函数
- cordis 支持了细粒度重载 (cordiverse/cordis@4fa11f5, cordiverse/cordis@8b6164a, cordiverse/cordis@64d67e1, cordiverse/cordis@d324fe0, cordiverse/cordis@b1c3a5f, cordiverse/cordis@9eb1fde, cordiverse/cordis@23f29ed)
- 对应用配置项声明了细粒度重载 (satorijs/satori@d9bfb93)
- Loader API 支持了细粒度重载 (75ef939, e4a443b)
Features
- discord: 更新到了最新版 API (satorijs/satori#14) (satorijs/satori@c78c4d7, satorijs/satori@c0a29e0)
- market: 依赖管理界面中添加了刷新按钮 (koishijs/webui@f27b20a)
- onebot: 优化了超时的判定 (#785) (satorijs/satori@c98adf6)
Bug Fixes
- cordis: 修复了插件的 dispose 事件中无法正常访问依赖服务的问题 (cordiverse/cordis@2c45665)
- cordis: 确保
ctx.options
的引用与ctx.root.state.config
相一致 (cordiverse/cordis@2bab837) - market: 修复了插件在控制台中跨插件组拖动可能存在的行为异常 (koishijs/webui@cfcfdc9)
Other Changes
- chore: bump versions (221cf21)
- chore: bump cosmokit version (satorijs/satori@a0321e6)
- docs: events with
this
argument (cordiverse/cordis@e99a344) - refa: rename lifecycle to events (cordiverse/cordis@15a8c3d)
- docs: service basics (cordiverse/cordis@2f55612)
- docs: add guide contents (cordiverse/cordis@12194b7)
- docs: plugin as a module (cordiverse/cordis@d4d8dce)
- docs: ready - deferred callback (cordiverse/cordis@0df7f87)
- docs:
dispose
- clean up side effects (cordiverse/cordis@24d7511) - docs:
fork
- create reusable plugins (cordiverse/cordis@08e68fa) - docs: move ready to events section (cordiverse/cordis@cc1af04)
- docs: service dependencies (cordiverse/cordis@ecaf29d)
- docs: service scopes (cordiverse/cordis@6bc0cad)
- docs: add additional notes for reusable and using (cordiverse/cordis@c09f896)
- refa: move several utility functions to cosmokit (0f38b57)
- docs: services and mixins (cordiverse/cordis@86ea62d)
- docs: write disposable methods (cordiverse/cordis@53591f5)
- docs: add edge case for service isolation (cordiverse/cordis@94a6b4e)
- docs: fix typos (cordiverse/cordis@2c43300)
- refa: rename shared.ts to utils.ts (cordiverse/cordis@8ea3468)
- chore: bump dependencies (satorijs/satori@316fd88)
- refa: use root.options instead of config (cordiverse/cordis@d98a4fb)
- chore: bump versions (8a7d67f)