Skip to content

Releases: jonbern/fetch-retry

TypeScript type definition

16 May 15:31
Compare
Choose a tag to compare

Adds TypeScript type definition file to improve tooling and developer experience for devs using TypeScript.

Big thanks to @fzembow for contributing a pull request for this feature!

Added flexibility with `retryDelay` and `onRetry` as functions

01 May 14:36
Compare
Choose a tag to compare

The new version adds support for specifying retryDelay and onRetry as functions, while staying backwards compatible.

This makes the library more flexible, and adds the possibility for users to implement exponential back-off instead of using a static retry interval. It also allows users to add custom logic on when to retry requests, or perform additional actions before a retry (for instance logging on retry attempts).

Many thanks to @thomsbg for making this release possible by contributing pull requests.

2.0.0

03 Aug 08:12
Compare
Choose a tag to compare

Resolve promise on retry expiry instead of rejecting it.

Using global fetch variable and promise polyfill

27 Mar 10:26
88007a6
Compare
Choose a tag to compare

This version uses the global fetch variable from isomorphic fetch, and the global promise polyfill from es6-promise.

Added functionality to retry on configurable HTTP status codes.

03 Mar 09:05
Compare
Choose a tag to compare

Issue in readme

24 Oct 19:45
Compare
Choose a tag to compare

Updates README and fixes error

1.0.1

19 Oct 20:50
Compare
Choose a tag to compare
1.0.1

1.0.0

19 Oct 20:48
Compare
Choose a tag to compare
adds travis-ci badge