Promise Pool is a Node.js utility for concurrent, map-like processing of promises, with configurable concurrency (default is 10). It helps developers process collections asynchronously while optionally handling errors, stopping early, and adding hooks for task start and finish.
Project status
- Supercharge’s
promise-poolappears intermittently maintained, with the most recent upstream activity on 2026-03-05 and no evidence of further updates since then, suggesting a possible stop-start cadence rather than steady releases. - Update cadence is irregular: updates were tagged v3.1.1 (2024-01-31), v3.2.0 (2024-03-25), then a long gap until v3.3.0 (2026-03-05).
AI summary generated
Recent updates
v3.3.0
Version v3.3.0 introduces new capabilities around tracking and managing processed items, including the ability to flush stored processed items and optionally avoid storing them in memory. Release notes from the publisher are missing in the provided release payload, so the changes below are inferred from the actual code diff and accompanying documentation updates (changelog, README, tests).
BreakingFeaturesv3.2.0
v3.2.0 primarily updates type definitions around the promise pool task handler and bumps some development dependencies. The only runtime-related code change visible in the diff is the default initialization of the internal handler function inside PromisePoolExecutor.
v3.1.1
This release is tagged v3.1.1, but no release notes were provided by the publisher. Without documented changes, developers should review the diff between v3.1.0 and v3.1.1 (and any linked PRs) to confirm API compatibility, behavior changes, and dependency updates.
v3.1.0
v3.1.0 introduces changes to PromisePoolExecutor task timeout handling, specifically returning a timer plus a canceller and calling the canceller after the timed task finishes, to avoid leaving active timers in the event loop. It also changes PromisePool.for(...) so that an error handler configured via pool.handleError(...) is retained when calling pool.for(...) afterward.
v3.0.0
No release notes were provided in the publisher content for v3.0.0. The code changes indicate a major v3 release that expands PromisePool to accept iterables and async iterables (not just arrays), updates runtime behavior accordingly, and bumps tooling and dependency versions.
Featuresv2.4.0
No release notes were provided for v2.4.0 in the supplied release_notes content. The code diff and repository files show new functionality around per-task timeouts and an option to align result array positions with source items, along with several type definition and typing refinements.
v2.3.2
No release notes were provided for v2.3.2. The code changes in this version focus on fixing internal task lifecycle handling in PromisePoolExecutor so the next task is not started before the previous task result or error is fully handled.
v2.3.1
v2.3.1 primarily bumps development dependencies and fixes a bug where processing should stop after an error handler rethrows from within `pool.handleError()`. No separate release notes were provided by the publisher, so the effective documentation comes from the included changelog entry and the README edits.
v2.3.0
v2.3.0 introduces runtime concurrency control via a new `useConcurrency` API and expands the pool surface area available inside callbacks. The release notes provided to analyze are empty, so key behavior and typing changes may not be documented anywhere else.
BreakingFeaturesv2.2.0
Version v2.2.0 was published on 2022-05-20, but the publisher did not provide any release notes. As a result, the specific changes, potential breaking updates, and migration steps cannot be determined from the provided information.