From 3a2a2921a6515cc393c08111deeb9fe4117a8480 Mon Sep 17 00:00:00 2001 From: Ben Newman Date: Tue, 24 Mar 2020 12:26:42 -0400 Subject: [PATCH] Mention removal of default Flow support in History.md. --- History.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/History.md b/History.md index 180c5665984..4456ff0c120 100644 --- a/History.md +++ b/History.md @@ -1,5 +1,28 @@ ## v1.10.2, TBD +### Breaking changes + +* The `babel-compiler` package, used by both `ecmascript` and + `typescript`, no longer supports stripping [Flow](https://flow.org/) + type annotations by default, which may be a breaking change if your + application (or Meteor package) relied on Flow syntax. + +### Migration steps + +* If you still need Babel's Flow plugins, you can install them with npm + and then enable them with a custom `.babelrc` file in your application's + (or package's) root directory: + ```json + { + "plugins": [ + "@babel/plugin-syntax-flow", + "@babel/plugin-transform-flow-strip-types" + ] + } + ``` + +### Changes + * The `meteor-babel` npm package has been updated to version 7.9.0. * The `typescript` npm package has been updated to version 3.8.3.