Skip to content

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 the yield is the teardown.
  • PluginManager.unload(name) — the inverse of load(): unloads the loaded plugins that require it, then leaves dispatch, runs the teardown, drops the cached instance, back to DISCOVERED. Distinct from disable(), 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 in ERRORED, so a failure isolated by load_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 under cache=False, where every load() 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 in notes/design-tensions.md, Phase 11 in notes/plan.md).

[VERSION] - DATE

Changed

Fixed

Documentation