Releases: babel/babel-preset-env
v1.4.0
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.
- Bump compat-table for Edge 15 support (#273) (@existentialism)
We updated our mappings so that you can get native support for async/await and other goodies when targeting Edge 15!
🐛 Bug Fix
- Add Android browser to name map (#270) (@existentialism)
Fixed a bug that was ignoring Android targets in browserslist queries (for example: "Android >= 4").
📝 Documentation
- Clarify note about loading polyfills only once (#282) (@darahak)
- Add a reminder about include/exclude options (#275) (@existentialism)
🏠 Internal
- Chore: reduce package size. (#281) (@evilebottnawi)
- Remove deprecated comment (#271) (@yavorsky)
v2.0.0-alpha.5
v2.0.0-alpha.4
v1.3.3
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.
- Ensure const-check plugin order (#257) (@existentialism)
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
The include
and exclude
options now allow both prefixed (babel-plugin-transform-es2015-spread
)
and prefix-less (transform-es2015-spread
) plugin names.
📝 Documentation
- Note babel plugin prefix handling in include/exclude (#245) (@existentialism)
- Fix README: debug option shows info in stdout. (#236) (@Gerhut)
🏠 Internal
- Add simple smoke-test (#240) (@existentialism)
- Add prepublish script (@existentialism)
v1.3.0
v1.3.0 (2017-03-30)
🐛 Bug Fix
- Add check for ArrayBuffer[Symbol.species] (#233) (@existentialism)
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
v1.2.2
v1.2.2 (2017-03-14)
🐛 Bug Fix
- Refactor browser data parsing to handle families (#208) (@existentialism)
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!)
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
v1.2.1 (2017-03-06)
🐛 Bug Fix
- Add transform-duplicate-keys mapping (#192) (@existentialism)
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
- Clarify reasons for the uglify option in README.md (#188) (@mikegreiling)
v1.2.0
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
Fixes a number of bugs that caused some incorrect and/or missing environment data when parsing compat-table
.
v1.1.11
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
- Bump compat-table (#177) (@existentialism)
- Add electron version exception test (#176) (@existentialism)
v1.1.10
v1.1.10 (2017-02-24)
🐛 Bug Fix
- Drop use of lodash/intersection from checkDuplicateIncludeExcludes (#173) (@existentialism)