Skip to content

v5.2.0

Latest

Choose a tag to compare

@mpetrovich mpetrovich released this 29 Apr 04:24
· 4 commits to main since this release

Highlights

  • Large operator expansion — Dozens of new functions aligned with Lodash/Ramda-style workflows: list/tuple helpers (compact, chunk, partition, zip, zipAll, unzip / transpose, zipWith), set/uniqueness with custom equality (uniqueBy, differenceWith, intersectionWith, unionWith), sorting and search (sortBy, findIndex, findLastIndex, nth), flatten variants (flattenDeep, flattenDepth), list ergonomics (initial / init, tail / rest, symmetricDifference), functional combinators (flip, once, allPass / overEvery, anyPass / overSome, cond, ifElse, when, unless, juxt / over, converge, reduceRight, scan), object/path utilities (pickBy, omitBy, mapKeys, invert, invertBy, defaults, evolve), producers (range, times, clamp, repeat), roadmap-style additions (findWhere, indexOf, lastIndexOf, countBy, sortedIndex, slice, toPairs / pairs, pad, has, merge / extend, sample, shuffle / randomize, sortKeys, uniqueId, constant, noop, now, remove family, prepend / unshift, append / unpop, product, after, before, wrap, random, shift, pop, splice, invoke, matchesAny, lastly, memoize, mixin / setCustom, drop), plus uniq as an alias of unique.
  • Type and introspection helpers — isArray, isBoolean, isDate, isEqual, isFinite, isFloat, isFunction, isInteger, isNaN, isNull, isNumber, isObject, isRegExp, isResource, isScalar, isString, isTraversable, typeOf.
  • PHP 8.x hardening — Cleared deprecation sources across src/ and tests; PHPUnit is configured to treat deprecations as failures so CI catches regressions.
  • Docs and CI — Regenerated docs/Operations.md for all new APIs; removed in-repo docs/Roadmap.md; Travis matrix targets PHP 8.2–8.4 (newer minors can still be checked locally via Docker).

Full Changelog

v5.1.0...v5.2.0