Skip to content

Releases: zloirock/core-js

3.10.0 - 2021.03.31

31 Mar 08:07

Choose a tag to compare

  • Array find from last proposal moved to the stage 2, March TC39 meeting
  • Prevented possible RegExp#exec problems in some old engines, #920
  • Updated compat data mapping:
    • NodeJS up to 16.0
    • Electron up to 13.0
    • Samsung Internet up to 14.0
    • Opera Android up to 62
    • The rest automatically

3.9.1 - 2021.03.01

28 Feb 18:33

Choose a tag to compare

  • 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
  • Used NumericRangeIterator as toStringTag instead of RangeIterator in { Number, BigInt }.range iterator, per this PR
  • 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

18 Feb 17:02

Choose a tag to compare

  • Added Array find from last stage 1 proposal
    • Array#findLast
    • Array#findLastIndex
    • %TypedArray%#findLast
    • %TypedArray%#findLastIndex
  • Added %TypedArray%#uniqueBy method for array deduplication stage 1 proposal
    • %TypedArray%#uniqueBy
  • Dropped ToLength detection from array methods feature detection which could cause hanging FF11-21 and some versions of old WebKit, #764
  • Minified bundle from core-js-bundle uses terser instead of uglify-js

3.8.3 - 2021.01.19

19 Jan 07:07

Choose a tag to compare

  • Fixed some more issues related to FF44- legacy Iterator, #906

3.8.2 - 2021.01.03

03 Jan 14:27

Choose a tag to compare

  • Fixed handling of special replacements patterns in String#replaceAll, #900
  • Fixed iterators dependencies of Promise.any and Promise.allSettled entries
  • Fixed microtask implementation on WebOS, #898, #901

3.8.1 - 2020.12.06

06 Dec 01:20

Choose a tag to compare

  • 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

25 Nov 18:19

Choose a tag to compare

  • Added relative indexing method stage 3 proposal
    • Array#at
    • %TypedArray%#at
  • Added Number.range stage 1 proposal
    • Number.range
    • BigInt.range
  • Added array filtering stage 1 proposal
    • Array#filterOut
    • %TypedArray%#filterOut
  • Added array deduplication stage 1 proposal
    • Array#uniqueBy
  • Added code points / code units explicit feature detection in String#at for preventing breakage code which use obsolete String#at proposal polyfill
  • Added the missed (es|stable)/instance/replace-all entries
  • Updated compat data mapping for Opera - from Opera 69, the difference with Chrome versions increased to 14
  • Compat data mapping for modern Android WebView to Chrome moved from targets parser directly to compat data
  • Depracate core-js-builder blacklist option in favor of exclude

2.6.12 [LEGACY] - 2020.11.26

25 Nov 18:08

Choose a tag to compare

  • 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

06 Nov 15:19

Choose a tag to compare

  • String#replaceAll moved to the stable ES, per June TC39 meeting
  • Promise.any and AggregateError moved to the stable ES, per July TC39 meeting
  • Added Reflect[@@toStringTag], per July TC39 meeting
  • Forced replacement of Array#{ reduce, reduceRight } in Chrome 80-82 because of a bug, #766
  • Following the changes in the upsert proposal, { Map, WeakMap }#emplace replace { Map, WeakMap }#upsert, these obsolete methods will be removed in the next major release
  • By the current spec, AggregateError#errors is own data property
  • Added correct iteration closing in the iteration helpers according to the current version of the proposal
  • process.nextTick have a less priority when Promise in the microtask implementation, #855
  • Fixed microtask implementation in engines with MutationObserver, but without document, #865, #866
  • Fixed core-js-builder with an empty (after the targets engines or another filtration) modules list, #822
  • Fixed possible twice call of window.onunhandledrejection, #760
  • Fixed some possible problems related multiple global copies of core-js, #880
  • Added a workaround for 3rd party Reflect.set polyfill bug, #847
  • Updated compat data:
    • Chrome up to 86
    • FF up to 82
    • Safari up to 14
  • Updated compat data mapping:
    • iOS up to 14
    • NodeJS up to 15.0
    • Electron up to 11.0
    • Samsung Internet up to 13.0
    • Opera Android up to 60
    • The rest automatically
  • Updated all required dependencies

3.6.5 - 2020.04.09

10 Apr 16:13
8586728

Choose a tag to compare

  • Updated Browserlist #755
  • Fixed setImmediate in Safari #770, thanks @dtinth
  • Fixed some regexp, thanks @scottarc
  • Added OPEN_SOURCE_CONTRIBUTOR detection in postinstall, thanks @scottarc
  • Added Drone CI in postinstall CI detection #781