You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+57-32
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# CHANGELOG
2
2
3
-
## UNRELEASED
3
+
## 5.0.0
4
4
5
5
This is a new major version that contains several backwards-compatibility breaks.
6
6
@@ -16,35 +16,6 @@ This is a new major version that contains several backwards-compatibility breaks
16
16
17
17
*#1307 Drop `webpack-cli` 4 support, only `webpack-cli` ^5.1.4 is supported (@Kocal)
18
18
19
-
*#1308 Drop Vue 2 support (End-Of-Life), only Vue 3 is supported (@Kocal)
20
-
21
-
*#1309 Drop ESLint integration (@Kocal)
22
-
23
-
*#1313 Drop `clean-webpack-plugin` in favor of webpack's `output.clean` configuration. The
24
-
configuration settings supported by `Encore.cleanupOutputBeforeBuild` have changed (@stof)
25
-
26
-
*#1317 Drop support of sass-loader ^13 and ^14, add support for sass-loader ^16 (@Kocal)
27
-
28
-
The sass-loader's options have changed, [the `modern` options](https://sass-lang.com/documentation/js-api/interfaces/options) are now used by default.
29
-
Though not recommended,
30
-
you must specify the option `api: 'legacy'`
31
-
if you want to keep [the `legacy` options](https://sass-lang.com/documentation/js-api/interfaces/legacystringoptions/).
32
-
For example:
33
-
```js
34
-
// With the legacy API:
35
-
Encore.enableSassLoader((options) => {
36
-
options.api='legacy';
37
-
options.includePaths= [/*...*/];
38
-
});
39
-
40
-
// With the modern API (default):
41
-
Encore.enableSassLoader((options) => {
42
-
options.loadPaths= [/*...*/];
43
-
});
44
-
```
45
-
46
-
*#1324 Drop css-minimizer-webpack-plugin 5 support, only css-minimizer-webpack-plugin 7 is supported (@Kocal)
47
-
48
19
*#1318 Drop webpack-dev-server 4 support, only webpack-dev-server 5 is supported (@Kocal)
49
20
50
21
The dev-server options have changed between versions 4 and 5, see [the official migration guide to v5](https://github.com/webpack/webpack-dev-server/blob/master/migration-v5.md).
*#1308 Drop Vue 2 support (End-Of-Life), only Vue 3 is supported (@Kocal)
70
+
71
+
*#1309 Drop ESLint integration (@Kocal)
72
+
73
+
*#1313 Drop `clean-webpack-plugin` in favor of webpack's `output.clean` configuration. The
74
+
configuration settings supported by `Encore.cleanupOutputBeforeBuild` have changed (@stof)
75
+
76
+
*#1324 Drop `css-minimizer-webpack-plugin` 5 support, only `css-minimizer-webpack-plugin` 7 is supported (@Kocal)
77
+
98
78
*#1342 Replace [`assets-webpack-plugin`](https://github.com/ztoben/assets-webpack-plugin) dependency by an internal plugin, to generate `entrypoints.json` file (@Kocal)
99
79
80
+
*#1317 Drop support of sass-loader ^13 and ^14, add support for sass-loader ^16 (@Kocal)
81
+
82
+
The sass-loader's options have changed, [the `modern` options](https://sass-lang.com/documentation/js-api/interfaces/options) are now used by default.
83
+
Though not recommended,
84
+
you must specify the option `api: 'legacy'`
85
+
if you want to keep [the `legacy` options](https://sass-lang.com/documentation/js-api/interfaces/legacystringoptions/).
86
+
For example:
87
+
```js
88
+
// With the legacy API:
89
+
Encore.enableSassLoader((options) => {
90
+
options.api='legacy';
91
+
options.includePaths= [/*...*/];
92
+
});
93
+
94
+
// With the modern API (default):
95
+
Encore.enableSassLoader((options) => {
96
+
options.loadPaths= [/*...*/];
97
+
});
98
+
```
99
+
100
100
*#1319 Drop support of css-loader ^6, add support for css-loader ^7.1 (@Kocal)
101
101
102
102
Since [`css-loader` 7.0.0](https://github.com/webpack-contrib/css-loader/blob/master/CHANGELOG.md#700-2024-04-04),
0 commit comments