- Added
static Object.instanceof()
. - Small optimisations for
.instanceof()
.
- Changed
Object.filter()
tostatic
for conflicting with thirdparty modules.
- Added
Array.indexOfEx()
andArray.lastIndexOfEx()
. - Added
static RegExp.matchRecursive()
,RegExp.pushIndex()
,RegExp.popIndex()
,RegExp.resetIndex()
. - Removed the use of some "hidden" dynamic properties in favour of private
WeakMap
s, requiring moreES6
.
- Breaking: Removed
Array.map( String )
since ES6 has arrow functions which make this not so necessary.
- Added
Array.unique()
.
- Added
String.contains()
. - Added
Array.contains()
.
- Fix
Object.newArgs()
with ES6 classes. - Breaking:
Object.newArgs()
will always return an instance of the constructor, even if it has return statement inside. This behaviour is different from the ES5 compatible implementation.
- Fix
Object.mergeDeep()
when the a matching key to be merged is not an Object.
- Breaking: Changed the behaviour of
Object.duplicate()
. It will not attempt to duplicate arbitrary objects anymore, only strictlyObject
.
- Breaking: Require Node.js >= 4.0.0 or compatibles set of ES6 features.
- Rename
Function.defineStatic()
toFunction.static()
.
- Added
Object.mergeDeep()
.
- Added
String.toFirstUpperCase()
.
- Removed
Function.bind()
JS implementation which was causing problems in some cases with node-inspector.
- Minor internal fixes.
- Added interface support with
Function.implement()
andObject.instanceof()
. - Added improved
Array.map()
. - Started to keep changelog.