#5030 (https://github.com/babel/babel/pull/5030) Prevent multiple return statements in a loop when replacing expressions. (@existentialism)
babel-register
#5260 (https://github.com/babel/babel/pull/5260) Fix TypeError with babel-register's cache. (@xtuc)
babel-traverse
#5206](https://github.com/babel/babel/pull/5206) Deopt evaluation of undefined with a local binding. Closes [#5204 (https://github.com/babel/babel/issues/5204). (@boopathi)
babel-plugin-transform-runtime
#5195 (https://github.com/babel/babel/pull/5195) Don't transpile ES7 symbol properties. (@taion)
babel
#5258 (https://github.com/babel/babel/pull/5258) checks if babel is installed globally and displays correct cli message. (@xtina-starr)
babel-generator
#5270 (https://github.com/babel/babel/pull/5270) Emit parens for await of ternary expressions. (@erikdesjardins)
#5193 (https://github.com/babel/babel/pull/5193) Fix missing parens when function expressions is tag. (@existentialism)
Fix issue with babel-node throwing errors when passed non-"-" args #5162 (https://github.com/babel/babel/pull/5162).
Version 6.22.1
6.22.1 (2017-01-19)
:bug: Bug Fix
Temporary fix with babel-traverse via #5019 (https://github.com/babel/babel/pull/5019) for transform-react-constant-elements.
Version 6.22.0
6.22.0 (2017-01-19)
Thanks to 10 new contributors! (23 total)
A quick update since it's been over a month already: adds support for shorthand import syntax in Flow + some fixes!
We'll be merging in our current 7.0 PRs on a 7.0 branch soon and I'l be making some more issues (most should be beginner-friendly).
To follow our progress check out our 7.0 milestone](https://github.com/babel/babel/milestone/9), the [wiki (https://github.com/babel/babel/wiki/Babel-7) and upcoming announcements on twitter!
We support stripping out and generating the new shorthand import syntax in Flow (parser support was added in babylon@6.15.0 (https://github.com/babel/babylon/releases/tag/v6.15.0).
import {
someValue,
type someType,
typeof someOtherValue,
} from "blah";
:rocket: New Feature
babel-generator, babel-types
#5110 (https://github.com/babel/babel/pull/5110) Validate importKind and ensure code generation exists.. (@loganfsmyth)
#4655 (https://github.com/babel/babel/pull/4655) Add useBuiltIns option to helper-builder-react-jsx. (@existentialism)
Previously we added a useBuiltIns for object-rest-spread so that it use the native/built in version if you use a polyfill or have it supported natively.
This change just uses the same option from the plugin to be applied with spread inside of jsx.
// in
var div = <Component {...props} foo="bar" />
// out
var div = React.createElement(Component, Object.assign({}, props, { foo: "bar" }));
Added in flow here](https://github.com/facebook/flow/commit/c603505583993aa953904005f91c350f4b65d6bd) and in babylon [here (https://github.com/babel/babylon/pull/171).
function f<T>(x: empty): T {
return x;
}
f(); // nothing to pass...
#4765](https://github.com/babel/babel/pull/4765) Don't treat JSXIdentifier in JSXMemberExpression as HTML tag. Closes [#4027 (https://github.com/babel/babel/issues/4027). (@DrewML)
// issue with imported components that were JSXMemberExpression
import { form } from "./export";
function ParentComponent() {
return <form.TestComponent />;
}
#4763](https://github.com/babel/babel/pull/4763) Handle remapping of JSXIdentifier to MemberExpression in CommonJS transform. Closes [#3728 (https://github.com/babel/babel/issues/3728). (@DrewML)
#4719 (https://github.com/babel/babel/pull/4719) Fixed incorrect compilation of async iterator methods. (@Jamesernator)
// in
class C {
async *g() { await 1; }
}
// out
class C {
g() { // was incorrectly outputting the method with a generator still `*g(){`
return _asyncGenerator.wrap(function* () {
yield _asyncGenerator.await(1);
})();
}
}
#4690 (https://github.com/babel/babel/pull/4690) Consolidate contiguous var declarations in destructuring transform. (@motiz88)
// was wrapping variables in an IIFE incorrectly
for ( let i = 0, { length } = list; i < length; i++ ) {
console.log( i + ': ' + list[i] )
}
babel-plugin-transform-es2015-parameters
#4666 (https://github.com/babel/babel/pull/4666) Fix error when constructor default arg refers to self or own static property. (@danharper)
// was producing invalid code
class Ref {
static nextId = 0
constructor(id = ++Ref.nextId, n = id) {
this.id = n
}
}
assert.equal(1, new Ref().id)
assert.equal(2, new Ref().id)
#4674 (https://github.com/babel/babel/pull/4674) Handle side effects correctly in rest params index expressions (#4348). (@motiz88)
function first(...values) {
let index = 0;
return values[index++]; // ++ was happening twice
}
console.log(first(1, 2));
babel-plugin-transform-es2015-block-scoping
#4669 (https://github.com/babel/babel/pull/4669) Fix block scoping transform for declarations in labeled statements. (@motiz88)
#4690 (https://github.com/babel/babel/pull/4690) Consolidate contiguous var declarations in destructuring transform. (@motiz88)
// in
const [a, b] = [1, 2];
// out
var a = 1,
b = 2;
babel-plugin-transform-es2015-parameters
#4738 (https://github.com/babel/babel/pull/4738) Avoid unnecessary +0 in transform-es2015-parameters. (@existentialism)
// was outputting an extra `index++ + 0`
function first(...values) {
var index = 0;
return values[index++];
}
babel-core
#4685 (https://github.com/babel/babel/pull/4685) Better error messaging when preset options are given without a corresponding preset. (@kaicataldo)
We've had a few reports of users not wrapping a preset in [] when passing in options so we added an extra error message for this.
ReferenceError: [BABEL] /test.js: Unknown option: base.loose2. Check out http://babeljs.io/docs/usage/options/ for more information about options.
A common cause of this error is the presence of a configuration options object without the corresponding preset name. Example:
Invalid:
`{ presets: [{option: value}] }`
Valid:
`{ presets: ["pluginName", {option: value}] }`
For more detailed information on preset configuration, please see http://babeljs.io/docs/plugins/#pluginpresets-options.
#4646 (https://github.com/babel/babel/pull/4646) Change babel-generator to output boolean instead of bool for the BooleanTypeAnnotation AST node. (@existentialism)
var a: Promise<boolean>[];
// instead of
var a: Promise<bool>[];
Documentation
Other
#4653 (https://github.com/babel/babel/pull/4653) Tweak license for GitHub display. (@existentialism)
#4725 (https://github.com/babel/babel/pull/4725) Remove babel-doctor from babel-cli. (@kaicataldo)
It's a one-time use tool (helpful after the initial release when upgrading from v5 to v6) that doesn't need to be a part of babel-cli. We'll publish it as a standalone package it someone asks for it.
Other
#4764 (https://github.com/babel/babel/pull/4764) Add TEST_DEBUG env var option for test.sh, to enable node 6 debugger. (@DrewML)
#4762 (https://github.com/babel/babel/pull/4762) Update browserify to version 13.1.1 🚀. (@greenkeeperio-bot)
#4748 (https://github.com/babel/babel/pull/4748) Add clean-all command to reinstall node_modules. (@kaicataldo)
#4744 (https://github.com/babel/babel/pull/4744) Fix line endings on checkout. (@nhajidin)
#4730 (https://github.com/babel/babel/pull/4730) Add .gitattributes forcing LF line endings. (@motiz88)
#4660 (https://github.com/babel/babel/pull/4660) 🚀 Update home-or-tmp to version 2.0.0. (@danez)
babel-cli
#4680](https://github.com/babel/babel/pull/4680) Update: Eslint to 3.0 and update CI builds (Closes [#4638 (https://github.com/babel/babel/issues/4638)). (@gyandeeps)
#4662 (https://github.com/babel/babel/pull/4662) 🚀 Update fs-readdir-recursive to 1.0.0. (@danez)
babel-core
#4649 (https://github.com/babel/babel/pull/4649) 🚀 Update json5 to version 0.5.0. (@danez)
#3473](https://github.com/babel/babel/pull/3473) via [#4576 (https://github.com/babel/babel/pull/4576) Implement support for async generator functions and for-await statements. (@zenparsing)
This change implements the async iteration proposal, currently at stage 2 (and pushing to stage 3 at the current TC-39 meeting). It includes the following features:
Transforms async generator functions (async function* g() { }) to wrapped generator functions, similar to the current async-to-generator transform.
#4500 (https://github.com/babel/babel/pull/4500) Computed class properties. (@motiz88)
Parser support was added in babylon@6.11.0](https://github.com/babel/babylon/releases/tag/v6.11.0) with [babel/babylon#121 (https://github.com/babel/babylon/pull/121)
// Example
class Foo {
[x]
['y']
}
class Bar {
[p]
[m] () {}
}
babel-generator
#3702 (https://github.com/babel/babel/pull/3702) flow plugin: generate exact object type annotations. (@bhosmer)
Parser support was added in babylon@6.10.0](https://github.com/babel/babylon/releases/tag/v6.10.0) with [babel/babylon#104 (https://github.com/babel/babylon/pull/104)
// Example
var a : {| x: number, y: string |} = { x: 0, y: 'foo' };
:rocket: New Feature
babel-core, babel-generator
#3561 (https://github.com/babel/babel/pull/3561) babel-core: add options for different parser/generator. (@hzoo)
Babel will now also take the options: parserOpts and generatorOpts (as objects).
parserOpts will pass all properties down to the default babylon parser. You can also pass a parser option to substitute for a different parser.
This will allow passing down any of babylon'soptions:
useBuiltIns - Do not use Babel's helper's and just transform to use the built-in method (Disabled by default).
{
"plugins": [
["transform-object-rest-spread", { "useBuiltIns": true }]
]
}
// source
z = { x, ...y };
// compiled
z = Object.assign({ x }, y);
babel-code-frame
#4561 (https://github.com/babel/babel/pull/4561) babel-code-frame: add options for linesBefore, linesAfter. (@hzoo)
babel-code-frame is a standalone package that we use in Babel when reporting errors.
Now there is an option (https://github.com/babel/babel/blob/master/packages/babel-code-frame/README.md#options) to specify the number of lines above and below the error
// `typeof Symbol.prototype` should be 'object'
typeof Symbol.prototype === 'object'
babel-cli
#3456](https://github.com/babel/babel/pull/3456) Use the real sourcemap API and handle input sourcemaps - Fixes [#7259 (https://github.com/babel/babel/issues/7259). (@loganfsmyth)
#4507 (https://github.com/babel/babel/pull/4507) Only set options in cli if different from default. (@danez)
Fix an issue with defaults not being overidden. This was causing options like comments: false not to work correctly.
#4508 (https://github.com/babel/babel/pull/4508) Support custom ports for V8 --inspect. (@andykant)
#4504 (https://github.com/babel/babel/pull/4504) Flow: Fix generating arrow functions with param. (@danharper)
babel-register
#3685 (https://github.com/babel/babel/pull/3685) Allow overwritting of sourceRoot. (@danez)
#4577 (https://github.com/babel/babel/pull/4577) babel-register: update source-map-support to latest. (@MoOx)
babel-core
#4570 (https://github.com/babel/babel/pull/4570) Fix fileName options passed to babylon. (@DatenMetzgerX)
babel-traverse
#4534 (https://github.com/babel/babel/pull/4534) Fix issue with minified libraries and code coverage. (@withinboredom)
babel-plugin-transform-es2015-destructuring
#4552 (https://github.com/babel/babel/pull/4552) Fix destructuring evaluation with call expressions. (@danez)
We noticed that we can not make this optimizations if there are function calls or member expressions on the right hand side of the assignment since the function call or the member expression (which might be a getter with side-effect) could potentially change the variables we are assigning to.
[x, y] = [a(), obj.x];
// was tranforming to
x = a();
y = obj.x;
// now transforms to
var _ref = [a(), obj.x];
x = _ref[0];
y = _ref[1];
babel-types
#4587 (https://github.com/babel/babel/pull/4587) Prevent flow-strip-types/flow-comments from removing entire ClassProperty. (@danharper)
:nail_care: Polish
babel-code-frame
#4579 (https://github.com/babel/babel/pull/4579) babel-code-frame: Highlight strings with green (not red). (@lydell)
#3624 (https://github.com/babel/babel/pull/3624) A new preset for es2017: it includes the 2 previous stage-3 plugins: async/await (via transform-async-to-generator) and trailing commas in functions. (thanks to @bettiolo for the npm package)
npm install babel-preset-es2017 --save-dev
// .babelrc
{ "presets": ["es2017"] }
#3625](https://github.com/babel/babel/pull/3625), [#3673 (https://github.com/babel/babel/pull/3673) A new preset called latest that transforms ES2015+ (currently ES2015, ES2016, ES2017). You can also pass options down to the es2015 preset.
We also will be working on getting a target/env (autoprefixer) preset soon.
#3671 (https://github.com/babel/babel/pull/3671) We also are including a spec option for the es2015 preset since the arrow function/template string plugins support this option.
spec for arrow functions adds a runtime check to make sure arrow functions are not instantiated (since they transform into normal functions).
spec for template literals wraps all expressions in String rather than simple string concatenation.
#3659 (https://github.com/babel/babel/pull/3659) @kittens added an optional wrapPluginVisitorMethod callback to transform to allow for performance tracking/introspection of plugins. More docs will be added on the website soon.
#3658 (https://github.com/babel/babel/pull/3658) sourcemaps will also now have a names field for identifiers to allow debuggers to do re-aliasing of mangled identifiers.
#3518 (https://github.com/babel/babel/pull/3518) For spec compilancy, we now will throw on a file with multiple export default.
Notable Bug Fixes
#3527 (https://github.com/babel/babel/pull/3527) Fix class inheritance in IE <=10 without loose mode.
#3644 (https://github.com/babel/babel/pull/3644) Support the ignore config option in .babelrc.
#3655 (https://github.com/babel/babel/pull/3655) Flow-only class props were not be stripped without transform-class-properties.
Guy Fieri
babel-core
#3641 (https://github.com/babel/babel/pull/3641) Fix exports of babel-core. (@thejameskyle)
#3646 (https://github.com/babel/babel/pull/3646) Remove Guy Fieri from Babel's source code. (@jdan)
Commiters: 17
It's also a lot folk's first PR (or first code PR)!
FYI: Babel releases don't mean each package updates. If a package isn't changed it keeps it's version number. The changelog entries below tell you what specific packages have changed. You shouldn't have to do anything in most cases other than npm install again.
In this release (among other things) are some more optimizations for babel-generator (#3584](https://github.com/babel/babel/pull/3584), [#3580 (https://github.com/babel/babel/pull/3580)) as well as refactors.
@jamestalmage did some awesome clean for OptionsManager and some tests which may help future improvements to babel-register performance.
Hi!
A new version was just released of
babel-cli
, so Doppins has upgraded your project's dependency ranges.Make sure that it doesn't break anything, and happy merging! :shipit:
Upgraded babel-cli from
~6.10.1
to~6.23.0
Changelog:
Version 6.23.0
6.23.0 (2017-02-13)
:rocket: New Feature
babel-plugin-transform-react-constant-elements
#4812
(https://github.com/babel/babel/pull/4812
) feature: Support pure expressions in transform-react-constant-elements. (@STRML
)babel-preset-flow
,babel-preset-react
#5288
(https://github.com/babel/babel/pull/5288
) Add new flow preset. (@thejameskyle
)babel-traverse
#5230
(https://github.com/babel/babel/pull/5230
) Add path/family sibling traversal methods. (@chitchu
)babel-plugin-transform-es2015-block-scoping
#5236
(https://github.com/babel/babel/pull/5236
) Add option to block-scoping to throw on slow code. (@spicyj
):bug: Bug Fix
babel-core
,babel-traverse
#5050
(https://github.com/babel/babel/pull/5050
) Rewrite Hub as interface#5047
. (@yongxu
)babel-plugin-transform-es2015-for-of
#5298
(https://github.com/babel/babel/pull/5298
) Fix loose for-of with label. (@jridgewell
)babel-plugin-transform-react-constant-elements
,babel-traverse
#5153
(https://github.com/babel/babel/pull/5153
) Fix react constant elements bindings. (@STRML
)#5143
(https://github.com/babel/babel/pull/5143
) Fix PathHoister hoisting JSX member expressions on "this".. (@STRML
)babel-plugin-transform-do-expressions
,babel-traverse
#5030
(https://github.com/babel/babel/pull/5030
) Prevent multiple return statements in a loop when replacing expressions. (@existentialism
)babel-register
#5260
(https://github.com/babel/babel/pull/5260
) Fix TypeError with babel-register's cache. (@xtuc
)babel-traverse
#5206
](https://github.com/babel/babel/pull/5206
) Deopt evaluation of undefined with a local binding. Closes [#5204
(https://github.com/babel/babel/issues/5204
). (@boopathi
)babel-plugin-transform-runtime
#5195
(https://github.com/babel/babel/pull/5195
) Don't transpile ES7 symbol properties. (@taion
)babel
#5258
(https://github.com/babel/babel/pull/5258
) checks if babel is installed globally and displays correct cli message. (@xtina-starr
)babel-generator
#5270
(https://github.com/babel/babel/pull/5270
) Emit parens for await of ternary expressions. (@erikdesjardins
)#5193
(https://github.com/babel/babel/pull/5193
) Fix missing parens when function expressions is tag. (@existentialism
)babel-plugin-transform-es2015-modules-commonjs
#5235
(https://github.com/babel/babel/pull/5235
) Limit export node default assignment stack size#4323
. (@mattste
):memo: Documentation
babel-*
#5244
(https://github.com/babel/babel/pull/5244
) Normalize options sections in docs [skip ci]. (@existentialism
)#5216
(https://github.com/babel/babel/pull/5216
) Remove link to REPL. (@xtuc
)#5242
(https://github.com/babel/babel/pull/5242
) Add our business model [skip ci]. (@hzoo
)babel-plugin-transform-es2015-spread
#5227
(https://github.com/babel/babel/pull/5227
) Add example to spread README [skip ci]. (@finkef
)babel-plugin-transform-flow-strip-types
#5212
(https://github.com/babel/babel/pull/5212
) Remove REPL link transform-flow-strip-types doc. (@xtuc
)babel-plugin-transform-regenerator
#5202
(https://github.com/babel/babel/pull/5202
) Fix transform-regenerator README. (@xtuc
)babel-plugin-transform-es2015-arrow-functions
#5200
(https://github.com/babel/babel/pull/5200
) Fix transform-es2015-arrow-functions code blocks on the website. (@xtuc
)#5194
(https://github.com/babel/babel/pull/5194
) Fix transform-es2015-arrow-functions README. (@xtuc
):house: Internal
babel-core
#5302
(https://github.com/babel/babel/pull/5302
) Add charset so tests work with convert-source-map@>1.4. (@loganfsmyth
)babel-core
,babel-traverse
#5050
(https://github.com/babel/babel/pull/5050
) Rewrite Hub as interface#5047
. (@yongxu
)babel-generator
#5255
(https://github.com/babel/babel/pull/5255
) codegen performance: use trim instead of lodash/trimEnd. (@jwbay
)babel-types
#5181
(https://github.com/babel/babel/pull/5181
) Remove uses of lodash/compact. (@zertosh
)babel-*
#5265
(https://github.com/babel/babel/pull/5265
) Re-enable the max-len ESLint rule.. (@loganfsmyth
)#5264
(https://github.com/babel/babel/pull/5264
) Add a sublime project file. (@loganfsmyth
)#5182
(https://github.com/babel/babel/pull/5182
) Run coverage only once. (@existentialism
)#5165
(https://github.com/babel/babel/pull/5165
) Add Node 7 to CI. (@chicoxyzzy
)Committers: 20
Version 6.22.2
6.22.2 (2017-01-19)
:bug: Bug Fix
babel-cli
babel-node
throwing errors when passed non-"-" args#5162
(https://github.com/babel/babel/pull/5162
).Version 6.22.1
6.22.1 (2017-01-19)
:bug: Bug Fix
Temporary fix with
babel-traverse
via#5019
(https://github.com/babel/babel/pull/5019
) for transform-react-constant-elements.Version 6.22.0
6.22.0 (2017-01-19)
A quick update since it's been over a month already: adds support for shorthand import syntax in Flow + some fixes!
We'll be merging in our current 7.0 PRs on a 7.0 branch soon and I'l be making some more issues (most should be beginner-friendly).
To follow our progress check out our 7.0 milestone](
https://github.com/babel/babel/milestone/9
), the [wiki (https://github.com/babel/babel/wiki/Babel-7
) and upcoming announcements on twitter!We support stripping out and generating the new shorthand import syntax in Flow (parser support was added in babylon@6.15.0 (
https://github.com/babel/babylon/releases/tag/v6.15.0
).:rocket: New Feature
babel-generator
,babel-types
#5110
(https://github.com/babel/babel/pull/5110
) Validate importKind and ensure code generation exists.. (@loganfsmyth
)babel-plugin-transform-flow-strip-types
,babel-traverse
#5035
(https://github.com/babel/babel/pull/5035
) Strip Flow's new shorthand import-type specifiers. (@jeffmo
)babel-core
#4729
(https://github.com/babel/babel/pull/4729
) Add resolvePlugin and resolvePreset methods to babel-core API. (@rmacklin
):bug: Bug Fix
babel-plugin-transform-object-rest-spread
#5151
(https://github.com/babel/babel/pull/5151
) Avoid duplicating impure expressions in object rest destructuring. (@erikdesjardins
)Old Behavior
New/Expected Behavior
babel-cli
#4790
(https://github.com/babel/babel/pull/4790
) fixes invalid line offsets in merged sourcemaps. (@peterm0x
)babel-plugin-transform-object-rest-spread
#5088
(https://github.com/babel/babel/pull/5088
) fix: plugin-transform-object-rest-spread param with default value. (@christophehurpeau
)Accounts for default values in object rest params
babel-plugin-transform-es2015-destructuring
#5093
(https://github.com/babel/babel/pull/5093
) Ensure array is always copied during destructure. (@existentialism
)babel-plugin-transform-es2015-function-name
#5008
(https://github.com/babel/babel/pull/5008
) Don't try to visit ArrowFunctionExpression, they cannot be named. (@Kovensky
)Input
Output
babel-types
#5068
(https://github.com/babel/babel/pull/5068
) Fix getBindingIdentifiers in babel-types. (@rtsao
)babel-cli
#3698
(https://github.com/babel/babel/pull/3698
) Watch mode should wait for file write. (T7411) (@hayeah
):nail_care: Polish
babel-traverse
#5076
(https://github.com/babel/babel/pull/5076
) Optimize removal-hooks for ArrowFunctions. (@danez
)babel-generator
,babel-plugin-transform-exponentiation-operator
#5026
(https://github.com/babel/babel/pull/5026
) Remove unnecessary spaces around template element. (@chicoxyzzy
):memo: Documentation
#5144
(https://github.com/babel/babel/pull/5144
) Fix dependency status extension.. (@yavorsky
)#5136
(https://github.com/babel/babel/pull/5136
) Add babel-preset-env to maintained list.. (@yavorsky
)babel-core
#5101
(https://github.com/babel/babel/pull/5101
) Document babelrc option. (@novemberborn
)#5114
(https://github.com/babel/babel/pull/5114
) Update babel-core options in README. (@existentialism
)babel-plugin-syntax-class-constructor-call
#5130
(https://github.com/babel/babel/pull/5130
) update syntax-class-constructor-call documentation. (@xtuc
)babel-plugin-transform-es2015-duplicate-keys
,babel-plugin-transform-es2015-parameters
#5111
(https://github.com/babel/babel/pull/5111
) Fixes some inconsistent documentation. (@xtuc
)babel-plugin-transform-es2015-computed-properties
,babel-plugin-transform-es2015-for-of
#5096
(https://github.com/babel/babel/pull/5096
) Add examples to computed-props and for-of READMEs [skip ci]. (@existentialism
)babel-plugin-transform-class-properties
#5077
(https://github.com/babel/babel/pull/5077
) Static function call result comment does not match variable content [skip ci]. (@kasn
)#5070
(https://github.com/babel/babel/pull/5070
) Fix typo in README.md. (@nomicos
)#5031
(https://github.com/babel/babel/pull/5031
) remove plugin links, just use the website [skip ci]. (@hzoo
)#5011
(https://github.com/babel/babel/pull/5011
) Add Team section [skip ci]. (@hzoo
)babel-plugin-transform-es2015-classes
,babel-plugin-transform-function-bind
#5061
(https://github.com/babel/babel/pull/5061
) Fix some doc lint issues. (@existentialism
)babel-helpers
#5059
(https://github.com/babel/babel/pull/5059
) Fix incorrect snippet language in babel-helpers. (@xtuc
)babel-preset-react
#5051
(https://github.com/babel/babel/pull/5051
) Adding more info to the Install section. (@gitanupam
)babel-plugin-check-es2015-constants
,babel-plugin-transform-es2015-modules-umd
,babel-plugin-transform-es2015-typeof-symbol
,babel-register
#5045
(https://github.com/babel/babel/pull/5045
) Fix some README links. (@existentialism
)babel-core
#5014
(https://github.com/babel/babel/pull/5014
) Update babel-core's README. (@xtuc
):house: Internal
babel-*
#5129
(https://github.com/babel/babel/pull/5129
) Bump eslint-config-babel and fix lint. (@existentialism
)#5138
(https://github.com/babel/babel/pull/5138
) Refactor packages to use ES modules instead of CJS. (@chicoxyzzy
)#5113
(https://github.com/babel/babel/pull/5113
) Kaicataldo enable prefer const. (@hzoo
)babel-helper-transform-fixture-test-runner
#5135
(https://github.com/babel/babel/pull/5135
) Run Babel's unittests in a custom sandbox.. (@loganfsmyth
)babel-cli
,babel-core
,babel-generator
,babel-helper-define-map
,babel-register
,babel-runtime
,babel-types
#5043
(https://github.com/babel/babel/pull/5043
) Replace "lodash/is*" and "lodash/each" with native equivalents. (@zertosh
)babel-cli
,babel-generator
,babel-helper-fixtures
,babel-helper-transform-fixture-test-runner
,babel-preset-es2015
,babel-runtime
,babel-traverse
#5042
(https://github.com/babel/babel/pull/5042
) Use native or lodash util module where full "lodash" is required. (@zertosh
)babel-code-frame
#5094
(https://github.com/babel/babel/pull/5094
) babel-code-frame: Upgrade to js-tokens@3. (@lydell
)babel-plugin-transform-react-jsx
#5100
(https://github.com/babel/babel/pull/5100
) Fix broken repository url. (@batista
)babel-plugin-transform-decorators
#5038
(https://github.com/babel/babel/pull/5038
) Remove unused dependency. (@zertosh
)babel-plugin-transform-es2015-computed-properties
#5053
(https://github.com/babel/babel/pull/5053
) Remove unused define-map helper from computed-properties. (@existentialism
)babel-cli
#5027
(https://github.com/babel/babel/pull/5027
) Dependencies: Upgrade glob to v7. (@ysangkok
)Committers: 23, First PRs: 10
Version 6.18.0
v6.18.0 (2016-10-24)
:rocket: New Feature
babel-generator
,babel-plugin-transform-flow-strip-types
#4697
(https://github.com/babel/babel/pull/4697
) Add variance node type and generate property variance annotations. (@samwgoldman
)Check out the blog post and flow docs for more info:
babel-core
,babel-traverse
#4746
(https://github.com/babel/babel/pull/4746
) Support ObjectExpression in static path evaluation. (@motiz88
)babel-plugin-syntax-dynamic-import
,babel-preset-stage-2
#4699
(https://github.com/babel/babel/pull/4699
) [import()] Initial support for dynamic-import. (@kesne
)Parser support was added in
https://github.com/babel/babylon/releases/tag/v6.12.0.
Just the plugin to enable it in babel.
or use the new
parserOpts
babel-helper-builder-react-jsx
,babel-plugin-transform-react-jsx
#4655
(https://github.com/babel/babel/pull/4655
) AdduseBuiltIns
option to helper-builder-react-jsx. (@existentialism
)Previously we added a
useBuiltIns
for object-rest-spread so that it use the native/built in version if you use a polyfill or have it supported natively.This change just uses the same option from the plugin to be applied with spread inside of jsx.
babel-generator
,babel-traverse
,babel-types
#4724
(https://github.com/babel/babel/pull/4724
) AddEmptyTypeAnnotation
. (@samwgoldman
)EmptyTypeAnnotation
Added in flow here](
https://github.com/facebook/flow/commit/c603505583993aa953904005f91c350f4b65d6bd
) and in babylon [here (https://github.com/babel/babylon/pull/171
).babel-traverse
#4758
(https://github.com/babel/babel/pull/4758
) Make getBinding ignore labels; add Scope#getLabel, Scope#hasLabel, Scope#registerLabel. (@kangax
)Track
LabeledStatement
separately (not part of bindings).:bug: Bug Fix
babel-plugin-transform-es2015-modules-commonjs
,babel-plugin-transform-react-inline-elements
#4763
](https://github.com/babel/babel/pull/4763
) Handle remapping of JSXIdentifier to MemberExpression in CommonJS transform. Closes [#3728
(https://github.com/babel/babel/issues/3728
). (@DrewML
)babel-plugin-transform-es2015-for-of
#4736
(https://github.com/babel/babel/pull/4736
) Fix replacing for-of if inside label. (@danez
)babel-core
#4502
(https://github.com/babel/babel/pull/4502
) Make special case for class property initializers inshadow-functions
. (@motiz88
)#4631
(https://github.com/babel/babel/pull/4631
) fix(shouldIgnore): filename normalization should be platform sensitive. (@rozele
)babel-helper-remap-async-to-generator
,babel-plugin-transform-async-generator-functions
#4719
(https://github.com/babel/babel/pull/4719
) Fixed incorrect compilation of async iterator methods. (@Jamesernator
)babel-plugin-check-es2015-constants
,babel-plugin-transform-es2015-destructuring
,babel-plugin-transform-es2015-modules-commonjs
,babel-plugin-transform-es2015-parameters
#4690
(https://github.com/babel/babel/pull/4690
) Consolidate contiguous var declarations in destructuring transform. (@motiz88
)babel-plugin-transform-es2015-parameters
#4666
(https://github.com/babel/babel/pull/4666
) Fix error when constructor default arg refers to self or own static property. (@danharper
)#4674
(https://github.com/babel/babel/pull/4674
) Handle side effects correctly in rest params index expressions (#4348
). (@motiz88
)babel-plugin-transform-es2015-block-scoping
#4669
(https://github.com/babel/babel/pull/4669
) Fix block scoping transform for declarations in labeled statements. (@motiz88
)babel-helper-explode-assignable-expression
,babel-plugin-transform-exponentiation-operator
#4672
(https://github.com/babel/babel/pull/4672
) Avoid repeating impure (template) literals when desugaring **= (#4403
). (@motiz88
)#4642
(https://github.com/babel/babel/pull/4642
) Exclude super from being assign to ref variable. (@danez
)babel-plugin-transform-es2015-shorthand-properties
,babel-plugin-transform-flow-comments
,babel-plugin-transform-flow-strip-types
#4670
(https://github.com/babel/babel/pull/4670
) Retain return types on ObjectMethods in transform-es2015-shorthand-properties. (@danharper
)babel-helper-define-map
,babel-plugin-transform-es2015-classes
,babel-plugin-transform-flow-comments
,babel-plugin-transform-flow-strip-types
#4668
](https://github.com/babel/babel/pull/4668
) Retain method return types on transform-es2015-classes (Closes [#4665
(https://github.com/babel/babel/issues/4665
)). (@danharper
):nail_care: Polish
babel-plugin-check-es2015-constants
,babel-plugin-transform-es2015-destructuring
,babel-plugin-transform-es2015-modules-commonjs
,babel-plugin-transform-es2015-parameters
#4690
(https://github.com/babel/babel/pull/4690
) Consolidate contiguous var declarations in destructuring transform. (@motiz88
)babel-plugin-transform-es2015-parameters
#4738
(https://github.com/babel/babel/pull/4738
) Avoid unnecessary +0 in transform-es2015-parameters. (@existentialism
)babel-core
#4685
(https://github.com/babel/babel/pull/4685
) Better error messaging when preset options are given without a corresponding preset. (@kaicataldo
)#4688
(https://github.com/babel/babel/pull/4688
) Update babel parser options. (@existentialism
)babel-generator
#4646
(https://github.com/babel/babel/pull/4646
) Change babel-generator to outputboolean
instead ofbool
for theBooleanTypeAnnotation
AST node. (@existentialism
)Documentation
#4653
(https://github.com/babel/babel/pull/4653
) Tweak license for GitHub display. (@existentialism
)So that our MIT License shows up.
:house: Internal
babel-cli
#4725
(https://github.com/babel/babel/pull/4725
) Remove babel-doctor from babel-cli. (@kaicataldo
)It's a one-time use tool (helpful after the initial release when upgrading from v5 to v6) that doesn't need to be a part of
babel-cli
. We'll publish it as a standalone package it someone asks for it.#4764
(https://github.com/babel/babel/pull/4764
) Add TEST_DEBUG env var option for test.sh, to enable node 6 debugger. (@DrewML
)#4762
(https://github.com/babel/babel/pull/4762
) Update browserify to version 13.1.1 🚀. (@greenkeeperio-bot
)#4748
(https://github.com/babel/babel/pull/4748
) Add clean-all command to reinstall node_modules. (@kaicataldo
)#4744
(https://github.com/babel/babel/pull/4744
) Fix line endings on checkout. (@nhajidin
)#4730
(https://github.com/babel/babel/pull/4730
) Add .gitattributes forcing LF line endings. (@motiz88
)#4676
(https://github.com/babel/babel/pull/4676
) Remove travis short-circuit script. (@motiz88
)babel-traverse
,babel-types
#4742
(https://github.com/babel/babel/pull/4742
) Increase test coverage. (@motiz88
)babel-cli
,babel-core
,babel-helper-fixtures
,babel-register
#4731
(https://github.com/babel/babel/pull/4731
) Replacepath-exists
withfs.existsSync
. (@SimenB
)babel-helper-transform-fixture-test-runner
#4735
(https://github.com/babel/babel/pull/4735
) Automatically generate missing expected.js fixtures. (@motiz88
)#4664
(https://github.com/babel/babel/pull/4664
) 🚀 Update chai to version 3.0.0. (@danez
)babel-cli
,babel-code-frame
,babel-core
,babel-generator
,babel-helper-transform-fixture-test-runner
,babel-preset-es2015
,babel-template
,babel-traverse
#4734
(https://github.com/babel/babel/pull/4734
) Change usage of "suite"/"test" in unit-tests to "describe"/"it". (@DrewML
)babel-cli
,babel-code-frame
,babel-core
,babel-generator
,babel-plugin-transform-es2015-modules-commonjs
,babel-preset-es2015
,babel-template
,babel-traverse
#4732
(https://github.com/babel/babel/pull/4732
) Run ESLint on test files, and fix lint errors in test files.. (@DrewML
)babel-cli
,babel-core
#4727
(https://github.com/babel/babel/pull/4727
) Update tests for changed error messages in Babylon. (@motiz88
)#4564
(https://github.com/babel/babel/pull/4564
) Enable babel for tests. (@danez
)babel-cli
,babel-core
,babel-plugin-transform-es2015-modules-systemjs
,babel-preset-es2015
#4721
(https://github.com/babel/babel/pull/4721
) update eslint-config, fixes, add commands. (@hzoo
)babel-register
#4660
(https://github.com/babel/babel/pull/4660
) 🚀 Update home-or-tmp to version 2.0.0. (@danez
)babel-cli
#4680
](https://github.com/babel/babel/pull/4680
) Update: Eslint to 3.0 and update CI builds (Closes [#4638
(https://github.com/babel/babel/issues/4638
)). (@gyandeeps
)#4662
(https://github.com/babel/babel/pull/4662
) 🚀 Update fs-readdir-recursive to 1.0.0. (@danez
)babel-core
#4649
(https://github.com/babel/babel/pull/4649
) 🚀 Update json5 to version 0.5.0. (@danez
)#4650
(https://github.com/babel/babel/pull/4650
) 🚀 Remove shebang dependency. (@danez
)babel-generator
#4652
(https://github.com/babel/babel/pull/4652
) 🚀 Update detect-indent to version 4.0.0. (@danez
)babel-traverse
#4651
(https://github.com/babel/babel/pull/4651
) 🚀 Update globals to version 9.0.0. (@danez
)Commiters: 17
Version 6.16.0
v6.16.0 (2016-09-28)
Babel 6.16: Happy 2nd Birthday 🎂 !
:eyeglasses: Spec Compliancy
babel-core
,babel-generator
,babel-helper-remap-async-to-generator
,babel-helpers
,babel-plugin-transform-async-generator-functions
,babel-types
,babel-preset-stage-2
, ...#3473
](https://github.com/babel/babel/pull/3473
) via [#4576
(https://github.com/babel/babel/pull/4576
) Implement support for async generator functions and for-await statements. (@zenparsing
)This change implements the async iteration proposal, currently at stage 2 (and pushing to stage 3 at the current TC-39 meeting). It includes the following features:
async function* g() { }
) to wrapped generator functions, similar to the current async-to-generator transform.for-await
statements into for loops containing yield expressions.Example Usage
babel-core
,babel-generator
,babel-plugin-transform-class-properties
,babel-template
,babel-traverse
,babel-types
#4500
(https://github.com/babel/babel/pull/4500
) Computed class properties. (@motiz88
)Parser support was added in babylon@6.11.0](
https://github.com/babel/babylon/releases/tag/v6.11.0
) with [babel/babylon#121
(https://github.com/babel/babylon/pull/121
)babel-generator
#3702
(https://github.com/babel/babel/pull/3702
) flow plugin: generate exact object type annotations. (@bhosmer
)Parser support was added in babylon@6.10.0](
https://github.com/babel/babylon/releases/tag/v6.10.0
) with [babel/babylon#104
(https://github.com/babel/babylon/pull/104
):rocket: New Feature
babel-core
,babel-generator
#3561
(https://github.com/babel/babel/pull/3561
) babel-core: add options for different parser/generator. (@hzoo
)Babel will now also take the options:
parserOpts
andgeneratorOpts
(as objects).parserOpts
will pass all properties down to the defaultbabylon
parser. You can also pass aparser
option to substitute for a different parser.This will allow passing down any of
babylon's
options:Another use case (the main reason for doing this), is to be able to use recast with Babel.
babel-core
#4542
(https://github.com/babel/babel/pull/4542
) Add support for preset organization shortcuts. (@nkt
)babel-plugin-transform-object-rest-spread
#4491
(https://github.com/babel/babel/pull/4491
) object rest spread useBuiltIns option. (@hzoo
)useBuiltIns
- Do not use Babel's helper's and just transform to use the built-in method (Disabled by default).babel-code-frame
#4561
(https://github.com/babel/babel/pull/4561
) babel-code-frame: add options for linesBefore, linesAfter. (@hzoo
)babel-code-frame
is a standalone package that we use in Babel when reporting errors.Now there is an option (
https://github.com/babel/babel/blob/master/packages/babel-code-frame/README.md#options
) to specify the number of lines above and below the errorbabel-core
,babel-preset-es2015
,babel-preset-es2016
,babel-preset-es2017
,babel-preset-latest
,babel-preset-react
,babel-preset-stage-0
,babel-preset-stage-1
,babel-preset-stage-2
,babel-preset-stage-3
#3695
](https://github.com/babel/babel/pull/
#3695`) via [
#4566(
https://github.com/babel/babel/pull/4566) Allow presets to be ES6 default exports ([
@johanssj`](https://github.com/johanssj))We previously made presets with commonjs exports
Now you can use export default as well
:bug: Bug Fix
babel-helpers
,babel-plugin-transform-es2015-typeof-symbol
#3686
(https://github.com/babel/babel/pull/3686
) Fixtypeof Symbol.prototype
. (@brainlock
)babel-cli
#3456
](https://github.com/babel/babel/pull/3456
) Use the real sourcemap API and handle input sourcemaps - Fixes [#7259
(https://github.com/babel/babel/issues/7259
). (@loganfsmyth
)#4507
(https://github.com/babel/babel/pull/4507
) Only set options in cli if different from default. (@danez
)Fix an issue with defaults not being overidden. This was causing options like
comments: false
not to work correctly.#4508
(https://github.com/babel/babel/pull/4508
) Support custom ports for V8 --inspect. (@andykant
)#4562
](https://github.com/babel/babel/pull/4562
) Fixes@hzoo
: Prevent REPL from printing implicit 'use strict'. (@hzoo
)babel-plugin-transform-es2015-function-name
,babel-traverse
#4524
(https://github.com/babel/babel/pull/4524
) Fix default export with arrows and function naming. (@danharper
)babel-plugin-transform-es2015-modules-commonjs
#4511
(https://github.com/babel/babel/pull/4511
) Fix UpdateExpression handling in es2015-modules-commonjs, resolve#4462
. (@motiz88
)#4518
(https://github.com/babel/babel/pull/4518
) fix default exported classes without a name. (@danez
)babel-plugin-transform-flow-strip-types
,babel-types
#4521
(https://github.com/babel/babel/pull/4521
) Fix striping of typeParameters from arrow functions. (@danez
)babel-generator
,babel-plugin-transform-flow-comments
#4504
(https://github.com/babel/babel/pull/4504
) Flow: Fix generating arrow functions with param. (@danharper
)babel-register
#3685
(https://github.com/babel/babel/pull/3685
) Allow overwritting of sourceRoot. (@danez
)#4577
(https://github.com/babel/babel/pull/4577
) babel-register: update source-map-support to latest. (@MoOx
)babel-core
#4570
(https://github.com/babel/babel/pull/4570
) Fix fileName options passed to babylon. (@DatenMetzgerX
)babel-traverse
#4534
(https://github.com/babel/babel/pull/4534
) Fix issue with minified libraries and code coverage. (@withinboredom
)babel-plugin-transform-es2015-destructuring
#4552
(https://github.com/babel/babel/pull/4552
) Fix destructuring evaluation with call expressions. (@danez
)We noticed that we can not make this optimizations if there are function calls or member expressions on the right hand side of the assignment since the function call or the member expression (which might be a getter with side-effect) could potentially change the variables we are assigning to.
babel-types
#4587
(https://github.com/babel/babel/pull/4587
) Prevent flow-strip-types/flow-comments from removing entire ClassProperty. (@danharper
):nail_care: Polish
babel-code-frame
#4579
(https://github.com/babel/babel/pull/4579
) babel-code-frame: Highlight strings with green (not red). (@lydell
)#4572
(https://github.com/babel/babel/pull/4572
) Improve syntax highlighting colors. (@lydell
)Before
After
babel-core
#4517
(https://github.com/babel/babel/pull/4517
) If loading a preset fails, show its name/path (#4506
). (@motiz88
)babel-helper-replace-supers
#4520
(https://github.com/babel/babel/pull/4520
) Remove unusedthisReference
argument togetSuperProperty
. (@eventualbuddha
)babel-generator
#4478
(https://github.com/babel/babel/pull/4478
) babel-generator: Ensure ASCII-safe output for string literals. (@mathiasbynens
)babel-core
,babel-plugin-transform-es2015-arrow-functions
,babel-plugin-transform-es2015-destructuring
,babel-plugin-transform-es2015-modules-commonjs
,babel-plugin-transform-es2015-parameters
#4515
(https://github.com/babel/babel/pull/4515
) Flip default parameter template. (@jridgewell
)babel-core
,babel-helpers
#3653
(https://github.com/babel/babel/pull/3653
) Removed unnecessary 'return' statements. (@ksjun
):house: Internal
Cleanup tests, remove various unused dependencies, do not run CI with only readme changes.
babel-plugin-transform-es2015-modules-amd
,babel-plugin-transform-es2015-modules-commonjs
,babel-plugin-transform-es2015-modules-umd
#4543
(https://github.com/babel/babel/pull/4543
) Remove duplicate default error. (@kaicataldo
)babel-generator
,babel-plugin-transform-es2015-modules-amd
,babel-plugin-transform-es2015-modules-commonjs
,babel-plugin-transform-es2015-modules-systemjs
,babel-plugin-transform-es2015-modules-umd
,babel-plugin-transform-flow-strip-types
#4538
(https://github.com/babel/babel/pull/4538
) Fix tests with duplicate named exports. (@kaicataldo
)babel-plugin-transform-es2015-function-name
#4532
(https://github.com/babel/babel/pull/4532
) Add tests for other module formats, from#4524
. (@danharper
)babel-plugin-transform-es2015-parameters
,babel-traverse
#4519
(https://github.com/babel/babel/pull/4519
) Replace phabricator tickets with github ones in code comments. (@danez
)babel-polyfill
#3694
(https://github.com/babel/babel/pull/3694
) Use plain js to do the pre/postpublish for the polyfill. (@danez
)babel-preset-es2015
#4501
(https://github.com/babel/babel/pull/4501
) Remove ES2015 tests than do not parse in ES2016. (@TimothyGu
)babel-plugin-transform-regenerator
#3703
(https://github.com/babel/babel/pull/3703
) Remove unused regenerator deps. (@hzoo
)babel-code-frame
#3699
(https://github.com/babel/babel/pull/3699
) babel-code-frame: babel-runtime not necessary. (@hzoo
)#3696
(https://github.com/babel/babel/pull/3696
) Satisfy the "space-infix-ops" eslint rule. (@gigabo
)babel-helper-transform-fixture-test-runner
#4560
(https://github.com/babel/babel/pull/4560
) Remove unused dependency babel-register. (@danez
)#3669
(https://github.com/babel/babel/pull/3669
) Do not include babel-register in test helper. (@danez
)#3693
(https://github.com/babel/babel/pull/3693
) remove unused packages (devDeps). (@hzoo
)#3681
(https://github.com/babel/babel/pull/3681
) Update shelljs to version 0.7.4 🚀. (@greenkeeperio-bot
)#4547
(https://github.com/babel/babel/pull/4547
) Internal: cancel build with only .md changes. (@hzoo
)#4565
(https://github.com/babel/babel/pull/4565
) Only exit if the TRAVIS_COMMIT_RANGE is not empty. (@danez
)Commiters: 20
First PRs!
Version 6.14.0
v6.14.0 (2016-08-23) TAKE ME TO FLAVOR TOWN
Lots of stuff in this release!
#3624
(https://github.com/babel/babel/pull/3624
) A new preset fores2017
: it includes the 2 previous stage-3 plugins: async/await (via transform-async-to-generator) and trailing commas in functions. (thanks to@bettiolo
for the npm package)#3625
](https://github.com/babel/babel/pull/3625
), [#3673
(https://github.com/babel/babel/pull/3673
) A new preset calledlatest
that transforms ES2015+ (currently ES2015, ES2016, ES2017). You can also pass options down to thees2015
preset.#3671
(https://github.com/babel/babel/pull/3671
) We also are including aspec
option for thees2015
preset since the arrow function/template string plugins support this option.#3659
(https://github.com/babel/babel/pull/3659
)@kittens
added an optionalwrapPluginVisitorMethod
callback to transform to allow for performance tracking/introspection of plugins. More docs will be added on the website soon.#3658
(https://github.com/babel/babel/pull/3658
) sourcemaps will also now have anames
field for identifiers to allow debuggers to do re-aliasing of mangled identifiers.#3518
(https://github.com/babel/babel/pull/3518
) For spec compilancy, we now will throw on a file with multiple export default.Notable Bug Fixes
#3527
(https://github.com/babel/babel/pull/3527
) Fix class inheritance in IE <=10 withoutloose
mode.#3644
(https://github.com/babel/babel/pull/3644
) Support theignore
config option in.babelrc
.#3655
(https://github.com/babel/babel/pull/3655
) Flow-only class props were not be stripped withouttransform-class-properties
.Guy Fieri
babel-core
#3641
(https://github.com/babel/babel/pull/3641
) Fix exports of babel-core. (@thejameskyle
)#3646
(https://github.com/babel/babel/pull/3646
) Remove Guy Fieri from Babel's source code. (@jdan
)Commiters: 17
It's also a lot folk's first PR (or first code PR)!
New Feature
babel-preset-es2015
#3671
(https://github.com/babel/babel/pull/3671
) Support 'spec' option onbabel-preset-es2015
. (@Kovensky
)babel-preset-latest
#3673
(https://github.com/babel/babel/pull/3673
) add options tobabel-preset-latest
. (@hzoo
)#3625
(https://github.com/babel/babel/pull/3625
) Createbabel-preset-latest
. (@sotayamashita
)babel-preset-es2017
#3624
(https://github.com/babel/babel/pull/3624
) Add es2017-preset. (@sotayamashita
)babel-core
,babel-traverse
#3659
(https://github.com/babel/babel/pull/3659
) AddwrapPluginVisitorMethod
option to allow introspection and metrics tracking of plugins. (@kittens
)babel-cli
,babel-core
,babel-generator
,babel-plugin-transform-regenerator
,babel-template
,babel-traverse
#3658
(https://github.com/babel/babel/pull/3658
) Generate names field for identifiers to get correct names mappings. (@kittens
)babel-generator
,babel-types
#3570
(https://github.com/babel/babel/pull/3570
) Add support for the new declare module.exports of flow. (@danez
)Spec Compliancy
babel-plugin-transform-es2015-modules-amd
,babel-plugin-transform-es2015-modules-commonjs
,babel-plugin-transform-es2015-modules-umd
#3518
(https://github.com/babel/babel/pull/3518
) Throw error for multiple exports default. (@kaicataldo
)Bug Fix
babel-core
,babel-helper-replace-supers
,babel-plugin-transform-class-properties
,babel-plugin-transform-es2015-classes
,babel-plugin-transform-es2015-function-name
,babel-plugin-transform-es2015-object-super
,babel-plugin-transform-es2015-parameters
#3527
(https://github.com/babel/babel/pull/3527
) Fix class inheritance in IE <=10 (T3041). (@danez
)babel-cli
#3644
](https://github.com/babel/babel/pull/3644
) Fixes [#6726
(https://github.com/babel/babel/issues/6726
) ignore config option. (@subtleGradient
)babel-plugin-transform-es2015-modules-systemjs
#3650
(https://github.com/babel/babel/pull/3650
) System.register update expression consistency. (@guybedford
)babel-generator
#3663
(https://github.com/babel/babel/pull/3663
) Use arrow syntax for ObjectTypeProperty FunctionTypeAnnotations. (@zpao
)babel-register
#3608
(https://github.com/babel/babel/pull/3608
) Set sourceRoot in babel-register transform to fix paths in stacks. (@danez
)babel-plugin-transform-es2015-block-scoping
#3618
(https://github.com/babel/babel/pull/3618
) incorrect handling of returns nested in switch cases. (@ahl
)babel-traverse
#3559
(https://github.com/babel/babel/pull/3559
) Fix bug where redeclaration of var doesn't deopt. (@boopathi
)babel-plugin-transform-flow-strip-types
#3655
(https://github.com/babel/babel/pull/3655
) Strip flow-only class props without needing transform-class-properties.. (@loganfsmyth
)Documentation
#3651
(https://github.com/babel/babel/pull/3651
) Fixed typo in README.md. (@marcelometal
)Internal
babel-preset-es2015
,babel-preset-latest
#3674
(https://github.com/babel/babel/pull/3674
) Latest tests. (@hzoo
)babel-preset-es2015
#3672
(https://github.com/babel/babel/pull/3672
) Fixes modules test to actually test modules. (@Kovensky
)#3640
(https://github.com/babel/babel/pull/3640
) Update test name to reflect reality.. (@eventualbuddha
)#3668
(https://github.com/babel/babel/pull/3668
) Ensure correct version of babel installed for preset options. (@danez
)#3645
(https://github.com/babel/babel/pull/3645
) Add es2015 loose mode back. (@hzoo
)#3639
(https://github.com/babel/babel/pull/3639
) Use es2015 loose mode after publish. (@hzoo
)Version 6.11.4
v6.11.4 (2016-07-20)
In this release (among other things) are some more optimizations for babel-generator (
#3584
](https://github.com/babel/babel/pull/3584
), [#3580
(https://github.com/babel/babel/pull/3580
)) as well as refactors.@jamestalmage
did some awesome clean for OptionsManager and some tests which may help future improvements tobabel-register
performance.Bug Fix
babel-plugin-transform-remove-console
,babel-plugin-transform-remove-debugger
,babel-traverse
#3583
(https://github.com/babel/babel/pull/3583
) Add block if parent is non-block statement for remove-console/debugger. (@jhen0409
)babel-plugin-transform-regenerator
#3586
](https://github.com/babel/babel/pull/3586
) Avoid duplicated identifier sharing location - Fixes [#7436
(https://github.com/babel/babel/issues/7436
). (@loganfsmyth
)babel-cli
#3578
(https://github.com/babel/babel/pull/3578
) Support all variations of v8Flags in babel-node. (@danez
)Polish
babel-core
#3564
(https://github.com/babel/babel/pull/3564
) Extract config file resolution from OptionsManager . (@jamestalmage
)babel-generator
,babel-plugin-transform-es2015-modules-commonjs
#3584
(https://github.com/babel/babel/pull/3584
) babel-generator: More refactoring and optimizations. (@loganfsmyth
)babel-plugin-transform-es2015-parameters
#3574
(https://github.com/babel/babel/pull/3574
) Default parameters cleanup. (@jridgewell
)babel-generator
#3581
(https://github.com/babel/babel/pull/3581
) babel-generator: Misc cleanup and stale code removal. (@loganfsmyth
)#3580
(https://github.com/babel/babel/pull/3580
) Further optimize babel-generator Buffer. (@jridgewell
)Commiters: 6