Skip to content

Commit

Permalink
Merge pull request #7 from chaijs/release-1.0.0
Browse files Browse the repository at this point in the history
Release 1.0.0
  • Loading branch information
keithamus committed Mar 17, 2015
2 parents 6d95c81 + bbd3ff1 commit 85e21af
Show file tree
Hide file tree
Showing 4 changed files with 80 additions and 5 deletions.
35 changes: 32 additions & 3 deletions History.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,45 @@
1.0.0 / 2015-03-17
==================

* travis: allow for tagged releases to npm
* docs: new string is type string, not object
* Merge pull request #5 from Charminbear/string-object-as-string
* Also updated the Docs with new Spec.
* Made "new String()" return type "string" instead of object and added test for "new Number()"
* Merge pull request #4 from Charminbear/include-ecma6-types
* Moved eol-comments above the codelines.
* Added 'else' statement to tests make skipping visual.
* Implemented furthert support for promises.
* Merge remote-tracking branch 'origin/include-ecma6-types' into include-ecma6-types
* Changed the getType() Method to be more generic and support ECMA6 as well as custom types Deleted NativeTypes as no longer needed Added (fake) Tests for ECMA6 types (by stubbing Object.prototype.toString) Updated Readme.md with ECMA6 Types
* Implemented conditional tests for ECMA6 features with real types.
* Moved regex into variable.
* Flipped assert statements.
* Added ArrayBuffer in description
* Fixed spell mistake.
* Merge branch 'include-ecma6-types' of https://github.com/Charminbear/type-detect into include-ecma6-types
* Added a description for Symbol.toStringTag
* Added a description for Symbol.toStringTag
* Fixed some formatting issues
* Added a test for ArrayBuffer.
* Added the new ECMA 6 Types to description.
* Renamed "stubToStringMethod" to "stubObjectToStringOnce" to make purpose more clear.
* Made stub of Object.prototype.toString restore itself on call as Mocha uses this method after tests.
* Changed getType() Method to be more generic for every given type, but still respect new String() and special PhantomJS Values.
* Added new types simple and implemented tests with stubbing "Object.prototype.toString"

0.1.2 / 2013-11-30
0.1.2 / 2013-11-30
==================

* Library: constructor with new

0.1.1 / 2013-10-10
0.1.1 / 2013-10-10
==================

* Merge pull request #2 from strongloop/fix-browserify
* index,test: support browserify

0.1.0 / 2013-08-14
0.1.0 / 2013-08-14
==================

* readme: document all methods
Expand Down
46 changes: 46 additions & 0 deletions ReleaseNotes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# Release Notes

## 1.0.0 / 2015-03-15

Supports all new ES6 primitives, as well as Objects which override their
toStringTag using [`Symbol.toStringTag`][1].

Supports primitive Object instances over literals - for example
`new String('foo')` and `'foo'` both report a type of `'string'`.

[1]: https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Symbol#Well-known_symbols

### Community Contributions

#### Code Features & Fixes

* [#4](https://github.com/chaijs/chai/pull/4) Included support for ECMA6 types
([chai/chaijs#394](https://github.com/chaijs/chai/issues/394)).
By [@Charminbear](https://github.com/Charminbear)

* [#5](https://github.com/chaijs/chai/pull/5) "new String()" as 'string'
instead of 'object'. By [@Charminbear](https://github.com/Charminbear)

## 0.1.2 / 2013-11-30

Support calling the library without the `new` keyword.

#### Code Features & Fixes

* Library: constructor with new
By [@logicalparadox](https://github.com/logicalparadox)

## 0.1.1 / 2013-10-10

Add support for browserify.

#### Code Features & Fixes

* [#2](https://github.com/chaijs/chai/pull/2) Add support for Browserify
([#1](https://github.com/chaijs/type-detect/issues/1)).
By [@bajtos](https://github.com/bajtos)


## 0.1.0 / 2013-08-14

Initial Release
2 changes: 1 addition & 1 deletion component.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "type-detect"
, "repo": "chaijs/type-detect"
, "version": "0.1.2"
, "version": "1.0.0"
, "description": "Improved typeof detection for node.js and the browser."
, "license": "MIT"
, "keywords": [
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": "type-detect"
, "version": "0.1.2"
, "version": "1.0.0"
, "description": "Improved typeof detection for node.js and the browser."
, "author": "Jake Luer <[email protected]> (http://alogicalparadox.com)"
, "license": "MIT"
Expand Down

0 comments on commit 85e21af

Please sign in to comment.