Skip to content

Releases: mmomtchev/Queue

v2.1.4

21 Mar 08:47
Compare
Choose a tag to compare
  • Remove unintended npm dependency
  • Add a prepare script

v2.1.3

22 Feb 20:12
Compare
Choose a tag to compare
  • Accept only async functions as a parameter to Queue.run() and avoid returning nested promises

v2.1.2

02 Feb 16:15
Compare
Choose a tag to compare
  • Move the debug statements to rollup.config.mjs to eliminate process references from the output file

v2.1.1

29 Jan 23:16
Compare
Choose a tag to compare
  • Raise an exception when trying to add a task with an already existing id (instead of failing when trying to run it)
  • Ability to dequeue multiple tasks when scheduling (fixes not reaching the maximum concurrency limit when the cool down is very low but more than zero)
  • Ability to wait until there are only X tasks waiting in the queue (for throttling when enqueuing)

v2.1.0

25 Jan 10:15
Compare
Choose a tag to compare
  • Builtin ultra-light heap implementation from heap-js by @ignlg
  • Drop the default export
  • Size down to 1.2KBytes when compressed
  • Now ships transpiled to ES2017 (aka ES8) (as it supposes that you have async/await)

v2.0.0

24 Jan 18:54
Compare
Choose a tag to compare
  • Almost complete rewrite in TypeScript
  • Use PriorityQueue from typescript-collection
  • O(log(n)) in all cases
  • Switch to mocha and test CJS/ES6/TS
  • Many bugs and edge cases fixed
  • The preferred way to import is now via the named export but the default export is still there
  • 2.0.0 can lead to a slightly different execution order when using different priorities, throttling and concurrency-limiting at the same time - the new order is the correct one

v1.2.1

05 Apr 12:46
Compare
Choose a tag to compare
  • Fix #37 TypeScript definitions for QueueStats