-
💔 Dropped official support for Node v14, v16, and v18. Minimum Node.js version is now v20.
-
✨ Added startup validation for procps availability:
BatchCluster
now throwsProcpsMissingError
during construction if the requiredps
command (ortasklist
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
withunknown
throughout the codebase - Enhanced error handling and process lifecycle management
- Extracted process management logic into dedicated classes (
Full Changelog: v13.0.0...v14.0.0