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

Update dependency webpack-dev-server to v5 #140

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 12, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
webpack-dev-server 4.15.2 -> 5.2.0 age adoption passing confidence

Release Notes

webpack/webpack-dev-server (webpack-dev-server)

v5.2.0

Compare Source

Features
  • added getClientEntry and getClientHotEntry methods to get clients entries (dc642a8)
Bug Fixes
  • speed up initial client bundling (145b5d0)

v5.1.0

Compare Source

Features
  • add visual progress indicators (a8f40b7)
  • added the app option to be Function (by default only with connect compatibility frameworks) (3096148)
  • allow the server option to be Function (#​5275) (02a1c6d)
  • http2 support for connect and connect compatibility frameworks which support HTTP2 (#​5267) (6509a3f)
Bug Fixes
5.0.4 (2024-03-19)
Bug Fixes
5.0.3 (2024-03-12)
Bug Fixes
5.0.2 (2024-02-16)
Bug Fixes
5.0.1 (2024-02-13)
Bug Fixes

v5.0.4

Compare Source

v5.0.3

Compare Source

v5.0.2

Compare Source

v5.0.1

Compare Source

v5.0.0

Compare Source

Migration Guide and Changes.

4.15.1 (2023-06-09)
Bug Fixes

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 is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested a review from a team as a code owner February 12, 2024 14:51
@renovate renovate bot force-pushed the renovate/webpack-dev-server-5.x branch 2 times, most recently from 98b5956 to 493989c Compare February 13, 2024 13:25
@indiebrain indiebrain self-assigned this Feb 13, 2024
@renovate renovate bot force-pushed the renovate/webpack-dev-server-5.x branch 6 times, most recently from e70068a to 1926f4e Compare February 16, 2024 14:19
@renovate renovate bot force-pushed the renovate/webpack-dev-server-5.x branch from 1926f4e to f185a71 Compare February 26, 2024 12:46
@indiebrain
Copy link
Contributor

indiebrain commented Feb 26, 2024

This project doesn't include any webpacks by default. Running the webpack-dev-server is currently broken.

TypeError: Class constructor ServeCommand cannot be invoked without 'new'
    at runWhenInstalled (/home/app/src/node_modules/webpack-cli/bin/utils/prompt-command.js:46:9)
    at /home/app/src/node_modules/webpack-cli/bin/utils/prompt-command.js:124:15

This has probably since webpacker was upgraded to v5 and webpack-dev-server was upgraded to v4 since

webpack-dev-server is not compatible with Webpacker 5.x. You'll need Webpacker 6.0 for compatibility. Otherwise go back to webpacker-dev-server 3.x. -- rails/rails#43062 (comment)

It ALSO looks like we didn't properly migrate the webpack / babel configuration as part of the webpack 4 upgrade: https://webpacker-docs.netlify.app/docs/v4-upgrade.

This particular PR is going to require a bit of surgery to put the plumbing right, and may be open a while.

It's also worth mentioning that webpacker has been retired. New Rails applications use https://github.com/rails/jsbundling-rails. I'll open an issue to eventually migrate this project to the new tooling - EDIT: see #148. However, we may want to continue along this upgrade path so we can make use of the webpacker 5 => jsbundling upgrade/replacement path guides

@renovate renovate bot force-pushed the renovate/webpack-dev-server-5.x branch 2 times, most recently from eb4f184 to 36e076d Compare February 27, 2024 19:05
@renovate renovate bot force-pushed the renovate/webpack-dev-server-5.x branch 2 times, most recently from 5f106fc to 5623d9d Compare March 18, 2024 17:10
@renovate renovate bot force-pushed the renovate/webpack-dev-server-5.x branch from 5623d9d to c038488 Compare March 19, 2024 22:41
@renovate renovate bot force-pushed the renovate/webpack-dev-server-5.x branch 2 times, most recently from af33e40 to 63a52c3 Compare April 14, 2024 20:07
@renovate renovate bot force-pushed the renovate/webpack-dev-server-5.x branch from 63a52c3 to 91e3f78 Compare April 30, 2024 21:07
@indiebrain indiebrain removed their assignment May 1, 2024
@renovate renovate bot force-pushed the renovate/webpack-dev-server-5.x branch 4 times, most recently from 717fc45 to 0a9f16d Compare May 1, 2024 19:37
@renovate renovate bot force-pushed the renovate/webpack-dev-server-5.x branch 2 times, most recently from ef0eb92 to ba679f6 Compare May 29, 2024 14:51
@renovate renovate bot force-pushed the renovate/webpack-dev-server-5.x branch 2 times, most recently from 2f35533 to 2fcd3c0 Compare June 7, 2024 12:13
@renovate renovate bot force-pushed the renovate/webpack-dev-server-5.x branch 2 times, most recently from 579ff81 to b3b37f5 Compare June 13, 2024 20:11
@renovate renovate bot force-pushed the renovate/webpack-dev-server-5.x branch 2 times, most recently from 78bab00 to aab2fe1 Compare July 3, 2024 16:34
@renovate renovate bot force-pushed the renovate/webpack-dev-server-5.x branch 5 times, most recently from a8859c2 to 89a9651 Compare September 3, 2024 18:57
@renovate renovate bot force-pushed the renovate/webpack-dev-server-5.x branch from 89a9651 to 358e282 Compare September 15, 2024 01:40
@renovate renovate bot force-pushed the renovate/webpack-dev-server-5.x branch 3 times, most recently from ab37b99 to a8f87bb Compare October 1, 2024 14:55
@renovate renovate bot force-pushed the renovate/webpack-dev-server-5.x branch from a8f87bb to b6de428 Compare October 23, 2024 19:13
@renovate renovate bot force-pushed the renovate/webpack-dev-server-5.x branch 5 times, most recently from cecb374 to 95f2e19 Compare November 5, 2024 17:03
@renovate renovate bot force-pushed the renovate/webpack-dev-server-5.x branch 5 times, most recently from e75b887 to 276fef4 Compare December 12, 2024 17:28
@renovate renovate bot force-pushed the renovate/webpack-dev-server-5.x branch from 276fef4 to f654980 Compare December 12, 2024 17:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants