Changelog¶
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
[Unreleased]¶
Added¶
load()may be a generator: what it yields is the load result, the body after theyieldis the teardown.PluginManager.unload(name)— the inverse ofload(): unloads the loaded plugins that require it, then leaves dispatch, runs the teardown, drops the cached instance, back toDISCOVERED. Distinct fromdisable(), which stays a dispatch-only toggle.Plugin.requires(and@plugin(..., requires=...)) — names of plugins in the same namespace to load first, transitively, with cycle detection.PluginManager.error(name)— the exception that put a plugin inERRORED, so a failure isolated byload_all()is readable without a listener.
Changed¶
refresh()now unloads loaded plugins in reverse load order before clearing. A failing teardown is warned about and the rest still run.load()on an already-loaded plugin returns the cached result instead of re-running it (unchanged undercache=False, where everyload()re-instantiates).
Fixed¶
Documentation¶
notes/prior-art-cordis.md— the Cordis paper and implementation, read against our own design; source of the above (T8/T9 innotes/design-tensions.md, Phase 11 innotes/plan.md).