Node-retry provides an abstraction for exponential and custom retry strategies for failed operations in Node.js. It includes helpers to generate retry timeouts, retry an operation multiple times (optionally forever), and wrap object methods so they automatically retry on failure.
Project status
- Not actively maintained based on evidence, the last upstream push is 2023-09-13, and the most recent versioned update listed is v0.13.1 from 2021-06-21.
- Apparent update cadence is very infrequent, with major updates spanning multiple years (v0.12.0 in 2018, v0.13.1 in 2021), suggesting a long-lived but low-velocity project.
AI summary generated Today
Recent updates
v0.13.1
6/21/2021v0.13.1 is a small bugfix release focused on retry behavior around forever mode, timeouts, and preventing problematic retry loops. The code changes include adjustments to how infinite retries are enabled, how timeout durations are computed, and how errors are preserved/managed when retry limits are hit.
v0.12.0
4/9/2018v0.12.0 primarily introduces an option named maxRetryTime to cap how long a retried operation may run, and it makes changes to how retry.wrap wraps object methods. The code diff also adds a new RetryOperation.reset() API and modifies retry behavior and test/packaging setup beyond what is explicitly described in the release notes.
BreakingFeaturesv0.10.1
12/12/2016Release 0.10.1 is described in the notes as adding stop functionality to the retry operation. The code diff shows additional API additions and behavioral changes beyond stop, including support for retrying forever, timer unref behavior, and a new wrapper helper.
Features0.6.0
5/26/2014Release 0.6.0 was published on 2014-05-26, but the publisher did not include any release notes. As a result, there is no documented information here about new features, breaking changes, bug fixes, security updates, or dependency changes, so the developer impact cannot be determined from the provided text alone.