Today we are releasing Babel 7.7.0!
This release includes new parser features like top-level await (await x()
, Stage 3) and Flow enum
declarations (Flow proposal). And now, @babel/parser
has the option of recovering from certain syntax errors!
We've also added support for TypeScript 3.7: Babel can parse and transform private class fields with type annotations, public class fields annotations defined using the declare
keyword, type assertion function signatures and template literals in enum
declarations.
Babel now understands three new configuration files: babel.config.json
, babel.config.cjs
and .babelrc.cjs
, which behave the same as babel.config.js
and .babelrc.js
files.
Lastly, Babel 7.7.0 uses 20% less memory than 7.6.0.
You can read the whole changelog on GitHub.