Dependency Upgrades & disableCssExtraction() Flag
Yes! New Release!
This release is mostly about upgrading Encore's "dev" dependencies, which don't affect your project. What
this does do is change the versions that Encore guarantees support for. For example, if you have postcss-loader
installed in your app, this release no longer guarantees support for version 3, but we now DO guarantee
support for version 4.
To upgrade run:
yarn upgrade "@symfony/webpack-encore@^0.33.0"
Changes: v0.32.1..v0.33.0
Documentation: http://symfony.com/doc/current/frontend.html
Highlights:
-
[disableCssExtraction()] Added boolean argument to
disableCssExtraction()
to make it easier to dynamically disable extraction - #756 thanks
to @football2801. -
[DEPENDENCY UPGRADE] Vue 3 was already supported, but the dependencies
have been upgraded to explicitly support the stable version, instead
of beta versions - #869 thanks to @weaverryan -
[DEPENDENCY UPGRADE] Explicit support for
postcss-loader
v3 was
dropped but support for v4 was added - #854 thanks to @railto. -
[DEPENDENCY UPGRADE] Support for
sass-loader
v10 was added - #865
thanks to @shmshd. -
Allowed using
copyFiles()
even if you don't have any other
entrypoints - #831 thanks to @pszalko. -
[DEPENDENCY UPGRADE] Support for
ts-loader
was upgraded from
^5.3
to^8.0.1
. This means that only^8.0.1
ofts-loader
is guaranteed to work - #800 thanks to @skmedix. -
[DEPENDENCY UPGRADE] Support for
eslint
v5 was removed but support
for v7 was added. Also,eslint-loader
support for v3 was removed
but support for v4 was added - see #774 thanks to @Kocal.
Happy packing!