Skip to content

v2.0.0

Latest

Choose a tag to compare

@github-actions github-actions released this 17 Mar 01:49
· 18 commits to main since this release
1ffd9a1

2.0.0 (2026-03-17)

⚠ BREAKING CHANGES

  • deps: async-iterable now uses ES2020 syntax. This breaks compatibility with obsolete
    versions of node and obsolete browsers. If you need to support these older systems, then either use
    an older version of async-iterable, or use Babel to compile down to older ES syntax.
  • isAsyncIterable: The type parameter of isAsyncIterable has been deleted as it was unsound. Existing
    code that relied on the type parameter is subtly broken, because this function cannot verify the
    type parameter of the provided value. Callers may be able to determine the type parameter through
    type narrowing. Otherwise, they should verify the type of each value provided by the AsyncIterable
    as they receive it.
  • node: node versions <18, 19, 21, 23 are no longer supported.

Features

  • deps: update @softwareventures/tsconfig to v8.1.1 (1ffd9a1)
  • node: drop support for node <18, 19, 21, 23 (a63dd71)

Bug Fixes

  • isAsyncIterable: delete unsound type parameter (5aac704)