Skip to content

Releases: zloirock/core-js

3.3.2 - 2019.10.14

14 Oct 13:36

Choose a tag to compare

  • Fixed compatibility of core-js-compat with Node 6 and Yarn, #669

3.3.1 - 2019.10.13

13 Oct 15:00

Choose a tag to compare

  • Fixed an NPM publishing issue

3.3.0 - 2019.10.13

13 Oct 14:37

Choose a tag to compare

  • String#{ matchAll, replaceAll } throws an error on non-global regex argument per the decision from TC39 meetings (+ this PR). 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
  • Promise.any moved to stage 3, some minor internal changes, per October TC39 meeting
  • String#replaceAll moved to stage 3, per October TC39 meeting
  • Added iterator helpers stage 2 proposal:
    • Iterator
      • Iterator.from
      • Iterator#asIndexedPairs
      • Iterator#drop
      • Iterator#every
      • Iterator#filter
      • Iterator#find
      • Iterator#flatMap
      • Iterator#forEach
      • Iterator#map
      • Iterator#reduce
      • Iterator#some
      • Iterator#take
      • Iterator#toArray
      • Iterator#@@toStringTag
    • AsyncIterator
      • AsyncIterator.from
      • AsyncIterator#asIndexedPairs
      • AsyncIterator#drop
      • AsyncIterator#every
      • AsyncIterator#filter
      • AsyncIterator#find
      • AsyncIterator#flatMap
      • AsyncIterator#forEach
      • AsyncIterator#map
      • AsyncIterator#reduce
      • AsyncIterator#some
      • AsyncIterator#take
      • AsyncIterator#toArray
      • AsyncIterator#@@toStringTag
  • Updated Map#upsert (Map#updateOrInsert before) proposal
    • Moved to stage 2, per October TC39 meeting
    • Map#updateOrInsert renamed to Map#upsert
    • Added WeakMap#upsert
    • You can don't pass one of the callbacks
  • Added a workaround for iOS Safari MessageChannel + bfcache bug, #624
  • Added a workaround for Chrome 33 / Android 4.4.4 Promise bug, #640
  • Replaced broken URL constructor in Safari and URLSearchParams in Chrome 66-, #656
  • Added compat data for Node up to 12.11, FF 69, Samsung up to 10.2 and Phantom 1.9
  • Math.hypot marked as not supported in Chrome 77 since a bug in this method was not fixed before the stable Chrome 77 release
  • Fixed unnecessary exposing on Symbol.matchAll in esnext.string.match-all, #626
  • Fixed missed cases access the .next method once, at the beginning, of the iteration protocol
  • Show similar postinstall messages only once per npm i, #597, thanks @remy

2.6.10 [LEGACY] - 2019.10.13

13 Oct 14:36

Choose a tag to compare

  • Show similar postinstall messages only once per npm i, #597

3.2.1 - 2019.08.12

12 Aug 12:23

Choose a tag to compare

  • Added a workaround for possible recursion in microtasks caused by conflicts with other Promise polyfills, #615

3.2.0 - 2019.08.09

08 Aug 22:04

Choose a tag to compare

  • 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
  • Added Array.isTemplateObject stage 2 proposal, per June TC39 meeting
  • Added Map#updateOrInsert stage 1 proposal, per July TC39 meeting
  • Added a fix for Math.hypot V8 7.7 bug, since it's still not stable without adding results to core-js-compat
  • Added a workaround for APIs where not possible to replace broken native Promise, #579 - added .finally and patched .then to / on native Promise prototype
  • Fixed crashing of Opera Presto, #595
  • Fixed incorrect early breaking of { Map, Set, WeakMap, WeakSet }.deleteAll
  • Fixed some missed dependencies in entry points
  • Added compat data for Node 12.5, FF 67, Safari 13
  • Added support of DISABLE_OPENCOLLECTIVE env variable to postinstall script
  • Removed core-js-pure dependency from core-js-compat, #590
  • Fixed generation of core-js-compat on Windows, #606

3.1.4 - 2019.06.15

15 Jun 11:55

Choose a tag to compare

  • 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 }
    • Internal implementation of RegExp#flags helper now respect dotAll flag (mainly ralated to the pure version)
    • Performace optimizations related old V8
    • Etc.

3.1.3 - 2019.05.27

27 May 13:20

Choose a tag to compare

  • Fixed core-js/features/reflect/delete-metadata entry point
  • Some fixes and improvements of the postinstall script like support npm color config (#556) or adding support of ADBLOCK env variable
  • Refactoring and some minor fixes

2.6.9 [LEGACY] - 2019.05.27

27 May 12:58

Choose a tag to compare

  • Some fixes and improvements of the postinstall script like support npm color config (#556) or adding support of ADBLOCK env variable

3.1.2 - 2019.05.22

21 May 22:30

Choose a tag to compare

  • Added a workaround of a strange npx bug on postinstall, #551