Skip to content

Latest commit

 

History

History
276 lines (147 loc) · 13.8 KB

CHANGELOG.md

File metadata and controls

276 lines (147 loc) · 13.8 KB

4.2.0 (2022-08-18)

Features

4.1.0 (2022-03-23)

Features

4.0.0 (2022-01-28)

chore

  • refactor fallback as an operator function. close #38 (38c1bb0)
  • remove concede. close #35 (30c75aa)
  • remove support of strings as lists. close #36 (1ae4b26)

BREAKING CHANGES

  • the following functions no longer accept strings as lists: all, any, drop, filter, into, map, none and take.
  • fallback is now an operator function.
  • the concede function is no longer available

3.3.0 (2022-01-13)

Features

  • implement mult as an operator function. close #41 (03fe31f)

3.2.0 (2022-01-09)

Bug Fixes

  • fix bug in return condition for and (178bdfc)

Features

  • implement div as an operator function (67a4003)
  • implement exp as an operator function (bd930aa)
  • implement mod as an operator function (b3eed71)

3.1.0 (2022-01-03)

Features

  • implement 'and' as an operator function (872b809)
  • implement 'gte' as an operator function (0a2f3d7)
  • implement 'or' as an operator function (fa09cbd)
  • implement gt as an operator function (44616ff)
  • implement lt as an operator function (c3a6dd2)
  • implement lte as an operator function (06db5ff)
  • implement subtract as an operator function (608b408)

3.0.0 (2022-01-01)

chore

  • use same namespace in browser. close #30 (9ee9363)

Features

  • all: predicate must return logical true (9629716)
  • allfn: predicates can return logical true (25f351d)
  • any: predicate can return logical true (e51a716)
  • anyfn: functions can return logical true (cbd906f)
  • cond: predicates can return logical true (c0769cc)
  • filter: predicate can return logical true (aff27d3)
  • implement T & F. see #29 (d3bd940)
  • none: predicate can return logical true (f7f0215)
  • nonefn: predicates can return logical true (ff97496)
  • some: functions can return logical true (bea45ab)
  • unfold: predicate can return logical true (7ec376f)
  • when: allow one or more x to be given to f and g (a571489)

BREAKING CHANGES

  • unfold(pred)(map)(next)(x): predicate can return logical true
  • some(...fn)(...args): functions can return logical true
  • nonefn(...pred)(...args): predicates can return logical true
  • none(pred)(xs): predicate can return logical true
  • filter(pred)(xs): predicate can return logical true
  • cond(...fn)(...args): predicates can return logical true
  • anyfn(...fn)(...args): functions can return logical true
  • any(pred)(xs): pred can return logical true
  • allfn(...pred)(...args): predicates can return logical true
  • all(pred)(xs): predicate can return logical true
  • when(pred)(...x): predicate can return logical true. see #29
  • the library is now available at window['@customcommander/functionaut'] in a browser environment

2.2.0 (2021-10-29)

Features

2.1.0 (2021-10-27)

Bug Fixes

  • into: stop mutating init (5295494)

Features

2.0.0 (2021-10-12)

Bug Fixes

  • the function returned by unary does not need to be curried (cf51ece)

chore

Features

  • all checks the element of a list against a predicate. close #24 (8f9bc01)

BREAKING CHANGES

  • The function has been changed to accept only one predicate and a list of values instead of any number of parameters.

Migration:

v1: all(isNum, isOdd)(1, 2, 3)

v2: all(x => isNum(x) === true && isOdd(x) === true, [1, 2, 3])

  • Type checking parameters is gone. See corresponding Architecture Decision Record (ADR).

1.13.0 (2021-10-11)

Features

1.12.0 (2021-10-09)

Features

1.11.1 (2021-07-18)

Bug Fixes

  • function on can take all four parameters in one go (7bc4436)

1.11.0 (2021-07-16)

Features

1.10.0 (2021-07-15)

Features

1.9.0 (2021-07-06)

Features

1.8.0 (2021-06-11)

Features

1.7.0 (2021-03-28)

Bug Fixes

Features

1.6.0 (2021-03-07)

Features

1.5.0 (2021-03-02)

Features

  • implement loop/recur to design stack-safe recursive functions (b001bce)

1.4.0 (2021-02-27)

Features

1.3.0 (2021-02-27)

Features

  • implement compose (6ca623a)
  • implement map, take, filter and into (c11418d)

1.2.0 (2021-02-16)

Features

1.1.0 (2021-02-14)

Features

1.0.0 (2021-02-13)

Features