Webpack Encore Versions Save

A simple but powerful API for processing & compiling assets built around Webpack

v4.6.1

3 months ago

Hey packagers!

It seems I was a bit too quick to drop support for Node 18. This re-adds it.

Upgrading

Run:

npm install "@symfony/webpack-encore@^4.6.1" --save-dev

Or:

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

Changes: https://github.com/symfony/webpack-encore/compare/v4.6.0...v4.6.1

Happy Packing!

v4.6.0

3 months ago

Hey packagers!

  • #1254 Increased minimum Node version to 20 (@weaverryan)

  • #1253 Allow sass-loader 14 (@cedric-anne)

  • #1247 Allow only configuring a plugin (@gimler)

Upgrading

Run:

npm install "@symfony/webpack-encore@^4.6.0" --save-dev

Or:

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

Changes: https://github.com/symfony/webpack-encore/compare/v4.5.0...v4.6.0

Happy Packing!

v4.5.0

6 months ago

Hey packagers!

  • #1235 Dropping support for Node 14 (16 is new min) and allowing svelte 4 (@weaverryan)

  • #1185 Bump babel-loader from 8.2.5 to 9.1.2 (@dppanteon) - the CHANGELOG for babel 9 does not list any breaking changes besides increasing the minimum Node version.

  • #1224 Allow fork-ts-checker-webpack-plugin ^8.0 and ^9.0 (@buffcode)

Upgrading

Run:

npm install "@symfony/webpack-encore@^4.5.0" --save-dev

Or:

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

Changes: https://github.com/symfony/webpack-encore/compare/v4.4.0...v4.5.0

Happy Packing!

v4.4.0

10 months ago

Hey packagers!

This release upgrades the css-minimizer-webpack-plugin from 4 to 5. While this dependency bump is a major bump, the underlying library had very few breaking changes and the fast majority of users should be completely unaffected by this.

Upgrading

Run:

npm install "@symfony/webpack-encore@^4.4.0" --save-dev

Or:

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

Changes: v4.3.0..v4.4.0

Happy Packing!

v4.3.0

1 year ago

Hey packagers!

This release allows TypeScript 5 to be used + a few other small items:

  • feature #1200 Allow TypeScript 5 (@jmsche)
  • feature #1190 Allow eslint-webpack-plugin ^4.0 (@evertharmeling)
  • bug #1175 Delay force sync until needed (@wesoledi, @weaverryan)

Upgrading

Run:

npm install "@symfony/webpack-encore@^4.3.0" --save-dev

Or:

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

Changes: v4.2.0..v4.3.0

Happy Packing!

v4.2.0

1 year ago

Hey packagers!

This release allows webpack-cli version 5 to be used in your package.json file.

Upgrading

Run:

npm install "@symfony/webpack-encore@^4.2.0" --save-dev

Or:

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

Changes: v4.1.2..v4.2.0

Happy Packing!

v4.1.2

1 year ago

Hey packagers!

This release fixes an incompatibility when using @vue/compiler-sfc with Vue 2.7. Thanks to @dmaicher in #1166 for the fix!

Upgrading

Run:

npm install "@symfony/webpack-encore@^4.1.2" --save-dev

Or:

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

Changes: v4.1.1..v4.1.1

Happy Packing!

v4.1.1

1 year ago

Hey packagers!

A tiny release to fix a typo in 4.1.0 that made the package uninstallable.

Upgrading

Run:

npm install "@symfony/webpack-encore@^4.1.1" --save-dev

Or:

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

Changes: v4.1.0..v4.1.1

Happy Packing!

v4.1.0

1 year ago

Hey packagers!

This release adds first-class support for Svelte and fixes Vue 2 support, which was accidentally lost in version 4.0.

Upgrading

Run:

npm install "@symfony/webpack-encore@^4.1.0" --save-dev

Or:

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

Highlights

Features

  • Add support for Svelte - #781 thanks to @zairigimad

Bug Fixes

  • Support for Vue 2 was accidentally dropped in 4.0.0, and was re-added - #1157 thanks to @Kocal.

Changes: v4.0.0..v4.1.0

Happy Packing!

v4.0.0

1 year ago

Hey packagers!

This new major release is actually smaller and has an easy upgrade path. What changed? We have moved certain dependencies (like webpack itself) out of Encore and into your project. This means 2 things:

  1. You'll need to install a few extra packages after upgrading (see notes below)
  2. You can say goodbye to those "has unmet peer dependency" warnings!

This release also makes Encore compatible with Yarn Plug'n'Play and pnpm.

Upgrading

Run:

npm install "@symfony/webpack-encore@^4.0.0" webpack webpack-cli @babel/core @babel/preset-env  --save-dev

Or:

yarn upgrade "@symfony/webpack-encore@^4.0.0"
yarn add webpack webpack-cli @babel/core @babel/preset-env --dev

And note the following BC breaks:

  • The following dependencies must be added in your package.json: webpack webpack-cli @babel/core @babel/preset-env (#1142 and #1150):
npm install webpack webpack-cli @babel/core @babel/preset-env --save-dev

# or via yarn
yarn add webpack webpack-cli @babel/core @babel/preset-env --dev
  • The following dependencies must be removed from your package.json and Babel configuration: @babel/plugin-syntax-dynamic-import @babel/plugin-proposal-class-properties, since they are already included in @babel/preset-env (#1150):
npm remove @babel/plugin-syntax-dynamic-import @babel/plugin-proposal-class-properties

# or via yarn
yarn remove @babel/plugin-syntax-dynamic-import @babel/plugin-proposal-class-properties

and remove it from your Encore configuration:

Encore.configureBabel((options) => {
-    config.plugins.push('@babel/plugin-proposal-class-properties');
+    
})

Changes: v3.1.0..v4.0.0

Happy Packing!