Repository navigation
Sleeping Dog 🐕
Release Notes
🚀 New Features
- Added support for priority queues, allowing tasks to be assigned different priorities for processing order.
- Introduced scheduled tasks using cron expressions, enabling tasks to be executed at specific times or intervals.
- Implemented task dependencies, ensuring that certain tasks are executed only after their dependencies have completed.
- Added rate limiting functionality to control the rate at which tasks are processed, preventing resource overload.
- Introduced a retry mechanism for failed tasks, with configurable backoff strategies.
- Implemented a dead letter queue to handle tasks that repeatedly fail, moving them for manual intervention.
- Added result caching to avoid redundant processing and improve performance by caching task results.
- Introduced real-time progress tracking for long-running tasks using WebSocket communication.
🐛 Bug Fixes
- Fixed an issue where the task queue would sometimes process tasks out of order.
- Resolved a bug that caused the worker to crash when encountering an unexpected error.
- Fixed a race condition that could lead to duplicate task execution in certain scenarios.
- Addressed an issue where the retry mechanism would not respect the configured maximum retry attempts.
- Fixed a memory leak in the worker process that occurred during long-running tasks.
📚 Documentation
- Added comprehensive documentation for all new features, including priority queues, scheduled tasks, task dependencies, rate limiting, retry mechanism, dead letter queue, result caching, and progress tracking.
- Updated the getting started guide with examples demonstrating how to use the new features.
- Improved the API reference documentation, providing clearer explanations and more code samples.
- Added troubleshooting guides to help users diagnose and resolve common issues.
🌟 Enhancements
- Improved error handling and logging throughout the codebase for better visibility and debugging.
- Optimized the performance of the task queue by implementing more efficient algorithms for task scheduling and execution.
- Refactored the codebase to improve modularity and maintainability, making it easier to extend and customize.
- Added more configuration options to fine-tune the behavior of the task queue and worker processes.
- Improved test coverage and added integration tests to ensure the stability and reliability of the library.
🔧 Miscellaneous
- Updated dependencies to their latest versions to ensure compatibility and security.
- Removed deprecated APIs and marked them as obsolete in the documentation.
- Improved the build process and added support for generating source maps for easier debugging.
- Added continuous integration and deployment workflows to automate the release process.
- Improved the project's README file with clearer instructions and more examples.
These release notes provide an overview of the significant changes and additions in this release of Cleo. For more detailed information and code examples, please refer to the updated documentation and API reference.
We appreciate your feedback and contributions to making Cleo even better. If you encounter any issues or have suggestions for improvement, please don't hesitate to open an issue or submit a pull request on our GitHub repository.
Thank you for using Cleo!