Skip to content

Commit

Permalink
minor #1152 chore: add changelog for 4.0.0 (Kocal)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
weaverryan committed Sep 9, 2022
2 parents 79fb073 + b60db90 commit cd0f18f
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 4 deletions.
33 changes: 32 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,36 @@
# CHANGELOG

## [v4.0.0](https://github.com/symfony/webpack-encore/releases/tag/v4.0.0)

This major release makes Encore compatible with [Yarn Plug'n'Play](https://yarnpkg.com/features/pnp) and [pnpm](https://pnpm.io/).

### 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

# or via yarn
yarn add webpack webpack-cli @babel/core @babel/preset-env --dev
```

* The following dependencies **must be removed** from your `package.json` and Babel configuration: `@babel/plugin-syntax-dynamic-import @babel/plugin-proposal-class-properties`,
since they are already included in `@babel/preset-env` (#1150):
```shell
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:
```diff
Encore.configureBabel((options) => {
- config.plugins.push('@babel/plugin-proposal-class-properties');
+
})
```

## [v3.1.0](https://github.com/symfony/webpack-encore/releases/tag/v3.0.0)

*August 24th, 2022*
Expand All @@ -13,7 +44,7 @@
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
### BC Breaks

* In #1122 support for Node 12 was dropped.

Expand Down
2 changes: 1 addition & 1 deletion test_apps/pnpm-with-babel/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Testing app: pnpm (with Babel)

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

## Installation

Expand Down
2 changes: 1 addition & 1 deletion test_apps/pnpm-with-external-babel-config/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Testing app: pnpm (with external Babel configuration file)

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

## Installation

Expand Down
2 changes: 1 addition & 1 deletion test_apps/pnpm/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Testing app: pnpm

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

## Installation

Expand Down

0 comments on commit cd0f18f

Please sign in to comment.