Skip to content

Releases: nicolas-van/modern-async

2.0.0

29 Dec 16:05
Compare
Choose a tag to compare
  • Major re-design of the API. This re-design was made with the following goals:

    • Avoiding function naming conflict with popular libraries (notably lodash)
    • Simplifying the API by removing duplicate functions
    • Proposing safer default parameters regarding concurrency handling

    See the migration guide to know how to migrate to version 2.X.

  • Added reflectAsyncStatus() function.

1.1.4

15 Sep 09:59
Compare
Choose a tag to compare
Fixed ci config

1.1.3

07 Feb 09:51
Compare
Choose a tag to compare
  • Fixed Typescript definitions for reduce() and reduceRight().
  • Minor adjustments to the documentation.

1.1.2

07 Jan 10:16
Compare
Choose a tag to compare
1.1.2

1.1.1

05 Jan 09:19
Compare
Choose a tag to compare
  • Fixed issue where the typescript definition file was not exported to npm

1.1.0

08 Nov 10:45
Compare
Choose a tag to compare
  • Changed most of the functions that took Iterable as argument to make them also take an
    AsyncIterable.
  • Changed most of the functions that used a concurrency argument to allow them to take a
    Queue instead.
  • Added ordered argument to find, findIndex, findLimit and findIndexLimit.
  • Added new functions filterGenerator, mapGenerator, asyncIterableWrap, queueMicrotask,
    and toArray.
  • Fixed delay and delayCancellable inconsistencies due to setTimeout usage. Now they
    use corejs' setTimeout implementation.
  • Added Typescript declarations.

1.0.4

20 Oct 08:06
Compare
Choose a tag to compare
  • Fixed bug in forEachLimit

1.0.3

09 Aug 16:08
Compare
Choose a tag to compare
  • Performance improvements. Notably the Queue class will now avoid calling the delay() function and will immediately trigger any
    pending task as soon as a task is finished. This change indirectly impacts most functions in this library as they internally use
    Queue. This change can produce minor behavior changes but is not considered a breaking change.
  • Improved tests.

1.0.2

15 Dec 14:29
Compare
Choose a tag to compare
  • Altered UMD deployment to only support browsers that support async/await language feature. The reason is that
    bundling both regenerator-runtime and all the necessary shims is too complex. For older browsers it is easier to
    just process the lib with Babel then add regenerator-runtime and core-js.

1.0.1

15 Dec 11:25
Compare
Choose a tag to compare
  • Fixed map, filter and forEach behavior in case of exception. Pending tasks were not cancelled in case of exception and the
    behavior in that case was not documented as opposed to other functions.