Bot releases are visible (Hide)
Hey packagers!
It seems I was a bit too quick to drop support for Node 18. This re-adds it.
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!
Published by weaverryan 9 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)
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!
Published by weaverryan 12 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)
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!
Published by weaverryan over 1 year 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.
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!
Published by weaverryan over 1 year ago
Hey packagers!
This release allows TypeScript 5 to be used + a few other small items:
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!
Published by weaverryan almost 2 years ago
Hey packagers!
This release allows webpack-cli
version 5 to be used in your package.json
file.
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!
Published by weaverryan almost 2 years 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!
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!
Published by weaverryan about 2 years ago
Hey packagers!
A tiny release to fix a typo in 4.1.0 that made the package uninstallable.
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!
Published by weaverryan about 2 years ago
Hey packagers!
This release adds first-class support for Svelte and fixes Vue 2 support, which was accidentally lost in version 4.0.
Run:
npm install "@symfony/webpack-encore@^4.1.0" --save-dev
Or:
yarn upgrade "@symfony/webpack-encore@^4.1.0"
Changes: v4.0.0..v4.1.0
Happy Packing!
Published by weaverryan about 2 years 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:
This release also makes Encore compatible with Yarn Plug'n'Play and pnpm.
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:
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
package.json
and Babel configuration: @babel/plugin-syntax-dynamic-import @babel/plugin-proposal-class-properties
,@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!
Published by weaverryan about 2 years ago
Hi Webpackers!
This is a tiny release that adds better support specifically for Vue 2.7.
To upgrade run:
yarn upgrade "@symfony/webpack-encore@^3.1.0"
Changes: v3.0.0..v3.1.0
Documentation: http://symfony.com/doc/current/frontend.html
Highlights:
vue-template-compiler
- #1134 thanks to @billyctHappy Packing!
Published by weaverryan over 2 years ago
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:
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 -> 11postcss-loader
6 -> 7sass-loader
12 -> 13stylus
0.57 -> 0.58stylus-loader
6 -> 7If 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).
Happy Packing!
Published by weaverryan over 2 years ago
Hey packagers!
This is a small releasing that adds the possibility to use the sass-embedded
package with enableSassLoader()
, which is a faster alternative to sass
.
To upgrade run:
yarn upgrade "@symfony/webpack-encore@^2.1.0"
Changes: v2.0.0..v2.1.0
Documentation: http://symfony.com/doc/current/frontend.html
Highlights:
Published by weaverryan over 2 years ago
Hi bundlers!
This is a new major release. In Encore itself, nothing really changed. However, we upgraded many of our dependencies across new major versions. Upgrading should be easy, unless you're integrating more deeply into any of the upgraded dependencies.
To upgrade run:
yarn upgrade "@symfony/webpack-encore@^2.0.0"
Changes: v1.8.2..v2.0.0
Documentation: http://symfony.com/doc/current/frontend.html
This is a new major version that contains several backwards-compatibility breaks.
The following dependencies were upgraded a major version. It's unlikely
these will cause problems, unless you were further configuring this part
of Encore:
clean-webpack-plugin
Version 3
to 4
: dropped old Node & Webpack version supportcss-loader
Version 5
to 6
: dropped old Node version support & CHANGELOG
css-minimizer-webpack-plugin
Version 2
to 3
: dropped old Node version supportloader-utils
REMOVEDmini-css-extract-plugin
Version 1.5
to 2.2.1
: dropped old Node & Webpack version support & CHANGELOG
pretty-error
Version 3.0
to 4.0
: dropped old Node version supportresolve-url-loader
Version 3.0
to 5.0
: dropped old Node version support, requires postcss ^8.0
, remove rework
engine & CHANGELOG
style-loader
Version 2
to 3
: dropped old Node and Webpack version support & CHANGELOG
yargs-parser
Version 20.2
to 21
: dropped old Node version supportAdditionally, Encore changed the supported versions of the following packages,
which you may have installed to enable extra features:
eslint
Minimum version increased from 7
to 8
eslint-webpack-plugin
Minimum version increased from 2.5
to 3
fork-ts-checker-webpack-plugin
Minimum version increased from 5
to 6
CHANGELOG
less-loader
Minimum version increased from 7
to 10
postcss-loader
Minimum version increased from 4
to 6
preact
Minimum version increased from 8
to 10
CHANGELOG
sass-loader
Minimum version increased from 9
to 12
stylus
Minimum version increased from 0.54
to 0.56
stylus-loader
Minimum version increased from 3
to 6
CHANGELOG
vue-loader
Minimum version increased from 16
to 17
CHANGELOG
Removed Encore.enableEslintLoader()
: use Encore.enableEslintPlugin()
.
If using enableEslintPlugin()
with the @babel/eslint-parser
parser,
you may now need to create an external Babel configuration file. To see
an example, temporarily delete your .eslintrc.js
file and run Encore.
The error will show you a Babel configuration file you can use.
With configureDefinePlugin()
, the options['process.env']
key format
passed to the callback has changed (see #960). If you are using configureDefinePlugin()
to add more items to process.env
, your code will need to change:
Encore.configureDefinePlugin((options) => {
- options['process.env']['SOME_VAR'] = JSON.stringify('the value');
+ options['process.env.SOME_VAR'] = JSON.stringify('the value');
})
Published by weaverryan over 2 years ago
Hey Webpackers!
This release re-adds the --public
option, which can be useful for the dev-server, especially with Docker. WIP docs can be found at: https://github.com/symfony/symfony-docs/pull/16622
To upgrade run:
yarn upgrade "@symfony/webpack-encore@^1.8.2"
Changes: v1.8.1..v1.8.2
Documentation: http://symfony.com/doc/current/frontend.html
Highlights:
Happy packing!
Published by weaverryan over 2 years ago
Hey Webpackers!
This release fixes 1.8.0, which incorrectly requires the eslint-webpack-plugin
package in all situations.
To upgrade run:
yarn upgrade "@symfony/webpack-encore@^1.8.1"
Changes: v1.8.0..v1.8.1
Documentation: http://symfony.com/doc/current/frontend.html
Highlights:
Happy packing!
Published by weaverryan over 2 years ago
Hey Webpackers!
A new release with some nice features, provided by the community!
To upgrade run:
yarn upgrade "@symfony/webpack-encore@^1.8.0"
Changes: v1.7.1..v1.8.0
Documentation: http://symfony.com/doc/current/frontend.html
Highlights:
Happy packing!
Published by weaverryan over 2 years ago
Hey Webpackers!
A tiny release that addresses a possible dependency issue with webpack-cli that can cause aa cryptic error. No fun!
To upgrade run:
yarn upgrade "@symfony/webpack-encore@^1.7.1"
Changes: v1.7.0..v1.7.1
Documentation: http://symfony.com/doc/current/frontend.html
Highlights:
Happy packing!
Published by weaverryan almost 3 years ago
Hey Webpackers!
Yes! A new release! This small release adds support for Stimulus 3 (i.e. @hotwired/stimulus
) and also fixes a minor bug when using the dev-server.
To upgrade run:
yarn upgrade "@symfony/webpack-encore@^1.7.0"
Changes: v1.6.1..v1.7.0
Documentation: http://symfony.com/doc/current/frontend.html
Highlights:
Dependency changes:
ts-loader
8 was dropped.typescript
3 was dropped and minimum increased to 4.2.2.vue
was bumped to 3.2.14 or higher.vue-loader
was bumped to 16.7.0 or higher.Happy packing!
Published by weaverryan about 3 years ago
Hi Webpackers!
This release contains just one bug fix if you're using the webpack-dev-server
To upgrade run:
yarn upgrade "@symfony/webpack-encore@^1.6.1"
Changes: v1.6.0..v1.6.1
Documentation: http://symfony.com/doc/current/frontend.html
Happy packing!