Sourced from p-retry's releases.
v7.0.0
Breaking
- Require Node.js 20 3bdb53a
onFailedAttemptandshouldRetrynow receive acontextobject instead of a decoratederrorbff36bb
- You must now must access the error as
object.errorinstead ofobject.- The use of
.attemptNumberand.retriesLeftdid not change.- Remove the
foreveroption (#79) 6a89827
- Many use-cases can use
{retries: Infinity}instead for infinite retries.Improvements
- Rewrite the package to not depend on the
retrypackage (#79) 6a89827
- This is a full rewrite, so test carefully.
- Add
makeRetriablemethod 1a81c1e
https://github.com/sindresorhus/p-retry/compare/v6.2.1...v7.0.0
v7.0.0-0
Breaking
- Require Node.js 20 3bdb53a
onFailedAttemptandshouldRetrynow receive acontextobject instead of a decoratederrorbff36bb
- You must now must access the error as
object.errorinstead ofobject.- The use of
.attemptNumberand.retriesLeftdid not change.- Remove the
foreveroption (#79) 6a89827
- Many use-cases can use
{retries: Infinity}instead for infinite retries.Improvements
- Rewrite the package to not depend on the
retrypackage (#79) 6a89827
- This is a full rewrite, so test carefully.
- Add
makeRetriablemethod 1a81c1e
https://github.com/sindresorhus/p-retry/compare/v6.2.1...v7.0.0-0
e11ca9c
7.0.081608ce
Minor tweaks9ef6a73
Clarify shouldRetry documentation (#93)e05b101
Fix code example typo (#91)157d06e
7.0.0-0bff36bb
Stop decorating errors1a81c1e
Add makeRetriable method4811051
Document mocking777d98f
Document signal handlingb4e52fc
Add test for async stack traces