Skip to content

Commit e110cf8

Browse files
chore(release): 2.0.0 [skip ci]
# [2.0.0](v1.13.0...v2.0.0) (2021-10-12) ### Bug Fixes * the function returned by unary does not need to be curried ([cf51ece](cf51ece)) ### chore * remove type checking. close [#17](#17) ([a03793f](a03793f)) ### Features * all checks the element of a list against a predicate. close [#24](#24) ([8f9bc01](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 parent cd012ac commit e110cf8

2 files changed

Lines changed: 32 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,34 @@
1+
# [2.0.0](https://github.com/customcommander/functionaut/compare/v1.13.0...v2.0.0) (2021-10-12)
2+
3+
4+
### Bug Fixes
5+
6+
* the function returned by unary does not need to be curried ([cf51ece](https://github.com/customcommander/functionaut/commit/cf51ece80577967154e90f1b05012e9214b074cd))
7+
8+
9+
### chore
10+
11+
* remove type checking. close [#17](https://github.com/customcommander/functionaut/issues/17) ([a03793f](https://github.com/customcommander/functionaut/commit/a03793fe2474a2f5bd0b8421f95730567ed5271f))
12+
13+
14+
### Features
15+
16+
* all checks the element of a list against a predicate. close [#24](https://github.com/customcommander/functionaut/issues/24) ([8f9bc01](https://github.com/customcommander/functionaut/commit/8f9bc01382a83c7f89d4aca7caae2711f9e171b3))
17+
18+
19+
### BREAKING CHANGES
20+
21+
* The function has been changed to accept only one predicate and a list
22+
of values instead of any number of parameters.
23+
24+
Migration:
25+
26+
v1: `all(isNum, isOdd)(1, 2, 3)`
27+
28+
v2: `all(x => isNum(x) === true && isOdd(x) === true, [1, 2, 3])`
29+
* Type checking parameters is gone.
30+
See corresponding Architecture Decision Record (ADR).
31+
132
# [1.13.0](https://github.com/customcommander/functionaut/compare/v1.12.0...v1.13.0) (2021-10-11)
233

334

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@customcommander/functionaut",
3-
"version": "1.13.0",
3+
"version": "2.0.0",
44
"author": "customcommander <hello@spinjs.com>",
55
"repository": "https://github.com/customcommander/functionaut.git",
66
"description": "A functional journey.",

0 commit comments

Comments
 (0)