Skip to content

v1.5.0

Choose a tag to compare

@bayger bayger released this 28 Jun 17:29
f28ea91

Breaking

  • Major codebase restructuring:
    • src/components/ui/ moved to src/framework/ — the UI framework is now a self-contained module
    • src/components/ moved to src/ui/ — tabs, specialized components, and MainControl
    • getConfig() removed from RenderContext — now only available on TabContext

Added

  • Application base class — reusable app lifecycle manager with render loop, input/mouse handling, resize, cursor visibility, and modal rendering
  • LlamaManagerApp — app-specific class extending Application with theme handling, config management, and key routing
  • Comprehensive framework documentation — updated src/framework/README.md with full API reference for all classes, widgets, and types

Changed

  • Event system upgraded to multi-listener — Control.on() now supports multiple handlers per event and returns the bound handler for removal
  • Control.render() split into render() (base, handles bg clear, clipping, children) and draw() (subclass override for custom content)
  • ModalManager render context no longer includes getConfig() — matches updated RenderContext interface
  • All import paths updated across the codebase to reflect new directory structure