Skip to content

Commit

Permalink
Release v3.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
tunnckoCore committed Sep 29, 2015
1 parent 56fa1c6 commit 38542bf
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
@@ -1,5 +1,10 @@


## v3.0.1 - 2015-09-29
- Release v3.0.1 / npm@v3.0.1
- fix/update tests - ensure properties exists and works on 0.10
- fix changelog (notice added properties are prefixed with **three underscores**)

## v3.0.0 - 2015-09-29
- Release v3.0.0 / npm@v3.0.0
- change prurpose of the library
Expand All @@ -9,7 +14,7 @@ Basically, because `native-or-bluebird` always try to use `bluebird` first and t

So `native-or-another` is here to help and always will give you Promise, no matter what enviroment you use - iojs, 0.10, 0.11 or 0.12 or latest nodejs v4. It always will try to give you native Promsie first, otherwise will give you `bluebird` promise, but **remember, only if you don't give another** promise module like `q` or `promise` or what you want. See the example on README.md file.

You also can check what promise you use. If you use custom promise `Promise` module, the constructor will have property called `__customPromise` with `true` value. If you use `Bluebird` you will have property on the constructor `__bluebirdPromise` and again with `true` value. Otherwise they won't exist.
You also can check what promise you use. If you use custom promise `Promise` module, the constructor will have property called `___customPromise` (**yes, three underscores**) with `true` value. If you use `Bluebird` you will have property on the constructor `___bluebirdPromise` (**yes, three underscores**) and again with `true` value. Otherwise they won't exist.

## v2.0.0 - 2014-12-21
- Release v2.0.0 / npm@v2.0.0
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "native-or-another",
"version": "3.0.0",
"version": "3.0.1",
"description": "Always will expose native `Promise` if available, otherwise `Bluebird` but only if you don't give another promise module like `q` or `promise` or what you want.",
"repository": "tunnckoCore/native-or-another",
"author": "Charlike Mike Reagent <@tunnckoCore> (http://www.tunnckocore.tk)",
Expand Down

0 comments on commit 38542bf

Please sign in to comment.