Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jul 16, 2025

This PR contains the following updates:

Package Change Age Confidence
async (source) ^2.6.4^3.0.0 age confidence

Release Notes

caolan/async (async)

v3.2.6

Compare Source

v3.2.5

Compare Source

  • Ensure Error objects such as AggregateError are propagated without modification (#​1920)

v3.2.4

Compare Source

  • Fix a bug in priorityQueue where it didn't wait for the result. (#​1725)
  • Fix a bug where unshiftAsync was included in priorityQueue. (#​1790)

v3.2.3

Compare Source

v3.2.2

Compare Source

  • Fix potential prototype pollution exploit

v3.2.1

Compare Source

v3.2.0

Compare Source

v3.1.1

Compare Source

  • Allow redefining name property on wrapped functions.

v3.1.0

Compare Source

  • 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. (#​1659)
  • Promises returned from q.push and q.unshift when a callback is not passed now resolve even if an error ocurred. (#​1659)
  • Fixed a parsing bug in autoInject with complicated function bodies (#​1663)
  • Added ES6+ configuration for Browserify bundlers (#​1653)
  • Various doc fixes (#​1664, #​1658, #​1665, #​1652)

v3.0.1

Compare Source

Bug fixes

  • Fixed a regression where arrays passed to queue and cargo would be completely flattened. (#​1645)
  • Clarified Async's browser support (#​1643)

v3.0.0

Compare Source

The async/await release!

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.

const results = await async.mapLimit(urls, 5, async url => {
    const resp = await fetch(url)
    return resp.body
})

Breaking Changes

  • Most Async methods return a Promise when the final callback is omitted, making them await-able! (#​1572)
  • 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)
  • 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)
  • Calling callback(false) will cancel an async method, preventing further iteration and callback calls. This is useful for preventing memory leaks when you break out of an async flow by calling an outer callback. (#​1064, #​1542)
  • during and doDuring have been removed, and instead whilst, doWhilst, until and doUntil now have asynchronous test functions. (#​850, #​1557)
  • limits of less than 1 now cause an error to be thrown in queues and collection methods. (#​1249, #​1552)
  • memoize no longer memoizes errors (#​1465, #​1466)
  • applyEach/applyEachSeries have a simpler interface, to make them more easily type-able. It always returns a function that takes in a single callback argument. If that callback is omitted, a promise is returned, making it awaitable. (#​1228, #​1640)

New Features

  • Async generators are now supported in all the Collection methods. (#​1560)
  • Added cargoQueue, a queue with both concurrency and payload size parameters. (#​1567)
  • Queue objects returned from queue now have a Symbol.iterator method, meaning they can be iterated over to inspect the current list of items in the queue. (#​1459, #​1556)
  • A ESM-flavored async.mjs is included in the async package. This is described in the package.json "module" field, meaning it should be automatically used by Webpack and other compatible bundlers.

Bug fixes

Other



Configuration

📅 Schedule: Branch creation - Between 04:00 PM and 07:59 PM, Monday through Friday ( * 16-19 * * 1-5 ) in timezone Europe/London, Automerge - Between 02:00 PM and 06:59 PM, Monday through Thursday ( * 14-18 * * 1-4 ) in timezone Europe/London.

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/async-3.x branch from 1fa9dc2 to c7d3f7f Compare August 10, 2025 15:41
@renovate renovate bot force-pushed the renovate/async-3.x branch from c7d3f7f to b151e09 Compare August 13, 2025 09:59
@renovate renovate bot force-pushed the renovate/async-3.x branch from b151e09 to ec431a5 Compare August 13, 2025 18:18
@renovate renovate bot force-pushed the renovate/async-3.x branch from ec431a5 to cf07c25 Compare August 22, 2025 16:37
@renovate renovate bot force-pushed the renovate/async-3.x branch from cf07c25 to 2db6c32 Compare August 23, 2025 00:02
@renovate renovate bot force-pushed the renovate/async-3.x branch from 2db6c32 to e309a5b Compare August 25, 2025 06:42
@renovate renovate bot force-pushed the renovate/async-3.x branch 2 times, most recently from c9fc9b9 to c89e0ab Compare September 8, 2025 23:05
@renovate renovate bot force-pushed the renovate/async-3.x branch from c89e0ab to b4ef32e Compare September 18, 2025 09:48
@renovate renovate bot force-pushed the renovate/async-3.x branch from b4ef32e to 76ab62a Compare November 4, 2025 03:30
@renovate renovate bot force-pushed the renovate/async-3.x branch from 76ab62a to a3c0dfa Compare November 14, 2025 23:08
@renovate renovate bot force-pushed the renovate/async-3.x branch from a3c0dfa to eeb3831 Compare November 18, 2025 04:59
@renovate renovate bot force-pushed the renovate/async-3.x branch from eeb3831 to dd40485 Compare November 25, 2025 17:29
@renovate renovate bot force-pushed the renovate/async-3.x branch from dd40485 to 2c0cd9d Compare November 25, 2025 22:47
@renovate renovate bot force-pushed the renovate/async-3.x branch from 2c0cd9d to 7298f59 Compare December 1, 2025 22:06
@renovate renovate bot force-pushed the renovate/async-3.x branch from 7298f59 to 203755e Compare December 2, 2025 00:44
@renovate renovate bot force-pushed the renovate/async-3.x branch from 203755e to 89fda08 Compare December 2, 2025 16:26
@renovate renovate bot force-pushed the renovate/async-3.x branch from 89fda08 to 2c826f0 Compare December 2, 2025 16:38
@renovate renovate bot force-pushed the renovate/async-3.x branch from 2c826f0 to 05d3858 Compare December 17, 2025 16:34
@hmcts-jenkins-a-to-c hmcts-jenkins-a-to-c bot requested a deployment to preview December 17, 2025 16:45 Abandoned
@renovate renovate bot force-pushed the renovate/async-3.x branch from 05d3858 to ea63420 Compare December 30, 2025 23:03
@hmcts-jenkins-a-to-c hmcts-jenkins-a-to-c bot requested a deployment to preview December 31, 2025 07:07 Abandoned
@renovate renovate bot force-pushed the renovate/async-3.x branch from ea63420 to ebff79b Compare January 7, 2026 13:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants