p-retry
9.0.0 · 2 Nov 2026MIT78.2M / weekRepositoryHomepagenpmAtom feed
Upgrading p-retry From 4.5.0 to 9.0.0
17 releases in betweennotes for 14
Reading releases, release notes and advisories…
- 11+
- changes to make
- 0
- advisories fixed
- 10+
- new
- 12+
- fixes
Counted from 14 of 17 release notes. Advisories are counted from the advisory database, in full.
Before you upgrade
Tick each one off as you go- Breaking9.0.0
- Breaking9.0.0
- Breaking9.0.0
- Breaking8.0.0
- Breaking8.0.0
- Breaking7.0.0
- Breaking7.0.0
- Breaking7.0.0
- Breaking6.0.0
- Breaking5.0.0
Release by release
- Breaking
Once
signalis aborted, the promise always rejects with the abort reason and no more callbacks are called dff55ff 1d8bd87 62d4a51 - Breaking
shouldConsumeRetryreturning nothing now counts astruee80456b - Breaking
Validate the
randomize,unref, andsignaloptions e80456b dff55ff - New
Make the
messageargument ofAbortErroroptional 62d4a51
- Breaking
- Fixed
Fix error for invalid fractional retry counts 3c22035
- Fixed
- Breaking
Require Node.js 22 85cdece
- Breaking
Change retry callback order 616306e
- New
Add
retryDelaytoonFailedAttemptcontext (#66) 96cce98 - New
Harden retry timing and callback validation 9d47b60
- Fixed
Fix
TypeErrorretry handling f011d2e
- Breaking
- Fixed
Fix delayed abort when signal is already aborted before delay phase 2aba573
- Fixed
- New
Add
shouldConsumeRetryoption (#96) 26d6e05
- New
- Breaking
Require Node.js 20 3bdb53a
- Breaking
onFailedAttemptandshouldRetrynow receive acontextobject instead of a decoratederrorbff36bb - Breaking
Remove the
foreveroption (#79) 6a89827 - New
Add
makeRetriablemethod 1a81c1e
- Breaking
- Fixed
Fix
onFailedAttemptandshouldRetryoptions beingundefined(#82) b400af6
- Fixed
- New
Add
shouldRetryoption (#75) b993a96
- New
2 other lines we could not sort, mostly version bumps
- 6.1.0
Move network error detection into a separate package ba073f3
- 5.1.1
Lock the
@types/retrydependency 13f6350
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.