Skip to content

Release 14.0.0

Latest
Compare
Choose a tag to compare
@mceachen mceachen released this 26 May 19:31
· 10 commits to main since this release
49f8eba
  • 💔 Dropped official support for Node v14, v16, and v18. Minimum Node.js version is now v20.

  • ✨ Added startup validation for procps availability: BatchCluster now throws ProcpsMissingError during construction if the required ps command (or tasklist on Windows) is not available. This provides clear, actionable error messages instead of cryptic runtime failures. Resolves #13 and #39.

  • 📦 Significant internal refactoring to improve maintainability:

    • Extracted process management logic into dedicated classes (ProcessPoolManager, TaskQueueManager, ProcessHealthMonitor, StreamHandler, ProcessTerminator)
    • Implemented strategy pattern for health checking logic
    • Improved type safety by replacing any with unknown throughout the codebase
    • Enhanced error handling and process lifecycle management

Full Changelog: v13.0.0...v14.0.0