Skip to content

0.2.x Plugins-page settings card + stable edit/write rendering

Choose a tag to compare

@JanEickholt JanEickholt released this 05 Oct 13:54
· 5 commits to master since this release
v1.9.0
a21b3ca

DSH 0.2.x moved where a bundle's configuration lives and changed the edit/write row lifecycle; this release keeps the plugin fully working on 0.2.x hosts while 0.1.x hosts stay supported — one build, host detected at load (full contract notes: docs/compat.md).

  • Settings card on the Plugins page: registers through the keyed plugins.bundle.config slot on the bundle's detail section (same seat dsh-client-auto-continue uses), re-registering on every page reopen. 0.1.x hosts keep the old seats with slots/changed retries; the settings transport (configForms / settingsScope) resolves at runtime.
  • Edit/write cards stay rendered for the whole session: 0.2.x mounts every row at the preparing phase and re-renders the same component instance once the call dispatches. The card's hook count changed between those renders, so React threw #310, the slot entry was abdicated for the session, and every later edit/write silently fell back to the stock collapsed row. The hook order is now stable across preparing → dispatched → settled, covered by a jsdom lifecycle regression test.
  • The preparing call phase (no arguments yet) no longer crashes the JSON args parse.
  • @deepseek-ai/dsh-settings peer range widened to <0.3.0-0; new host-matrix compat test (0.1.5 / 0.1.7 / 0.2.0).