- The bundled
@babel/coredependency has been updated from requiring^7.13.19to requiring^7.16.0(#36244). - The bundled
@babel/plugin-transform-react-jsxdependency has been updated from requiring^7.12.7to requiring^7.16.0(#36244). - The bundled
@babel/plugin-transform-runtimedependency has been updated from requiring^7.13.10to requiring^7.16.0(#36244). - The bundled
@babel/preset-envdependency has been updated from requiring^7.13.10to requiring^7.16.0(#36244). - The bundled
@babel/preset-typescriptdependency has been updated from requiring^7.13.10to requiring^7.16.0(#36244). - The bundled
@babel/runtimedependency has been updated from requiring^7.13.10to requiring^7.16.0(#36244). - The bundled
browserslistdependency has been updated from requiring^4.16.6to requiring^4.17.6(#36244). - The bundled
core-jsdependency has been updated from requiring^3.12.1to requiring^3.19.1(#36244).
- New
build/polyfill.js(minified version –build/polyfill.min.js) file is available that polyfills ECMAScript features missing in the browsers supported by the WordPress project. It's a drop-in replacement for the deprecated@babel/polyfillpackage (#31279).
- Configure
@babel/preset-envpreset to respect a local Browserslist configuration.
- Drop support for Internet Explorer 11 (#31110). Learn more at https://make.wordpress.org/core/2021/04/22/ie-11-support-phase-out-plan/.
- Increase the minimum Node.js version to v12 matching Long Term Support releases (#31270). Learn more at https://nodejs.org/en/about/releases/.
- The bundled
@babel/coredependency has been updated from requiring^7.12.9to requiring^7.13.10(#30018). - The bundled
@babel/plugin-transform-runtimedependency has been updated from requiring^7.12.1to requiring^7.13.10(#30018). - The bundled
@babel/preset-envdependency has been updated from requiring^7.12.7to requiring^7.13.10(#30018). - The bundled
@babel/preset-typescriptdependency has been updated from requiring^7.12.7to requiring^7.13.10(#30018). - The bundled
@babel/runtimedependency has been updated from requiring^7.12.5to requiring^7.13.10(#30018).
- Added
@babel/preset-typescriptso that the preset can by default transpile TypeScript files, too.
- Increase the minimum Node.js version to 12 (#27934).
- The bundled
@babel/coredependency has been updated from requiring^7.11.6to requiring^7.12.9. All other Babel plugins were updated to the latest version (see Highlights).
- Revert enabling the
shippedProposalsflag. That flag enables the use of stage-3 proposals, but the goal of this preset is to only support stage-4 features. #22083
- The bundled
@babel/coredependency has been updated from requiring^7.9.0to requiring^7.11.6. All other Babel plugins were updated to the latest version (see Highlights: 7.11 and 7.10).
- The bundled
@babel/coredependency has been updated from requiring^7.8.3to requiring^7.9.0. All other Babel plugins were updated to the latest version (see Highlights).
- The bundled
@babel/coredependency has been updated from requiring^7.4.4to requiring^7.8.3. All other Babel plugins were updated to the latest version.@babel/preset-envhas now ESMAScript 2020 support enabled by default (see Highlights).
- Added missing
@wordpress/elementdependency which is used internally.
- Configure Babel to target your current version of Node as described in Jest docs.
- Added missing core-js dependency (#16259).
- Handle
<></>JSX Fragments with@wordpress/elementFragment(#15120). - The bundled
@babel/coredependency has been updated from requiring^7.2.2to requiring^7.4.4. Babel preset is now usingcore-js@3instead ofcore-js@2(see Migration Guide).
- Removed
babel-coredependency acting as Babel 7 bridge (#13922. Ensure all references tobabel-coreare replaced with@babel/core. - Preset updated to include
@wordpress/babel-plugin-import-jsx-pragmaplugin integration (#13540). It should no longer be explicitly included in your Babel config.
- The runtime transform no longer disables the
regeneratoroption. This should resolve issues where a file generated using the preset would assume the presence of aregeneratorRuntimeobject in the global scope. While this is not considered a breaking change, you may be mindful to consider that with transformed output now explicitly importing the runtime regenerator, bundle sizes may increase if you do not otherwise mitigate the additional import by either (a) overriding the option in your own Babel configuration extensions or (b) redefining the resolved value of@babel/runtime/regeneratorusing a feature like Webpack'sexternalsoption.
- The configured
@babel/preset-envpreset will no longer passuseBuiltIns: 'usage'as an option. It is therefore expected that a polyfill serve in its place, if necessary.
- Plugin updated to work with the stable version of Babel 7 (#9171).
- Updated code to work with Babel 7 (#7832)
- Moved
@WordPress/packagesrepository to@WordPress/gutenberg(#7805)
- Added support for async generator functions (#126)
- Fix: Standardized
package.jsonformat (#119)