Skip to content

Commit

Permalink
Merge pull request #3 from tealina/changeset-release/main
Browse files Browse the repository at this point in the history
Version Packages
  • Loading branch information
tealina authored Oct 28, 2023
2 parents fffa44c + 76ba58f commit 8afe426
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 21 deletions.
20 changes: 0 additions & 20 deletions .changeset/sour-chairs-tell.md

This file was deleted.

21 changes: 21 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,26 @@
# fp-lite

## 2.0.0

### Major Changes

- fffa44c: ### Breaking Change:

1. `peek` now use console.log inside, and require a string parmas for log label.
2. Remove `deepFlat`, use multiple `flat` instead or just fallbask to `(xs)=>xs.flat(..)`

### New Functions:

1. `compose`
1. `asyncCompose`
1. `notEmpty`
1. `notZero`

### Performance improve:

Use `for loop` instead those `.map`, `.filter`, `.reduce` in codebase.
Relative functions: `map`,`filter`, `pipe`, `flow`,`compose`, and there async version functions.

## 3.0.0

### Major Changes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fp-lite",
"version": "1.2.0",
"version": "2.0.0",
"description": "Functional style utility functions",
"main": "./dist/index.js",
"type": "module",
Expand Down

0 comments on commit 8afe426

Please sign in to comment.