Releases: zloirock/core-js
Releases · zloirock/core-js
1.2.1 - 2015.10.02
- replaced fix
JSON.stringify+Symbolbehavior from.toJSONmethod to wrappingJSON.stringify- little more correct, compat-table/642 - fixed typo which broke tasks scheduler in WebWorkers in old FF, #114
1.2.0 - 2015.09.27
- added browser
Promiserejection hook, #106 - added correct
IsRegExplogic toString#{includes, startsWith, endsWith}andRegExpconstructor,@@matchcase, example - updated
String#leftPadwith proposal: string filler truncated from the right side - replaced V8
Object.assign- its properties order not only incorrect, it is non-deterministic and it causes some problems - fixed behavior with deleted in getters properties for
Object.{assign,entries, values}, example - fixed
Math.sinhwith very small numbers in V8 near Chromium 38 - some other fixes and optimizations
1.1.4 - 2015.09.05
- fixed support symbols in FF34-35
Object.assign - fixed collections iterators in FF25-26
- fixed non-generic WebKit
Array.of - some other fixes and optimizations
1.1.3 - 2015.08.29
1.1.2 - 2015.08.28
- added
toJSONmethod toSymbolpolyfill and to MS Edge implementation for expectedJSON.stringifyresult w/o patching this method - replaced
Reflect.constructimplementations w/o correct support third argument - fixed
globaldetection with changeddocument.domainin ~IE8, #100
1.1.1 - 2015.08.20
- added more correct microtask implementation for
Promise
1.1.0 - 2015.08.17
- updated string padding to actual proposal - renamed, minor internal changes:
String#lpad->String#padLeftString#rpad->String#padRight
- added string trim functions - proposal, defacto standard - required only for IE11- and fixed for some old engines:
String#trimLeftString#trimRight
String#trimfixed for some engines by es6 spec and moved fromes5to singlees6module- splitted
es6.object.statics-accept-primitives - caps for
freeze-familyObjectmethods moved fromes5toes6namespace and joined with es6 wrappers es5namespace also includes modules, moved toes6namespace - you can use it as before- increased
MessageChannelpriority in$.task, #95 - does not get
global.Symbolon each getting iterator, if you wanna use alternativeSymbolshim - add it beforecore-js Reflect.constructoptimized and fixed for some cases- simplified
Reflect.enumerate, see this question - some corrections in
Math.acosh - fixed
Math.imulfor old WebKit - some fixes in string / RegExp well-known symbols logic
- some other fixes and optimizations
1.0.1 - 2015.07.31
- some fixes for final MS Edge, replaced broken native
Reflect.defineProperty - some minor fixes and optimizations
- changed compression
client/*.min.jsoptions for safeFunction#nameandFunction#length, should be fixed #92
1.0.0 - 2015.07.22
- added logic for well-known symbols:
Symbol.matchSymbol.replaceSymbol.splitSymbol.search
- actualized and optimized work with iterables:
- optimized
Map,Set,WeakMap,WeakSetconstructors,Promise.all,Promise.racefor defaultArray Iterator. - optimized
Array.fromfor defaultArray Iterator. - added
core.getIteratorMethodhelper.
- optimized
- uses enumerable properties in shimmed instances - collections, iterators, etc for optimize performance.
- added support native constructors to
Reflect.constructwith 2 arguments. - added support native constructors to
Function#bindshim withnew. - removed obsolete
.clearmethods nativeWeak-collections. - maximum modularity, reduced minimal custom build size, separated into submodules:
es6.reflectes6.regexpes6.mathes6.numberes7.object.to-arraycore.objectcore.stringcore.iter-helpers- internal modules (
$,$.iter, etc)
- many other optimizations
- final cleaning non-standard features:
- moved
$forto separate library. This work for syntax -for-ofloop and comprehensions. - moved
Date#{format, formatUTC}to separate library. Standard way for this -ECMA-402. - removed
Mathmethods fromNumber.prototype. Slight sugar for simpleMathmethods calling. - removed
{Array#, Array, Dict}.turn. - removed
core.global.
- moved
- uses
ToNumberinstead ofToLengthinNumber Iterator,Array.from(2.5)will be[0, 1, 2]instead of[0, 1]. - fixed #85 - invalid
Promiseunhandled rejection message in nestedsetTimeout. - fixed #86 - support FF extensions.
- fixed #89 - behavior
Numberconstructor in strange case.
0.9.18 - 2015.06.17
- removed
/fromRegExp.escapeescaped characters