Skip to content

v5.0.0

Compare
Choose a tag to compare
@github-actions github-actions released this 23 May 10:01
· 7 commits to main since this release

5.0.0 (2025-05-23)

Bug Fixes

  • ensure eq always returns a boolean (c9700e4)

Features

  • add boolean support to gt, gte, lt, lte (3fd2310)
  • deep equal support (#20) (36678da)
  • define the behavior for handling empty arrays and non-array input in functions (#21) (d496f54)
  • do not throw in gt, gte, lt, lte, and do not throw on empty arrays (#23) (27e5d24)
  • handle ordering mixed types in function sort (46a9d61)
  • implement support for operator precedence (#17) (0d39aeb)

BREAKING CHANGES

  • The operators option changes from an object like { aboutEq: '~=', ... } into an array with custom operators, having a name and precedence, like [{ name: 'aboutEq', op: '~=', at: '==', vararg: false, leftAssociative: true }, ...].