1 |
|
2 |
|
3 | ## Unreleased
|
4 |
|
5 | ### Bug Fix
|
6 |
|
7 | - Add `postcss` as a dependency to ensure that the correct version gets installed.
|
8 |
|
9 | ## 15.0.0 (2021-04-29)
|
10 |
|
11 | ### Breaking Changes
|
12 |
|
13 | - Rename `format-js` script to `format` ([#30240](https://github.com/WordPress/gutenberg/pull/30240)).
|
14 | - Include YAML files when formatting files with `format` ([#30240](https://github.com/WordPress/gutenberg/pull/30240)).
|
15 | - The bundled `css-loader` dependency has been updated from requiring `^3.5.2` to requiring `^5.1.3` ([#27821](https://github.com/WordPress/gutenberg/pull/27821)).
|
16 | - The bundled `mini-css-extract-plugin` dependency has been updated from requiring `^0.9.0` to requiring `^1.3.9` ([#27821](https://github.com/WordPress/gutenberg/pull/27821)).
|
17 | - The bundled `postcss-loader` dependency has been updated from requiring `^3.0.0` to requiring `^4.2.0` ([#27821](https://github.com/WordPress/gutenberg/pull/27821)).
|
18 | - The bundled `sass-loader` dependency has been updated from requiring `^8.0.2` to requiring `^10.1.1` ([#27821](https://github.com/WordPress/gutenberg/pull/27821)).
|
19 | - The bundled `thread-loader` dependency has been updated from requiring `^2.1.3` to requiring `^3.0.1` ([#27821](https://github.com/WordPress/gutenberg/pull/27821)).
|
20 | - The bundled `url-loader` dependency has been updated from requiring `^3.0.0` to requiring `^4.1.1` ([#27821](https://github.com/WordPress/gutenberg/pull/27821)).
|
21 |
|
22 | ### New Features
|
23 |
|
24 | - `build` and `start` command now bundle files ending with `.module.css` as CSS modules and extracts `style.module.css` ([#29182](https://github.com/WordPress/gutenberg/pull/29182)).
|
25 |
|
26 | ### Enhancements
|
27 |
|
28 | - The bundled `webpack` dependency has been updated from requiring `4.42.0` to requiring `^4.46.0` ([#27821](https://github.com/WordPress/gutenberg/pull/27821)).
|
29 |
|
30 | ## 14.1.0 (2021-04-06)
|
31 |
|
32 | ### Enhancements
|
33 |
|
34 | - The bundled `babel-loader` dependency has been updated from requiring `^8.1.0` to requiring `^8.2.2` ([#30018](https://github.com/WordPress/gutenberg/pull/30018)).
|
35 |
|
36 | ## 14.0.0 (2021-03-17)
|
37 |
|
38 | ### Breaking Changes
|
39 |
|
40 | - Lint TypeScript files as part of `lint-js`. [#27143](https://github.com/WordPress/gutenberg/pull/27143)
|
41 |
|
42 | ### New Features
|
43 |
|
44 | - Default `check-engines` command to the `engines` config in `package.json` file of the current project ([#29066](https://github.com/WordPress/gutenberg/pull/29066)).
|
45 |
|
46 | ### Enhancements
|
47 |
|
48 | - Make `check-licenses` command compatible with npm v7 ([#28909](https://github.com/WordPress/gutenberg/pull/28909)).
|
49 | - Add `Python 2.0` to non-GPL compatible OSS licenses allowed for development in `check-licenses` command ([#29968](https://github.com/WordPress/gutenberg/pull/28968)).
|
50 | - Updated `check-node-version` to version `^4.1.0` that no longer processes unrelated engines with `check-engines` command ([#29066](https://github.com/WordPress/gutenberg/pull/29066)).
|
51 | - Replace `jest-puppeteer` with the forked version of `jest-environment-puppeteer` to use `puppeteer-core` directly ([#29418](https://github.com/WordPress/gutenberg/pull/29418)).
|
52 |
|
53 | ## 13.0.0 (2021-01-21)
|
54 |
|
55 | ### Breaking Changes
|
56 |
|
57 | - Increase the minimum Node.js version to 12 ([#27934](https://github.com/WordPress/gutenberg/pull/27934)).
|
58 | - The bundled `jest` dependency has been updated to the next major version `^26.6.3` (see [Breaking Changes](https://jestjs.io/blog/2020/05/05/jest-26), [#27956](https://github.com/WordPress/gutenberg/pull/27956)).
|
59 | - The bundled `@wordpress/eslint-plugin` dependency has been updated to the next major version `^8.0.0`. There are new ESLint rules enabled in the recommended config used by `lint-js` command.
|
60 | - The bundled `stylelint-config-wordpress` dependency has been replaced with `@wordpress/stylelint-config` (#27810)[https://github.com/WordPress/gutenberg/pull/27810].
|
61 | - The bundled `puppeteer-core` (`3.0.0`) dependency has been upgraded to version `5.5.0`. Puppeteer uses Chromium v88 instead of Chromium v71. See the full list of breaking changes of [4.0.0](https://github.com/puppeteer/puppeteer/releases/tag/v4.0.0) and [5.0.0](https://github.com/puppeteer/puppeteer/releases/tag/v5.0.0).
|
62 |
|
63 | ### Enhancements
|
64 |
|
65 | - `wordpress` subfolder is no longer ignored when detecting files for testing, linting or formatting.
|
66 | - The bundled `eslint` dependency has been updated from requiring `^7.1.0` to requiring `^7.17.0` ([#27965](https://github.com/WordPress/gutenberg/pull/27965)).
|
67 | - Make it possible to transpile `.jsx` files with `build` and `start` commands ([#28002](https://github.com/WordPress/gutenberg/pull/28002)).
|
68 | - Add support for static assets (fonts and images) for `build` and `start` commands ([#28043](https://github.com/WordPress/gutenberg/pull/28043)).
|
69 |
|
70 | ### Bug Fix
|
71 |
|
72 | - Ensure that `check-engines` uses the same default version of Node.js and npm as this package ([#28143](https://github.com/WordPress/gutenberg/pull/28143)).
|
73 | - Prevent translation function names from being mangled to ensure stings are extracted ([#28231](https://github.com/WordPress/gutenberg/pull/28231)).
|
74 |
|
75 | ### Internal
|
76 |
|
77 | - The bundled `webpack-bundle-analyzer` dependency has been updated from requiring `^3.6.1` to requiring `^4.2.0`.
|
78 |
|
79 | ## 12.6.1 (2021-01-05)
|
80 |
|
81 | ### Bug Fix
|
82 |
|
83 | - Fix multiple build (`build` command) runtimes conflicting when using globals ([#27985](https://github.com/WordPress/gutenberg/pull/27985)).
|
84 |
|
85 | ## 12.6.0 (2020-12-17)
|
86 |
|
87 | ### Enhancements
|
88 |
|
89 | - Autoformat TypeScript files (`*.ts` and `*.tsx`) in `format-js` script (#27138)[https://github.com/WordPress/gutenberg/pull/27138].
|
90 | - The bundled `wp-prettier` dependency has been upgraded from `2.0.5` to `2.2.1`.
|
91 | - The bundled Babel dependency has been upgraded from `7.11` to `7.12`.
|
92 |
|
93 | ### Internal
|
94 |
|
95 | - The bundled `ignore-emit-webpack-plugin` dependency has been updated from requiring `2.0.3` to requiring `^2.0.6`.
|
96 |
|
97 | ## 12.5.0 (2020-10-30)
|
98 |
|
99 | ### Enhancements
|
100 |
|
101 | - Ignore `/vendor` folder when searching for files to lint or format.
|
102 |
|
103 | ### Bug Fixes
|
104 |
|
105 | - Temporary pin `ignore-emit-webpack-plugin` to the version `2.0.3` to fix a known issue with version `2.0.4` ([GitHub issue](https://github.com/mrbar42/ignore-emit-webpack-plugin/issues/17)).
|
106 |
|
107 | ## 12.1.0 (2020-07-07)
|
108 |
|
109 | ### Enhancements
|
110 |
|
111 | - Update webpack configuration to preserve translator comments in minified output.
|
112 |
|
113 | ### Bug Fixes
|
114 |
|
115 | - Allow the CSS, SVG, and Sass loaders to process files from node_modules directory.
|
116 | - Improve the way licenses are validated with `check-licenses` by falling back to license files verification when the entry in `package.json` doesn't contain an allowed match ([#23550](https://github.com/WordPress/gutenberg/pull/23550)).
|
117 | - Fix `build` script error when importing `style.css` files ([#23710](https://github.com/WordPress/gutenberg/pull/23710)).
|
118 | - Exclude `node_modules` from source map processing in `start` script ([#23711](https://github.com/WordPress/gutenberg/pull/23711)).
|
119 |
|
120 | ## 12.0.0-rc.0 (2020-06-24)
|
121 |
|
122 | ### Breaking Changes
|
123 |
|
124 | - The bundled `stylelint` dependency has been updated from requiring `^9.10.1` to requiring `^13.6.0`.
|
125 | - The bundled `stylelint-config-wordpress` dependency has been updated from requiring `^13.1.0` to requiring `^17.0.0`.
|
126 |
|
127 | ### Bug Fixes
|
128 |
|
129 | - During rebuilds, all webpack assets that are not used anymore will be removed automatically.
|
130 |
|
131 | ## 11.0.0 (2020-06-15)
|
132 |
|
133 | ### Breaking Changes
|
134 |
|
135 | - The `env` family of scripts has been removed. Finally, exceeded in functionality and replaced by [`wp-env`](https://www.npmjs.com/package/@wordpress/env).
|
136 | - The default Babel configuration has changed to only support stage-4 proposals. This affects the `build` and `start` commands that use the bundled Babel configuration; if a project provides its own, this change doesn't affect it ([#22083](https://github.com/WordPress/gutenberg/pull/22083)).
|
137 | - The bundled `wp-prettier` dependency has been upgraded from `1.19.1` to `2.0.5`. Refer to the [Prettier 2.0 "2020" blog post](https://prettier.io/blog/2020/03/21/2.0.0.html) for full details about the major changes included in Prettier 2.0.
|
138 | - The bundled `eslint` dependency has been updated from requiring `^6.8.0` to requiring `^7.1.0`.
|
139 |
|
140 | ### New Feature
|
141 |
|
142 | - The PostCSS loader now gives preference to a `postcss.config.js` configuration file if present.
|
143 |
|
144 | ### Bug Fixes
|
145 |
|
146 | - Update webpack configuration to not run the Sass loader on CSS files. It's now limited to .scss and .sass files.
|
147 | - Fix broken `style.(sc|sa|c)ss` handling in the `build` and `start` scripts ([#23127](https://github.com/WordPress/gutenberg/pull/23127)).
|
148 |
|
149 | ## 10.0.0 (2020-05-28)
|
150 |
|
151 | ### New Feature
|
152 |
|
153 | - New `--webpack-no-externals` flag added to `build` and `start` scripts. It disables scripts' assets generation, and omits the list of default externals ([#22310](https://github.com/WordPress/gutenberg/pull/22310)).
|
154 | - New `--webpack-bundle-analyzer` flag added to `build` and `start` scripts. It enables visualization for the size of webpack output files with an interactive zoomable treemap ([#22310](https://github.com/WordPress/gutenberg/pull/22310)).
|
155 | - New `--webpack--devtool` flag added to `start` script. It controls how source maps are generated. See options at https://webpack.js.org/configuration/devtool/#devtool ([#22310](https://github.com/WordPress/gutenberg/pull/22310)).
|
156 | - The `test-e2e` and `test-unit` scripts will now disambiguate custom configurations, preferring a `jest-e2e.config.js`, `jest-e2e.config.json`, `jest-unit.config.js`, or `jest-unit.config.json` Jest configuration file if present, falling back to `jest.config.js` or `jest.config.json`. This allows for configurations which should only apply to one or the other test variant.
|
157 |
|
158 | ## 9.1.0 (2020-05-14)
|
159 |
|
160 | ### New Features
|
161 |
|
162 | - Add new capability to `build` and `start` scripts that automates handling CSS, SASS or SCSS files by importing them from JavaScript code ([#21730](https://github.com/WordPress/gutenberg/pull/21730)). You can find more details about CSS assets management in webpack at https://webpack.js.org/guides/asset-management/#loading-css.
|
163 |
|
164 | ### Enhancements
|
165 |
|
166 | - Bundle analysis in `build` script now runs with module concatenation disabled. This represents the size of individual modules more accurately, at the cost of not providing an exact byte-for-byte match to the final size in the production chunk.
|
167 |
|
168 | ### Deprecations
|
169 |
|
170 | - `env` script was marked as deprecated. We recommend using `@wordpress/env` package instead that lets you easily set up a local WordPress environment for building and testing plugins and themes.
|
171 |
|
172 | ## 9.0.0 (2020-04-30)
|
173 |
|
174 | ### Breaking Changes
|
175 |
|
176 | - The bundled `puppeteer` (`^2.0.0`) dependency has been replaced with `puppeteer-core` in version `3.0.0`. Puppeteer uses Chromium v81 instead of Chromium v79. See the [full list of changes](https://github.com/puppeteer/puppeteer/releases/tag/v3.0.0). It also allowed preventing Chromium installation together with `@wordpress/scripts`. It happens now on-demand when running `test-e2e` script, and it re-triggers only when a new version is required.
|
177 |
|
178 | ### New Features
|
179 |
|
180 | - Add support for passing [node CLI options](https://nodejs.org/api/cli.html) to scripts ([#21631](https://github.com/WordPress/gutenberg/pull/21631)).
|
181 | - Add debugging support for `test-unit-js` script ([#21631](https://github.com/WordPress/gutenberg/pull/21631)). Tests can be debugged by any [inspector client](https://nodejs.org/en/docs/guides/debugging-getting-started/#inspector-clients) that supports the [Chrome DevTools Protocol](https://chromedevtools.github.io/devtools-protocol/) using the `--inspect-brk` option.
|
182 | - Add debugging support for `test-e2e` script ([#21861](https://github.com/WordPress/gutenberg/pull/21861)). Tests can be debugged by using the `--inspect-brk` option and a new `--puppeteer-devtools` option (or `PUPPETEER_DEVTOOLS="true"` environment variable).
|
183 |
|
184 | ### Bug fix
|
185 |
|
186 | - The bundled `npm-package-json-lint` dependency has been updated from requiring `^4.0.3` to requiring `^5.0.0` ([#21597](https://github.com/WordPress/gutenberg/pull/21597)). [Breaking changes](https://npmpackagejsonlint.org/docs/en/v4-to-v5) don't break anything in this package. It fixes the abrupt shutdown when `"description"` field in `package.json` is empty.
|
187 | - Update `check-licenses` script to parse JSON dependency tree recursively so sub-dependencies of packages passed in `--ignore` flag are ignored as well.
|
188 |
|
189 | ## 8.0.0 (2020-04-15)
|
190 |
|
191 | ### Breaking Changes
|
192 |
|
193 | - The bundled `jest` dependency has been updated from requiring `^24.9.0` to requiring `^25.3.0` (see [Breaking Changes](https://jestjs.io/blog/2020/01/21/jest-25), [#20766](https://github.com/WordPress/gutenberg/pull/20766)).
|
194 |
|
195 | ### Enhancements
|
196 |
|
197 | - The bundled `eslint` dependency has been updated from requiring `^6.1.0` to requiring `^6.8.0` ([#21424](https://github.com/WordPress/gutenberg/pull/21424)).
|
198 |
|
199 | ## 7.2.0 (2020-04-01)
|
200 |
|
201 | ### Enhancements
|
202 |
|
203 | - Incompatibility between `@svgr/webpack` in version `4.3.3` and `url-loader` in version `3.0.0` was fixed by bumping `@svgr/webpack` to `^5.2.0`.
|
204 | - All webpack dependencies got minor version update if applicable.
|
205 |
|
206 | ### Internal
|
207 |
|
208 | - Package depends now on the shared Prettier config exposed in `@wordpress/prettier-config` dependency ([#20026](https://github.com/WordPress/gutenberg/pull/20026)).
|
209 |
|
210 | ## 7.1.2 (2020-02-25)
|
211 |
|
212 | ### Bug Fixes
|
213 |
|
214 | - Ensure `packages-update` work when `dependencies` or `devDependencies` are missing in the `package.json` file ([#20408](https://github.com/WordPress/gutenberg/pull/20408)).
|
215 |
|
216 | ## 7.1.0 (2020-02-10)
|
217 |
|
218 | ### Bug Fixes
|
219 |
|
220 | - Ensure the default Prettier config is used in the `lint-js` script when no Prettier config is found in the project ([#20071](https://github.com/WordPress/gutenberg/pull/20071)).
|
221 |
|
222 | ## 7.0.0 (2020-02-04)
|
223 |
|
224 | ### Breaking Changes
|
225 |
|
226 | - This package requires now `node` v10.0.0 or later, and `npm` v6.9.0 or later ([#18048](https://github.com/WordPress/gutenberg/pull/18048)).
|
227 | - The minimum version required for `npm` in `check-engines` script was increased to `6.9.0+` ([#18048](https://github.com/WordPress/gutenberg/pull/18048)).
|
228 |
|
229 | ### New Features
|
230 |
|
231 | - Add SVGR support to compile SVG files to React components using the `@svgr/webpack` plugin ([#18243](https://github.com/WordPress/gutenberg/pull/18243)).
|
232 | - Add `format-js` script to format JavaScript source code, it uses the [`wp-prettier`](https://github.com/Automattic/wp-prettier) – Prettier fork adjusted to WordPress coding style guidelines ([#18048](https://github.com/WordPress/gutenberg/pull/18048)).
|
233 | - Add `lint-md-js` script to lint JavaScript source code in markdown files, uses the `eslint-plugin-markdown` plugin ([#19518](https://github.com/WordPress/gutenberg/pull/19518)).
|
234 | - Add `lint-md-docs` script to lint the markup of markdown files, uses the `markdownlint` module ([#19855](https://github.com/WordPress/gutenberg/pull/19855)).
|
235 | - Add `packages-update` script to update WordPress packages to the latest version automatically ([#19448](https://github.com/WordPress/gutenberg/pull/19448)).
|
236 |
|
237 | ### Bug Fixes
|
238 |
|
239 | - Fixes and updates valid _rc_ configuration filenames for Babel, ESLint, markdownlint, npmpackagejsonlint, stylelint, and Prettier ([#19994](https://github.com/WordPress/gutenberg/pull/19994)).
|
240 |
|
241 | ## 6.1.1 (2020-01-01)
|
242 |
|
243 | ### Bug Fixes
|
244 |
|
245 | - Update `jest-preset-default` dependency to fix preset file extension for inclusion in NPM deployments ([#19306](https://github.com/WordPress/gutenberg/pull/19306)).
|
246 |
|
247 | ## 6.1.0 (2019-12-20)
|
248 |
|
249 | ### New Features
|
250 |
|
251 | - Added support to collapse or omit successful test results from Travis CI builds ([#16744](https://github.com/WordPress/gutenberg/issues/16744))
|
252 |
|
253 | ## 6.0.0 (2019-11-14)
|
254 |
|
255 | ### Breaking Changes
|
256 |
|
257 | - The bundled `npm-package-json-lint` dependency has been updated from requiring `^3.6.0` to requiring `^4.0.3` ([#18054](https://github.com/WordPress/gutenberg/pull/18054)). Please see the [migration guide](https://npmpackagejsonlint.org/docs/en/v3-to-v4). Note: `npmPackageJsonLintConfig` prop in the `package.json` file needs to be renamed to `npmpackagejsonlint`.
|
258 | - The bundled `puppeteer` dependency has been updated from requiring `^1.19.0` to requiring `^2.0.0` ([#18205](https://github.com/WordPress/gutenberg/pull/18205)). It uses Chromium v79 instead of Chromium v77. See the [full list of changes](https://github.com/GoogleChrome/puppeteer/releases/tag/v2.0.0).
|
259 |
|
260 | ## 5.1.0
|
261 |
|
262 | ### New Features
|
263 |
|
264 | - The bundled `webpack` dependency has been updated from requiring `4.8.3` to requiring `^4.41.0` ([#17746](https://github.com/WordPress/gutenberg/pull/17746)).
|
265 |
|
266 | ### Bug Fixes
|
267 |
|
268 | - Added a temporary workaround for the default config used with `lint-js` command. It uses linting rules for both e2e and unit tests with all files until override files globbing logic is fixed when using `eslint` with `--config` (related [issue](https://github.com/eslint/eslint/issues/11558)).
|
269 |
|
270 | ## 5.0.0 (2019-09-16)
|
271 |
|
272 | ### Breaking Changes
|
273 |
|
274 | - 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.
|
275 |
|
276 | ## 4.1.0 (2019-09-03)
|
277 |
|
278 | ### New Features
|
279 |
|
280 | - Add the new `env` family of scripts [(#17004](https://github.com/WordPress/gutenberg/pull/17004/)).
|
281 |
|
282 | ### Bug Fixes
|
283 |
|
284 | - Add `wordpress` folder to the list of ignored paths in all applicable config files ([#17296](https://github.com/WordPress/gutenberg/pull/17296)).
|
285 |
|
286 | ## 4.0.0 (2019-08-29)
|
287 |
|
288 | ### Breaking Changes
|
289 |
|
290 | - 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.
|
291 |
|
292 | ### New Features
|
293 |
|
294 | - The bundled `puppeteer` dependency has been updated from requiring `1.6.1` to requiring `^1.19.0` ([#16875](https://github.com/WordPress/gutenberg/pull/16875)). It uses Chromium v77 instead of Chromium v69.
|
295 | - The bundled `jest-puppeteer` dependency has been updated from requiring `^4.0.0` to requiring `^4.3.0` ([#16875](https://github.com/WordPress/gutenberg/pull/16875)).
|
296 | - The bundled `eslint` dependency has been updated from requiring `^5.16.0` to requiring `^6.1.0`.
|
297 | - 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.
|
298 |
|
299 | ### Bug Fix
|
300 |
|
301 | - Use the SCSS shared `stylelint-config-wordpress` config so that both CSS and SCSS rules are used ([#17060](https://github.com/WordPress/gutenberg/pull/17060))
|
302 |
|
303 | ## 3.4.0 (2019-08-05)
|
304 |
|
305 | ### New Features
|
306 |
|
307 | - The `build` and `start` commands supports simplified syntax for multiple entry points: `wp-scripts build entry-one.js entry-two.js` ([15982](https://github.com/WordPress/gutenberg/pull/15982)).
|
308 |
|
309 | ### Bug Fix
|
310 |
|
311 | - Added missing [babel-jest](https://www.npmjs.com/package/babel-jest) dependency ([#16259](https://github.com/WordPress/gutenberg/pull/16259)).
|
312 |
|
313 | ## 3.3.0 (2019-06-12)
|
314 |
|
315 | ### New Features
|
316 |
|
317 | - The `lint-js` command lints now JS files in the entire project's directories by default ([15890](https://github.com/WordPress/gutenberg/pull/15890)).
|
318 | - The `lint-pkg-json` command lints now `package.json` files in the entire project's directories by default ([15890](https://github.com/WordPress/gutenberg/pull/15890)).
|
319 | - The `lint-style` command lints now CSS and SCSS files in the entire project's directories by default ([15890](https://github.com/WordPress/gutenberg/pull/15890)).
|
320 | - The `lint-js`, `lint-pkg-json` and `lint-style` commands ignore now files located in `build` and `node_modules` folders by default ([15977](https://github.com/WordPress/gutenberg/pull/15977)).
|
321 |
|
322 | ## 3.2.0 (2019-05-21)
|
323 |
|
324 | ### New Features
|
325 |
|
326 | - Leverage `@wordpress/dependency-extraction-webpack-plugin` plugin to extract WordPress
|
327 | dependencies.
|
328 | - The bundled `eslint` dependency has been updated from requiring `^5.12.1` to requiring `^5.16.0`.
|
329 |
|
330 | ### Enhancements
|
331 |
|
332 | - The default Webpack configuration uses [`thread-loader`](https://github.com/webpack-contrib/thread-loader) to parallelize Babel processing.
|
333 | - The default Webpack configuration now opts-in to [the `cacheDirectory` option](https://webpack.js.org/loaders/babel-loader/#options) for its Babel loader.
|
334 | - The `source-map-loader` is excluded from production builds. This serves only as an optimization and should otherwise have no impact on build results.
|
335 |
|
336 | ## 3.1.0 (2019-03-20)
|
337 |
|
338 | ## New features
|
339 |
|
340 | - The `build` and `start` commands will use a default webpack config if none is provided.
|
341 |
|
342 | ## 3.0.0 (2019-03-06)
|
343 |
|
344 | ### Breaking Changes
|
345 |
|
346 | - The bundled `eslint` dependency has been updated from requiring `^4.19.1` to requiring `^5.12.1` (see [Migration Guide](https://eslint.org/docs/user-guide/migrating-to-5.0.0)).
|
347 | - The bundled `jest` dependency has been updated from requiring `^23.6.0` to requiring `^24.1.0` (see [Breaking Changes](https://jestjs.io/blog/2019/01/25/jest-24-refreshing-polished-typescript-friendly#breaking-changes), [#13922](https://github.com/WordPress/gutenberg/pull/13922)).
|
348 | - The bundled `jest-puppeteer` dependency has been updated from requiring `3.2.1` to requiring `^4.0.0` ([#13922](https://github.com/WordPress/gutenberg/pull/13922)).
|
349 |
|
350 | ### New Features
|
351 |
|
352 | - Added support for `build` script ([#12837](https://github.com/WordPress/gutenberg/pull/12837))
|
353 | - Added support for `start` script ([#12837](https://github.com/WordPress/gutenberg/pull/12837))
|
354 | - Updated `npm-package-json-lint` dependency [#14200](https://github.com/WordPress/gutenberg/pull/14200)
|
355 |
|
356 | ### Bug Fix
|
357 |
|
358 | - Avoid inheriting from ESLint configurations in ancestor directories when using the default configuration ([#13483](https://github.com/WordPress/gutenberg/pull/13483))
|
359 |
|
360 | ## 2.5.0 (2019-01-09)
|
361 |
|
362 | ### New Features
|
363 |
|
364 | - Added support for `check-engines` script ([#12721](https://github.com/WordPress/gutenberg/pull/12721))
|
365 | - Added support for `lint-style` script ([#12722](https://github.com/WordPress/gutenberg/pull/12722))
|
366 | - Added support for `test-e2e` script ([#12437](https://github.com/WordPress/gutenberg/pull/12437))
|
367 | - Update default config provided for `lint-js` script ([#12845](https://github.com/WordPress/gutenberg/pull/12845))
|
368 |
|
369 | ## 2.4.4 (2018-11-20)
|
370 |
|
371 | ## 2.4.3 (2018-11-09)
|
372 |
|
373 | ## 2.4.2 (2018-11-09)
|
374 |
|
375 | ## 2.4.1 (2018-11-03)
|
376 |
|
377 | ## 2.4.0 (2018-10-16)
|
378 |
|
379 | ### New Feature
|
380 |
|
381 | - Added support for `lint-js` script ([#10504](https://github.com/WordPress/gutenberg/pull/10504))
|
382 |
|
383 | ## 2.3.0 (2018-09-30)
|
384 |
|
385 | ### Improvements
|
386 |
|
387 | - New flag `--ignore` for `check-licenses` script
|
388 | - Try deferring to LICENSE file for `license` fields which include filename
|
389 | - Add "BSD-3-Clause-W3C" as GPL-compatible
|
390 |
|
391 | ## 2.2.1 (2018-09-05)
|
392 |
|
393 | ### Bug Fix
|
394 |
|
395 | - Resolves an issue where npm package lint script did not work in Windows environments ([#9321](https://github.com/WordPress/gutenberg/pull/9321)
|
396 |
|
397 | ### Polish
|
398 |
|
399 | - Updated dependencies: `jest`, `npm-package-json-lint` and `read-pkg-up`
|
400 |
|
401 | ## 2.0.0 (2018-07-12)
|
402 |
|
403 | ### Breaking Change
|
404 |
|
405 | - Updated code to work with Babel 7 ([#7832](https://github.com/WordPress/gutenberg/pull/7832))
|
406 |
|
407 | ### Internal
|
408 |
|
409 | - Moved `@WordPress/packages` repository to `@WordPress/gutenberg` ([#7805](https://github.com/WordPress/gutenberg/pull/7805))
|
410 |
|
411 | ## 1.2.0 (2018-05-29)
|
412 |
|
413 | ### New Feature
|
414 |
|
415 | - Added support for `lint-pkg-json` script ([#128](https://github.com/WordPress/packages/pull/128))
|
416 |
|
417 | ## 1.1.5 (2018-05-18)
|
418 |
|
419 | ### Polish
|
420 |
|
421 | - Fix: Standardized `package.json` format ([#119](https://github.com/WordPress/packages/pull/119))
|