Skip to content

Releases: zloirock/core-js

3.17.0 - 2021.09.02

01 Sep 17:21

Choose a tag to compare

3.16.4 - 2021.08.29

29 Aug 14:53

Choose a tag to compare

  • 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

24 Aug 20:17

Choose a tag to compare

  • Fixed CreateAsyncFromSyncIterator semantic in AsyncIterator.from, related to #765
  • Added a workaround of a specific case of broken Object.prototype, #973

3.16.2 - 2021.08.17

17 Aug 13:13

Choose a tag to compare

  • Added a workaround of a Closure Compiler unsafe optimization, #972
  • One more fix crashing of Object.create(null) on WSH, #970
  • Added Deno 1.14 compat data mapping

3.16.1 - 2021.08.09

08 Aug 17:28

Choose a tag to compare

  • Fixed microtask implementation on iOS Pebble, #967
  • Fixed some entry points
  • Improved old Safari compat data

3.16.0 - 2021.07.30

30 Jul 03:40

Choose a tag to compare

  • Array find from last proposal moved to the stage 3, July 2021 TC39 meeting
  • Array filtering stage 1 proposal:
    • Array.prototype.filterReject replaces Array.prototype.filterOut
    • %TypedArray%.prototype.filterReject replaces %TypedArray%.prototype.filterOut
  • Added Array grouping stage 1 proposal:
    • Array.prototype.groupBy
    • %TypedArray%.prototype.groupBy
  • Work with symbols made stricter: some missed before cases of methods that should throw an error on symbols now works as they should
  • Handling @@toPrimitive in some cases of ToPrimitive internal logic made stricter
  • Fixed work of Request with polyfilled URLSearchParams, #965
  • Fixed possible exposing of collections elements metadata in some cases, #427
  • Fixed crashing of Object.create(null) on WSH, #966
  • Fixed some cases of typed arrays subclassing logic
  • Fixed a minor bug related to string conversion in RegExp#exec
  • Fixed Date.prototype.getYear feature detection
  • Fixed content of some entry points
  • Some minor optimizations and refactoring
  • Deno:
    • Added Deno support (sure, after bundling since Deno does not support CommonJS)
    • Allowed deno target in core-js-compat / core-js-builder
    • A bundle for Deno published on deno.land/x/corejs
  • Added / updated compat data / mapping:
    • Deno 1.0-1.13
    • NodeJS up to 16.6
    • iOS Safari up to 15.0
    • Samsung Internet up to 15.0
    • Opera Android up to 64
    • Object.hasOwn marked as supported from V8 9.3 and FF92
    • Date.prototype.getYear marked as not supported in IE8-
  • Added summary option to core-js-builder, see more info in the README, #910

3.15.2 - 2021.06.29

29 Jun 11:26

Choose a tag to compare

  • Worked around breakage related to zone.js loaded before core-js, #953
  • Added NodeJS 16.4 -> Chrome 91 compat data mapping

3.15.1 - 2021.06.23

22 Jun 18:31

Choose a tag to compare

  • Fixed cloning of regex through RegExp constructor, #948

3.15.0 - 2021.06.21

20 Jun 17:32

Choose a tag to compare

  • Added RegExp named capture groups polyfill, #521, #944
  • Added RegExp dotAll flag polyfill, #792, #944
  • Added missed polyfills of Annex B features (required mainly for some non-browser engines), #336, #945:
    • escape
    • unescape
    • String.prototype.substr
    • Date.prototype.getYear
    • Date.prototype.setYear
    • Date.prototype.toGMTString
  • Fixed detection of forbidden host code points in URL polyfill
  • Allowed rhino target in core-js-compat / core-js-builder, added compat data for rhino 1.7.13, #942, thanks @gausie
  • .at marked as supported from FF90

3.14.0 - 2021.06.05

05 Jun 07:49

Choose a tag to compare

  • Added polyfill of stable sort in { Array, %TypedArray% }.prototype.sort, #769
  • Fixed Safari 14.0- %TypedArray%.prototype.sort validation of arguments bug
  • .at marked as supported from V8 9.2