Skip to content

Latest commit

 

History

History
154 lines (85 loc) · 8.33 KB

CHANGELOG.md

File metadata and controls

154 lines (85 loc) · 8.33 KB

Unreleased

Breaking Change

  • Increase the minimum Node.js version to 14 (#43141).

6.4.0 (2021-11-15)

Enhancements

  • The bundled @babel/core dependency has been updated from requiring ^7.13.19 to requiring ^7.16.0 (#36244).
  • The bundled @babel/plugin-transform-react-jsx dependency has been updated from requiring ^7.12.7 to requiring ^7.16.0 (#36244).
  • The bundled @babel/plugin-transform-runtime dependency has been updated from requiring ^7.13.10 to requiring ^7.16.0 (#36244).
  • The bundled @babel/preset-env dependency has been updated from requiring ^7.13.10 to requiring ^7.16.0 (#36244).
  • The bundled @babel/preset-typescript dependency has been updated from requiring ^7.13.10 to requiring ^7.16.0 (#36244).
  • The bundled @babel/runtime dependency has been updated from requiring ^7.13.10 to requiring ^7.16.0 (#36244).
  • The bundled browserslist dependency has been updated from requiring ^4.16.6 to requiring ^4.17.6 (#36244).
  • The bundled core-js dependency has been updated from requiring ^3.12.1 to requiring ^3.19.1 (#36244).

6.2.0 (2021-05-31)

New Feature

  • 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/polyfill package (#31279).

6.1.0 (2021-05-20)

Bug Fixes

  • Configure @babel/preset-env preset to respect a local Browserslist configuration.

6.0.0 (2021-05-14)

Breaking Changes

5.2.0 (2021-04-06)

Enhancements

  • The bundled @babel/core dependency has been updated from requiring ^7.12.9 to requiring ^7.13.10 (#30018).
  • The bundled @babel/plugin-transform-runtime dependency has been updated from requiring ^7.12.1 to requiring ^7.13.10 (#30018).
  • The bundled @babel/preset-env dependency has been updated from requiring ^7.12.7 to requiring ^7.13.10 (#30018).
  • The bundled @babel/preset-typescript dependency has been updated from requiring ^7.12.7 to requiring ^7.13.10 (#30018).
  • The bundled @babel/runtime dependency has been updated from requiring ^7.12.5 to requiring ^7.13.10 (#30018).

5.1.0 (2021-03-17)

New Features

  • Added @babel/preset-typescript so that the preset can by default transpile TypeScript files, too.

5.0.0 (2021-01-21)

Breaking Changes

  • Increase the minimum Node.js version to 12 (#27934).

4.20.0 (2020-12-17)

New Features

  • The bundled @babel/core dependency has been updated from requiring ^7.11.6 to requiring ^7.12.9. All other Babel plugins were updated to the latest version (see Highlights).

4.14.0 (2020-05-27)

Breaking Changes

  • Revert enabling the shippedProposals flag. That flag enables the use of stage-3 proposals, but the goal of this preset is to only support stage-4 features. #22083

New Features

  • The bundled @babel/core dependency has been updated from requiring ^7.9.0 to requiring ^7.11.6. All other Babel plugins were updated to the latest version (see Highlights: 7.11 and 7.10).

4.12.0 (2020-04-15)

New Features

  • The bundled @babel/core dependency has been updated from requiring ^7.8.3 to requiring ^7.9.0. All other Babel plugins were updated to the latest version (see Highlights).

4.10.0 (2020-02-04)

New Feature

  • The bundled @babel/core dependency has been updated from requiring ^7.4.4 to requiring ^7.8.3. All other Babel plugins were updated to the latest version. @babel/preset-env has now ESMAScript 2020 support enabled by default (see Highlights).

4.5.0 (2019-08-29)

Bug Fixes

  • Added missing @wordpress/element dependency which is used internally.

4.4.0 (2019-08-05)

Bug Fixes

  • Configure Babel to target your current version of Node as described in Jest docs.
  • Added missing core-js dependency (#16259).

4.2.0 (2019-05-21)

New Features

  • Handle <></> JSX Fragments with @wordpress/element Fragment (#15120).
  • The bundled @babel/core dependency has been updated from requiring ^7.2.2 to requiring ^7.4.4. Babel preset is now using core-js@3 instead of core-js@2 (see Migration Guide).

4.0.0 (2019-03-06)

Breaking Changes

  • Removed babel-core dependency acting as Babel 7 bridge (#13922. Ensure all references to babel-core are replaced with @babel/core .
  • Preset updated to include @wordpress/babel-plugin-import-jsx-pragma plugin integration (#13540). It should no longer be explicitly included in your Babel config.

Bug Fix

  • The runtime transform no longer disables the regenerator option. This should resolve issues where a file generated using the preset would assume the presence of a regeneratorRuntime object 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/regenerator using a feature like Webpack's externals option.

3.0.0 (2018-09-30)

Breaking Change

  • The configured @babel/preset-env preset will no longer pass useBuiltIns: 'usage' as an option. It is therefore expected that a polyfill serve in its place, if necessary.

2.1.0 (2018-09-05)

New Feature

  • Plugin updated to work with the stable version of Babel 7 (#9171).

2.0.0 (2018-07-12)

Breaking Change

  • Updated code to work with Babel 7 (#7832)

Internal

  • Moved @WordPress/packages repository to @WordPress/gutenberg (#7805)

1.3.0 (2018-05-22)

New Feature

  • Added support for async generator functions (#126)

1.2.1 (2018-05-18)

Polish

  • Fix: Standardized package.json format (#119)