v0.7.0
Runtime unification, mounted component hosting, routed widget commands, debug overlay refinements, and a new log-viewer example.
Breaking Changes
EffectStore,EffectStoreWithMiddleware,DispatchRuntime, andEffectRuntimehave been folded into the genericStore<S, A, E>andRuntime<S, A, E>model- Effect-capable reducers now use
ReducerResult<E>directly from the same store/runtime path as no-effect reducers - Component callback props now accept closure-friendly
Rc<dyn Fn(...) -> A>callback types instead of plain function pointers - Some broad component prelude exports were removed; import specialized host/runtime types from
tui_dispatch_componentsor its prelude
Added
ComponentHostfor mounting long-lived interactive widgets, reusing props factories, binding widgets toEventBus, syncing render areas, and exposing widget-local debug stateRuntimeHostExt::with_component_host(...)andHostedRuntimefor automatic host area synchronization after each renderComponentInput::Commandplus routed command constants undertui_dispatch_components::commands- Routed command handling for
TextInput, including movement, deletion, submit, and cancel commands - Components debug overlay support in
DebugLayer::with_component_host(...) - Log viewer example demonstrating
ComponentHost, routed commands, filters, follow mode, details inspection, and debug component state - Runtime and debug contract tests across feature combinations, with
make test-feature-matrixincluded inmake verify - WASM preview artifacts for docs examples
Changed
- Runtime internals now share a common shell for event polling, dispatch error policy handling, debug integration, action broadcast, and task/subscription cleanup
StoreandStoreWithMiddlewarenow share effect-capable reducer results, making side-effect reducers the default model instead of a separate store typeSelectList,ScrollView,TextInput,TreeView, andModalcallback props are closure-friendlyComponentHost::bind(...)subscribes widgets to their declared event types automatically- Debug overlays now use richer component widgets for state trees, action-log search/navigation, scrolling, footer hints, and cell previews
- Examples and docs were updated for the unified runtime API and component host flow
Fixed
- Docs site base URL for published GitHub Pages links
tui-dispatch ·
tui-dispatch-core ·
tui-dispatch-macros ·
tui-dispatch-components ·
tui-dispatch-debug ·
tui-dispatch-shared