Skip to content
This repository has been archived by the owner on Jan 22, 2023. It is now read-only.

Commit

Permalink
release(0.17.0)
Browse files Browse the repository at this point in the history
  • Loading branch information
David Zukowski committed Dec 21, 2016
1 parent 1149802 commit d34de02
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 1 deletion.
38 changes: 38 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,41 @@
## v0.17.0

### Migration path
* `pipe` and `compose` are now unary and require the functions to be wrapped in an array.

```js
pipe(fn1, fn2, fn3) // old
pipe([fn1, fn2, fn3]) // new

compose(fn3, fn2, fn1) // old
compose([fn3, fn2, fnd1]) // new
```

Beside making the signature for these functions more sane and in line with the rest of the redash API, this change has an added benefit for fans of the trailing comma:

```js
// Error!
pipe(
fn1,
fn2,
fn3,
)

// OK!
pipe([
fn1,
fn2,
fn3,
])
```

### Features
* Added `init`.
* Added `path`.

### Improvements
* `pipe` and `compose` are now both unary.

## v0.16.0

### Features
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": "redash",
"version": "0.16.0",
"version": "0.17.0",
"description": "A better Standard Library for JavaScript",
"main": "redash.js",
"module": "redash.next.js",
Expand Down

0 comments on commit d34de02

Please sign in to comment.