Skip to content

Latest commit

 

History

History
56 lines (47 loc) · 1.8 KB

CHANGELOG.md

File metadata and controls

56 lines (47 loc) · 1.8 KB

busywait.js Change Log

This project adheres to Semantic Versioning.

Development

  • nothing yet

BREAKING CHANGES

  • Dropped support for node versions below 14

Fixed

  • functions with async modifier were not recognized as functions

Fixed

  • Support for node 18

Fixed

  • Support for node 17

Fixed

  • Support for node 16

Added

  • Added total delay information to the checked function call

Fixed

  • Stopped messing the global stop with the __awaiter helper function
  • Fixed checkFn doc in readme

Breaking changes

  • Errors are now an instance of Error and not plain strings
  • Options type was modified
  • Return type was modified

Added

  • Exponential backoff (with optional full jitter) support
  • Added to the result, the time it took to finish
  • Added delay information to the checked function call

Fixed

  • Better type inference
  • Updated readme
  • Updated all dependencies to the latest versions

Breaking changes

  • Removed redundant export methods
  • Sync check functions will be considered as failed only if they throw error

Added

  • Full typescript support #9
  • Added test coverage

Fixed

  • Updated readme
  • Updated all dependencies to the latest versions