Packages

p-retry

9.0.0 · 2 Nov 2026MIT78.2M / weekRepositoryHomepagenpmAtom feed

Upgrading p-retry From 3.0.1 to 9.0.0

23 releases in betweennotes for 14

Reading releases, release notes and advisories…

4.0.0 has no release note on GitHub or in the repository's changelog, so its breaking changes are missing from the counts below.
  1. 3.0.1yours
  2. 4.0.0major
  3. 8 releases
  4. 5.0.0major
  5. 3 releases
  6. 6.0.0major
  7. 3 releases
  8. 7.0.0major
  9. 2 releases
  10. 8.0.0major
  11. 1 release
  12. 9.0.0target
  13. 1 pre
11+
changes to make
0
advisories fixed
10+
new
12+
fixes

Counted from 14 of 23 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

  1. 9.0.0

    Migration needed2 Nov 20263 new · 7 fixes
    • Breaking

      Once signal is aborted, the promise always rejects with the abort reason and no more callbacks are called dff55ff 1d8bd87 62d4a51

    • Breaking

      shouldConsumeRetry returning nothing now counts as true e80456b

    • Breaking

      Validate the randomize, unref, and signal options e80456b dff55ff

    • New

      Make the message argument of AbortError optional 62d4a51

  2. 8.0.1

    1 Sep 20261 fix
    • Fixed

      Fix error for invalid fractional retry counts 3c22035

  3. 8.0.0

    Migration needed26 Mar 20262 new · 1 fix
    • Breaking

      Require Node.js 22 85cdece

    • Breaking

      Change retry callback order 616306e

    • New

      Add retryDelay to onFailedAttempt context (#66) 96cce98

    • New

      Harden retry timing and callback validation 9d47b60

    • Fixed

      Fix TypeError retry handling f011d2e

  4. 7.1.1

    9 Dec 20251 fix
    • Fixed

      Fix delayed abort when signal is already aborted before delay phase 2aba573

  5. 7.1.0

    9 Oct 20251 new
  6. 7.0.0

    Migration needed21 Aug 20251 new
    • Breaking

      Require Node.js 20 3bdb53a

    • Breaking

      onFailedAttempt and shouldRetry now receive a context object instead of a decorated error bff36bb

    • Breaking

      Remove the forever option (#79) 6a89827

    • New

      Add makeRetriable method 1a81c1e

  7. 6.2.1

    15 Nov 20241 fix
    • Fixed

      Fix onFailedAttempt and shouldRetry options being undefined (#82) b400af6

  8. 6.2.0

    20 Dec 20231 new
2 other lines we could not sort, mostly version bumps

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.