Skip to content

Commit

Permalink
Version bump to 0.59.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ascartabelli committed Jul 7, 2020
1 parent b54cc84 commit fdc40bc
Show file tree
Hide file tree
Showing 11 changed files with 41 additions and 24 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
- **v0.59.0 - *2020/07/07***
- Sorry for all the renaming, but I'm in the process of freezing the API and wanted to tackle some inconsistencies in naming choices.
- Updated to support Node.js ES modules (and renamed ES modules build to `lamb.mjs`)
- Added `split` and `splitBy`
- **API change**: renamed `pick` to `pickIn` and `pickKeys` to `pick`
- **API change**: renamed `rename` to `renameIn` and `renameKeys` to `rename`
- **API change**: renamed `pluck` to `pluckFrom` and `pluckKey` to `pluck`
- **API change**: renamed `case` to `casus` to avoid confusion and clashing with the switch statement's case
- **API change**: renamed `invoker` and `invokerOn` to `invoke` and `invokeOn`
- Fixed `.DS_STORE` file leaking again in the `dist` folder

- **v0.58.0 - *2019/06/18***
- Added one file ES modules build
- **API change**: `invoker` now accepts an array of bound arguments
Expand Down
24 changes: 15 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ npm install lamb
Require it in node.js:

```javascript
var _ = require("lamb");
const _ = require("lamb");
```

Since version 0.57.0, Lamb is splitted in ES modules and can take advantage of tree-shaking capabilities of module bundlers:
Expand Down Expand Up @@ -56,15 +56,15 @@ Since version 0.58.0 there is also a one file ES modules build, always in the `d
Lamb it's also delivered on a CDN, courtesy of [cdnjs](https://cdnjs.com/), [jsDelivr](https://www.jsdelivr.com/) and [unpkg](https://unpkg.com/):

```html
<script src="https://cdnjs.cloudflare.com/ajax/libs/lamb/0.58.0/lamb.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/lamb/0.59.0/lamb.min.js"></script>
```

```html
<script src="https://cdn.jsdelivr.net/npm/lamb@0.58.0/dist/lamb.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/lamb@0.59.0/dist/lamb.min.js"></script>
```

```html
<script src="https://unpkg.com/lamb@0.58.0/dist/lamb.min.js"></script>
<script src="https://unpkg.com/lamb@0.59.0/dist/lamb.min.js"></script>
```

Please note that Lamb is served by jsDelivr since version 0.42.0.
Expand Down Expand Up @@ -115,6 +115,17 @@ You can check the [recent](#recent_changes) or the [full](https://ascartabelli.g
## <a name="recent_changes"></a> Recent changes
You can also check the [full changelog](https://ascartabelli.github.io/lamb/changelog.html).

- **v0.59.0 - *2020/07/07***
- Sorry for all the renaming, but I'm in the process of freezing the API and wanted to tackle some inconsistencies in naming choices.
- Updated to support Node.js ES modules (and renamed ES modules build to `lamb.mjs`)
- Added `split` and `splitBy`
- **API change**: renamed `pick` to `pickIn` and `pickKeys` to `pick`
- **API change**: renamed `rename` to `renameIn` and `renameKeys` to `rename`
- **API change**: renamed `pluck` to `pluckFrom` and `pluckKey` to `pluck`
- **API change**: renamed `case` to `casus` to avoid confusion and clashing with the switch statement's case
- **API change**: renamed `invoker` and `invokerOn` to `invoke` and `invokeOn`
- Fixed `.DS_STORE` file leaking again in the `dist` folder

- **v0.58.0 - *2019/06/18***
- Added one file ES modules build
- **API change**: `invoker` now accepts an array of bound arguments
Expand All @@ -141,8 +152,3 @@ You can also check the [full changelog](https://ascartabelli.github.io/lamb/chan
- Added `rotate` and `rotateBy`
- Updated link to jsDelivr
- Fixed and updated doc comments and tests

- **v0.54.1 - *2018/03/09***
- **Fixed**: `setPath` and `updatePath` weren't returning unary functions, and further arguments would have overwritten the previous ones
- Updated doc comments
- Updated linting rules
4 changes: 2 additions & 2 deletions dist/lamb.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* @overview lamb - A lightweight, and docile, JavaScript library to help embracing functional programming.
* @author Andrea Scartabelli <andrea.scartabelli@gmail.com>
* @version 0.59.0-alpha.13
* @version 0.59.0
* @module lamb
* @license MIT
*/
Expand Down Expand Up @@ -1565,7 +1565,7 @@
* @memberof module:lamb
* @category Array
* @function
* @see {@link module:lamb.findLastWhere|findLastWhere}
* @see {@link module:lamb.findLast|findLast}
* @see {@link module:lamb.findLastIndex|findLastIndex},
* {@link module:lamb.findLastIndexWhere|findLastIndexWhere}
* @see {@link module:lamb.find|find}, {@link module:lamb.findWhere|findWhere}
Expand Down
2 changes: 1 addition & 1 deletion dist/lamb.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/lamb.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/lamb.min.mjs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* @overview lamb - A lightweight, and docile, JavaScript library to help embracing functional programming.
* @author Andrea Scartabelli <andrea.scartabelli@gmail.com>
* @version 0.59.0-alpha.13
* @version 0.59.0
* @module lamb
* @license MIT
*/
Expand Down
2 changes: 1 addition & 1 deletion dist/lamb.min.mjs.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/lamb.mjs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* @overview lamb - A lightweight, and docile, JavaScript library to help embracing functional programming.
* @author Andrea Scartabelli <andrea.scartabelli@gmail.com>
* @version 0.59.0-alpha.13
* @version 0.59.0
* @module lamb
* @license MIT
*/
Expand Down Expand Up @@ -1559,7 +1559,7 @@ var findLastIndexWhere = _curry2(findLastIndex, true);
* @memberof module:lamb
* @category Array
* @function
* @see {@link module:lamb.findLastWhere|findLastWhere}
* @see {@link module:lamb.findLast|findLast}
* @see {@link module:lamb.findLastIndex|findLastIndex},
* {@link module:lamb.findLastIndexWhere|findLastIndexWhere}
* @see {@link module:lamb.find|find}, {@link module:lamb.findWhere|findWhere}
Expand Down
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"unpkg": "dist/lamb.min.js",
"sideEffects": false,
"tonicExample": "var _ = require('lamb');",
"version": "0.59.0-alpha.13",
"version": "0.59.0",
"devDependencies": {
"@babel/core": "^7.10.4",
"@babel/preset-env": "^7.10.4",
Expand All @@ -75,7 +75,7 @@
"gulp-sourcemaps": "^2.6.5",
"gulp-terser": "^1.2.0",
"jest": "^26.1.0",
"rollup": "^2.19.0"
"rollup": "^2.20.0"
},
"dependencies": {}
}
2 changes: 1 addition & 1 deletion src/array/findLastWhere.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import findLast from "./findLast";
* @memberof module:lamb
* @category Array
* @function
* @see {@link module:lamb.findLastWhere|findLastWhere}
* @see {@link module:lamb.findLast|findLast}
* @see {@link module:lamb.findLastIndex|findLastIndex},
* {@link module:lamb.findLastIndexWhere|findLastIndexWhere}
* @see {@link module:lamb.find|find}, {@link module:lamb.findWhere|findWhere}
Expand Down

0 comments on commit fdc40bc

Please sign in to comment.