Packages

async

3.2.6 · 19 Aug 2024MIT149.5M / weekRepositoryHomepagenpmAtom feed

Upgrading async From 2.6.4 to 3.2.2

7 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 2.6.4Latest3.2.6

Before you upgrade

Tick each one off as you go
  • Breaking3.2.0
  • Breaking3.0.0
  • Breaking3.0.0
  • Breaking3.0.0
  • Breaking3.0.0
  • Breaking3.0.0
  • Breaking3.0.0
  • Breaking3.0.0
  • Breaking3.0.0
  • Breaking3.0.0

Security

  • Fix potential prototype pollution exploit

    3.2.2

Release by release

  1. 3.2.2

    Security fix28 Oct 2021
    • Security

      Fix potential prototype pollution exploit

  2. 3.2.1nothing new or fixed in the note

  3. 3.2.0

    Migration needed24 Feb 20201 fix
    • Breaking

      Remove built-in browserify configuration

    • Fixed

      Fix a bug in Safari related to overwriting func.name

  4. 3.1.1

    24 Jan 20201 new
    • New

      Allow redefining name property on wrapped functions.

  5. 3.1.0

    23 Jun 20192 new · 1 fix
    • New

      Added q.pushAsync and q.unshiftAsync, analagous to q.push and q.unshift, except they always do not accept a callback, and reject if processing the task errors.

    • New

      Added ES6+ configuration for Browserify bundlers

    • Fixed

      Fixed a parsing bug in autoInject with complicated function bodies

  6. 3.0.1

    26 May 20192 fixes
    • Fixed

      Fixed a regression where arrays passed to queue and cargo would be completely flattened.

    • Fixed

      Clarified Async's browser support

  7. 3.0.0

    Migration needed20 May 20194 new · 1 fix
    • Breaking

      There are a lot of new features and subtle breaking changes in this major version, but the biggest feature is that most Async methods return a Promise if you omit the callback, meaning you can await them from within an async function.

    • Breaking

      Most Async methods return a Promise when the final callback is omitted, making them await-able!

    • Breaking

      We are now making heavy use of ES2015 features, this means we have dropped out-of-the-box support for Node 4 and earlier, and many old versions of browsers. (#1541, #1553)

    • Breaking

      In queue, priorityQueue, cargo and cargoQueue, the "event"-style methods, like q.drain and q.saturated are now methods that register a callback, rather than properties you assign a callback to. They are now of the form q.drain(callback). If you do not pass a callback a Promise will be returned for the next occurrence of the event, making them await-able, e.g. await q.drain(). (#1586, #1641)

11 other lines we could not sort, mostly version bumps
  • Use queueMicrotask if available to the environment

    3.2.1
  • Minor perf improvement in priorityQueue

    3.2.1
  • More examples in documentation

    3.2.1
  • Various doc fixes (#1708, #1712, #1717, #1740, #1739, #1749, #1756)

    3.2.1
  • Improved test coverage

    3.2.1
  • Varios doc fixes (#1688, #1703, #1704)

    3.2.0
  • Promises returned from q.push and q.unshift when a callback is not passed now resolve even if an error ocurred.

    3.1.0
  • Various doc fixes (#1664, #1658, #1665, #1652)

    3.1.0
  • Removed Lodash as a dependency (#1283, #1528)

    3.0.0
  • Miscellaneous docs fixes (#1393, #1501, #1540, #1543, #1558, #1563, #1564, #1579, #1581)

    3.0.0

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.