Skip to content

v7.0.0

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 06 Dec 15:00
· 167 commits to main since this release
566ba41

7.0.0 (2023-12-06)

⚠ BREAKING CHANGES

  • node: node versions < 18, 19 are no longer
    supported.
  • shuffle: The deprecated function
    shuffle has been deleted. This function was
    always out of scope for this package because it
    is non-deterministic and therefore not
    functionally pure. If you need a similar
    function, use the package "array-shuffle"
    instead.
  • filterFirst: The deprecated function
    filterFirst has been deleted because it is
    confusing. Use excludeFirst instead and
    invert the predicate.
  • head: The deprecated function head
    has been deleted. Use first instead.
  • isArrayLike: isArrayLike can no longer be
    called with a type parameter. This function was
    unsound when called with a type parameter. Code
    that relied on specifying the type parameter
    explicitly should be rewritten to validate the
    type of array elements by some other method.
  • isArray: isArray can no longer be called
    with a type parameter. This function was unsound
    when called with a type parameter. Code that
    relied on specifying the type parameter
    explicitly should be rewritten to validate the
    type of array elements by some other method.

Features

  • filterFirst: delete deprecated function (c3d2759)
  • head: delete deprecated function (928b19e)
  • node: drop support for node < 18, 19 (6b4c34a)
  • shuffle: delete deprecated function (3a310e5), closes #45

Code Refactoring

  • isArray: delete type parameter (f056517)
  • isArrayLike: delete type parameter (110ae6a)