Skip to content

3.0 - Dropping Node 12 support and upgrading dependencies

Compare
Choose a tag to compare
@weaverryan weaverryan released this 08 Jul 15:29
· 213 commits to main since this release

Hey packagers!

This new major release is actually quite smaller: including increasing the new Node minimum version from 12 to 14 and upgrading a few dependencies across major versions. Upgrading should be easy.

To upgrade run:

yarn upgrade "@symfony/webpack-encore@^3.0.0"

Changes: v2.1.0..v3.0.0

Documentation: http://symfony.com/doc/current/frontend.html

Highlights:

BC Breaks

  • In #1122 support for Node 12 was dropped.

  • In #1133, the following dependencies were bumped a major version:

    • css-minimizer-webpack-plugin 3.4 -> 4.0 (4.0 just drops Node 12 support)
    • less-loader 10 -> 11
    • postcss-loader 6 -> 7
    • sass-loader 12 -> 13
    • stylus 0.57 -> 0.58
    • stylus-loader 6 -> 7

If you're using any of these (all are optional except for css-minimizer-webpack-plugin
and are extended them with custom configuration, check the CHANGELOG of each for
any possible BC breaks).

Feature

  • #1133 - Increasing dependencies - @weaverryan
  • #1125 - Changing to support the "server" options object for webpack-dev-server - @weaverryan
  • #1122 - Allow sass-loader:^13.0.0, require node >= 14 - @jmsche
  • #1118 - Use cli param server-type to define devServer https mode - @thegillou

Happy Packing!