Skip to content

Commit

Permalink
Version bump to 0.54.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ascartabelli committed Aug 1, 2017
1 parent a90f095 commit 3e8c7a6
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 29 deletions.
24 changes: 8 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,15 @@ The source map for the minified file is in the same `dist` folder.
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.53.1/lamb.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/lamb/0.54.0/lamb.min.js"></script>
```

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

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

Please note that Lamb is served by jsDelivr since version 0.42.0.
Expand Down Expand Up @@ -104,10 +104,14 @@ 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.54.0 - *2017/08/01***
- Added `mapValues` and `mapValuesWith`
- Added "@since" tags to doc comments
- Added linting for tests

- **v0.53.1 - *2017/04/06***
- **Fixed**: `hasKeyValue` was returning `true` for any existent property when searching for an `undefined` value
- Updated object checking tests
- Updated dev dependencies

- **v0.53.0 - *2017/03/30***
- **API change**: unfilled placeholders in functions built with `asPartial` now assume an `undefined` value
Expand Down Expand Up @@ -136,15 +140,3 @@ You can also check the [full changelog](https://ascartabelli.github.io/lamb/chan
- **API change**: the `falseFn` parameter of `condition` is no longer optional
- Added `case` to quickly build cases for `adapter`
- Added `unionBy` and `uniquesBy`

- **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`
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.54.0-alpha.5
* @version 0.54.0
* @module lamb
* @license MIT
* @preserve
Expand Down Expand Up @@ -46,7 +46,7 @@
* @since 0.53.0
* @type String
*/
"@@lamb/version": {value: "0.54.0-alpha.5"}
"@@lamb/version": {value: "0.54.0"}
});

// prototype shortcuts
Expand Down
4 changes: 2 additions & 2 deletions dist/lamb.min.js

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

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 @@ -34,14 +34,14 @@
"coveralls": "gulp coverage && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage"
},
"tonicExample": "var _ = require('lamb');",
"version": "0.54.0-alpha.5",
"version": "0.54.0",
"devDependencies": {
"coveralls": "^2.13.1",
"gulp": "^3.9.1",
"gulp-concat": "^2.6.1",
"gulp-eslint": "^4.0.0",
"gulp-footer": "^1.0.5",
"gulp-header": "^1.8.8",
"gulp-header": "^1.8.9",
"gulp-indent": "^1.0.1",
"gulp-istanbul": "^1.1.2",
"gulp-jasmine": "^2.4.2",
Expand Down
4 changes: 2 additions & 2 deletions test/spec/array_basicsSpec.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ describe("lamb.array_basics", function () {
});

it("should stop calling the predicate as soon as a `false` value is returned", function () {
var isGreaterThan10 = jasmine.createSpy("isVowel").and.callFake(function (n) {
var isGreaterThan10 = jasmine.createSpy().and.callFake(function (n) {
return n > 10;
});
var arr = [12, 13, 9, 15];
Expand Down Expand Up @@ -996,7 +996,7 @@ describe("lamb.array_basics", function () {
});

it("should stop calling the predicate as soon as a `true` value is returned", function () {
var isGreaterThan10 = jasmine.createSpy("isVowel").and.callFake(function (n) {
var isGreaterThan10 = jasmine.createSpy().and.callFake(function (n) {
return n > 10;
});
var arr = [1, 3, 15, 10, 11];
Expand Down

0 comments on commit 3e8c7a6

Please sign in to comment.