Skip to content
This repository has been archived by the owner on May 11, 2018. It is now read-only.

Releases: babel/babel-preset-env

v1.4.0

14 Apr 15:45
125e928
Compare
Choose a tag to compare

v1.4.0 (2017-04-14)

🚀 New Feature

  • Support spec option (#98) (@Kovensky)

Added an option to enable more spec compliant, but potentially slower, transformations for any plugins in this preset that support them.

We updated our mappings so that you can get native support for async/await and other goodies when targeting Edge 15!

🐛 Bug Fix

Fixed a bug that was ignoring Android targets in browserslist queries (for example: "Android >= 4").

📝 Documentation

🏠 Internal

v2.0.0-alpha.5

10 Apr 15:59
Compare
Choose a tag to compare
v2.0.0-alpha.5 Pre-release
Pre-release

v2.0.0-alpha.5 (2017-04-10)

🐛 Bug Fix

  • #263 Fix issues with importing the wrong file name (@hzoo)

v2.0.0-alpha.4

07 Apr 18:24
Compare
Choose a tag to compare
v2.0.0-alpha.4 Pre-release
Pre-release

v2.0.0-alpha.4 (2017-04-07)

🚀 New Feature (💥 Breaking Change)

  • #241 Breaking: make current "useBuiltIns" auto import only used + necessary polyfills per file. (@hzoo)

v1.3.3

07 Apr 21:39
a222453
Compare
Choose a tag to compare

v1.3.3 (2017-04-07)

🐛 Bug Fix

Adding electron as a target was an inadvertent breaking change as it no longer
allowed string versions. We added an exception for now, even though it is
inconsistent with other versions. Just as a note, the upcoming version 2.x will
allow both number and string versions.

We now force the const-es2015-check plugin to run first (so that it can
correctly report issues before they get transpiled away).

🚀 New Feature

  • Allow use babel-plugin- prefix for include and exclude (#242) (@yavorsky)

The include and exclude options now allow both prefixed (babel-plugin-transform-es2015-spread)
and prefix-less (transform-es2015-spread) plugin names.

📝 Documentation

🏠 Internal

v1.3.0

30 Mar 20:42
8b2dc4f
Compare
Choose a tag to compare

v1.3.0 (2017-03-30)

🐛 Bug Fix

We now properly check for Symbol.species support in ArrayBuffer and include the
polyfill if necessary. This should, as a side effect, fix ArrayBuffer-related
errors on IE9.

💅 Polish

We've simplified things by adding electron as a target instead of doing a bunch of
things at runtime. Electron targets should now also be displayed in the debug output.

  • separate default builtins for platforms (#226) (@restrry)

If you are targeting the node environment exclusively, the always-included web polyfills
(like dom.iterable, and a few others) will now no longer be included.

📝 Documentation

🏠 Internal

  • npmignore: Add related to build data and codecov. (#216) (@yavorsky)

v1.2.2

15 Mar 16:52
e186f2d
Compare
Choose a tag to compare

v1.2.2 (2017-03-14)

🐛 Bug Fix

When parsing plugin data, we weren't properly handling browser families. This caused
transform-es2015-block-scoping and other plugins to be incorrectly added for Edge >= 12.
(s/o to @mgol for the the report and review!)

  • Add typed array methods to built-ins features. (#198) (@yavorsky)

Fixes an issue where some TypedArray features were not being polyfilled properly. (s/o to @alippai for the report!)

📝 Documentation

  • Fixed minor typo in readme (#199) (@bl4ckdu5t)
  • Add built-ins, better links, compat-table url, etc (#195) (@yavorsky)
  • Change CONTRIBUTING.md to use absolute paths (#194) (@aaronang)

🏠 Internal

v1.2.1

06 Mar 21:02
e407ea4
Compare
Choose a tag to compare

v1.2.1 (2017-03-06)

🐛 Bug Fix

Our plugin data was missing a mapping for the transform-duplicate-keys plugin which caused it to never be included. (s/o to @Timer for the report!)

📝 Documentation

v1.2.0

03 Mar 23:07
b1399d9
Compare
Choose a tag to compare

v1.2.0 (2017-03-03)

🚀 New Feature

Support for uglify as a target is now available! This will enable all plugins and, as a result, fully compiles your code to ES5. Note, that useBuiltIns will work as before, and only the polyfills that your other target(s) need will be included.

{
  "presets": [
    ["env", {
      "targets": {
        "chrome": 55,
        "uglify": true
      },
      "useBuiltIns": true,
      "modules": false
    }]
  ]
}

🐛 Bug Fix

  • Respect older versions in invert equals map (#180) (@danez)

Fixes a number of bugs that caused some incorrect and/or missing environment data when parsing compat-table.

v1.1.11

01 Mar 20:31
dfc1cb6
Compare
Choose a tag to compare

v.1.1.11 (2017-03-01)

This release primarily upgrades compat-table, which adds support for async on Node 7.6!

🐛 Bug Fix

📝 Documentation

🏠 Internal

v1.1.10

01 Mar 20:30
Compare
Choose a tag to compare

v1.1.10 (2017-02-24)

🐛 Bug Fix