We just published Babel 7.21.0!
Babel now supports the Inline RegExp modifiers proposal, the latest version of the Decorators proposal, and the new TypeScript 5.0 syntax.
You can read the whole changelog on GitHub.
We just published Babel 7.21.0!
Babel now supports the Inline RegExp modifiers proposal, the latest version of the Decorators proposal, and the new TypeScript 5.0 syntax.
You can read the whole changelog on GitHub.
We just published Babel 7.20.0!
This release includes support for TypeScript 4.9, and parser support for the Import Reflection and Explicit Resource Management Stage 2 proposals. Additionally, you can now use Deno as one of your compilation targets.
In the past few releases we have made gradual improvements @babel/generator
's code location tracking, which lead to higher source map quality and better positioning of comments in the generated output.
We are also releasing version 9.0.0 of babel-loader
, the Babel loader for Webpack.
You can read the whole changelog on GitHub.
We just published Babel 7.19.0!
This release updates our implementation of the decorators proposal, which reached Stage 3 in March. It also includes support for the new duplicate named capturing groups proposal for regular expressions.
You can read the whole changelog on GitHub.
We just published Babel 7.18.0!
This release includes support for the private destructuring proposal and for TypeScript 4.7.
You can read the whole changelog on GitHub.
We just published Babel 7.17.0!
After years of iterations, rewrites and adjustments it looks like the decorators proposal has finally stabilized again on a new design! This release includes both parse and transform support for the new proposal.
We also implemented the RegExp v
flag proposal and added parsing support for destructuring private fields, both currently Stage 2. Lastly, a new experimental implementation of @babel/register
.
You can read the whole changelog on GitHub.
We just published Babel 7.16.0!
This release enables class static initialization blocks by default. It includes support for a new variant of the pipeline operator proposal, as well as TypeScript 4.5 compatibility.
Furthermore, @babel/eslint-parser
now supports ESLint 8.
You can read the whole changelog on GitHub.
This release enables parsing top-level await (Stage 4 at the May meeting) and transforming ergonomic brand checks for private fields (Stage 4 at the July meeting) by default. There is also now support for the Hack-style pipeline operator. We also improved our TypeScript support, implementing transform support for const
enums and namespace aliases, and we expanded our heuristics to add .displayName
to React components created by React.createContext()
(#13501).
We also introduced a new compiler assumption, noIncompleteNsImportDetection
, to produce a smaller output when compiling ECMAScript modules to CommonJS without worrying about partially initialized namespace imports caused by module cycles.
Additionally, you can now specify Rhino as a compilation target.
You can read the whole changelog on GitHub.
Since 2018, Babel has been doing a funding experiment: can full time work on Babel be sustained? We've learned the answer might be no.
Babel 7.14.0 is out!
This release enables class fields and private methods by default (they were promoted to Stage 4 during the recent April TC39 meeting!) and adds brand checks for private fields and static class blocks to @babel/preset-env
's shippedProposals
option.
We added support for Stage 1 async do expressions (using @babel/plugin-proposal-async-do-expressions
), which extends the Stage 1 do expression proposal.
Thanks to Sosuke Suzuki and Pig Fang, Babel can now handle TypeScript 4.3 features. @babel/parser
also has a new option to correctly parse TypeScript declaration files.
Finally, we introduced a new importInterop: node
option to make it easier to produce dual modules by compiling ECMAScript imports to CommonJS that follow Node.js semantics.
You can read the whole changelog on GitHub.
We just published Babel 7.13.0, the first minor release of 2021!
This release includes some important features to @babel/core
: a targets
option (similar to @babel/preset-env
's one) that can be shared across different plugins, an assumptions
option to precisely tune your configuration to produce a smaller compilation output, and support for plugins and presets written using native ECMAScript modules.
Babel now supports transforming the Records and Tuples ECMAScript proposal, which brings immutable data structures and structural equality to JavaScript, and parsing the Module Blocks proposal.
Additionally, we added support for some new Flow and TypeScript features.
You can read the full changelog on GitHub.