chore(deps): update dependency @symfony/webpack-encore to v5 #172
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.33.0
->5.1.0
Release Notes
symfony/webpack-encore (@symfony/webpack-encore)
v5.1.0
Compare Source
Features
v5.0.1
Compare Source
Encore.enableIntegrityHashes()
and filenames with a query-string (@Kocal)v5.0.0
Compare Source
This is a new major version that contains several backwards-compatibility breaks.
Features
#1344 Add options configuration callback to
Encore.enableReactPreset()
(@Kocal)#1345 Add support for integrity hashes when asset names contain a query string (@Kocal)
BC Breaks
#1321 Drop support of Node.js 19 and 21 (@Kocal)
#1307 Drop
webpack-cli
4 support, onlywebpack-cli
^5.1.4 is supported (@Kocal)#1318 Drop webpack-dev-server 4 support, only webpack-dev-server 5 is supported (@Kocal)
The dev-server options have changed between versions 4 and 5, see the official migration guide to v5.
For example:
webpack-dev-server
dependency optional (@Kocal)The
webpack-dev-server
package is now an optional peer dependency.It has been removed because some projects may not use it, and it was installing a bunch of unnecessary dependencies.
Removing the
webpack-dev-server
dependency from Encore reduces the number of dependencies from 626 to 295 (-331!),it helps to reduce the size of the
node_modules
directory and the number of possible vulnerabilities.To use the
webpack-dev-server
again, you need to install it manually:v4.7.0
Compare Source
Features
#1284 Improve ESLint and Babel help messages, when enabling ESLint integration (@Kocal)
#1285 Add support for PNPM for installation commands (@Kocal)
#1286 Add support for Node.js 22 (@Kocal)
#1299 Add support for less-loader 12 (@Kocal)
#1301 Add support for postcss-loader 8 (@Kocal)
#1302 Add support for stylus-loader 8 (@Kocal)
#1295 Add JSX support for Vue 3 (@Kocal)
Enabling JSX support for Vue 3 is done with the
Encore.enableVueLoader()
:If you don't have a custom Babel configuration, then you're all set!
But if you do, you may need to adjust it
to add
@vue/babel-plugin-jsx
plugin to your Babel configuration:Deprecations
#1278 Deprecate ESLint integration (@Kocal)
#1298 Deprecate Vue 2 support (@Kocal)
Internal
#1275 Update some dev-dependencies to fix vulnerability issues (@Kocal)
#1259 Update yarn used for test_apps to latest version (@karpilin)
#1297 Upgrade GitHub Actions in CI (@Kocal)
#1304 Replace
fast-levenshtein
byfastest-levenshtein
(@Kocal)#1303 Replace
pkg-up
by an inlined solution (@Kocal)v4.6.1
Compare Source
v4.6.0
Compare Source
#1254 Increased minimum Node version to 20 (@weaverryan)
#1253 Allow sass-loader 14 (@cedric-anne)
#1247 Allow only configuring a plugin (@gimler)
v4.5.0
Compare Source
Features
#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) - theCHANGELOG 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)
v4.4.0
Compare Source
Features
v4.3.0
Compare Source
Features
Bugs
v4.2.0
Compare Source
Features
v4.1.2
: 4.1.2 - fixes Vue 2 version problemCompare Source
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:
Changes: v4.1.1..v4.1.1
Happy Packing!
v4.1.1
: Fixing version typo in 4.1.0Compare Source
Hey packagers!
A tiny release to fix a typo in 4.1.0 that made the package uninstallable.
Upgrading
Run:
Changes: v4.1.0..v4.1.1
Happy Packing!
v4.1.0
Compare Source
October 17th, 2022
Features
Bug Fixes
v4.0.0
Compare Source
This major release makes Encore compatible with Yarn Plug'n'Play and pnpm.
BC Breaks
package.json
:webpack webpack-cli @​babel/core @​babel/preset-env
(#1142 and #1150):v3.1.0
Compare Source
August 24th, 2022
vue-template-compiler
- #1134 thanks to @billyctv3.0.0
Compare Source
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 -> 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).
Feature
v2.1.0
Compare Source
May 5th, 2022
Feature
v2.0.0
Compare Source
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 supportcss-loader
Version5
to6
: dropped old Node version support & CHANGELOGcss-minimizer-webpack-plugin
Version2
to3
: dropped old Node version supportloader-utils
REMOVEDmini-css-extract-plugin
Version1.5
to2.2.1
: dropped old Node & Webpack version support & CHANGELOGpretty-error
Version3.0
to4.0
: dropped old Node version supportresolve-url-loader
Version3.0
to5.0
: dropped old Node version support, requires postcss^8.0
, removerework
engine & CHANGELOGstyle-loader
Version2
to3
: dropped old Node and Webpack version support & CHANGELOGyargs-parser
Version20.2
to21
: 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 from7
to8
eslint-webpack-plugin
Minimum version increased from2.5
to3
fork-ts-checker-webpack-plugin
Minimum version increased from5
to6
CHANGELOGless-loader
Minimum version increased from7
to10
postcss-loader
Minimum version increased from4
to6
preact
Minimum version increased from8
to10
CHANGELOGsass-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
CHANGELOGRemoved
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 formatpassed 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:v1.8.2
Compare Source
Mar 17th, 2022
Bug Fix
v1.8.1
Compare Source
Jan 21st, 2022
Bug Fix
v1.8.0
Compare Source
Jan 20th, 2022
Feature
v1.7.1
Compare Source
Jan 20th, 2022
Bug Fix
v1.7.0
Compare Source
Dec 2nd, 2021
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.Feature
Bug Fix
v1.6.1
Compare Source
Sep 3rd, 2021
Bug Fix
v1.6.0
Compare Source
Aug 31st, 2021
Feature
v1.5.0
Compare Source
June 18th, 2021
Feature
v1.4.0
Compare Source
May 31st, 2021
Feature
Bug Fix
v1.3.0
Compare Source
May 11th, 2021
Feature
@nuxt
/friendly-errors-webpack-plugin - @hailwoodBug Fix
v1.2.0
Compare Source
May 3rd, 2021
Feature
Bug Fix
v1.1.2
Compare Source
March 1st, 2021
Bug Fix
v1.1.1
Compare Source
February 19th, 2021
Bug Fix
v1.1.0
Compare Source
February 12th, 2021
Feature
v1.0.6
Compare Source
February 12th, 2021
Bug Fix
v1.0.5
Compare Source
February 6th, 2021
Bug Fix
v1.0.4
Compare Source
February 2nd, 2021
Bug Fix
v1.0.3
Compare Source
January 31st, 2021
Bug Fix
v1.0.2
Compare Source
January 29th, 2021
Bug Fix
v1.0.1
Compare Source
January 29th, 2021
Bug Fix
v1.0.0
Compare Source
January 27th, 2021
Feature
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.