Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump @symfony/webpack-encore from 3.1.0 to 4.0.0 #730

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 18, 2022

Bumps @symfony/webpack-encore from 3.1.0 to 4.0.0.

Release notes

Sourced from @​symfony/webpack-encore's releases.

4.0! Goodbye "peer dependency" Warnings

Hey packagers!

This new major release is actually smaller and has an easy upgrade path. What changed? We have moved certain dependencies (like webpack itself) out of Encore and into your project. This means 2 things:

  1. You'll need to install a few extra packages after upgrading (see notes below)
  2. You can say goodbye to those "has unmet peer dependency" warnings!

This release also makes Encore compatible with Yarn Plug'n'Play and pnpm.

Upgrading

Run:

npm install "@symfony/webpack-encore@^4.0.0" webpack webpack-cli @babel/core @babel/preset-env  --save-dev

Or:

yarn upgrade "@​symfony/webpack-encore@^4.0.0" yarn add webpack webpack-cli @​babel/core @​babel/preset-env --dev

And note the following BC breaks:

  • The following dependencies must be added in your package.json: webpack webpack-cli @babel/core @babel/preset-env (#1142 and #1150):
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):
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:

Encore.configureBabel((options) => {
-    config.plugins.push('@babel/plugin-proposal-class-properties');
+    
})

... (truncated)

Changelog

Sourced from @​symfony/webpack-encore's changelog.

v4.0.0

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):
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):
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:

Encore.configureBabel((options) => {
-    config.plugins.push('@babel/plugin-proposal-class-properties');
+    
})
Commits
  • 1f741c9 Tagging 4.0.0
  • cd0f18f minor #1152 chore: add changelog for 4.0.0 (Kocal)
  • b60db90 chore: add changelog for 4.0.0
  • 79fb073 feature #1150 fix(babel): move Babel dependencies to (optional) peerDependenc...
  • 418042f fix(babel): move Babel dependencies to (optional) peerDependencies
  • 417981c feature #1142 Add support for pnpm and Yarn PnP (Kocal)
  • dbf3db4 Add support for pnpm and Yarn PnP
  • See full diff in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Sep 18, 2022
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/2.x/symfony/webpack-encore-4.0.0 branch 14 times, most recently from 51e702c to c6dce0c Compare September 18, 2022 17:44
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/2.x/symfony/webpack-encore-4.0.0 branch 10 times, most recently from 1a95b03 to 913eee6 Compare October 1, 2022 09:07
@jbelien jbelien enabled auto-merge (squash) October 1, 2022 09:08
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/2.x/symfony/webpack-encore-4.0.0 branch 3 times, most recently from ddb856b to a29e3e5 Compare October 1, 2022 09:12
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/2.x/symfony/webpack-encore-4.0.0 branch 3 times, most recently from 258aacf to c191607 Compare October 1, 2022 09:17
Bumps [@symfony/webpack-encore](https://github.com/symfony/webpack-encore) from 3.1.0 to 4.0.0.
- [Release notes](https://github.com/symfony/webpack-encore/releases)
- [Changelog](https://github.com/symfony/webpack-encore/blob/main/CHANGELOG.md)
- [Commits](symfony/webpack-encore@v3.1.0...v4.0.0)

---
updated-dependencies:
- dependency-name: "@symfony/webpack-encore"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/2.x/symfony/webpack-encore-4.0.0 branch from c191607 to 3a787dd Compare October 1, 2022 09:19
@jbelien jbelien merged commit 68f32a2 into 2.x Oct 1, 2022
@jbelien jbelien deleted the dependabot/npm_and_yarn/2.x/symfony/webpack-encore-4.0.0 branch October 1, 2022 09:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant