Skip to content

Latest commit

 

History

History
152 lines (86 loc) · 6.41 KB

CHANGELOG.md

File metadata and controls

152 lines (86 loc) · 6.41 KB

Master

Breaking Changes

  • The bundled @wordpress/dependency-extraction-webpack-plugin dependency has been updated to the next major version ^2.0.0. start and build scripts save now the generated asset file for each entry point in the new PHP output format.

4.1.0 (2019-09-03)

New Features

  • Add the new env family of scripts (#17004).

Bug Fixes

  • Add wordpress folder to the list of ignored paths in all applicable config files (#17296).

4.0.0 (2019-08-29)

Breaking Changes

  • Test files matching has changed to fix the overlap between two types of tests implemented with test-e2e and test-unit. Refer to the documentation of the corresponding scripts to learn about new file discovery rules.

New Features

  • The bundled puppeteer dependency has been updated from requiring 1.6.1 to requiring ^1.19.0 (#16875). It uses Chromium v77 instead of Chromium v69.
  • The bundled jest-puppeteer dependency has been updated from requiring ^4.0.0 to requiring ^4.3.0 (#16875).
  • The bundled eslint dependency has been updated from requiring ^5.16.0 to requiring ^6.1.0.
  • The bundled @wordpress/eslint-plugin dependency has been updated to the next major version ^3.0.0 due to new ESLint rules enabled for all test files.

Bug Fix

  • Use the SCSS shared stylelint-config-wordpress config so that both CSS and SCSS rules are used (#17060)

3.4.0 (2019-08-05)

New Features

  • The build and start commands supports simplified syntax for multiple entry points: wp-scripts build entry-one.js entry-two.js (15982).

Bug Fix

3.3.0 (2019-06-12)

New Features

  • The lint-js command lints now JS files in the entire project's directories by default (15890).
  • The lint-pkg-json command lints now package.json files in the entire project's directories by default (15890).
  • The lint-style command lints now CSS and SCSS files in the entire project's directories by default (15890).
  • The lint-js, lint-pkg-json and lint-style commands ignore now files located in build and node_modules folders by default (15977).

3.2.0 (2019-05-21)

New Features

  • Leverage @wordpress/dependency-extraction-webpack-plugin plugin to extract WordPress dependencies.
  • The bundled eslint dependency has been updated from requiring ^5.12.1 to requiring ^5.16.0.

Enhancements

  • The default Webpack configuration uses thread-loader to parallelize Babel processing.
  • The default Webpack configuration now opts-in to the cacheDirectory option for its Babel loader.
  • The source-map-loader is excluded from production builds. This serves only as an optimization and should otherwise have no impact on build results.

3.1.0 (2019-03-20)

New features

  • The build and start commands will use a default webpack config if none is provided.

3.0.0 (2019-03-06)

Breaking Changes

  • The bundled eslint dependency has been updated from requiring ^4.19.1 to requiring ^5.12.1 (see Migration Guide).
  • The bundled jest dependency has been updated from requiring ^23.6.0 to requiring ^24.1.0 (see Breaking Changes, #13922).
  • The bundled jest-puppeteer dependency has been updated from requiring 3.2.1 to requiring ^4.0.0 (#13922).

New Features

  • Added support for build script (#12837)
  • Added support for start script (#12837)
  • Updated npm-package-json-lint dependency #14200

Bug Fix

  • Avoid inheriting from ESLint configurations in ancestor directories when using the default configuration (#13483)

2.5.0 (2019-01-09)

New Features

  • Added support for check-engines script (#12721)
  • Added support for lint-style script (#12722)
  • Added support for test-e2e script (#12437)
  • Update default config provided for lint-js script (#12845)

2.4.4 (2018-11-20)

2.4.3 (2018-11-09)

2.4.2 (2018-11-09)

2.4.1 (2018-11-03)

2.4.0 (2018-10-16)

New Feature

  • Added support for lint-js script (#10504)

2.3.0 (2018-09-30)

Improvements

  • New flag --ignore for check-licenses script
  • Try deferring to LICENSE file for license fields which include filename
  • Add "BSD-3-Clause-W3C" as GPL-compatible

2.2.1 (2018-09-05)

Bug Fix

  • Resolves an issue where npm package lint script did not work in Windows environments (#9321

Polish

  • Updated dependencies: jest, npm-package-json-lint and read-pkg-up

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.2.0 (2018-05-29)

New Feature

  • Added support for lint-pkg-json script (#128)

1.1.5 (2018-05-18)

Polish

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