Skip to content

Releases: coccinella-labs/course

v0.1.1

Choose a tag to compare

@bniladridas bniladridas released this 24 Dec 16:01

What's Changed

Performance Improvements

  • Optimized DataHandler buffer truncation using suffix(maxSize) instead of removeFirst(excess) for better performance (O(1) vs O(n)) when handling large data buffers

Code Quality

  • Refactored DataHandler truncation logic into a truncateIfNeeded helper method to eliminate code duplication between stdout and stderr handling
  • Exposed DataHandler.maxSize as public static to eliminate test duplication and improve maintainability

Testing

  • Enhanced testDataHandlerBufferLimit to comprehensively test both stdout and stderr streams, including incremental data appends and using named constants for maintainability

Documentation

  • Updated README code snippet to reflect the current actor-based DataHandler implementation with efficient truncation
  • Updated CHANGELOG.md with detailed change notes

SystemManager v0.1.0

Choose a tag to compare

@bniladridas bniladridas released this 22 Dec 00:39

Initial release of SystemManager - macOS process orchestrator

Major Fixes/Improvements

  • Added JSON-based persistence for process state
  • Implemented daemon mode with background supervisor loop
  • Built SwiftUI dashboard for GUI management
  • Fixed concurrency with actor-based data handling (eliminated Sendable warnings)
  • Styled README and docs with GitHub Markdown
  • Cleaned documentation for clarity
  • Added policy enforcement with timeouts and resource limits
  • Modular architecture with Swift packages
  • Thread-safe data access in RuntimeProcess
  • Added CI workflow with GitHub Actions
  • Configured SwiftLint for code quality
  • Added unit tests for core components
  • Added binary releases via GitHub Actions
  • Created Homebrew formula for easy installation

All fixes ensure safe, efficient, user-space system management on macOS.