Skip to content

Releases

1.1.0

Choose a tag to compare

@github-actions github-actions released this 03 Nov 16:01
846d111

1.1.0 (2026-11-03)

Bug Fixes

  • Accept float and bool results in ascendWith/descendWith comparators (bcce694)

Features

  • Add ascendWith and descendWith, document remap pitfalls (56f8da2)
  • Curry head and tail, support strings (4b65016)
  • Rename package to temp/fnc (7f399dd)

1.0.0

Choose a tag to compare

@github-actions github-actions released this 03 Nov 15:30
2883ede

1.0.0 (2026-11-03)

  • feat!: Release the reviewed API as 1.0 (b3b8cbc)

Bug Fixes

  • Correct edge cases found in a review of the library (738d4e9)

Features

  • Add around 50 functions, separate concat from merge, deprecate contains (2c43637)
  • Align divide and arity with Ramda (5fd56cf)

BREAKING CHANGES

  • Compared to 0.7, the following behaviour changed:
  • PHP 8.4 or later is required.
  • equals() compares lists strictly (order and count matter), objects only
    if they are of the same class, never an object with an array, and
    closures by identity.
  • divide() treats null as 0 and returns INF, -INF or NAN for a division
    by zero instead of null.
  • The arity of callables is the number of their required parameters, so
    applySpec, ifElse, flip and pipe curry callables with optional
    parameters with fewer arguments. Use curryN() or flip($fn, $arity).
  • concat() returns a list (keys are dropped) or a string; use merge()
    for arrays with string keys.
  • prop() only reads public properties and returns null for others.
  • filter() and reduce() pass the key only to callbacks that accept it.
  • pipe() and compose() throw InvalidArgumentException without functions.

Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com