Skip to content

v2.0.0

Compare
Choose a tag to compare
@petkaantonov petkaantonov released this 06 Jan 15:09
· 1111 commits to master since this release

#What's new in 2.0

Features:

Breaking changes:

  • Sparse array holes are not skipped by collection methods but treated as existing elements with undefined value
  • .map() and .filter() do not call the given mapper or filterer function in any specific order
  • Removed the .inspect() method
  • Yielding an array from a coroutine is not supported by default. You can use coroutine.addYieldHandler() to configure the old behavior (or any behavior you want).
  • .any() and .some() no longer use an array as the rejection reason. AggregateError is used instead.