mirror of https://github.com/halo-dev/halo
5df51bb715
#### What type of PR is this? /kind improvement /area core /area plugin #### What this PR does / why we need it: This PR wholly refactors plugin reconciliation to implement dependency mechanism. Currently, - If we disable plugin which has dependents, the plugin must wait for dependents to be disabled. - If we enable plugin which has dependencies , the plugin must wait for dependencies to be enabled. - If we upgrade plugin which has dependents, the plugin must request dependents to be unloaded. After the plugin is unloaded, the plugin must cancel unload request for dependents. #### Which issue(s) this PR fixes: Fixes #5872 #### Special notes for your reviewer: #### Does this PR introduce a user-facing change? ```release-note 优化被依赖的插件的升级,启用和禁用 ``` |
||
---|---|---|
.. | ||
aggregated.json |