Skip to content

Releases: barchart/common-js

v4.9.1

18 May 23:20
Compare
Choose a tag to compare

Bug Fixes

  • Adjusted the Scheduler.scheduler function to address a bug introduced into Node.js between versions 10 and 12. In short, after calling the setTimeout function, the clearTimeout function must be invoked — even if the timer has elapsed normally, and the associated callback was executed. Failing to do so, can prevent memory associated with the callback (via closure) from being garbage collected.

v4.9.0

18 May 23:17
Compare
Choose a tag to compare

New Features

  • Added the Tree.getIsInner function.

v4.7.0

18 May 23:16
Compare
Choose a tag to compare

New Features

  • Added the Tree.count function.

v4.6.0

20 Mar 19:25
Compare
Choose a tag to compare

New Features

  • Added the string.camelCase function.

v4.5.0

04 Mar 19:16
Compare
Choose a tag to compare

New Features

  • Added Scheduler.backoff — a static convenience function that delegates its work to an instance function of the same name.

v4.4.1

21 Feb 20:58
Compare
Choose a tag to compare

Bug Fixes

  • Adjusted array.binarySearch function to process an array with zero items.

v4.4.0

21 Feb 03:17
Compare
Choose a tag to compare

New Features

  • Added a utility function to perform binary searches of arrays (see the array.binarySearch function).

v4.3.1

19 Feb 00:01
Compare
Choose a tag to compare

Technical Enhancements

  • Simplified the implementation of the promise.timeout function (to use Promise.race).

v4.3.0

18 Feb 20:58
Compare
Choose a tag to compare

New Features

  • Added a comparator function to the Timestamp class — see the Timestamp.compareTimestamps function.
  • Added comparison functions to the Timestamp class — see the Timestamp.getIsBefore and Timestamp.getIsAfter and Timestamp.getIsEqual functions.

v4.0.0

01 Feb 04:13
Compare
Choose a tag to compare

No Functional Changes