From 3252761cce7635bcd12f5c22a8294851ba52b8c0 Mon Sep 17 00:00:00 2001 From: Amjad Masad Date: Thu, 10 Mar 2016 14:51:20 -0800 Subject: [PATCH] Update changelog with v6.7.2 --- CHANGELOG.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7b4600e1ac..cbe28019e8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,33 @@ _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. +## 6.7.2 (2016-03-10) + +Flow fix, mention babylon move + +#### Bug Fix +* `babel-traverse` + * [#3414](https://github.com/babel/babel/pull/3414): Warn on Flow-based bindings and don't count as a const violation. (@amasad) + +We are treating static type information as part of the runtime scope information. So a Flow type declaration was being considered a binding on the scope. This was specifically problematic when we thinking that we're overwriting a binding: + +The following code: +```js +declare class foo {} +const foo = 1; +``` + +Will result in the error: `"foo" is read-only` + +Since removing support for flow-based bindings would be a breaking change, in this release I'm adding a warning whenever someone tries to use Flow types as bindings. + +#### Internal +* `babel-code-frame`, `babel-generator`, `babel-messages`, `babel-plugin-undeclared-variables-check`, `babel-polyfill`, `babel-register`, `babel-traverse`, `babel-types` + * [#3410](https://github.com/babel/babel/pull/3410) add test to npmignores [ci skip]. ([@hzoo](https://github.com/hzoo)) +* `babylon` + * [#3413](https://github.com/babel/babel/pull/3413) move babylon to https://github.com/babel/babylon. ([@kittens](https://github.com/kittens)) + + ## 6.7.1 (2016-03-09) #### Bug Fix