Releases: zloirock/core-js
Releases · zloirock/core-js
2.0.1 - 2015.12.31
- forced usage
Promise.resolvepolyfill in thelibraryversion for correct work with wrapper Object.assignshould be defined in the strict mode -> throw an error on extension non-extensible objects, #154
2.0.0 - 2015.12.24
- added implementations and fixes Typed Arrays-related features
ArrayBuffer,ArrayBuffer.isView,ArrayBuffer#sliceDataViewwith all getter / setter methodsInt8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32ArrayandFloat64Arrayconstructors%TypedArray%.{for, of},%TypedArray%#{copyWithin, every, fill, filter, find, findIndex, forEach, indexOf, includes, join, lastIndexOf, map, reduce, reduceRight, reverse, set, slice, some, sort, subarray, values, keys, entries, @@iterator, ...}
- added
System.global, proposal, November TC39 meeting - added
Error.isError, proposal, November TC39 meeting - added
Math.{iaddh, isubh, imulh, umulh}, proposal RegExp.escapemoved from thees7to the non-standardcorenamespace, July TC39 meeting - too slow, but it's condition of stability, #116Promise- some performance optimisations
- added basic support
rejectionHandledevent /onrejectionhandledhandler to the polyfill - removed usage
@@speciesfromPromise.{all, race}, November TC39 meeting
- some improvements collections polyfills
O(1)and preventing possible leaks with frozen keys, #134- correct observable state object keys
- renamed
String#{padLeft, padRight}->String#{padStart, padEnd}, proposal, November TC39 meeting (they want to rename it on each meeting?O_o), #132 - added
String#{trimStart, trimEnd}as aliases forString#{trimLeft, trimRight}, proposal, November TC39 meeting - added annex B HTML methods - ugly, but also the part of the spec
- added little fix for
Date#toString-new Date(NaN).toString()should be'Invalid Date' - added
{keys, values, entries, @@iterator}methods to DOM collections which should have iterable interface or should be inherited fromArray-NodeList,DOMTokenList,MediaList,StyleSheetList,CSSRuleList. - removed Mozilla
Arraygenerics - deprecated and will be removed from FF, looks like strawman is dead, available alternative shim - removed
core.logmodule - CommonJS API
- added entry points for virtual methods
- added entry points for stages proposals
- some other minor changes
- custom build from external scripts moved to the separate package for preventing problems with dependencies
- changed
$prefix for internal modules file names because Team Foundation Server does not support it, #129 - additional fix for
SameValueZeroin V8 ~ Chromium 39-42 collections - additional fix for FF27
Arrayiterator - removed usage shortcuts for
argumentsobject - old WebKit bug, #150 {Map, Set}#forEachnon-generic, #144- many other improvements
2.0.0-beta.2 - 2015.12.18
- contains most changes from this thread
- typed arrays related features enough stable
- export and API typed arrays related features still not finished
2.0.0-beta - 2015.12.08
Contains most changes from this thread. Typed arrays-related features enabled by default, but still not enough stable. Fixed some problems of library version from alpha release.
2.0.0-alpha - 2015.11.26
Special for TFS users and without a changelog. Contains most changes from this thread exclude typed arrays related features.
1.2.6 - 2015.11.09
- reject with
TypeErroron attempt resolve promise itself - correct behavior with broken
Promisesubclass constructors / methods - added
Promise-based fallback for microtask - fixed V8 and FF
Array#{values, @@iterator}.name - fixed IE7-
[1, 2].join(undefined) -> '1,2' - some other fixes / improvements / optimizations
1.2.5 - 2015.11.02
- some more
Numberconstructor fixes:- fixed V8 ~ Node 0.8 bug:
Number('+0x1')should beNaN - fixed
Number(' 0b1\n')case, should be1 - fixed
Number()case, should be0
- fixed V8 ~ Node 0.8 bug:
1.2.4 - 2015.11.01
- fixed
Number('0b12') -> NaNcase in the shim - fixed V8 ~ Chromium 40- bug -
Weak(Map|Set)#{delete, get, has}should not throw errors #124 - some other fixes and optimizations
1.2.3 - 2015.10.23
- fixed some problems related old V8 bug
Object('a').propertyIsEnumerable(0) // => false, for example,Object.assign({}, 'qwe')from the last release - fixed
.nameproperty andFunction#toStringconversion some polyfilled methods - fixed
Math.imularity in Safari 8-
1.2.2 - 2015.10.18
- improved optimisations for V8
- fixed build process from external packages, #120
- one more
Object.{assign, values, entries}fix for very specific case