Changelog History
Page 1
-
v4.1.0 Changes
October 17th, 2022
๐ 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 - #157 thanks to @Kocal.
-
v4.0.0 Changes
๐ This major release makes Encore compatible with Yarn Plug'n'Play and pnpm.
BC Breaks
- The following dependencies must be added in your
package.json
:webpack webpack-cli @babel/core @babel/preset-env
(#1142 and #1150): ```shell npm install webpack webpack-cli @babel/core @babel/preset-env --save-dev
- The following dependencies must be added in your
-
v3.1.0 Changes
August 24th, 2022
- โ Add vue 2.7 feature to allow dropping
vue-template-compiler
- #1134 thanks to @billyct
- โ Add vue 2.7 feature to allow dropping
-
v3.0.0 Changes
July 8th, 2022
๐ This major release drops support for Node 12 (minimum is now Node 14) and also bumps some dependencies up a new major version.
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 -> 11postcss-loader
6 -> 7sass-loader
12 -> 13stylus
0.57 -> 0.58stylus-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
-
v2.0.0 Changes
May 3rd, 2022
This is a new major version that contains several backwards-compatibility breaks.
BC 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
Version3
to4
: dropped old Node & Webpack version support - ๐
css-loader
Version5
to6
: dropped old Node version support & CHANGELOG - ๐
css-minimizer-webpack-plugin
Version2
to3
: dropped old Node version support - ๐
loader-utils
REMOVED - ๐
mini-css-extract-plugin
Version1.5
to2.2.1
: dropped old Node & Webpack version support & CHANGELOG - ๐
pretty-error
Version3.0
to4.0
: dropped old Node version support - ๐ง
resolve-url-loader
Version3.0
to5.0
: dropped old Node version support, requires postcss^8.0
, removerework
engine & CHANGELOG - ๐
style-loader
Version2
to3
: dropped old Node and Webpack version support & CHANGELOG - ๐
yargs-parser
Version20.2
to21
: dropped old Node version support
โ Additionally, Encore changed the supported versions of the following packages, which you may have installed to enable extra features:
- ๐
eslint
Minimum version increased from7
to8
- ๐
eslint-webpack-plugin
Minimum version increased from2.5
to3
- ๐
fork-ts-checker-webpack-plugin
Minimum version increased from5
to6
CHANGELOG less-loader
Minimum version increased from7
to10
postcss-loader
Minimum version increased from4
to6
- ๐
preact
Minimum version increased from8
to10
CHANGELOG sass-loader
Minimum version increased from9
to12
stylus
Minimum version increased from0.54
to0.56
stylus-loader
Minimum version increased from3
to6
CHANGELOGvue-loader
Minimum version increased from16
to17
CHANGELOGโ Removed
Encore.enableEslintLoader()
: useEncore.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()
, theoptions['process.env']
key format passed to the callback has changed (see #960). If you are usingconfigureDefinePlugin()
to add more items toprocess.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'); })
- ๐
-
v1.8.2 Changes
Mar 17th, 2022
๐ Bug Fix
- #1095 - bug #1095 Revert removing public option from dev-server - @louismariegaborit