Skip to content

Releases: smartcar/retryify

v6.0.0

19 May 04:08
b80d4dc
Compare
Choose a tag to compare

6.0.0 (2022-05-19)

Features

  • ci: drop Node.js 10, 12 and add Node.js 16, 18 (a0383c1)

BREAKING CHANGES

  • ci: This library will no longer be tested on Node.js 10 and Node.js 12 and as such will not be guaranteed to work on these versions of Node.js. We support LTS versions of Node.js as they are specified here: https://github.com/nodejs/Release#release-schedule

v5.1.0

29 Apr 19:14
c44a956
Compare
Choose a tag to compare

5.1.0 (2022-04-29)

Features

  • initialDelay before retry execution (#76) (c44a956)

v5.0.1

15 Jul 18:59
Compare
Choose a tag to compare

5.0.1 (2020-07-15)

Bug Fixes

  • lingering use of .errors (a02d419)

v5.0.0

15 Jul 18:24
Compare
Choose a tag to compare

5.0.0 (2020-07-15)

Features

  • replace .errors with .shouldRetry (a7e3a82)

BREAKING CHANGES

  • options.errors is no longer a valid option, please use options.shouldRetry instead.

shouldRetry is more flexible than .errors as it allows the user to retry based on basically any property of the caught error.

User facing change:

-  errors: A,
+  shouldRetry: (caught) => caught instanceof A),
-  errors: [A, B, C],
+  shouldRetry: (caught) => [A, B, C].some(Candidate => caught instanceof Candidate),

v4.1.0

29 Jun 07:06
Compare
Choose a tag to compare

4.1.0 (2020-06-29)

Features

  • ci: add Node.js 14 to the testing matrix (cfee889)

v4.0.0

18 Dec 23:58
Compare
Choose a tag to compare

4.0.0 (2019-12-18)

chore

Features

  • retry iteratively rather than recursively (b914fe6)
  • switch from bluebird to native promise (ff24c88)

BREAKING CHANGES

  • ci: This library will no longer be tested on Node.js 8 and as such will not be guaranteed to work on this version of Node.js. We support LTS versions of Node.js as they are specified here: https://github.com/nodejs/Release#release-schedule
  • The promises returned by retryify will no longer be Bluebird promises, so if you are using any Bluebird specific methods (.tap, .spread, .catch(ErrorClass, ...), etc.) chained off of retried methods you will need to refactor your code.

v4.0.0-beta.1

01 Dec 03:37
Compare
Choose a tag to compare
v4.0.0-beta.1 Pre-release
Pre-release

4.0.0-beta.1 (2019-12-01)

Features

  • retry iteratively rather than recursively (a04850e)
  • switch from bluebird to native promise (0755934)

BREAKING CHANGES

  • The promises returned by retryify will no longer be Bluebird promises, so if you are using any Bluebird specific methods (.tap, .spread, .catch(ErrorClass, ...), etc.) chained off of retried methods you will need to refactor your code.

v3.0.0

24 Jul 22:24
Compare
Choose a tag to compare

3.0.0 (2019-07-24)

chore

  • ci: drop Node.js 6 and add Node.js 12 (ed6c378)

BREAKING CHANGES

v2.0.2

29 May 15:47
Compare
Choose a tag to compare

2.0.2 (2019-05-29)

Bug Fixes

  • package: update all dependencies (344f85b), closes #43

v2.0.1

02 Jan 01:07
Compare
Choose a tag to compare

2.0.1 (2019-01-02)

Bug Fixes

  • package: update all dependencies to mitigate lodash vuln (39b2413)