diff --git a/History.md b/History.md index fb0acff..fe9ad95 100644 --- a/History.md +++ b/History.md @@ -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 diff --git a/ReleaseNotes.md b/ReleaseNotes.md new file mode 100644 index 0000000..0b683c1 --- /dev/null +++ b/ReleaseNotes.md @@ -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 diff --git a/component.json b/component.json index 1662885..a8dc3e9 100644 --- a/component.json +++ b/component.json @@ -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": [ diff --git a/package.json b/package.json index bf0f2cb..bdfb601 100644 --- a/package.json +++ b/package.json @@ -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 (http://alogicalparadox.com)" , "license": "MIT"