Packages

p-retry

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

Upgrading p-retry From 5.1.1 to 9.0.0

11 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 5.1.1Newest 5.x5.1.2
  1. 5.1.1yours
  2. 1 release
  3. 6.0.0major
  4. 3 releases
  5. 7.0.0major
  6. 2 releases
  7. 8.0.0major
  8. 1 release
  9. 9.0.0target
  10. 1 pre

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

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
1 other line 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.