Skip to content

Releases: jeffbski/wait-on

v4.0.0 - a fresh approach

18 Jan 23:48
Compare
Choose a tag to compare

Rewrite of the main code to simplify the logic and reduce possibility for race conditions. Bumped the major version do to the rewrite and also a minor change in how the stability window is used. In the new version the stability window only applies to file resources (waiting for them to exist and stop changing), for other resources they are completed as soon as available.

Also in the new logic, once a resource becomes available the system doesn't continue to check it, it only continues checking the pending resources.

Logging was improved and simplified.

  • -l / --log just indicate what resources are still pending
  • -v / --verbose includes resources that are pending and debug info from checks

Updated many dependencies including rxjs, and joi. Removed core-js polyfill as no longer needed.

Added a -s / --simultaneous optional flag to the command. If provided it will limit the number of simultaneous or concurrent connections to an individual resource. It defaults to Infinity so it will make requests without caring about previous ones. If you were to set it to "1" then it wouldn't be sending new requests to http://foo before the previous one finished (success, failure, or timeout).

v3.3.0

24 Nov 02:11
Compare
Choose a tag to compare
  • Added --httpTimeout option
--httpTimeout

  Maximum time in ms to wait for an HTTP HEAD/GET request, default 0
  which results in using the OS default

Thanks to @valscion for summarizing the release notes.
Also thanks to @perry-mitchell for mentioning that this should have been a major release bump due to dropping support for Node 6. Node 6 users should use v3.2.0. In the future, I will bump major version when Node version support changes.

v3.2.0

06 Nov 12:25
Compare
Choose a tag to compare

Added --tcpTimeout option

 --tcpTimeout

   Maximum time in ms for tcp connect, default 300ms

thanks @Sarithis

v3.1.0

04 Oct 00:51
Compare
Choose a tag to compare

Now supports promises thanks to @gyszalai

v3.0.1

02 Sep 20:56
Compare
Choose a tag to compare

Pushed to update the Readme that is displayed for npmjs.com to mention Node.js v6+ requirement for wait-on@3. Refers node.js v4 users to [email protected] and older engines to [email protected].

v3.0.0

02 Sep 16:45
Compare
Choose a tag to compare

Update packages which results in drop of support for Node 4.

V3+ requires node 6+

Updated:

v2.1.2

02 Sep 16:26
Compare
Choose a tag to compare

[email protected] is last version to support Node.js v4.

Reverted recent updates which dropped support for Node v4.

updated travis CI to test with Node.js v4, 6, 8, 10, and latest

Moving these previous breaking updates to major release v3.

v2.0.1

16 Nov 00:23
Compare
Choose a tag to compare

Minor readme update. Basically the same as v2.0.0

Updated joi, requires Node.js v4+

09 Nov 21:04
Compare
Choose a tag to compare

Updated joi dependency which requires Node.js v4+, so starting with this release wait-on requires Node.js v4 or greater.

updated deps, last for Node.js v0.10 v0.12 support

09 Nov 21:03
Compare
Choose a tag to compare

Updated dependencies.

This is the last planned update with Node.js v0.10 and v0.12 support.