Skip to content

v3.3.0

Latest

Choose a tag to compare

@Thavarshan Thavarshan released this 11 May 10:51
· 12 commits to main since this release

Added

  • Rate limiting functionality via rateLimit() to manage API and resource access
  • Promise cancellation support with cancellable() and cleanup callbacks
  • Batch processing capability with the batch() function for improved performance
  • Retry mechanism with configurable backoff strategies using retry()
  • Error context enhancement via withErrorContext() for better debugging
  • Waterfall promise chaining with waterfall() for sequential operations
  • Comprehensive integration tests covering real-world usage scenarios
  • Advanced error handling with specialized exception classes (TimeoutException, RetryException, AsyncException)
  • Support for progress tracking in concurrent operations (map(), pool())
  • Promise pooling with pool() for executing multiple callables with concurrency limits
  • Detailed API documentation with examples for all functions
  • JIRA integration example showing complex asynchronous workflows
  • Database operations example demonstrating concurrent queries

Changed

  • Improved test suite to avoid timing-dependent assertions
  • Enhanced timeout() implementation for more reliable operation
  • Refactored map() to better handle unlimited concurrency (0 value)
  • Optimized event loop management for improved performance
  • Updated the README with comprehensive API documentation and examples
  • Reorganized code structure for better maintainability

Fixed

  • Fixed unstable tests by removing timing-dependent assertions
  • Improved error propagation in nested promises
  • Enhanced promise resolution to prevent memory leaks
  • Fixed concurrency control in map() and batch() functions
  • Addressed potential issues with event loop management in await()
  • Improved error handling in retry() to properly collect and report failures
  • Fixed progress tracking in concurrent operations