Skip to content

Commit

Permalink
Version bump to 0.50.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ascartabelli committed Feb 8, 2017
1 parent b16dc02 commit 5f2ade0
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 22 deletions.
22 changes: 14 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,11 @@ Lamb it's also delivered on a CDN, courtesy of [jsDelivr](https://www.jsdelivr.c
The URLs above will retrieve the latest version, but you can target a specific one:

```html
<script src="https://cdn.jsdelivr.net/lamb/0.49.0/lamb.min.js"></script>
<script src="https://cdn.jsdelivr.net/lamb/0.50.0/lamb.min.js"></script>
```

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

Please note that Lamb is served by jsDelivr since version 0.42.0.
Expand Down Expand Up @@ -110,6 +110,18 @@ 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.50.0 - *2017/02/08***
- **API change**: renamed `is` to `areSame` and `isSVZ` to `areSVZ`. The old names are now used for curried version of those functions
- **API change**: removed `isNot`
- **API change**: renamed `isGT`, `isGTE`, `isLT` and `isLTE` to `gt`, `gte`, `lt`, `lte`. The old names are now used for right curried versions of these functions.
- **API change**: `compose` and `pipe` now build a function throwing an exception if they are called without arguments
- **API change**: renamed `add` to `sum`. `add` is now used as a curried version of `sum`.
- Added `deduct` as a right curried version of `subtract`
- Added `multiplyBy` as a curried version of `multiply`
- Added `divideBy` as a right curried version of `divide`
- Added optimized currying for functions with arity 2 and 3
- Performance improvement for `compose` and `pipe`

- **v0.49.0 - *2017/01/24***
- **API change**: removed optional context parameter in every function that was using it
- **API change**: `aritize` now will simply convert its `arity` parameter to integer, instead of giving it a special meaning when is `undefined`
Expand Down Expand Up @@ -144,9 +156,3 @@ You can also check the [full changelog](https://ascartabelli.github.io/lamb/chan
- Added `isFinite`, `isInteger`, `isSafeInteger`
- Code clean-up and minor performance improvements in sorting functions
- First step in improving the documentation site

- **v0.45.0 - *2016/11/14***
- **Fully compatible with versions down to 0.44.x**
- Added `pull` and `pullFrom`
- Added `keySatisfies` and `pathSatisfies`
- Updated examples and doc comments
12 changes: 6 additions & 6 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.50.0-alpha.10
* @version 0.50.0
* @module lamb
* @license MIT
* @preserve
Expand All @@ -17,7 +17,7 @@
* @private
* @type String
*/
lamb._version = "0.50.0-alpha.10";
lamb._version = "0.50.0";

// alias used as a placeholder argument for partial application
var _ = lamb;
Expand Down Expand Up @@ -608,7 +608,7 @@
}

/**
* If a method with the given name exists on the target, applies it with the provided
* If a method with the given name exists on the target, applies it to the provided
* arguments and returns the result. Returns <code>undefined</code> otherwise.<br/>
* The arguments for the method are built by concatenating the array of bound arguments,
* optionally received by {@link module:lamb.invoker|invoker}, with the final set of, also
Expand Down Expand Up @@ -746,7 +746,7 @@
* Builds a partial application of a ternary function so that its first parameter
* is expected as the last one.<br/>
* The <code>shouldAritize</code> parameter is for the "reduce" functions, where
* the absence of the <code>initialValue</code> transforms the "reduce" in a "fold".
* the absence of the <code>initialValue</code> transforms the "reduce" into a "fold".
* @private
* @param {Function} fn
* @param {Boolean} shouldAritize
Expand Down Expand Up @@ -839,8 +839,8 @@
}

/**
* Using the provided function to retrieve the keys of an object, builds
* a function expecting an object to create a list of key / value pairs.
* Using the provided function to retrieve the keys, builds a new function
* expecting an object to create a list of key / value pairs.
* @private
* @function
* @param {Function} getKeys
Expand Down
Loading

0 comments on commit 5f2ade0

Please sign in to comment.