Skip to content

Commit bb11e74

Browse files
committed
updating the CHANELOG for 0.21.0
1 parent b171eb4 commit bb11e74

File tree

1 file changed

+33
-12
lines changed

1 file changed

+33
-12
lines changed

CHANGELOG.md

Lines changed: 33 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
# CHANGELOG
22

3-
## 0.21.0 Webpack 4 Upgrade
3+
## 0.21.0
44

55
* [BC BREAK] Webpack was upgraded to version 4. This includes a number of major
6-
and minor changes. The changes are listed below.
6+
and minor changes. The changes are listed below under the
7+
`Webpack 4 Upgrade` section.
78

89
* [DEPRECATION] You must now call either `Encore.enableSingleRuntimeChunk()`
910
or `Encore.disableSingleRuntimeChunk()`: not calling either method is
@@ -33,9 +34,9 @@
3334
See the [browserslist](https://github.com/browserslist/browserslist) library
3435
for a full description of all of the valid browser descriptions.
3536

36-
* Node 7 is no longer supported. This is because the new
37-
`mini-css-extract-plugin` does not support it (and neither)
38-
does Yarn.
37+
* Added a new `copyFiles()` method that is able to copy static files
38+
into your build directory and allows them to be versioned. #409
39+
thanks to @Lyrkan
3940

4041
* Introduced a new `configureSplitChunks()` method that can be
4142
used to further configure the `optimizations.splitChunks` configuration.
@@ -52,6 +53,33 @@ for a full description of all of the valid browser descriptions.
5253
is always enabled. This allows you to do "Dynamic Imports"
5354
as described here: https://webpack.js.org/guides/code-splitting/#dynamic-imports
5455

56+
* A new "version check" system was added for optional dependencies.
57+
Now, when you install optional plugins to support a feature, if
58+
you are using an unsupported version, you will see a warning.
59+
"Package recommendation" errors (i.e. when you enable a feature
60+
but you are missing some packages) will also contain the version
61+
in the install string when necessary (e.g. `yarn add foo@^2.0`).
62+
63+
* Support was added `handlebars-loader` by calling `enableHandlebarsLoader()`.
64+
#301 thanks to @ogiammetta
65+
66+
* Support was added for `eslint-loader` by calling `enableEslintLoader()`.
67+
#243 thanks to @pinoniq
68+
69+
* The `css-loader` can now be configured by calling `configureCssLoader()`.
70+
#335 thanks to @XWB
71+
72+
* It's not possible to control the `exclude` for Babel so that you can
73+
process certain node_modules packages through Babel - use
74+
the new second argument to `configureBabel()` - #401 thanks to
75+
@Lyrkan.
76+
77+
## Webpack 4 Upgrade Details
78+
79+
* Node 7 is no longer supported. This is because the new
80+
`mini-css-extract-plugin` does not support it (and neither)
81+
does Yarn.
82+
5583
* For Preact, the necessary plugin the user needs to install
5684
changed from `babel-plugin-transform-react-jsx` to `@babel/plugin-transform-react-jsx`.
5785

@@ -66,13 +94,6 @@ for a full description of all of the valid browser descriptions.
6694

6795
* Support for CoffeeScript was entirely removed.
6896

69-
* A new "version check" system was added for optional dependencies.
70-
Now, when you install optional plugins to support a feature, if
71-
you are using an unsupported version, you will see a warning.
72-
"Package recommendation" errors (i.e. when you enable a feature
73-
but you are missing some packages) will also contain the version
74-
in the install string when necessary (e.g. `yarn add foo@^2.0`).
75-
7697
* Actual lang="sass" no longer works for Vue. However, lang="scss"
7798
continues to work fine.
7899

0 commit comments

Comments
 (0)