Skip to content

Commit cd0f18f

Browse files
committed
minor #1152 chore: add changelog for 4.0.0 (Kocal)
This PR was merged into the main branch. Discussion ---------- chore: add changelog for 4.0.0 As asked in #1150 (comment). Commits ------- b60db90 chore: add changelog for 4.0.0
2 parents 79fb073 + b60db90 commit cd0f18f

File tree

4 files changed

+35
-4
lines changed

4 files changed

+35
-4
lines changed

CHANGELOG.md

+32-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,36 @@
11
# CHANGELOG
22

3+
## [v4.0.0](https://github.com/symfony/webpack-encore/releases/tag/v4.0.0)
4+
5+
This major release makes Encore compatible with [Yarn Plug'n'Play](https://yarnpkg.com/features/pnp) and [pnpm](https://pnpm.io/).
6+
7+
### BC Breaks
8+
9+
* The following dependencies **must be added** in your `package.json`: `webpack webpack-cli @babel/core @babel/preset-env` (#1142 and #1150):
10+
```shell
11+
npm install webpack webpack-cli @babel/core @babel/preset-env --save-dev
12+
13+
# or via yarn
14+
yarn add webpack webpack-cli @babel/core @babel/preset-env --dev
15+
```
16+
17+
* The following dependencies **must be removed** from your `package.json` and Babel configuration: `@babel/plugin-syntax-dynamic-import @babel/plugin-proposal-class-properties`,
18+
since they are already included in `@babel/preset-env` (#1150):
19+
```shell
20+
npm remove @babel/plugin-syntax-dynamic-import @babel/plugin-proposal-class-properties
21+
22+
# or via yarn
23+
yarn remove @babel/plugin-syntax-dynamic-import @babel/plugin-proposal-class-properties
24+
```
25+
26+
and remove it from your Encore configuration:
27+
```diff
28+
Encore.configureBabel((options) => {
29+
- config.plugins.push('@babel/plugin-proposal-class-properties');
30+
+
31+
})
32+
```
33+
334
## [v3.1.0](https://github.com/symfony/webpack-encore/releases/tag/v3.0.0)
435

536
*August 24th, 2022*
@@ -13,7 +44,7 @@
1344
This major release drops support for Node 12 (minimum is now Node 14) and
1445
also bumps some dependencies up a new major version.
1546

16-
## BC Breaks
47+
### BC Breaks
1748

1849
* In #1122 support for Node 12 was dropped.
1950

test_apps/pnpm-with-babel/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Testing app: pnpm (with Babel)
22

3-
This testing app is used to test how Encore installation and usage work when using the [**pnpm** package manager](https://pnpm.io/fr/).
3+
This testing app is used to test how Encore installation and usage work when using the [**pnpm** package manager](https://pnpm.io/).
44

55
## Installation
66

test_apps/pnpm-with-external-babel-config/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Testing app: pnpm (with external Babel configuration file)
22

3-
This testing app is used to test how Encore installation and usage work when using the [**pnpm** package manager](https://pnpm.io/fr/).
3+
This testing app is used to test how Encore installation and usage work when using the [**pnpm** package manager](https://pnpm.io/).
44

55
## Installation
66

test_apps/pnpm/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Testing app: pnpm
22

3-
This testing app is used to test how Encore installation and usage work when using the [**pnpm** package manager](https://pnpm.io/fr/).
3+
This testing app is used to test how Encore installation and usage work when using the [**pnpm** package manager](https://pnpm.io/).
44

55
## Installation
66

0 commit comments

Comments
 (0)