changelogs.md


jorgenkg/promise-priority-queue

Repository  -  API  -  Source

6.0.4

April 3, 2022

6.0.3

February 7, 2022

Bug Fixes

  • issue with queue not being processed (1e3e686)

6.0.2

February 7, 2022

6.0.1

February 7, 2022

Bug Fixes

  • issue with queue not being processed (8c26d3e)

6.0.0

December 30, 2021

⚠ BREAKING CHANGES

  • The PromiseQueue() constructor now accepts an object of options instead of multiple arguments. The new object argument is optional.

Bug Fixes

  • add support for node v5 to v17 and refactor PromiseQueue constructor arguments (941725d)

5.1.0

December 28, 2021

Features

  • add declaration map for ts files (9618ea1)

Bug Fixes

5.0.1

July 24, 2021

5.0.0

July 15, 2021

⚠ BREAKING CHANGES

  • replaced the parameter size with the getter function getSize()

Bug Fixes

  • remove size property and replace it with getSize() (04fd9c3)
  • task fn should not accept arguments (a0706ea)

4.0.0

July 15, 2021

⚠ BREAKING CHANGES

  • removed all-caps PAUSE flag and replaced it by a isPaused() getter fn.

Bug Fixes

  • renamed PAUSE -> isPaused() (d0ac713)

3.0.0

July 15, 2021

⚠ BREAKING CHANGES

  • make internal bucketQueue property private and add comments
  • moved internal events such as pause, resume, complete and add-task to a private emitter to prevent unintentional pollution from external sources
  • removed the bucketCount parameter from the queue constructor. Instead, the queue may be dynamically expanded at runtime.

Features

  • remove bucketCount parameter (e7cdcfa)
  • removed generator, stricter typing and moved internal events to a private emitter (da6f5ae)
  • rewritten as typescript (3e17cdb)

Bug Fixes

  • concurrency regression bug (a41c531)
  • make internal bucketQueue property private and add comments (5ecc379)

2.0.1

July 15, 2020

Bug Fixes

  • concurrency regression bug (a41c531)

2.0.0

July 14, 2020

⚠ BREAKING CHANGES

  • updated queue constructor to make the API easier to use

Bug Fixes

  • improved code flow (b1e468b)

  • updated constructor and readme (8dcf2df)

1.0.2

July 14, 2020