update changelog
This commit is contained in:
parent
5749276d7e
commit
aa330999d0
58
CHANGELOG.md
58
CHANGELOG.md
@ -13,7 +13,7 @@ _Note: Gaps between patch versions are faulty, broken or test releases._
|
|||||||
|
|
||||||
See [CHANGELOG - 6to5](CHANGELOG-6to5.md) for the pre-4.0.0 version changelog.
|
See [CHANGELOG - 6to5](CHANGELOG-6to5.md) for the pre-4.0.0 version changelog.
|
||||||
|
|
||||||
## 6.26.0 (2017-08-15)
|
## 6.26.0 (2017-08-16)
|
||||||
|
|
||||||
> Backports for some folks (also other's when we accidently merged PRs from both 6.x/master)
|
> Backports for some folks (also other's when we accidently merged PRs from both 6.x/master)
|
||||||
> Lesson learned: just use `master` and backport on another branch.
|
> Lesson learned: just use `master` and backport on another branch.
|
||||||
@ -53,12 +53,13 @@ See [CHANGELOG - 6to5](CHANGELOG-6to5.md) for the pre-4.0.0 version changelog.
|
|||||||
* Other
|
* Other
|
||||||
* [#5938](https://github.com/babel/babel/pull/5938) Remove codecov node package and use bash uploader. ([@existentialism](https://github.com/existentialism))
|
* [#5938](https://github.com/babel/babel/pull/5938) Remove codecov node package and use bash uploader. ([@existentialism](https://github.com/existentialism))
|
||||||
|
|
||||||
#### Committers: 17
|
#### Committers: 19
|
||||||
- Artem Yavorsky ([yavorsky](https://github.com/yavorsky))
|
- Artem Yavorsky ([yavorsky](https://github.com/yavorsky))
|
||||||
- Brian Ng ([existentialism](https://github.com/existentialism))
|
- Brian Ng ([existentialism](https://github.com/existentialism))
|
||||||
- Danny Andrews ([danny-andrews](https://github.com/danny-andrews))
|
- Danny Andrews ([danny-andrews](https://github.com/danny-andrews))
|
||||||
- Henry Zhu ([hzoo](https://github.com/hzoo))
|
- Henry Zhu ([hzoo](https://github.com/hzoo))
|
||||||
- Jeffrey Wear ([wearhere](https://github.com/wearhere))
|
- Jeffrey Wear ([wearhere](https://github.com/wearhere))
|
||||||
|
- Jordan Brown ([jbrown215](https://github.com/jbrown215))
|
||||||
- Josh Johnston ([joshwnj](https://github.com/joshwnj))
|
- Josh Johnston ([joshwnj](https://github.com/joshwnj))
|
||||||
- Justin Ridgewell ([jridgewell](https://github.com/jridgewell))
|
- Justin Ridgewell ([jridgewell](https://github.com/jridgewell))
|
||||||
- Konstantin Pschera ([k15a](https://github.com/k15a))
|
- Konstantin Pschera ([k15a](https://github.com/k15a))
|
||||||
@ -66,10 +67,11 @@ See [CHANGELOG - 6to5](CHANGELOG-6to5.md) for the pre-4.0.0 version changelog.
|
|||||||
- Marcus Cavanaugh ([mcav](https://github.com/mcav))
|
- Marcus Cavanaugh ([mcav](https://github.com/mcav))
|
||||||
- Peeyush Kushwaha ([peey](https://github.com/peey))
|
- Peeyush Kushwaha ([peey](https://github.com/peey))
|
||||||
- Philipp Friedenberger ([MrSpider](https://github.com/MrSpider))
|
- Philipp Friedenberger ([MrSpider](https://github.com/MrSpider))
|
||||||
|
- Samuel Reed ([STRML](https://github.com/STRML))
|
||||||
- Shuaibird Hwang ([shuaibird](https://github.com/shuaibird))
|
- Shuaibird Hwang ([shuaibird](https://github.com/shuaibird))
|
||||||
- Suman ([ssuman](https://github.com/ssuman))
|
- Suman ([ssuman](https://github.com/ssuman))
|
||||||
- Sven SAULEAU ([xtuc](https://github.com/xtuc))
|
- Sven SAULEAU ([xtuc](https://github.com/xtuc))
|
||||||
- [jbrown215](https://github.com/jbrown215)
|
- jonathan schatz ([modosc](https://github.com/modosc))
|
||||||
- u9lyfish@gmail.com ([u9lyfish](https://github.com/u9lyfish))
|
- u9lyfish@gmail.com ([u9lyfish](https://github.com/u9lyfish))
|
||||||
|
|
||||||
## 6.25.0 (2017-06-08)
|
## 6.25.0 (2017-06-08)
|
||||||
@ -348,7 +350,7 @@ New/Expected Behavior
|
|||||||
|
|
||||||
```js
|
```js
|
||||||
const _ref = foo(); // should only be called once
|
const _ref = foo(); // should only be called once
|
||||||
const { x } = _ref;
|
const { x } = _ref;
|
||||||
const y = _objectWithoutProperties(_ref, ["x"]);
|
const y = _objectWithoutProperties(_ref, ["x"]);
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -364,7 +366,7 @@ function fn({a = 1, ...b} = {}) {
|
|||||||
return {a, b};
|
return {a, b};
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
* `babel-plugin-transform-es2015-destructuring`
|
* `babel-plugin-transform-es2015-destructuring`
|
||||||
* [#5093](https://github.com/babel/babel/pull/5093) Ensure array is always copied during destructure. ([@existentialism](https://github.com/existentialism))
|
* [#5093](https://github.com/babel/babel/pull/5093) Ensure array is always copied during destructure. ([@existentialism](https://github.com/existentialism))
|
||||||
|
|
||||||
@ -378,7 +380,7 @@ const arr = [1, 2, 3]
|
|||||||
assign(arr, 1, 42)
|
assign(arr, 1, 42)
|
||||||
console.log(arr) // [1, 2, 3]
|
console.log(arr) // [1, 2, 3]
|
||||||
```
|
```
|
||||||
|
|
||||||
* `babel-plugin-transform-es2015-function-name`
|
* `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](https://github.com/Kovensky))
|
* [#5008](https://github.com/babel/babel/pull/5008) Don't try to visit ArrowFunctionExpression, they cannot be named. ([@Kovensky](https://github.com/Kovensky))
|
||||||
|
|
||||||
@ -393,9 +395,9 @@ Output
|
|||||||
|
|
||||||
```js
|
```js
|
||||||
export const x = ({ x }) => x;
|
export const x = ({ x }) => x;
|
||||||
export const y = function y() {};
|
export const y = function y() {};
|
||||||
```
|
```
|
||||||
|
|
||||||
* `babel-types`
|
* `babel-types`
|
||||||
* [#5068](https://github.com/babel/babel/pull/5068) Fix getBindingIdentifiers in babel-types. ([@rtsao](https://github.com/rtsao))
|
* [#5068](https://github.com/babel/babel/pull/5068) Fix getBindingIdentifiers in babel-types. ([@rtsao](https://github.com/rtsao))
|
||||||
* `babel-cli`
|
* `babel-cli`
|
||||||
@ -545,7 +547,7 @@ Will still error with `Spread children are not supported.`
|
|||||||
```js
|
```js
|
||||||
<div>{...this.props.children}</div>;
|
<div>{...this.props.children}</div>;
|
||||||
```
|
```
|
||||||
|
|
||||||
* `babel-plugin-transform-es2015-block-scoping`, `babel-plugin-transform-react-constant-elements`, `babel-traverse`
|
* `babel-plugin-transform-es2015-block-scoping`, `babel-plugin-transform-react-constant-elements`, `babel-traverse`
|
||||||
* [#4940](https://github.com/babel/babel/pull/4940) Fix React constant element bugs. ([@appden](https://github.com/appden))
|
* [#4940](https://github.com/babel/babel/pull/4940) Fix React constant element bugs. ([@appden](https://github.com/appden))
|
||||||
|
|
||||||
@ -554,7 +556,7 @@ When multiple declarators are present in a declaration, we want to insert the co
|
|||||||
```js
|
```js
|
||||||
function render() {
|
function render() {
|
||||||
const bar = "bar", renderFoo = () => <foo bar={bar} baz={baz} />, baz = "baz";
|
const bar = "bar", renderFoo = () => <foo bar={bar} baz={baz} />, baz = "baz";
|
||||||
|
|
||||||
return renderFoo();
|
return renderFoo();
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
@ -565,12 +567,12 @@ When block scoped variables caused the block to be wrapped in a closure, the var
|
|||||||
function render(flag) {
|
function render(flag) {
|
||||||
if (flag) {
|
if (flag) {
|
||||||
let bar = "bar";
|
let bar = "bar";
|
||||||
|
|
||||||
[].map(() => bar);
|
[].map(() => bar);
|
||||||
|
|
||||||
return <foo bar={bar} />;
|
return <foo bar={bar} />;
|
||||||
}
|
}
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
@ -611,7 +613,7 @@ for (let a of b) {
|
|||||||
* [#4999](https://github.com/babel/babel/pull/4999) babel-helper-transform-fixture-test-runner: pass require as a global. ([@hzoo](https://github.com/hzoo))
|
* [#4999](https://github.com/babel/babel/pull/4999) babel-helper-transform-fixture-test-runner: pass require as a global. ([@hzoo](https://github.com/hzoo))
|
||||||
|
|
||||||
Allows running `require()` in exec.js tests like for [babel/babel-preset-env#95](https://github.com/babel/babel-preset-env/pull/95)
|
Allows running `require()` in exec.js tests like for [babel/babel-preset-env#95](https://github.com/babel/babel-preset-env/pull/95)
|
||||||
|
|
||||||
* Other
|
* Other
|
||||||
* [#5005](https://github.com/babel/babel/pull/5005) internal: don't run watch with the test env (skip building with code …. ([@hzoo](https://github.com/hzoo))
|
* [#5005](https://github.com/babel/babel/pull/5005) internal: don't run watch with the test env (skip building with code …. ([@hzoo](https://github.com/hzoo))
|
||||||
|
|
||||||
@ -733,8 +735,8 @@ try {
|
|||||||
return x;
|
return x;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
* `babel-helper-remap-async-to-generator`, `babel-plugin-transform-async-generator-functions`, `babel-plugin-transform-async-to-generator`
|
* `babel-helper-remap-async-to-generator`, `babel-plugin-transform-async-generator-functions`, `babel-plugin-transform-async-to-generator`
|
||||||
* [#4901](https://github.com/babel/babel/pull/4901) Only base async fn arity on non-default/non-rest params - Closes [#4891](https://github.com/babel/babel/issues/4891). ([@loganfsmyth](https://github.com/loganfsmyth))
|
* [#4901](https://github.com/babel/babel/pull/4901) Only base async fn arity on non-default/non-rest params - Closes [#4891](https://github.com/babel/babel/issues/4891). ([@loganfsmyth](https://github.com/loganfsmyth))
|
||||||
|
|
||||||
@ -745,7 +747,7 @@ console.log(foo.length) // 0
|
|||||||
const asyncFoo = async (...args) => { }
|
const asyncFoo = async (...args) => { }
|
||||||
console.log(asyncFoo.length) // 0
|
console.log(asyncFoo.length) // 0
|
||||||
```
|
```
|
||||||
|
|
||||||
* `babel-generator`, `babel-types`
|
* `babel-generator`, `babel-types`
|
||||||
* [#4945](https://github.com/babel/babel/pull/4945) Add `babel-generator` support for `Import`. ([@TheLarkInn](https://github.com/TheLarkInn))
|
* [#4945](https://github.com/babel/babel/pull/4945) Add `babel-generator` support for `Import`. ([@TheLarkInn](https://github.com/TheLarkInn))
|
||||||
|
|
||||||
@ -754,14 +756,14 @@ console.log(asyncFoo.length) // 0
|
|||||||
```js
|
```js
|
||||||
import("module.js");
|
import("module.js");
|
||||||
```
|
```
|
||||||
|
|
||||||
* `babel-plugin-transform-object-rest-spread`
|
* `babel-plugin-transform-object-rest-spread`
|
||||||
* [#4883](https://github.com/babel/babel/pull/4883) Fix for object-rest with parameters destructuring nested rest. ([@christophehurpeau](https://github.com/christophehurpeau))
|
* [#4883](https://github.com/babel/babel/pull/4883) Fix for object-rest with parameters destructuring nested rest. ([@christophehurpeau](https://github.com/christophehurpeau))
|
||||||
|
|
||||||
```js
|
```js
|
||||||
function a5({a3, b2: { ba1, ...ba2 }, ...c3}) {}
|
function a5({a3, b2: { ba1, ...ba2 }, ...c3}) {}
|
||||||
```
|
```
|
||||||
|
|
||||||
* `babel-traverse`
|
* `babel-traverse`
|
||||||
* [#4875](https://github.com/babel/babel/pull/4875) Fix `path.evaluate` for references before declarations. ([@boopathi](https://github.com/boopathi))
|
* [#4875](https://github.com/babel/babel/pull/4875) Fix `path.evaluate` for references before declarations. ([@boopathi](https://github.com/boopathi))
|
||||||
|
|
||||||
@ -1066,7 +1068,7 @@ function render(_ref) {
|
|||||||
- Scott Stern ([sstern6](https://github.com/sstern6))
|
- Scott Stern ([sstern6](https://github.com/sstern6))
|
||||||
- Shine Wang ([shinew](https://github.com/shinew))
|
- Shine Wang ([shinew](https://github.com/shinew))
|
||||||
- lion ([lion-man44](https://github.com/lion-man44))
|
- lion ([lion-man44](https://github.com/lion-man44))
|
||||||
|
|
||||||
## v6.18.2 (2016-11-01)
|
## v6.18.2 (2016-11-01)
|
||||||
|
|
||||||
Weird publishing issue with v6.18.1, same release.
|
Weird publishing issue with v6.18.1, same release.
|
||||||
@ -1751,7 +1753,7 @@ export default {
|
|||||||
#### :bug: Bug Fix
|
#### :bug: Bug Fix
|
||||||
* `babel-helpers`, `babel-plugin-transform-es2015-typeof-symbol`
|
* `babel-helpers`, `babel-plugin-transform-es2015-typeof-symbol`
|
||||||
* [#3686](https://github.com/babel/babel/pull/3686) Fix `typeof Symbol.prototype`. ([@brainlock](https://github.com/brainlock))
|
* [#3686](https://github.com/babel/babel/pull/3686) Fix `typeof Symbol.prototype`. ([@brainlock](https://github.com/brainlock))
|
||||||
|
|
||||||
```js
|
```js
|
||||||
// `typeof Symbol.prototype` should be 'object'
|
// `typeof Symbol.prototype` should be 'object'
|
||||||
typeof Symbol.prototype === 'object'
|
typeof Symbol.prototype === 'object'
|
||||||
@ -1760,7 +1762,7 @@ typeof Symbol.prototype === 'object'
|
|||||||
* `babel-cli`
|
* `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](https://github.com/loganfsmyth))
|
* [#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](https://github.com/loganfsmyth))
|
||||||
* [#4507](https://github.com/babel/babel/pull/4507) Only set options in cli if different from default. ([@danez](https://github.com/danez))
|
* [#4507](https://github.com/babel/babel/pull/4507) Only set options in cli if different from default. ([@danez](https://github.com/danez))
|
||||||
|
|
||||||
Fix an issue with defaults not being overidden. This was causing options like `comments: false` not to work correctly.
|
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](https://github.com/andykant))
|
* [#4508](https://github.com/babel/babel/pull/4508) Support custom ports for V8 --inspect. ([@andykant](https://github.com/andykant))
|
||||||
@ -1815,7 +1817,7 @@ We noticed that we can not make this optimizations if there are function calls o
|
|||||||
// was tranforming to
|
// was tranforming to
|
||||||
x = a();
|
x = a();
|
||||||
y = obj.x;
|
y = obj.x;
|
||||||
// now transforms to
|
// now transforms to
|
||||||
var _ref = [a(), obj.x];
|
var _ref = [a(), obj.x];
|
||||||
x = _ref[0];
|
x = _ref[0];
|
||||||
y = _ref[1];
|
y = _ref[1];
|
||||||
@ -1881,7 +1883,7 @@ Cleanup tests, remove various unused dependencies, do not run CI with only readm
|
|||||||
#### Commiters: 20
|
#### Commiters: 20
|
||||||
|
|
||||||
First PRs!
|
First PRs!
|
||||||
- Alberto Piai ([brainlock](https://github.com/brainlock))
|
- Alberto Piai ([brainlock](https://github.com/brainlock))
|
||||||
- Andy Kant ([andykant](https://github.com/andykant))
|
- Andy Kant ([andykant](https://github.com/andykant))
|
||||||
- Basil Hosmer ([bhosmer](https://github.com/bhosmer))
|
- Basil Hosmer ([bhosmer](https://github.com/bhosmer))
|
||||||
- Bo Borgerson ([gigabo](https://github.com/gigabo))
|
- Bo Borgerson ([gigabo](https://github.com/gigabo))
|
||||||
@ -1964,7 +1966,7 @@ npm install babel-preset-latest --save-dev
|
|||||||
{ "presets": [
|
{ "presets": [
|
||||||
["latest", {
|
["latest", {
|
||||||
"es2015": {
|
"es2015": {
|
||||||
"modules": false
|
"modules": false
|
||||||
}
|
}
|
||||||
}]
|
}]
|
||||||
] }
|
] }
|
||||||
@ -2202,7 +2204,7 @@ Can be `false` to not transform modules, or one of `["amd", "umd", "systemjs", "
|
|||||||
|
|
||||||
## v6.11.5 (2016-07-23)
|
## v6.11.5 (2016-07-23)
|
||||||
|
|
||||||
Thanks to Rob Eisenberg ([EisenbergEffect](https://github.com/EisenbergEffect)), Keyan Zhang ([keyanzhang](https://github.com/keyanzhang)), Rolf Timmermans ([rolftimmermans](https://github.com/rolftimmermans)), Thomas Grainger ([graingert](https://github.com/graingert)),
|
Thanks to Rob Eisenberg ([EisenbergEffect](https://github.com/EisenbergEffect)), Keyan Zhang ([keyanzhang](https://github.com/keyanzhang)), Rolf Timmermans ([rolftimmermans](https://github.com/rolftimmermans)), Thomas Grainger ([graingert](https://github.com/graingert)),
|
||||||
|
|
||||||
we have few fixes: fix `babel-register` file paths on error, infer class name for classes with class properties, fix `export *` to account for previously compiled modules.
|
we have few fixes: fix `babel-register` file paths on error, infer class name for classes with class properties, fix `export *` to account for previously compiled modules.
|
||||||
|
|
||||||
@ -2250,7 +2252,7 @@ In this release among other things are some more optimizations for babel-generat
|
|||||||
|
|
||||||
## v6.11.3 (2016-07-13)
|
## v6.11.3 (2016-07-13)
|
||||||
|
|
||||||
The main fix is @loganfsmyth's changes of some parts in babel-generator in [#3565](https://github.com/babel/babel/pull/3565) to fix issues with exponential code generation times in certain cases.
|
The main fix is @loganfsmyth's changes of some parts in babel-generator in [#3565](https://github.com/babel/babel/pull/3565) to fix issues with exponential code generation times in certain cases.
|
||||||
|
|
||||||
Items: the size of the array being generated
|
Items: the size of the array being generated
|
||||||
Time: The time in ms to generate the code
|
Time: The time in ms to generate the code
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user