diff --git a/CHANGELOG.md b/CHANGELOG.md index 83d99c28f561..2a1d2a659374 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,26 +4,26 @@ - Ensured that polyfilled methods `.prototype` is not defined - Added detection and fix of a V8 ~ Chrome <103 [bug](https://bugs.chromium.org/p/v8/issues/detail?id=12542) of `struturedClone` that returns `null` if cloned object contains multiple references to one error -##### 3.22.4 - 2022.05.03 +##### [3.22.4 - 2022.05.03](https://github.com/zloirock/core-js/releases/tag/v3.22.4) - Ensured proper `.length` of polyfilled functions even in compressed code (excepting some ancient engines) - Ensured proper `.name` of polyfilled accessors (excepting some ancient engines) - Ensured proper source / `ToString` conversion of polyfilled accessors - Actualized Rhino compat data - Refactoring -##### 3.22.3 - 2022.04.28 +##### [3.22.3 - 2022.04.28](https://github.com/zloirock/core-js/releases/tag/v3.22.3) - Added a fix for FF99+ `Array.prototype.includes` broken on sparse arrays -##### 3.22.2 - 2022.04.21 +##### [3.22.2 - 2022.04.21](https://github.com/zloirock/core-js/releases/tag/v3.22.2) - Fixed `URLSearchParams` in IE8- that was broken in the previous release - Fixed `__lookupGetter__` entries -##### 3.22.1 - 2022.04.20 +##### [3.22.1 - 2022.04.20](https://github.com/zloirock/core-js/releases/tag/v3.22.1) - Improved some cases of `RegExp` flags handling - Prevented experimental warning in NodeJS ~ 18.0 on detection `fetch` API - Added NodeJS 18.0 compat data -##### 3.22.0 - 2022.04.15 +##### [3.22.0 - 2022.04.15](https://github.com/zloirock/core-js/releases/tag/v3.22.0) - [Change `Array` by copy proposal](https://github.com/tc39/proposal-change-array-by-copy): - Moved to Stage 3, [March TC39 meeting](https://github.com/babel/proposals/issues/81#issuecomment-1083449843) - Disabled forced replacement and added `/actual/` entry points for methods from this proposal @@ -51,14 +51,14 @@ - Added Samsung Internet 17.0 compat data mapping - Added Opera Android 68 compat data mapping -##### 3.21.1 - 2022.02.17 +##### [3.21.1 - 2022.02.17](https://github.com/zloirock/core-js/releases/tag/v3.21.1) - Added a [bug](https://bugs.webkit.org/show_bug.cgi?id=236541)fix for the WebKit `Array.prototype.{ groupBy, groupByToMap }` implementation - `core-js-compat` targets parser transforms engine names to lower case - `atob` / `btoa` marked as [fixed](https://github.com/nodejs/node/pull/41478) in NodeJS 17.5 - Added Electron 18.0 compat data mapping - Added Deno 1.20 compat data mapping -##### 3.21.0 - 2022.02.02 +##### [3.21.0 - 2022.02.02](https://github.com/zloirock/core-js/releases/tag/v3.21.0) - Added [Base64 utility methods](https://developer.mozilla.org/en-US/docs/Glossary/Base64): - `atob` - `btoa` @@ -69,22 +69,22 @@ - Added Opera Android 66 and 67 compat data mapping - Added iOS Safari 15.3 and 15.4 compat data mapping -##### 3.20.3 - 2022.01.15 +##### [3.20.3 - 2022.01.15](https://github.com/zloirock/core-js/releases/tag/v3.20.3) - Detects and replaces broken third-party `Function#bind` polyfills, uses only native `Function#bind` in the internals - `structuredClone` should throw an error if no arguments passed - Changed the structure of notes in `__core-js_shared__` -##### 3.20.2 - 2022.01.02 +##### [3.20.2 - 2022.01.02](https://github.com/zloirock/core-js/releases/tag/v3.20.2) - Added a fix of [a V8 ~ Chrome 36- `Object.{ defineProperty, defineProperties }` bug](https://bugs.chromium.org/p/v8/issues/detail?id=3334), [Babel issue](https://github.com/babel/babel/issues/14056) - Added fixes of some different `%TypedArray%.prototype.set` bugs, affects modern engines (like Chrome < 95 or Safari < 14.1) -##### 3.20.1 - 2021.12.23 +##### [3.20.1 - 2021.12.23](https://github.com/zloirock/core-js/releases/tag/v3.20.1) - Fixed the order of calling reactions of already fulfilled / rejected promises in `Promise.prototype.then`, [#1026](https://github.com/zloirock/core-js/issues/1026) - Fixed possible memory leak in specific promise chains - Fixed some missed dependencies of entries - Added Deno 1.18 compat data mapping -##### 3.20.0 - 2021.12.16 +##### [3.20.0 - 2021.12.16](https://github.com/zloirock/core-js/releases/tag/v3.20.0) - Added `structuredClone` method [from the HTML spec](https://html.spec.whatwg.org/multipage/structured-data.html#dom-structuredclone), [see MDN](https://developer.mozilla.org/en-US/docs/Web/API/structuredClone) - Includes all cases of cloning and transferring of required ECMAScript and platform types that can be polyfilled, for the details see [the caveats](https://github.com/zloirock/core-js#caveats-when-using-structuredclone-polyfill) - Uses native structured cloning algorithm implementations where it's possible @@ -123,13 +123,13 @@ - Added a new `core-js/actual/**` namespace - Added entry points for each finished post-ES6 proposal -##### 3.19.3 - 2021.12.06 +##### [3.19.3 - 2021.12.06](https://github.com/zloirock/core-js/releases/tag/v3.19.3) - Fixed internal slots check in methods of some built-in types, [#1017](https://github.com/zloirock/core-js/issues/1017) - Fixed `URLSearchParams` iterator `.next` that should be enumerable [by the spec](https://webidl.spec.whatwg.org/#es-iterator-prototype-object) - Refactored `Subscription` - Added NodeJS 17.2 compat data mapping -##### 3.19.2 - 2021.11.29 +##### [3.19.2 - 2021.11.29](https://github.com/zloirock/core-js/releases/tag/v3.19.2) - Added a workaround for a UC Browser specific version bug with unobservable `RegExp#sticky` flag, [#1008](https://github.com/zloirock/core-js/issues/1008), [#1015](https://github.com/zloirock/core-js/issues/1015) - Added handling of comments and specific spaces to `Function#name` polyfill, [#1010](https://github.com/zloirock/core-js/issues/1010), thanks [@ildar-shaimordanov](https://github.com/ildar-shaimordanov) - Prevented some theoretical cases of breaking / observing the internal state by patching `Array.prototype[@@species]` @@ -138,7 +138,7 @@ - Added Electron 17.0 compat data mapping - Updated Deno compat data mapping -##### 3.19.1 - 2021.11.03 +##### [3.19.1 - 2021.11.03](https://github.com/zloirock/core-js/releases/tag/v3.19.1) - Added a workaround for FF26- bug where `ArrayBuffer`s are non-extensible, but `Object.isExtensible` does not report it: - Fixed in `Object.{ isExtensible, isSealed, isFrozen }` and `Reflect.isExtensible` - Fixed handling of `ArrayBuffer`s as collections keys @@ -149,7 +149,7 @@ - Fixed Safari 15.1 compat data (some features were not added) - Added iOS Safari 15.1 compat data mapping -##### 3.19.0 - 2021.10.25 +##### [3.19.0 - 2021.10.25](https://github.com/zloirock/core-js/releases/tag/v3.19.0) - Most built-ins are encapsulated in `core-js` for preventing possible cases of breaking / observing the internal state by patching / deleting of them - Avoid `.call` / `.apply` prototype methods that could be patched - Avoid `instanceof` operator - implicit `.prototype` / `@@hasInstance` access that could be patched @@ -165,7 +165,7 @@ - Updated Electron 16.0 compat data mapping - Many other minor fixes and improvements -##### 3.18.3 - 2021.10.13 +##### [3.18.3 - 2021.10.13](https://github.com/zloirock/core-js/releases/tag/v3.18.3) - Fixed the prototype chain of `AggregateError` constructor that should contain `Error` constructor - Fixed incorrect `AggregateError.prototype` properties descriptors - Fixed `InstallErrorCause` internal operation @@ -173,7 +173,7 @@ - Added Deno 1.16 compat data mapping - `Object.hasOwn` marked as supported from Safari 15.1 -##### 3.18.2 - 2021.10.06 +##### [3.18.2 - 2021.10.06](https://github.com/zloirock/core-js/releases/tag/v3.18.2) - Early `{ Array, %TypedArray% }.fromAsync` errors moved to the promise, per the latest changes of the spec draft - Internal `ToInteger(OrInfinity)` operation returns `+0` for `-0` argument, ES2020+ update - Fixed theoretical problems with handling bigint in `Number` constructor wrapper @@ -182,14 +182,14 @@ - Some other minor fixes and improvements - Refactoring -##### 3.18.1 - 2021.09.27 +##### [3.18.1 - 2021.09.27](https://github.com/zloirock/core-js/releases/tag/v3.18.1) - Fixed `String.prototype.substr` feature detection and compat data - Removed mistakenly added `.forEach` from prototypes of some DOM collections where it shouldn't be, [#988](https://github.com/zloirock/core-js/issues/988), [#987](https://github.com/zloirock/core-js/issues/987), thanks [@moorejs](https://github.com/moorejs) - Added `cause` to `AggregateError` constructor implementation (still without adding to the feature detection) - Families of `.at` and `.findLast` methods marked as supported in Safari TP - Added Electron 16.0 compat data mapping -##### 3.18.0 - 2021.09.20 +##### [3.18.0 - 2021.09.20](https://github.com/zloirock/core-js/releases/tag/v3.18.0) - Added [`Array.fromAsync` stage 1 proposal](https://github.com/tc39/proposal-array-from-async): - `Array.fromAsync` - `%TypedArray%.fromAsync` @@ -201,49 +201,49 @@ - Added Deno 1.15 compat data mapping - Some other minor fixes and optimizations -##### 3.17.3 - 2021.09.09 +##### [3.17.3 - 2021.09.09](https://github.com/zloirock/core-js/releases/tag/v3.17.3) - Fixed some possible problems related to possible extension of `%IteratorPrototype%` and `%AsyncIteratorPrototype%` in the future - Fixed `DOMTokenList.prototype.{ forEach, @@iterator, keys, values, entries }` in old WebKit versions where `element.classList` is not an instance of global `DOMTokenList` - Added NodeJS 16.9 compat data mapping - Added Samsung Internet 16.0 compat data mapping -##### 3.17.2 - 2021.09.03 +##### [3.17.2 - 2021.09.03](https://github.com/zloirock/core-js/releases/tag/v3.17.2) - Fixed missed cases of ES3 reserved words usage, related to [#980](https://github.com/zloirock/core-js/issues/980) - Fixed dependencies in one missed entry point - Some other minor fixes and optimizations -##### 3.17.1 - 2021.09.02 +##### [3.17.1 - 2021.09.02](https://github.com/zloirock/core-js/releases/tag/v3.17.1) - Fixed missed `modules-by-versions` data -##### 3.17.0 - 2021.09.02 +##### [3.17.0 - 2021.09.02](https://github.com/zloirock/core-js/releases/tag/v3.17.0) - [Accessible `Object.prototype.hasOwnProperty` (`Object.hasOwn`) proposal](https://github.com/tc39/proposal-accessible-object-hasownproperty) moved to the stable ES, [per August 2021 TC39 meeting](https://github.com/babel/proposals/issues/76#issuecomment-909288348) - [Relative indexing method (`.at`) proposal](https://github.com/tc39/proposal-relative-indexing-method) moved to the stable ES, [per August 2021 TC39 meeting](https://github.com/babel/proposals/issues/76#issuecomment-909285053) - Exposed by default the stable version of `String.prototype.at`. It was not exposed because of the conflict with the alternative obsolete proposal (that will be completely removed in the next major version). For the backward compatibility, in the case of loading this proposal, it will be overwritten. - Some more iteration closing fixes - Fixed an ES3 reserved words usage, [#980](https://github.com/zloirock/core-js/issues/980) -##### 3.16.4 - 2021.08.29 +##### [3.16.4 - 2021.08.29](https://github.com/zloirock/core-js/releases/tag/v3.16.4) - `AsyncFromSyncIterator` made stricter, related mainly to `AsyncIterator.from` and `AsyncIterator.prototype.flatMap` - Handling of optional `.next` arguments in `(Async)Iterator` methods is aligned with the current spec draft (mainly - ignoring the first passed to `.next` argument in built-in generators) - Behavior of `.next`, `.return`, `.throw` methods on `AsyncIterator` helpers proxy iterators aligned with the current spec draft (built-in async generators) (mainly - some early errors moved to returned promises) - Fixed some cases of safe iteration closing - Fixed dependencies of some entry points -##### 3.16.3 - 2021.08.25 +##### [3.16.3 - 2021.08.25](https://github.com/zloirock/core-js/releases/tag/v3.16.3) - Fixed `CreateAsyncFromSyncIterator` semantic in `AsyncIterator.from`, related to [#765](https://github.com/zloirock/core-js/issues/765) - Added a workaround of a specific case of broken `Object.prototype`, [#973](https://github.com/zloirock/core-js/issues/973) -##### 3.16.2 - 2021.08.17 +##### [3.16.2 - 2021.08.17](https://github.com/zloirock/core-js/releases/tag/v3.16.2) - Added a workaround of a Closure Compiler unsafe optimization, [#972](https://github.com/zloirock/core-js/issues/972) - One more fix crashing of `Object.create(null)` on WSH, [#970](https://github.com/zloirock/core-js/issues/970) - Added Deno 1.14 compat data mapping -##### 3.16.1 - 2021.08.09 +##### [3.16.1 - 2021.08.09](https://github.com/zloirock/core-js/releases/tag/v3.16.1) - Fixed microtask implementation on iOS Pebble, [#967](https://github.com/zloirock/core-js/issues/967) - Fixed some entry points - Improved old Safari compat data -##### 3.16.0 - 2021.07.30 +##### [3.16.0 - 2021.07.30](https://github.com/zloirock/core-js/releases/tag/v3.16.0) - [`Array` find from last proposal](https://github.com/tc39/proposal-array-find-from-last) moved to the stage 3, [July 2021 TC39 meeting](https://github.com/tc39/proposal-array-find-from-last/pull/47) - [`Array` filtering stage 1 proposal](https://github.com/tc39/proposal-array-filtering): - `Array.prototype.filterReject` replaces `Array.prototype.filterOut` @@ -275,14 +275,14 @@ - `Date.prototype.getYear` marked as not supported in IE8- - Added `summary` option to `core-js-builder`, see more info in the [`README`](https://github.com/zloirock/core-js/blob/master/packages/core-js-builder/README.md), [#910](https://github.com/zloirock/core-js/issues/910) -##### 3.15.2 - 2021.06.29 +##### [3.15.2 - 2021.06.29](https://github.com/zloirock/core-js/releases/tag/v3.15.2) - Worked around breakage related to `zone.js` loaded before `core-js`, [#953](https://github.com/zloirock/core-js/issues/953) - Added NodeJS 16.4 -> Chrome 91 compat data mapping -##### 3.15.1 - 2021.06.23 +##### [3.15.1 - 2021.06.23](https://github.com/zloirock/core-js/releases/tag/v3.15.1) - Fixed cloning of regex through `RegExp` constructor, [#948](https://github.com/zloirock/core-js/issues/948) -##### 3.15.0 - 2021.06.21 +##### [3.15.0 - 2021.06.21](https://github.com/zloirock/core-js/releases/tag/v3.15.0) - Added `RegExp` named capture groups polyfill, [#521](https://github.com/zloirock/core-js/issues/521), [#944](https://github.com/zloirock/core-js/issues/944) - Added `RegExp` `dotAll` flag polyfill, [#792](https://github.com/zloirock/core-js/issues/792), [#944](https://github.com/zloirock/core-js/issues/944) - Added missed polyfills of [Annex B](https://tc39.es/ecma262/#sec-additional-built-in-properties) features (required mainly for some non-browser engines), [#336](https://github.com/zloirock/core-js/issues/336), [#945](https://github.com/zloirock/core-js/issues/945): @@ -296,53 +296,53 @@ - Allowed `rhino` target in `core-js-compat` / `core-js-builder`, added compat data for `rhino` 1.7.13, [#942](https://github.com/zloirock/core-js/issues/942), thanks [@gausie](https://github.com/gausie) - `.at` marked as supported from FF90 -##### 3.14.0 - 2021.06.05 +##### [3.14.0 - 2021.06.05](https://github.com/zloirock/core-js/releases/tag/v3.14.0) - Added polyfill of stable sort in `{ Array, %TypedArray% }.prototype.sort`, [#769](https://github.com/zloirock/core-js/issues/769), [#941](https://github.com/zloirock/core-js/issues/941) - Fixed `Safari` 14.0- `%TypedArray%.prototype.sort` validation of arguments bug - `.at` marked as supported from V8 9.2 -##### 3.13.1 - 2021.05.29 +##### [3.13.1 - 2021.05.29](https://github.com/zloirock/core-js/releases/tag/v3.13.1) - Overwrites `get-own-property-symbols` third-party `Symbol` polyfill if it's used since it causes a stack overflow, [#774](https://github.com/zloirock/core-js/issues/774) - Added a workaround of possible browser crash on `Object.prototype` accessors methods in WebKit ~ Android 4.0, [#232](https://github.com/zloirock/core-js/issues/232) -##### 3.13.0 - 2021.05.26 +##### [3.13.0 - 2021.05.26](https://github.com/zloirock/core-js/releases/tag/v3.13.0) - Accessible `Object#hasOwnProperty` (`Object.hasOwn`) proposal moved to the stage 3, [May 2021 TC39 meeting](https://github.com/babel/proposals/issues/74#issuecomment-848121673) -##### 3.12.1 - 2021.05.09 +##### [3.12.1 - 2021.05.09](https://github.com/zloirock/core-js/releases/tag/v3.12.1) - Fixed some cases of `Function#toString` with multiple `core-js` instances - Fixed some possible `String#split` polyfill problems in V8 5.1 -##### 3.12.0 - 2021.05.06 +##### [3.12.0 - 2021.05.06](https://github.com/zloirock/core-js/releases/tag/v3.12.0) - Added well-known symbol `Symbol.metadata` for [decorators stage 2 proposal](https://github.com/tc39/proposal-decorators) - Added well-known symbol `Symbol.matcher` for [pattern matching stage 1 proposal](https://github.com/tc39/proposal-pattern-matching) - Fixed regression of V8 ~ Node 0.12 `String(Symbol())` bug, [#933](https://github.com/zloirock/core-js/issues/933) -##### 3.11.3 - 2021.05.05 +##### [3.11.3 - 2021.05.05](https://github.com/zloirock/core-js/releases/tag/v3.11.3) - Native promise-based APIs `Promise#{ catch, finally }` returns polyfilled `Promise` instances when it's required -##### 3.11.2 - 2021.05.03 +##### [3.11.2 - 2021.05.03](https://github.com/zloirock/core-js/releases/tag/v3.11.2) - Added a workaround of WebKit ~ iOS 10.3 Safari `Promise` bug, [#932](https://github.com/zloirock/core-js/issues/932) - `Promise#then` of incorrect native `Promise` implementations with correct subclassing no longer wrapped - Changed the order of `Promise` feature detection, removed unhandled rejection tracking check in non-browser non-node platforms -##### 3.11.1 - 2021.04.28 +##### [3.11.1 - 2021.04.28](https://github.com/zloirock/core-js/releases/tag/v3.11.1) - Made `instanceof Promise` and `.constructor === Promise` work with polyfilled `Promise` for all native promise-based APIs - Added a workaround for some buggy V8 versions \~4.5 related to fixing of `%TypedArray%` static methods, [#564](https://github.com/zloirock/core-js/issues/564) -##### 3.11.0 - 2021.04.22 +##### [3.11.0 - 2021.04.22](https://github.com/zloirock/core-js/releases/tag/v3.11.0) - Added [accessible `Object#hasOwnProperty` stage 2 proposal](https://github.com/tc39/proposal-accessible-object-hasownproperty) - `Object.hasOwn` method - Fixed a possible `RegExp` constructor problem with multiple global `core-js` instances -##### 3.10.2 - 2021.04.19 +##### [3.10.2 - 2021.04.19](https://github.com/zloirock/core-js/releases/tag/v3.10.2) - `URL` and `URLSearchParams` marked as supported from Safari 14.0 - Polyfilled built-in constructors protected from calling on instances -##### 3.10.1 - 2021.04.08 +##### [3.10.1 - 2021.04.08](https://github.com/zloirock/core-js/releases/tag/v3.10.1) - Prevented possible `RegExp#split` problems in old engines, [#751](https://github.com/zloirock/core-js/issues/751), [#919](https://github.com/zloirock/core-js/issues/919) - Detection of Safari 10 string padding bug extended to some Safari-based browsers -##### 3.10.0 - 2021.03.31 +##### [3.10.0 - 2021.03.31](https://github.com/zloirock/core-js/releases/tag/v3.10.0) - [`Array` find from last proposal](https://github.com/tc39/proposal-array-find-from-last) moved to the stage 2, [March TC39 meeting](https://github.com/babel/proposals/issues/71#issuecomment-795916535) - Prevented possible `RegExp#exec` problems in some old engines, [#920](https://github.com/zloirock/core-js/issues/920) - Updated compat data mapping: @@ -352,13 +352,13 @@ - Opera Android up to 62 - The rest automatically -##### 3.9.1 - 2021.03.01 +##### [3.9.1 - 2021.03.01](https://github.com/zloirock/core-js/releases/tag/v3.9.1) - Added a workaround for Chrome 38-40 bug which does not allow to inherit symbols (incl. well-known) from DOM collections prototypes to instances, [#37](https://github.com/zloirock/core-js/issues/37) - Used `NumericRangeIterator` as toStringTag instead of `RangeIterator` in `{ Number, BigInt }.range` iterator, per [this PR](https://github.com/tc39/proposal-Number.range/pull/46) - TypedArray constructors marked as supported from Safari 14.0 - Updated compat data mapping for iOS Safari and Opera for Android -##### 3.9.0 - 2021.02.19 +##### [3.9.0 - 2021.02.19](https://github.com/zloirock/core-js/releases/tag/v3.9.0) - Added [`Array` find from last stage 1 proposal](https://github.com/tc39/proposal-array-find-from-last) - `Array#findLast` - `Array#findLastIndex` @@ -369,19 +369,19 @@ - Dropped `ToLength` detection from array methods feature detection which could cause hanging FF11-21 and some versions of old WebKit, [#764](https://github.com/zloirock/core-js/issues/764) - Minified bundle from `core-js-bundle` uses `terser` instead of `uglify-js` -##### 3.8.3 - 2021.01.19 +##### [3.8.3 - 2021.01.19](https://github.com/zloirock/core-js/releases/tag/v3.8.3) - Fixed some more issues related to FF44- legacy `Iterator`, [#906](https://github.com/zloirock/core-js/issues/906) -##### 3.8.2 - 2021.01.03 +##### [3.8.2 - 2021.01.03](https://github.com/zloirock/core-js/releases/tag/v3.8.2) - Fixed handling of special replacements patterns in `String#replaceAll`, [#900](https://github.com/zloirock/core-js/issues/900) - Fixed iterators dependencies of `Promise.any` and `Promise.allSettled` entries - Fixed microtask implementation on WebOS, [#898](https://github.com/zloirock/core-js/issues/898), [#901](https://github.com/zloirock/core-js/issues/901) -##### 3.8.1 - 2020.12.06 +##### [3.8.1 - 2020.12.06](https://github.com/zloirock/core-js/releases/tag/v3.8.1) - Fixed work of new `%TypedArray%` methods on `BigInt` arrays - Added ESNext methods to ES3 workaround for `Number` constructor wrapper -##### 3.8.0 - 2020.11.26 +##### [3.8.0 - 2020.11.26](https://github.com/zloirock/core-js/releases/tag/v3.8.0) - Added [relative indexing method stage 3 proposal](https://github.com/tc39/proposal-relative-indexing-method) - `Array#at` - `%TypedArray%#at` @@ -399,12 +399,12 @@ - Compat data mapping for modern Android WebView to Chrome moved from targets parser directly to compat data - Deprecate `core-js-builder` `blacklist` option in favor of `exclude` -##### 2.6.12 [LEGACY] - 2020.11.26 +##### [2.6.12 [LEGACY] - 2020.11.26](https://github.com/zloirock/core-js/releases/tag/v2.6.12 [LEGACY]) - Added code points / code units explicit feature detection in `String#at` for preventing breakage code which use obsolete `String#at` proposal polyfill - Added `OPEN_SOURCE_CONTRIBUTOR` detection in `postinstall` - Added Drone CI detection in `postinstall` -##### 3.7.0 - 2020.11.06 +##### [3.7.0 - 2020.11.06](https://github.com/zloirock/core-js/releases/tag/v3.7.0) - `String#replaceAll` moved to the stable ES, [per June TC39 meeting](https://github.com/tc39/notes/blob/master/meetings/2020-06/june-2.md#stringprototypereplaceall-for-stage-4) - `Promise.any` and `AggregateError` moved to the stable ES, [per July TC39 meeting](https://github.com/tc39/notes/blob/master/meetings/2020-07/july-21.md#promiseany--aggregateerror-for-stage-4) - Added `Reflect[@@toStringTag]`, [per July TC39 meeting](https://github.com/tc39/ecma262/pull/2057) @@ -431,30 +431,30 @@ - The rest automatically - Updated all required dependencies -##### 3.6.5 - 2020.04.09 +##### [3.6.5 - 2020.04.09](https://github.com/zloirock/core-js/releases/tag/v3.6.5) - Updated Browserslist [#755](https://github.com/zloirock/core-js/issues/755) - Fixed `setImmediate` in Safari [#770](https://github.com/zloirock/core-js/issues/770), thanks [@dtinth](https://github.com/dtinth) - Fixed some regexp, thanks [@scottarc](https://github.com/scottarc) - Added OPEN_SOURCE_CONTRIBUTOR detection in `postinstall`, thanks [@scottarc](https://github.com/scottarc) - Added Drone CI in `postinstall` CI detection [#781](https://github.com/zloirock/core-js/issues/781) -##### 3.6.4 - 2020.01.14 +##### [3.6.4 - 2020.01.14](https://github.com/zloirock/core-js/releases/tag/v3.6.4) - Prevented a possible almost infinite loop in non-standard implementations of some backward iteration array methods -##### 3.6.3 - 2020.01.11 +##### [3.6.3 - 2020.01.11](https://github.com/zloirock/core-js/releases/tag/v3.6.3) - Fixed replacement of substitutes of undefined capture groups in `.replace` in Safari 13.0-, [#471](https://github.com/zloirock/core-js/issues/471), [#745](https://github.com/zloirock/core-js/issues/745), thanks [@mattclough1](https://github.com/mattclough1) - Improved compat data for old engines -##### 3.6.2 - 2020.01.07 +##### [3.6.2 - 2020.01.07](https://github.com/zloirock/core-js/releases/tag/v3.6.2) - Fixed early implementations of `Array#{ every, forEach, includes, indexOf, lastIndexOf, reduce, reduceRight, slice, some, splice }` for the usage of `ToLength` - Added `RegExp#exec` dependency to methods which depends on the correctness of logic of this method (`3.6.0-3.6.1` issue), [#741](https://github.com/zloirock/core-js/issues/741) - Refactored some internals -##### 3.6.1 - 2019.12.25 +##### [3.6.1 - 2019.12.25](https://github.com/zloirock/core-js/releases/tag/v3.6.1) - Fixed a bug related `Symbol` with multiple copies of `core-js` (for `3.4.2-3.6.0`), [#736](https://github.com/zloirock/core-js/issues/736) - Refactored some tools -##### 3.6.0 - 2019.12.19 +##### [3.6.0 - 2019.12.19](https://github.com/zloirock/core-js/releases/tag/v3.6.0) - Added support of sticky (`y`) `RegExp` flag, [#372](https://github.com/zloirock/core-js/issues/372), [#732](https://github.com/zloirock/core-js/issues/732), [#492](https://github.com/zloirock/core-js/issues/492), thanks [@cvle](https://github.com/cvle) and [@nicolo-ribaudo](https://github.com/nicolo-ribaudo) - Added `RegExp#test` delegation to `RegExp#exec`, [#732](https://github.com/zloirock/core-js/issues/732), thanks [@cvle](https://github.com/cvle) - Fixed some cases of `Object.create(null)` in IE8-, [#727](https://github.com/zloirock/core-js/issues/727), [#728](https://github.com/zloirock/core-js/issues/728), thanks [@aleen42](https://github.com/aleen42) @@ -465,51 +465,51 @@ - Fixed `Array.prototype[@@unscopables]` descriptor (was writable) - Added Samsung Internet 11 compat data mapping -##### 3.5.0 - 2019.12.12 +##### [3.5.0 - 2019.12.12](https://github.com/zloirock/core-js/releases/tag/v3.5.0) - Added [object iteratoration stage 1 proposal](https://github.com/tc39/proposal-object-iteration): - `Object.iterateKeys` - `Object.iterateValues` - `Object.iterateEntries` -##### 3.4.8 - 2019.12.09 +##### [3.4.8 - 2019.12.09](https://github.com/zloirock/core-js/releases/tag/v3.4.8) - Added one more workaround for broken in previous versions `inspectSource` helper, [#719](https://github.com/zloirock/core-js/issues/719) - Added Opera Mobile compat data - Updated Samsung Internet, iOS, old Node and Android compat data mapping - `es.string.match-all` marked as completely supported in FF73 - Generate `core-js-compat/modules` since often we need just the list of `core-js` modules -##### 2.6.11 [LEGACY] - 2019.12.09 +##### [2.6.11 [LEGACY] - 2019.12.09](https://github.com/zloirock/core-js/releases/tag/v2.6.11 [LEGACY]) - Returned usage of `node -e` in the `postinstall` scripts for better cross-platform compatibility, [#582](https://github.com/zloirock/core-js/issues/582) - Improved CI detection in the `postinstall` script, [#707](https://github.com/zloirock/core-js/issues/707) -##### 3.4.7 - 2019.12.03 +##### [3.4.7 - 2019.12.03](https://github.com/zloirock/core-js/releases/tag/v3.4.7) - Fixed an NPM publishing issue -##### 3.4.6 - 2019.12.03 +##### [3.4.6 - 2019.12.03](https://github.com/zloirock/core-js/releases/tag/v3.4.6) - Improved iOS compat data - added missed mapping iOS 12.2 -> Safari 12.1, added bug fixes from patch releases - Added Safari 13.1 compat data - Added missed in `core-js-compat` helpers `ie_mob` normalization - Normalize the result of `getModulesListForTargetVersion` `core-js-compat` helper - Improved CI detection in the `postinstall` script, [#707](https://github.com/zloirock/core-js/issues/707) -##### 3.4.5 - 2019.11.28 +##### [3.4.5 - 2019.11.28](https://github.com/zloirock/core-js/releases/tag/v3.4.5) - Detect incorrect order of operations in `Object.assign`, MS Edge bug - Detect usage of `ToLength` in `Array#{ filter, map }`, FF48-49 and MS Edge 14- issues - Detect incorrect MS Edge 17-18 `Reflect.set` which allows setting the property to object with non-writable property on the prototype - Fixed `inspectSource` helper with multiple `core-js` copies and some related features like some edge cases of `Promise` feature detection -##### 3.4.4 - 2019.11.27 +##### [3.4.4 - 2019.11.27](https://github.com/zloirock/core-js/releases/tag/v3.4.4) - Added feature detection for Safari [non-generic `Promise#finally` bug](https://bugs.webkit.org/show_bug.cgi?id=200829) **(critical for `core-js-pure`)** - Fixed missed `esnext.string.code-points` in `core-js/features/string` entry point - Updated `Iterator` proposal feature detection for the case of non-standard `Iterator` in FF44- -##### 3.4.3 - 2019.11.26 +##### [3.4.3 - 2019.11.26](https://github.com/zloirock/core-js/releases/tag/v3.4.3) - Fixed missed `es.json.stringify` and some modules from iteration helpers proposal in some entry points **(includes the root entry point)** - Added a workaround of `String#{ endsWith, startsWith }` MDN polyfills bugs, [#702](https://github.com/zloirock/core-js/issues/702) - Fixed `.size` property descriptor of `Map` / `Set` in the pure version - Refactoring, some internal improvements -##### 3.4.2 - 2019.11.22 +##### [3.4.2 - 2019.11.22](https://github.com/zloirock/core-js/releases/tag/v3.4.2) - Don't use polyfilled symbols as internal uids, a workaround for some incorrect use cases - `String#replaceAll` is available only in nightly FF builds - Improved `Promise` feature detection for the case of V8 6.6 with multiple `core-js` copies @@ -517,29 +517,29 @@ - Added Node 13.2 -> V8 7.9 compat data mapping - Returned usage of `node -e` in `postinstall` scripts -##### 3.4.1 - 2019.11.12 +##### [3.4.1 - 2019.11.12](https://github.com/zloirock/core-js/releases/tag/v3.4.1) - Throw when `(Async)Iterator#flatMap` mapper returns a non-iterable, per [tc39/proposal-iterator-helpers/55](https://github.com/tc39/proposal-iterator-helpers/issues/55) and [tc39/proposal-iterator-helpers/59](https://github.com/tc39/proposal-iterator-helpers/pull/59) - Removed own `AggregateError#toString`, per [tc39/proposal-promise-any/49](https://github.com/tc39/proposal-promise-any/pull/49) - Global `core-js` `Promise` polyfill passes feature detection in the pure versions - Fixed indexes in `String#replaceAll` callbacks - `String#replaceAll` marked as supported by FF72 -##### 3.4.0 - 2019.11.07 +##### [3.4.0 - 2019.11.07](https://github.com/zloirock/core-js/releases/tag/v3.4.0) - Added [well-formed `JSON.stringify`](https://github.com/tc39/proposal-well-formed-stringify), ES2019 feature, thanks [@ExE-Boss](https://github.com/ExE-Boss) and [@WebReflection](https://github.com/WebReflection) for the idea - Fixed `Math.signbit`, [#687](https://github.com/zloirock/core-js/issues/687), thanks [@chicoxyzzy](https://github.com/chicoxyzzy) -##### 3.3.6 - 2019.11.01 +##### [3.3.6 - 2019.11.01](https://github.com/zloirock/core-js/releases/tag/v3.3.6) - Don't detect Chakra-based Edge as Chrome in the `userAgent` parsing - Fixed inheritance in typed array constructors wrappers, [#683](https://github.com/zloirock/core-js/issues/683) - Added one more workaround for correct work of early `fetch` implementations with polyfilled `URLSearchParams`, [#680](https://github.com/zloirock/core-js/issues/680) -##### 3.3.5 - 2019.10.29 +##### [3.3.5 - 2019.10.29](https://github.com/zloirock/core-js/releases/tag/v3.3.5) - Added a workaround of V8 deoptimization which causes serious performance degradation (~4x in my tests) of `Array#concat`, [#679](https://github.com/zloirock/core-js/issues/679) - Added a workaround of V8 deoptimization which causes slightly performance degradation of `Promise`, [#679](https://github.com/zloirock/core-js/issues/679) - Added `(Async)Iterator.prototype.constructor -> (Async)Iterator` per [this issue](https://github.com/tc39/proposal-iterator-helpers/issues/60) - Added compat data for Chromium-based Edge -##### 3.3.4 - 2019.10.25 +##### [3.3.4 - 2019.10.25](https://github.com/zloirock/core-js/releases/tag/v3.3.4) - Added a workaround of V8 deoptimization which causes serious performance degradation (~20x in my tests) of some `RegExp`-related methods like `String#split`, [#306](https://github.com/zloirock/core-js/issues/306) - Added a workaround of V8 deoptimization which causes serious performance degradation (up to 100x in my tests) of `Array#splice` and slightly `Array#{ filter, map }`, [#677](https://github.com/zloirock/core-js/issues/677) - Fixed work of `fetch` with polyfilled `URLSearchParams`, [#674](https://github.com/zloirock/core-js/issues/674) @@ -547,17 +547,17 @@ - Added compat data for Chrome 80 - `package-lock.json` no longer generated in libraries -##### 3.3.3 - 2019.10.22 +##### [3.3.3 - 2019.10.22](https://github.com/zloirock/core-js/releases/tag/v3.3.3) - `gopher` removed from `URL` special cases per [this issue](https://github.com/whatwg/url/issues/342) and [this PR](https://github.com/whatwg/url/pull/453) - Added compat data for iOS 13 and Node 13.0 -##### 3.3.2 - 2019.10.14 +##### [3.3.2 - 2019.10.14](https://github.com/zloirock/core-js/releases/tag/v3.3.2) - Fixed compatibility of `core-js-compat` with Node 6 and Yarn, [#669](https://github.com/zloirock/core-js/issues/669) -##### 3.3.1 - 2019.10.13 +##### [3.3.1 - 2019.10.13](https://github.com/zloirock/core-js/releases/tag/v3.3.1) - Fixed an NPM publishing issue -##### 3.3.0 - 2019.10.13 +##### [3.3.0 - 2019.10.13](https://github.com/zloirock/core-js/releases/tag/v3.3.0) - **`String#{ matchAll, replaceAll }` throws an error on non-global regex argument per [the decision from TC39 meetings](https://github.com/tc39/ecma262/pull/1716) (+ [this PR](https://github.com/tc39/proposal-string-replaceall/pull/24)). It's a breaking change, but since it's a breaking change in the ES spec, it's added at the minor release** - `globalThis` moved to stable ES, [per October TC39 meeting](https://github.com/babel/proposals/issues/60#issuecomment-537217903) - `Promise.any` moved to stage 3, some minor internal changes, [per October TC39 meeting](https://github.com/babel/proposals/issues/60#issuecomment-538084885) @@ -607,13 +607,13 @@ - Fixed missed cases [access the `.next` method once, at the beginning, of the iteration protocol](https://github.com/tc39/ecma262/issues/976) - Show similar `postinstall` messages only once per `npm i`, [#597](https://github.com/zloirock/core-js/issues/597), thanks [@remy](https://github.com/remy) -##### 2.6.10 [LEGACY] - 2019.10.13 +##### [2.6.10 [LEGACY] - 2019.10.13](https://github.com/zloirock/core-js/releases/tag/v2.6.10 [LEGACY]) - Show similar `postinstall` messages only once per `npm i`, [#597](https://github.com/zloirock/core-js/issues/597) -##### 3.2.1 - 2019.08.12 +##### [3.2.1 - 2019.08.12](https://github.com/zloirock/core-js/releases/tag/v3.2.1) - Added a workaround for possible recursion in microtasks caused by conflicts with other `Promise` polyfills, [#615](https://github.com/zloirock/core-js/issues/615) -##### 3.2.0 - 2019.08.09 +##### [3.2.0 - 2019.08.09](https://github.com/zloirock/core-js/releases/tag/v3.2.0) - `Promise.allSettled` moved to stable ES, per July TC39 meeting - `Promise.any` moved to stage 2, `.errors` property of `AggregateError` instances maked non-enumerable, per July TC39 meeting - `using` statement proposal moved to stage 2, added `Symbol.asyncDispose`, per July TC39 meeting @@ -629,7 +629,7 @@ - Removed `core-js-pure` dependency from `core-js-compat`, [#590](https://github.com/zloirock/core-js/issues/590) - Fixed generation of `core-js-compat` on Windows, [#606](https://github.com/zloirock/core-js/issues/606) -##### 3.1.4 - 2019.06.15 +##### [3.1.4 - 2019.06.15](https://github.com/zloirock/core-js/releases/tag/v3.1.4) - Refactoring. Many minor internal improvements and fixes like: - Improved `Symbol.keyFor` complexity to `O(1)` - Fixed the order of arguments validation in `String.prototype.{ endsWith, includes, startsWith }` @@ -637,28 +637,28 @@ - Performance optimizations related old V8 - Etc. -##### 3.1.3 - 2019.05.27 +##### [3.1.3 - 2019.05.27](https://github.com/zloirock/core-js/releases/tag/v3.1.3) - Fixed `core-js/features/reflect/delete-metadata` entry point - Some fixes and improvements of the `postinstall` script like support `npm` color config ([#556](https://github.com/zloirock/core-js/issues/556)) or adding support of `ADBLOCK` env variable - Refactoring and some minor fixes -##### 2.6.9 [LEGACY] - 2019.05.27 +##### [2.6.9 [LEGACY] - 2019.05.27](https://github.com/zloirock/core-js/releases/tag/v2.6.9 [LEGACY]) - Some fixes and improvements of the `postinstall` script like support `npm` color config ([#556](https://github.com/zloirock/core-js/issues/556)) or adding support of `ADBLOCK` env variable -##### 3.1.2 - 2019.05.22 +##### [3.1.2 - 2019.05.22](https://github.com/zloirock/core-js/releases/tag/v3.1.2) - Added a workaround of a strange `npx` bug on `postinstall`, [#551](https://github.com/zloirock/core-js/issues/551) -##### 2.6.8 [LEGACY] - 2019.05.22 +##### [2.6.8 [LEGACY] - 2019.05.22](https://github.com/zloirock/core-js/releases/tag/v2.6.8 [LEGACY]) - Added a workaround of a strange `npx` bug on `postinstall`, [#551](https://github.com/zloirock/core-js/issues/551) -##### 3.1.1 - 2019.05.21 +##### [3.1.1 - 2019.05.21](https://github.com/zloirock/core-js/releases/tag/v3.1.1) - Added one more workaround of alternative not completely correct `Symbol` polyfills, [#550](https://github.com/zloirock/core-js/issues/550), [#554](https://github.com/zloirock/core-js/issues/554) - Reverted `esnext.string.match-all` in some entry points for fix autogeneration of `core-js-compat/entries` and backward `@babel/preset-env` compatibility -##### 2.6.7 [LEGACY] - 2019.05.21 +##### [2.6.7 [LEGACY] - 2019.05.21](https://github.com/zloirock/core-js/releases/tag/v2.6.7 [LEGACY]) - Added one more workaround of alternative not completely correct `Symbol` polyfills, [#550](https://github.com/zloirock/core-js/issues/550), [#554](https://github.com/zloirock/core-js/issues/554) -##### 3.1.0 - 2019.05.20 +##### [3.1.0 - 2019.05.20](https://github.com/zloirock/core-js/releases/tag/v3.1.0) - `String#matchAll` moved to stable ES, exposed `Symbol.matchAll`, [#516](https://github.com/zloirock/core-js/issues/516) - `Promise.allSettled` moved to stage 3, [#515](https://github.com/zloirock/core-js/issues/515) - `String#replaceAll` moved to stage 2, behavior updated by the spec draft, [#524](https://github.com/zloirock/core-js/issues/524) @@ -672,16 +672,16 @@ - Show a message on `postinstall` - Added compat data for Chrome 76, FF 67, Node 12 -##### 2.6.6 [LEGACY] - 2019.05.20 +##### [2.6.6 [LEGACY] - 2019.05.20](https://github.com/zloirock/core-js/releases/tag/v2.6.6 [LEGACY]) - Fixed IE8- non-enumerable properties support in `Object.{ assign, entries, values }`, [#541](https://github.com/zloirock/core-js/issues/541) - Fixed support of primitives in `Object.getOwnPropertySymbols` in Chrome 38 / 39, [#539](https://github.com/zloirock/core-js/issues/539) - Show a message on `postinstall` -##### 3.0.1 - 2019.04.06 +##### [3.0.1 - 2019.04.06](https://github.com/zloirock/core-js/releases/tag/v3.0.1) - Fixed some cases of work with malformed URI sequences in `URLSearchParams`, [#525](https://github.com/zloirock/core-js/issues/525) - Added a workaround for a rollup issue, [#513](https://github.com/zloirock/core-js/issues/513) -##### 3.0.0 - 2019.03.19 +##### [3.0.0 - 2019.03.19](https://github.com/zloirock/core-js/releases/tag/v3.0.0) - Features - Add new features: - `Object.fromEntries` ([ECMAScript 2019](https://github.com/tc39/proposal-object-from-entries)) @@ -872,59 +872,59 @@ - ESLint used on tests and tools. - Source code refactored for improving readability. -##### 2.6.5 - 2019.02.15 +##### [2.6.5 - 2019.02.15](https://github.com/zloirock/core-js/releases/tag/v2.6.5) - Fixed buggy `String#padStart` and `String#padEnd` mobile Safari implementations, [#414](https://github.com/zloirock/core-js/issues/414). -##### 2.6.4 - 2019.02.07 +##### [2.6.4 - 2019.02.07](https://github.com/zloirock/core-js/releases/tag/v2.6.4) - Added a workaround against crushing an old IE11.0.9600.16384 build, [#485](https://github.com/zloirock/core-js/issues/485). -##### 2.6.3 - 2019.01.22 +##### [2.6.3 - 2019.01.22](https://github.com/zloirock/core-js/releases/tag/v2.6.3) - Added a workaround for `babel-minify` bug, [#479](https://github.com/zloirock/core-js/issues/479) -##### 2.6.2 - 2019.01.10 +##### [2.6.2 - 2019.01.10](https://github.com/zloirock/core-js/releases/tag/v2.6.2) - Fixed handling of `$` in `String#replace`, [#471](https://github.com/zloirock/core-js/issues/471) -##### 2.6.1 - 2018.12.18 +##### [2.6.1 - 2018.12.18](https://github.com/zloirock/core-js/releases/tag/v2.6.1) - Fixed an issue with minified version, [#463](https://github.com/zloirock/core-js/issues/463), [#465](https://github.com/zloirock/core-js/issues/465) -##### 2.6.0 - 2018.12.05 +##### [2.6.0 - 2018.12.05](https://github.com/zloirock/core-js/releases/tag/v2.6.0) - Add direct `.exec` calling to `RegExp#{@@replace, @@split, @@match, @@search}`. Also, added fixes for `RegExp#exec` method. [#428](https://github.com/zloirock/core-js/issues/428), [#435](https://github.com/zloirock/core-js/issues/435), [#458](https://github.com/zloirock/core-js/issues/458), thanks [**@nicolo-ribaudo**](https://github.com/nicolo-ribaudo). -##### 2.5.7 - 2018.05.26 +##### [2.5.7 - 2018.05.26](https://github.com/zloirock/core-js/releases/tag/v2.5.7) - Get rid of reserved variable name `final`, related [#400](https://github.com/zloirock/core-js/issues/400) -##### 2.5.6 - 2018.05.07 +##### [2.5.6 - 2018.05.07](https://github.com/zloirock/core-js/releases/tag/v2.5.6) - Forced replace native `Promise` in V8 6.6 (Node 10 and Chrome 66) because of [a bug with resolving custom thenables](https://bugs.chromium.org/p/chromium/issues/detail?id=830565) - Added a workaround for usage buggy native LG WebOS 2 `Promise` in microtask implementation, [#396](https://github.com/zloirock/core-js/issues/396) - Added modern version internal debugging information about used versions -##### 2.5.5 - 2018.04.08 +##### [2.5.5 - 2018.04.08](https://github.com/zloirock/core-js/releases/tag/v2.5.5) - Fix some edge cases of `Reflect.set`, [#392](https://github.com/zloirock/core-js/issues/392) and [#393](https://github.com/zloirock/core-js/issues/393) -##### 2.5.4 - 2018.03.27 +##### [2.5.4 - 2018.03.27](https://github.com/zloirock/core-js/releases/tag/v2.5.4) - Fixed one case of deoptimization built-in iterators in V8, related [#377](https://github.com/zloirock/core-js/issues/377) - Fixed some cases of iterators feature detection, [#368](https://github.com/zloirock/core-js/issues/368) - Fixed manually entered NodeJS domains issue in `Promise`, [#367](https://github.com/zloirock/core-js/issues/367) - Fixed `Number.{parseInt, parseFloat}` entry points - Fixed `__(define|lookup)[GS]etter__` export in the `library` version -##### 2.5.3 - 2017.12.12 +##### [2.5.3 - 2017.12.12](https://github.com/zloirock/core-js/releases/tag/v2.5.3) - Fixed calling `onunhandledrejectionhandler` multiple times for one `Promise` chain, [#318](https://github.com/zloirock/core-js/issues/318) - Forced replacement of `String#{padStart, padEnd}` in Safari 10 because of [a bug](https://bugs.webkit.org/show_bug.cgi?id=161944), [#280](https://github.com/zloirock/core-js/issues/280) - Fixed `Array#@@iterator` in a very rare version of `WebKit`, [#236](https://github.com/zloirock/core-js/issues/236) and [#237](https://github.com/zloirock/core-js/issues/237) - One more [#345](https://github.com/zloirock/core-js/issues/345)-related fix -##### 2.5.2 - 2017.12.09 +##### [2.5.2 - 2017.12.09](https://github.com/zloirock/core-js/releases/tag/v2.5.2) - `MutationObserver` no longer used for microtask implementation in iOS Safari because of bug with scrolling, [#339](https://github.com/zloirock/core-js/issues/339) - Fixed `JSON.stringify(undefined, replacer)` case in the wrapper from the `Symbol` polyfill, [#345](https://github.com/zloirock/core-js/issues/345) - `Array()` calls changed to `new Array()` for V8 optimisation -##### 2.5.1 - 2017.09.01 +##### [2.5.1 - 2017.09.01](https://github.com/zloirock/core-js/releases/tag/v2.5.1) - Updated `Promise#finally` per [tc39/proposal-promise-finally#37](https://github.com/tc39/proposal-promise-finally/issues/37) - Optimized usage of some internal helpers for reducing size of `shim` version - Fixed some entry points for virtual methods -##### 2.5.0 - 2017.08.05 +##### [2.5.0 - 2017.08.05](https://github.com/zloirock/core-js/releases/tag/v2.5.0) - Added `Promise#finally` [stage 3 proposal](https://github.com/tc39/proposal-promise-finally), [#225](https://github.com/zloirock/core-js/issues/225) - Added `Promise.try` [stage 1 proposal](https://github.com/tc39/proposal-promise-try) - Added `Array#flatten` and `Array#flatMap` [stage 1 proposal](https://tc39.github.io/proposal-flatMap) @@ -996,20 +996,20 @@ - Updated many dev dependencies (`webpack`, `uglify`, etc) - Some other minor fixes and optimizations -##### 2.4.1 - 2016.07.18 +##### [2.4.1 - 2016.07.18](https://github.com/zloirock/core-js/releases/tag/v2.4.1) - Fixed `script` tag for some parsers, [#204](https://github.com/zloirock/core-js/issues/204), [#216](https://github.com/zloirock/core-js/issues/216) - Removed some unused variables, [#217](https://github.com/zloirock/core-js/issues/217), [#218](https://github.com/zloirock/core-js/issues/218) - Fixed MS Edge `Reflect.construct` and `Reflect.apply` - they should not allow primitive as `argumentsList` argument -##### 1.2.7 [LEGACY] - 2016.07.18 +##### [1.2.7 [LEGACY] - 2016.07.18](https://github.com/zloirock/core-js/releases/tag/v1.2.7 [LEGACY]) - Some fixes for issues like [#159](https://github.com/zloirock/core-js/issues/159), [#186](https://github.com/zloirock/core-js/issues/186), [#194](https://github.com/zloirock/core-js/issues/194), [#207](https://github.com/zloirock/core-js/issues/207) -##### 2.4.0 - 2016.05.08 +##### [2.4.0 - 2016.05.08](https://github.com/zloirock/core-js/releases/tag/v2.4.0) - Added `Observable`, [stage 1 proposal](https://github.com/zenparsing/es-observable) - Fixed behavior `Object.{getOwnPropertySymbols, getOwnPropertyDescriptor}` and `Object#propertyIsEnumerable` on `Object.prototype` - `Reflect.construct` and `Reflect.apply` should throw an error if `argumentsList` argument is not an object, [#194](https://github.com/zloirock/core-js/issues/194) -##### 2.3.0 - 2016.04.24 +##### [2.3.0 - 2016.04.24](https://github.com/zloirock/core-js/releases/tag/v2.3.0) - Added `asap` for enqueuing microtasks, [stage 0 proposal](https://github.com/rwaldron/tc39-notes/blob/master/es6/2014-09/sept-25.md#510-globalasap-for-enqueuing-a-microtask) - Added well-known symbol `Symbol.asyncIterator` for [stage 2 async iteration proposal](https://github.com/tc39/proposal-async-iteration) - Added well-known symbol `Symbol.observable` for [stage 1 observables proposal](https://github.com/zenparsing/es-observable) @@ -1020,40 +1020,40 @@ - `Error.isError` withdrawn and will be removed from the next major release, [TC39 meeting notes](https://github.com/rwaldron/tc39-notes/blob/master/es7/2016-03/march-29.md#erroriserror) - Added fallback for `Function#name` on non-extensible functions and functions with broken `toString` conversion, [#193](https://github.com/zloirock/core-js/issues/193) -##### 2.2.2 - 2016.04.06 +##### [2.2.2 - 2016.04.06](https://github.com/zloirock/core-js/releases/tag/v2.2.2) - Added conversion `-0` to `+0` to `Array#{indexOf, lastIndexOf}`, [ES2016 fix](https://github.com/tc39/ecma262/pull/316) - Added fixes for some `Math` methods in Tor Browser - `Array.{from, of}` no longer calls prototype setters - Added workaround over Chrome DevTools strange behavior, [#186](https://github.com/zloirock/core-js/issues/186) -##### 2.2.1 - 2016.03.19 +##### [2.2.1 - 2016.03.19](https://github.com/zloirock/core-js/releases/tag/v2.2.1) - Fixed `Object.getOwnPropertyNames(window)` `2.1+` versions bug, [#181](https://github.com/zloirock/core-js/issues/181) -##### 2.2.0 - 2016.03.15 +##### [2.2.0 - 2016.03.15](https://github.com/zloirock/core-js/releases/tag/v2.2.0) - Added `String#matchAll`, [proposal](https://github.com/tc39/String.prototype.matchAll) - Added `Object#__(define|lookup)[GS]etter__`, [annex B ES2017](https://github.com/tc39/ecma262/pull/381) - Added `@@toPrimitive` methods to `Date` and `Symbol` - Fixed `%TypedArray%#slice` in Edge ~ 13 (throws with `@@species` and wrapped / inherited constructor) - Some other minor fixes -##### 2.1.5 - 2016.03.12 +##### [2.1.5 - 2016.03.12](https://github.com/zloirock/core-js/releases/tag/v2.1.5) - Improved support NodeJS domains in `Promise#then`, [#180](https://github.com/zloirock/core-js/issues/180) - Added fallback for `Date#toJSON` bug in Qt Script, [#173](https://github.com/zloirock/core-js/issues/173#issuecomment-193972502) -##### 2.1.4 - 2016.03.08 +##### [2.1.4 - 2016.03.08](https://github.com/zloirock/core-js/releases/tag/v2.1.4) - Added fallback for `Symbol` polyfill in Qt Script, [#173](https://github.com/zloirock/core-js/issues/173) - Added one more fallback for IE11 `Script Access Denied` error with iframes, [#165](https://github.com/zloirock/core-js/issues/165) -##### 2.1.3 - 2016.02.29 +##### [2.1.3 - 2016.02.29](https://github.com/zloirock/core-js/releases/tag/v2.1.3) - Added fallback for [`es6-promise` package bug](https://github.com/stefanpenner/es6-promise/issues/169), [#176](https://github.com/zloirock/core-js/issues/176) -##### 2.1.2 - 2016.02.29 +##### [2.1.2 - 2016.02.29](https://github.com/zloirock/core-js/releases/tag/v2.1.2) - Some minor `Promise` fixes: - Browsers `rejectionhandled` event better HTML spec complaint - Errors in unhandled rejection handlers should not cause any problems - Fixed typo in feature detection -##### 2.1.1 - 2016.02.22 +##### [2.1.1 - 2016.02.22](https://github.com/zloirock/core-js/releases/tag/v2.1.1) - Some `Promise` improvements: - Feature detection: - **Added detection unhandled rejection tracking support - now it's available everywhere**, [#140](https://github.com/zloirock/core-js/issues/140) @@ -1061,7 +1061,7 @@ - Removed usage `Object.setPrototypeOf` from feature detection and noisy console message about it in FF - `Promise.all` fixed for some very specific cases -##### 2.1.0 - 2016.02.09 +##### [2.1.0 - 2016.02.09](https://github.com/zloirock/core-js/releases/tag/v2.1.0) - **API**: - ES5 polyfills are split and logic, used in other polyfills, moved to internal modules - **All entry point works in ES3 environment like IE8- without `core-js/(library/)es5`** @@ -1104,18 +1104,18 @@ - **Bug Fixes**: - Fixed some cases `Array#lastIndexOf` with negative second argument -##### 2.0.3 - 2016.01.11 +##### [2.0.3 - 2016.01.11](https://github.com/zloirock/core-js/releases/tag/v2.0.3) - Added fallback for V8 ~ Chrome 49 `Promise` subclassing bug causes unhandled rejection on feature detection, [#159](https://github.com/zloirock/core-js/issues/159) - Added fix for very specific environments with global `window === null` -##### 2.0.2 - 2016.01.04 +##### [2.0.2 - 2016.01.04](https://github.com/zloirock/core-js/releases/tag/v2.0.2) - Temporarily removed `length` validation from `Uint8Array` constructor wrapper. Reason - [bug in `ws` module](https://github.com/websockets/ws/pull/645) (-> `socket.io`) which passes to `Buffer` constructor -> `Uint8Array` float and uses [the `V8` bug](https://code.google.com/p/v8/issues/detail?id=4552) for conversion to int (by the spec should be thrown an error). [It creates problems for many people.](https://github.com/karma-runner/karma/issues/1768) I hope, it will be returned after fixing this bug in `V8`. -##### 2.0.1 - 2015.12.31 +##### [2.0.1 - 2015.12.31](https://github.com/zloirock/core-js/releases/tag/v2.0.1) - Forced usage `Promise.resolve` polyfill in the `library` version for correct work with wrapper - `Object.assign` should be defined in the strict mode -> throw an error on extension non-extensible objects, [#154](https://github.com/zloirock/core-js/issues/154) -##### 2.0.0 - 2015.12.24 +##### [2.0.0 - 2015.12.24](https://github.com/zloirock/core-js/releases/tag/v2.0.0) - Added implementations and fixes [Typed Arrays](https://github.com/zloirock/core-js#ecmascript-6-typed-arrays)-related features - `ArrayBuffer`, `ArrayBuffer.isView`, `ArrayBuffer#slice` - `DataView` with all getter / setter methods @@ -1151,7 +1151,7 @@ - `{Map, Set}#forEach` non-generic, [#144](https://github.com/zloirock/core-js/issues/144) - Many other improvements -##### 1.2.6 - 2015.11.09 +##### [1.2.6 - 2015.11.09](https://github.com/zloirock/core-js/releases/tag/v1.2.6) - Reject with `TypeError` on attempt resolve promise itself - Correct behavior with broken `Promise` subclass constructors / methods - Added `Promise`-based fallback for microtask @@ -1159,32 +1159,32 @@ - Fixed IE7- `[1, 2].join(undefined) -> '1,2'` - Some other fixes / improvements / optimizations -##### 1.2.5 - 2015.11.02 +##### [1.2.5 - 2015.11.02](https://github.com/zloirock/core-js/releases/tag/v1.2.5) - Some more `Number` constructor fixes: - Fixed V8 ~ Node 0.8 bug: `Number('+0x1')` should be `NaN` - Fixed `Number(' 0b1\n')` case, should be `1` - Fixed `Number()` case, should be `0` -##### 1.2.4 - 2015.11.01 +##### [1.2.4 - 2015.11.01](https://github.com/zloirock/core-js/releases/tag/v1.2.4) - Fixed `Number('0b12') -> NaN` case in the shim - Fixed V8 ~ Chromium 40- bug - `Weak(Map|Set)#{delete, get, has}` should not throw errors [#124](https://github.com/zloirock/core-js/issues/124) - Some other fixes and optimizations -##### 1.2.3 - 2015.10.23 +##### [1.2.3 - 2015.10.23](https://github.com/zloirock/core-js/releases/tag/v1.2.3) - Fixed some problems related old V8 bug `Object('a').propertyIsEnumerable(0) // => false`, for example, `Object.assign({}, 'qwe')` from the last release - Fixed `.name` property and `Function#toString` conversion some polyfilled methods - Fixed `Math.imul` arity in Safari 8- -##### 1.2.2 - 2015.10.18 +##### [1.2.2 - 2015.10.18](https://github.com/zloirock/core-js/releases/tag/v1.2.2) - Improved optimisations for V8 - Fixed build process from external packages, [#120](https://github.com/zloirock/core-js/pull/120) - One more `Object.{assign, values, entries}` fix for [**very** specific case](https://github.com/ljharb/proposal-object-values-entries/issues/5) -##### 1.2.1 - 2015.10.02 +##### [1.2.1 - 2015.10.02](https://github.com/zloirock/core-js/releases/tag/v1.2.1) - Replaced fix `JSON.stringify` + `Symbol` behavior from `.toJSON` method to wrapping `JSON.stringify` - little more correct, [compat-table/642](https://github.com/kangax/compat-table/pull/642) - Fixed typo which broke tasks scheduler in WebWorkers in old FF, [#114](https://github.com/zloirock/core-js/pull/114) -##### 1.2.0 - 2015.09.27 +##### [1.2.0 - 2015.09.27](https://github.com/zloirock/core-js/releases/tag/v1.2.0) - Added browser [`Promise` rejection hook](#unhandled-rejection-tracking), [#106](https://github.com/zloirock/core-js/issues/106) - Added correct [`IsRegExp`](http://www.ecma-international.org/ecma-262/6.0/#sec-isregexp) logic to [`String#{includes, startsWith, endsWith}`](https://github.com/zloirock/core-js/#ecmascript-6-string) and [`RegExp` constructor](https://github.com/zloirock/core-js/#ecmascript-6-regexp), `@@match` case, [example](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol/match#Disabling_the_isRegExp_check) - Updated [`String#leftPad`](https://github.com/zloirock/core-js/#ecmascript-7-proposals) [with proposal](https://github.com/ljharb/proposal-string-pad-left-right/issues/6): string filler truncated from the right side @@ -1193,24 +1193,24 @@ - Fixed [`Math.sinh`](https://github.com/zloirock/core-js/#ecmascript-6-math) with very small numbers in V8 near Chromium 38 - Some other fixes and optimizations -##### 1.1.4 - 2015.09.05 +##### [1.1.4 - 2015.09.05](https://github.com/zloirock/core-js/releases/tag/v1.1.4) - Fixed support symbols in FF34-35 [`Object.assign`](https://github.com/zloirock/core-js/#ecmascript-6-object) - Fixed [collections iterators](https://github.com/zloirock/core-js/#ecmascript-6-iterators) in FF25-26 - Fixed non-generic WebKit [`Array.of`](https://github.com/zloirock/core-js/#ecmascript-6-array) - Some other fixes and optimizations -##### 1.1.3 - 2015.08.29 +##### [1.1.3 - 2015.08.29](https://github.com/zloirock/core-js/releases/tag/v1.1.3) - Fixed support Node.js domains in [`Promise`](https://github.com/zloirock/core-js/#ecmascript-6-promise), [#103](https://github.com/zloirock/core-js/issues/103) -##### 1.1.2 - 2015.08.28 +##### [1.1.2 - 2015.08.28](https://github.com/zloirock/core-js/releases/tag/v1.1.2) - Added `toJSON` method to [`Symbol`](https://github.com/zloirock/core-js/#ecmascript-6-symbol) polyfill and to MS Edge implementation for expected `JSON.stringify` result w/o patching this method - Replaced [`Reflect.construct`](https://github.com/zloirock/core-js/#ecmascript-6-reflect) implementations w/o correct support third argument - Fixed `global` detection with changed `document.domain` in \~IE8, [#100](https://github.com/zloirock/core-js/issues/100) -##### 1.1.1 - 2015.08.20 +##### [1.1.1 - 2015.08.20](https://github.com/zloirock/core-js/releases/tag/v1.1.1) - Added more correct microtask implementation for [`Promise`](#ecmascript-6-promise) -##### 1.1.0 - 2015.08.17 +##### [1.1.0 - 2015.08.17](https://github.com/zloirock/core-js/releases/tag/v1.1.0) - Updated [string padding](https://github.com/zloirock/core-js/#ecmascript-7-proposals) to [actual proposal](https://github.com/ljharb/proposal-string-pad-left-right) - renamed, minor internal changes: - `String#lpad` -> `String#padLeft` - `String#rpad` -> `String#padRight` @@ -1230,12 +1230,12 @@ - Some fixes in string / RegExp [well-known symbols](https://github.com/zloirock/core-js/#ecmascript-6-regexp) logic - Some other fixes and optimizations -##### 1.0.1 - 2015.07.31 +##### [1.0.1 - 2015.07.31](https://github.com/zloirock/core-js/releases/tag/v1.0.1) - Some fixes for final MS Edge, replaced broken native `Reflect.defineProperty` - Some minor fixes and optimizations - Changed compression `client/*.min.js` options for safe `Function#name` and `Function#length`, should be fixed [#92](https://github.com/zloirock/core-js/issues/92) -##### 1.0.0 - 2015.07.22 +##### [1.0.0 - 2015.07.22](https://github.com/zloirock/core-js/releases/tag/v1.0.0) - Added logic for [well-known symbols](https://github.com/zloirock/core-js/#ecmascript-6-regexp): - `Symbol.match` - `Symbol.replace` @@ -1271,77 +1271,77 @@ - Fixed [#86](https://github.com/zloirock/core-js/issues/86) - support FF extensions - Fixed [#89](https://github.com/zloirock/core-js/issues/89) - behavior `Number` constructor in strange case -##### 0.9.18 - 2015.06.17 +##### [0.9.18 - 2015.06.17](https://github.com/zloirock/core-js/releases/tag/v0.9.18) - Removed `/` from [`RegExp.escape`](https://github.com/zloirock/core-js/#ecmascript-7-proposals) escaped characters -##### 0.9.17 - 2015.06.14 +##### [0.9.17 - 2015.06.14](https://github.com/zloirock/core-js/releases/tag/v0.9.17) - Updated [`RegExp.escape`](https://github.com/zloirock/core-js/#ecmascript-7-proposals) to the [latest proposal](https://github.com/benjamingr/RexExp.escape) - Fixed conflict with webpack dev server + IE buggy behavior -##### 0.9.16 - 2015.06.11 +##### [0.9.16 - 2015.06.11](https://github.com/zloirock/core-js/releases/tag/v0.9.16) - More correct order resolving thenable in [`Promise`](https://github.com/zloirock/core-js/#ecmascript-6-promise) polyfill - Uses polyfill instead of [buggy V8 `Promise`](https://github.com/zloirock/core-js/issues/78) -##### 0.9.15 - 2015.06.09 +##### [0.9.15 - 2015.06.09](https://github.com/zloirock/core-js/releases/tag/v0.9.15) - [Collections](https://github.com/zloirock/core-js/#ecmascript-6-collections) from `library` version return wrapped native instances - Fixed collections prototype methods in `library` version - Optimized [`Math.hypot`](https://github.com/zloirock/core-js/#ecmascript-6-math) -##### 0.9.14 - 2015.06.04 +##### [0.9.14 - 2015.06.04](https://github.com/zloirock/core-js/releases/tag/v0.9.14) - Updated [`Promise.resolve` behavior](https://esdiscuss.org/topic/fixing-promise-resolve) - Added fallback for IE11 buggy `Object.getOwnPropertyNames` + iframe - Some other fixes -##### 0.9.13 - 2015.05.25 +##### [0.9.13 - 2015.05.25](https://github.com/zloirock/core-js/releases/tag/v0.9.13) - Added fallback for [`Symbol` polyfill](https://github.com/zloirock/core-js/#ecmascript-6-symbol) for old Android - Some other fixes -##### 0.9.12 - 2015.05.24 +##### [0.9.12 - 2015.05.24](https://github.com/zloirock/core-js/releases/tag/v0.9.12) - Different instances `core-js` should use / recognize the same symbols - Some fixes -##### 0.9.11 - 2015.05.18 +##### [0.9.11 - 2015.05.18](https://github.com/zloirock/core-js/releases/tag/v0.9.11) - Simplified [custom build](https://github.com/zloirock/core-js/#custom-build) - Added custom build js api - Added `grunt-cli` to `devDependencies` for `npm run grunt` - Some fixes -##### 0.9.10 - 2015.05.16 +##### [0.9.10 - 2015.05.16](https://github.com/zloirock/core-js/releases/tag/v0.9.10) - Wrapped `Function#toString` for correct work wrapped methods / constructors with methods similar to the [`lodash` `isNative`](https://github.com/lodash/lodash/issues/1197) - Added proto versions of methods to export object in `default` version for consistency with `library` version -##### 0.9.9 - 2015.05.14 +##### [0.9.9 - 2015.05.14](https://github.com/zloirock/core-js/releases/tag/v0.9.9) - Wrapped `Object#propertyIsEnumerable` for [`Symbol` polyfill](https://github.com/zloirock/core-js/#ecmascript-6-symbol) - [Added proto versions of methods to `library` for ES7 bind syntax](https://github.com/zloirock/core-js/issues/65) - Some other fixes -##### 0.9.8 - 2015.05.12 +##### [0.9.8 - 2015.05.12](https://github.com/zloirock/core-js/releases/tag/v0.9.8) - Fixed [`Math.hypot`](https://github.com/zloirock/core-js/#ecmascript-6-math) with negative arguments - Added `Object#toString.toString` as fallback for [`lodash` `isNative`](https://github.com/lodash/lodash/issues/1197) -##### 0.9.7 - 2015.05.07 +##### [0.9.7 - 2015.05.07](https://github.com/zloirock/core-js/releases/tag/v0.9.7) - Added [support DOM collections](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/slice#Streamlining_cross-browser_behavior) to IE8- `Array#slice` -##### 0.9.6 - 2015.05.01 +##### [0.9.6 - 2015.05.01](https://github.com/zloirock/core-js/releases/tag/v0.9.6) - Added [`String#lpad`, `String#rpad`](https://github.com/zloirock/core-js/#ecmascript-7-proposals) -##### 0.9.5 - 2015.04.30 +##### [0.9.5 - 2015.04.30](https://github.com/zloirock/core-js/releases/tag/v0.9.5) - Added cap for `Function#@@hasInstance` - Some fixes and optimizations -##### 0.9.4 - 2015.04.27 +##### [0.9.4 - 2015.04.27](https://github.com/zloirock/core-js/releases/tag/v0.9.4) - Fixed `RegExp` constructor -##### 0.9.3 - 2015.04.26 +##### [0.9.3 - 2015.04.26](https://github.com/zloirock/core-js/releases/tag/v0.9.3) - Some fixes and optimizations -##### 0.9.2 - 2015.04.25 +##### [0.9.2 - 2015.04.25](https://github.com/zloirock/core-js/releases/tag/v0.9.2) - More correct [`Promise`](https://github.com/zloirock/core-js/#ecmascript-6-promise) unhandled rejection tracking and resolving / rejection priority -##### 0.9.1 - 2015.04.25 +##### [0.9.1 - 2015.04.25](https://github.com/zloirock/core-js/releases/tag/v0.9.1) - Fixed `__proto__`-based [`Promise`](https://github.com/zloirock/core-js/#ecmascript-6-promise) subclassing in some environments -##### 0.9.0 - 2015.04.24 +##### [0.9.0 - 2015.04.24](https://github.com/zloirock/core-js/releases/tag/v0.9.0) - Added correct [symbols](https://github.com/zloirock/core-js/#ecmascript-6-symbol) descriptors - Fixed behavior `Object.{assign, create, defineProperty, defineProperties, getOwnPropertyDescriptor, getOwnPropertyDescriptors}` with symbols - Added [single entry points](https://github.com/zloirock/core-js/#commonjs) for `Object.{create, defineProperty, defineProperties}` @@ -1350,21 +1350,21 @@ - Removed non-standard undocumented methods `Symbol.{pure, set}` - Some fixes and internal changes -##### 0.8.4 - 2015.04.18 +##### [0.8.4 - 2015.04.18](https://github.com/zloirock/core-js/releases/tag/v0.8.4) - Uses `webpack` instead of `browserify` for browser builds - more compression-friendly result -##### 0.8.3 - 2015.04.14 +##### [0.8.3 - 2015.04.14](https://github.com/zloirock/core-js/releases/tag/v0.8.3) - Fixed `Array` statics with single entry points -##### 0.8.2 - 2015.04.13 +##### [0.8.2 - 2015.04.13](https://github.com/zloirock/core-js/releases/tag/v0.8.2) - [`Math.fround`](https://github.com/zloirock/core-js/#ecmascript-6-math) now also works in IE9- - Added [`Set#toJSON`](https://github.com/zloirock/core-js/#ecmascript-7-proposals) - Some optimizations and fixes -##### 0.8.1 - 2015.04.03 +##### [0.8.1 - 2015.04.03](https://github.com/zloirock/core-js/releases/tag/v0.8.1) - Fixed `Symbol.keyFor` -##### 0.8.0 - 2015.04.02 +##### [0.8.0 - 2015.04.02](https://github.com/zloirock/core-js/releases/tag/v0.8.0) - Changed [CommonJS API](https://github.com/zloirock/core-js/#commonjs) - Splitted and renamed some modules - Added support ES3 environment (ES5 polyfill) to **all** default versions - size increases slightly (+ ~4kb w/o gzip), many issues disappear, if you don't need it - [simply include only required namespaces / features / modules](https://github.com/zloirock/core-js/#commonjs) @@ -1373,19 +1373,19 @@ - Fixed iterators support in v8 `Promise.all` and `Promise.race` - Many other fixes -##### 0.7.2 - 2015.03.09 +##### [0.7.2 - 2015.03.09](https://github.com/zloirock/core-js/releases/tag/v0.7.2) - Some fixes -##### 0.7.1 - 2015.03.07 +##### [0.7.1 - 2015.03.07](https://github.com/zloirock/core-js/releases/tag/v0.7.1) - Some fixes -##### 0.7.0 - 2015.03.06 +##### [0.7.0 - 2015.03.06](https://github.com/zloirock/core-js/releases/tag/v0.7.0) - Rewritten and splitted into [CommonJS modules](https://github.com/zloirock/core-js/#commonjs) -##### 0.6.1 - 2015.02.24 +##### [0.6.1 - 2015.02.24](https://github.com/zloirock/core-js/releases/tag/v0.6.1) - Fixed support [`Object.defineProperty`](https://github.com/zloirock/core-js/#ecmascript-5) with accessors on DOM elements on IE8 -##### 0.6.0 - 2015.02.23 +##### [0.6.0 - 2015.02.23](https://github.com/zloirock/core-js/releases/tag/v0.6.0) - Added support safe closing iteration - calling `iterator.return` on abort iteration, if it exists - Added basic support [`Promise`](https://github.com/zloirock/core-js/#ecmascript-6-promise) unhandled rejection tracking in shim - Added [`Object.getOwnPropertyDescriptors`](https://github.com/zloirock/core-js/#ecmascript-7-proposals) @@ -1393,63 +1393,63 @@ - Restructuring [namespaces](https://github.com/zloirock/core-js/#custom-build) - Some fixes -##### 0.5.4 - 2015.02.15 +##### [0.5.4 - 2015.02.15](https://github.com/zloirock/core-js/releases/tag/v0.5.4) - Some fixes -##### 0.5.3 - 2015.02.14 +##### [0.5.3 - 2015.02.14](https://github.com/zloirock/core-js/releases/tag/v0.5.3) - Added [support binary and octal literals](https://github.com/zloirock/core-js/#ecmascript-6-number) to `Number` constructor - Added [`Date#toISOString`](https://github.com/zloirock/core-js/#ecmascript-5) -##### 0.5.2 - 2015.02.10 +##### [0.5.2 - 2015.02.10](https://github.com/zloirock/core-js/releases/tag/v0.5.2) - Some fixes -##### 0.5.1 - 2015.02.09 +##### [0.5.1 - 2015.02.09](https://github.com/zloirock/core-js/releases/tag/v0.5.1) - Some fixes -##### 0.5.0 - 2015.02.08 +##### [0.5.0 - 2015.02.08](https://github.com/zloirock/core-js/releases/tag/v0.5.0) - Systematization of modules - Splitted [`es6` module](https://github.com/zloirock/core-js/#ecmascript-6) - Splitted `console` module: `web.console` - only cap for missing methods, `core.log` - bound methods & additional features - Added [`delay` method](https://github.com/zloirock/core-js/#delay) - Some fixes -##### 0.4.10 - 2015.01.28 +##### [0.4.10 - 2015.01.28](https://github.com/zloirock/core-js/releases/tag/v0.4.10) - [`Object.getOwnPropertySymbols`](https://github.com/zloirock/core-js/#ecmascript-6-symbol) polyfill returns array of wrapped keys -##### 0.4.9 - 2015.01.27 +##### [0.4.9 - 2015.01.27](https://github.com/zloirock/core-js/releases/tag/v0.4.9) - FF20-24 fix -##### 0.4.8 - 2015.01.25 +##### [0.4.8 - 2015.01.25](https://github.com/zloirock/core-js/releases/tag/v0.4.8) - Some [collections](https://github.com/zloirock/core-js/#ecmascript-6-collections) fixes -##### 0.4.7 - 2015.01.25 +##### [0.4.7 - 2015.01.25](https://github.com/zloirock/core-js/releases/tag/v0.4.7) - Added support frozen objects as [collections](https://github.com/zloirock/core-js/#ecmascript-6-collections) keys -##### 0.4.6 - 2015.01.21 +##### [0.4.6 - 2015.01.21](https://github.com/zloirock/core-js/releases/tag/v0.4.6) - Added [`Object.getOwnPropertySymbols`](https://github.com/zloirock/core-js/#ecmascript-6-symbol) - Added [`NodeList.prototype[@@iterator]`](https://github.com/zloirock/core-js/#ecmascript-6-iterators) - Added basic `@@species` logic - getter in native constructors - Removed `Function#by` - Some fixes -##### 0.4.5 - 2015.01.16 +##### [0.4.5 - 2015.01.16](https://github.com/zloirock/core-js/releases/tag/v0.4.5) - Some fixes -##### 0.4.4 - 2015.01.11 +##### [0.4.4 - 2015.01.11](https://github.com/zloirock/core-js/releases/tag/v0.4.4) - Enabled CSP support -##### 0.4.3 - 2015.01.10 +##### [0.4.3 - 2015.01.10](https://github.com/zloirock/core-js/releases/tag/v0.4.3) - Added `Function` instances `name` property for IE9+ -##### 0.4.2 - 2015.01.10 +##### [0.4.2 - 2015.01.10](https://github.com/zloirock/core-js/releases/tag/v0.4.2) - `Object` static methods accept primitives - `RegExp` constructor can alter flags (IE9+) - Added `Array.prototype[Symbol.unscopables]` -##### 0.4.1 - 2015.01.05 +##### [0.4.1 - 2015.01.05](https://github.com/zloirock/core-js/releases/tag/v0.4.1) - Some fixes -##### 0.4.0 - 2015.01.03 +##### [0.4.0 - 2015.01.03](https://github.com/zloirock/core-js/releases/tag/v0.4.0) - Added [`es6.reflect`](https://github.com/zloirock/core-js/#ecmascript-6-reflect) module: - Added `Reflect.apply` - Added `Reflect.construct` @@ -1467,32 +1467,32 @@ - `core-js` methods now can use external `Symbol.iterator` polyfill - Some fixes -##### 0.3.3 - 2014.12.28 +##### [0.3.3 - 2014.12.28](https://github.com/zloirock/core-js/releases/tag/v0.3.3) - [Console cap](https://github.com/zloirock/core-js/#console) excluded from node.js default builds -##### 0.3.2 - 2014.12.25 +##### [0.3.2 - 2014.12.25](https://github.com/zloirock/core-js/releases/tag/v0.3.2) - Added cap for [ES5](https://github.com/zloirock/core-js/#ecmascript-5) freeze-family methods - Fixed `console` bug -##### 0.3.1 - 2014.12.23 +##### [0.3.1 - 2014.12.23](https://github.com/zloirock/core-js/releases/tag/v0.3.1) - Some fixes -##### 0.3.0 - 2014.12.23 +##### [0.3.0 - 2014.12.23](https://github.com/zloirock/core-js/releases/tag/v0.3.0) - Optimize [`Map` & `Set`](https://github.com/zloirock/core-js/#ecmascript-6-collections): - Use entries chain on hash table - Fast & correct iteration - Iterators moved to [`es6`](https://github.com/zloirock/core-js/#ecmascript-6) and [`es6.collections`](https://github.com/zloirock/core-js/#ecmascript-6-collections) modules -##### 0.2.5 - 2014.12.20 +##### [0.2.5 - 2014.12.20](https://github.com/zloirock/core-js/releases/tag/v0.2.5) - `console` no longer shortcut for `console.log` (compatibility problems) - Some fixes -##### 0.2.4 - 2014.12.17 +##### [0.2.4 - 2014.12.17](https://github.com/zloirock/core-js/releases/tag/v0.2.4) - Better compliance of ES6 - Added [`Math.fround`](https://github.com/zloirock/core-js/#ecmascript-6-math) (IE10+) - Some fixes -##### 0.2.3 - 2014.12.15 +##### [0.2.3 - 2014.12.15](https://github.com/zloirock/core-js/releases/tag/v0.2.3) - [Symbols](https://github.com/zloirock/core-js/#ecmascript-6-symbol): - Added option to disable addition setter to `Object.prototype` for Symbol polyfill: - Added `Symbol.useSimple` @@ -1508,14 +1508,14 @@ - Added `Symbol.toPrimitive` - Added `Symbol.unscopables` -##### 0.2.2 - 2014.12.13 +##### [0.2.2 - 2014.12.13](https://github.com/zloirock/core-js/releases/tag/v0.2.2) - Added [`RegExp#flags`](https://github.com/zloirock/core-js/#ecmascript-6-regexp) ([December 2014 Draft Rev 29](http://wiki.ecmascript.org/doku.php?id=harmony:specification_drafts#december_6_2014_draft_rev_29)) - Added [`String.raw`](https://github.com/zloirock/core-js/#ecmascript-6-string) -##### 0.2.1 - 2014.12.12 +##### [0.2.1 - 2014.12.12](https://github.com/zloirock/core-js/releases/tag/v0.2.1) - Repair converting -0 to +0 in [native collections](https://github.com/zloirock/core-js/#ecmascript-6-collections) -##### 0.2.0 - 2014.12.06 +##### [0.2.0 - 2014.12.06](https://github.com/zloirock/core-js/releases/tag/v0.2.0) - Added [`es7.proposals`](https://github.com/zloirock/core-js/#ecmascript-7-proposals) and [`es7.abstract-refs`](https://github.com/zenparsing/es-abstract-refs) modules - Added [`String#at`](https://github.com/zloirock/core-js/#ecmascript-7-proposals) - Added real [`String Iterator`](https://github.com/zloirock/core-js/#ecmascript-6-iterators), older versions used Array Iterator @@ -1534,15 +1534,15 @@ - Removed deprecated `.contains` methods - Some fixes -##### 0.1.5 - 2014.12.01 +##### [0.1.5 - 2014.12.01](https://github.com/zloirock/core-js/releases/tag/v0.1.5) - Added [`Array#copyWithin`](https://github.com/zloirock/core-js/#ecmascript-6-array) - Added [`String#codePointAt`](https://github.com/zloirock/core-js/#ecmascript-6-string) - Added [`String.fromCodePoint`](https://github.com/zloirock/core-js/#ecmascript-6-string) -##### 0.1.4 - 2014.11.27 +##### [0.1.4 - 2014.11.27](https://github.com/zloirock/core-js/releases/tag/v0.1.4) - Added [`Dict.mapPairs`](https://github.com/zloirock/core-js/#dict) -##### 0.1.3 - 2014.11.20 +##### [0.1.3 - 2014.11.20](https://github.com/zloirock/core-js/releases/tag/v0.1.3) - [TC39 November meeting](https://github.com/rwaldron/tc39-notes/tree/master/es6/2014-11): - [`.contains` -> `.includes`](https://github.com/rwaldron/tc39-notes/blob/master/es6/2014-11/nov-18.md#51--44-arrayprototypecontains-and-stringprototypecontains) - `String#contains` -> [`String#includes`](https://github.com/zloirock/core-js/#ecmascript-6-string) @@ -1551,8 +1551,8 @@ - [Removed `WeakMap#clear`](https://github.com/rwaldron/tc39-notes/blob/master/es6/2014-11/nov-19.md#412-should-weakmapweakset-have-a-clear-method-markm) - [Removed `WeakSet#clear`](https://github.com/rwaldron/tc39-notes/blob/master/es6/2014-11/nov-19.md#412-should-weakmapweakset-have-a-clear-method-markm) -##### 0.1.2 - 2014.11.19 +##### [0.1.2 - 2014.11.19](https://github.com/zloirock/core-js/releases/tag/v0.1.2) - `Map` & `Set` bug fix -##### 0.1.1 - 2014.11.18 +##### [0.1.1 - 2014.11.18](https://github.com/zloirock/core-js/releases/tag/v0.1.1) - Public release diff --git a/scripts/update-version.mjs b/scripts/update-version.mjs index 826bad677380..854afc29d307 100644 --- a/scripts/update-version.mjs +++ b/scripts/update-version.mjs @@ -47,11 +47,13 @@ for (const PATH of await globby('packages/*/package.json')) { if (NEW_VERSION !== PREV_VERSION) { const changelog = await readFile(CHANGELOG, 'utf8'); - await writeFile(CHANGELOG, changelog.replaceAll('##### Unreleased', `##### Unreleased\n- Nothing\n\n##### ${ + await writeFile(CHANGELOG, changelog.replaceAll('##### Unreleased', `##### Unreleased\n- Nothing\n\n##### [${ NEW_VERSION } - ${ CURRENT_YEAR }.${ String(now.getMonth() + 1).padStart(2, '0') }.${ String(now.getDate()).padStart(2, '0') - }`)); + }](https://github.com/zloirock/core-js/releases/tag/v${ + NEW_VERSION + })`)); } if (CURRENT_YEAR !== OLD_YEAR) console.log(chalk.green('the year updated'));