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-cli to v6 #41286

Merged
merged 2 commits into from
Jan 27, 2025
Merged

Update dependency webpack-cli to v6 #41286

merged 2 commits into from
Jan 27, 2025

Conversation

matticbot
Copy link
Contributor

@matticbot matticbot commented Jan 23, 2025

This PR contains the following updates:

Package Type Update Change
webpack-cli (source) devDependencies major 4.9.1 -> 6.0.1
webpack-cli (source) dependencies major 4.9.1 -> 6.0.1
webpack-cli (source) devDependencies major ^5.1.0 -> ^6.0.0

Release Notes

webpack/webpack-cli (webpack-cli)

v6.0.1

Compare Source

Bug Fixes

v6.0.0

Compare Source

BREAKING CHANGES
  • the minimum required Node.js version is 18.12.0
  • removed init, loader and plugin commands in favor create-webpack-app
  • dropped support for webpack-dev-server@v4
  • minimum supported webpack version is 5.82.0
Bug Fixes
Features

5.1.4 (2023-06-07)

Bug Fixes
  • multi compiler progress output (f659624)

5.1.3 (2023-06-04)

Bug Fixes

5.1.2 (2023-06-04)

Bug Fixes
  • improve check for custom webpack and webpack-dev-server package existance (0931ab6)
  • improve help for some flags (f468614)
  • improved support for .cts and .mts extensions (a77daf2)

5.1.1 (2023-05-09)

Bug Fixes

v5.1.4

Compare Source

Bug Fixes
  • multi compiler progress output (f659624)

v5.1.3

Compare Source

Bug Fixes

v5.1.2

Compare Source

Bug Fixes
  • improve check for custom webpack and webpack-dev-server package existance (0931ab6)
  • improve help for some flags (f468614)
  • improved support for .cts and .mts extensions (a77daf2)

v5.1.1

Compare Source

Bug Fixes

v5.1.0

Compare Source

Features
Performance Improvements

5.0.2 (2023-04-21)

Bug Fixes
  • error message for missing default export in configuration (#​3685) (e0a4a09)
  • perf: reduced startup time (3b79059)

5.0.1 (2022-12-05)

Bug Fixes

v5.0.2

Compare Source

Bug Fixes
  • error message for missing default export in configuration (#​3685) (e0a4a09)
  • perf: reduced startup time (3b79059)

v5.0.1

Compare Source

Bug Fixes

v5.0.0

Compare Source

Bug Fixes
Features
  • failOnWarnings option (#​3317) (c48c848)
  • update commander to v9 (#​3460) (6621c02)
  • added the --define-process-env-node-env option
  • update interpret to v3 and rechoir to v0.8
  • add an option for preventing interpret (#​3329) (c737383)
BREAKING CHANGES
  • the minimum supported webpack version is v5.0.0 (#​3342) (b1af0dc), closes #​3342
  • webpack-cli no longer supports webpack v4, the minimum supported version is webpack v5.0.0
  • webpack-cli no longer supports webpack-dev-server v3, the minimum supported version is webpack-dev-server v4.0.0
  • remove the migrate command (#​3291) (56b43e4), closes #​3291
  • remove the --prefetch option in favor the PrefetchPlugin plugin
  • remove the --node-env option in favor --define-process-env-node-env
  • remove the --hot option in favor of directly using the HotModuleReplacement plugin (only for build command, for serve it will work)
  • the behavior logic of the --entry option has been changed - previously it replaced your entries, now the option adds a specified entry, if you want to return the previous behavior please use webpack --entry-reset --entry './src/my-entry.js'

v4.10.0

Compare Source

Bug Fixes
Features

4.9.2 (2022-01-24)

Bug Fixes

4.9.1 (2021-10-18)

Bug Fixes

v4.9.2

Compare Source

Bug Fixes

Configuration

📅 Schedule: Branch creation - "* 0-2 1 * *" in timezone UTC, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

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


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

This PR has been generated by Renovate Bot.

@matticbot matticbot added [Status] Needs Review To request a review from fellow Jetpack developers. Label will be renamed soon. [Type] Janitorial labels Jan 23, 2025
Copy link
Contributor

github-actions bot commented Jan 23, 2025

Are you an Automattician? Please test your changes on all WordPress.com environments to help mitigate accidental explosions.

  • To test on WoA, go to the Plugins menu on a WordPress.com Simple site. Click on the "Upload" button and follow the upgrade flow to be able to upload, install, and activate the Jetpack Beta plugin. Once the plugin is active, go to Jetpack > Jetpack Beta, select your plugin, and enable the renovate/webpack-cli-6.x branch.

    • For jetpack-mu-wpcom changes, also add define( 'JETPACK_MU_WPCOM_LOAD_VIA_BETA_PLUGIN', true ); to your wp-config.php file.
  • To test on Simple, run the following command on your sandbox:

    bin/jetpack-downloader test jetpack renovate/webpack-cli-6.x
    
    bin/jetpack-downloader test jetpack-mu-wpcom-plugin renovate/webpack-cli-6.x
    

Interested in more tips and information?

  • In your local development environment, use the jetpack rsync command to sync your changes to a WoA dev blog.
  • Read more about our development workflow here: PCYsg-eg0-p2
  • Figure out when your changes will be shipped to customers here: PCYsg-eg5-p2

@github-actions github-actions bot added [Package] Jetpack mu wpcom WordPress.com Features [Package] Jitm [Package] Masterbar [Package] My Jetpack [Package] Plugin Deactivation [Package] Publicize [Package] Search Contains core Search functionality for Jetpack and Search plugins [Package] VideoPress [Package] Yoast Promo [Plugin] Automattic For Agencies Client [Plugin] Boost A feature to speed up the site and improve performance. [Plugin] Classic Theme Helper Plugin [Plugin] CRM Issues about the Jetpack CRM plugin [Plugin] Jetpack Issues about the Jetpack plugin. https://wordpress.org/plugins/jetpack/ [Plugin] Protect A plugin with features to protect a site: brute force protection, security scanning, and a WAF. [Plugin] Social Issues about the Jetpack Social plugin [Plugin] Starter Plugin [Plugin] VideoPress A standalone plugin to add high-quality VideoPress videos to your site. RNA labels Jan 23, 2025
@matticbot matticbot force-pushed the renovate/webpack-cli-6.x branch from ac55732 to 0e84191 Compare January 23, 2025 19:12
anomiex
anomiex previously approved these changes Jan 23, 2025
Copy link
Contributor

@anomiex anomiex left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be good, I don't see any relevant changes in the built artifacts.

No time to merge it this evening though, EOD for me. I'll do it tomorrow if no one beats me to it.

@anomiex anomiex merged commit dd5f0a8 into trunk Jan 27, 2025
79 checks passed
@anomiex anomiex deleted the renovate/webpack-cli-6.x branch January 27, 2025 17:12
@github-actions github-actions bot removed the [Status] Needs Review To request a review from fellow Jetpack developers. Label will be renamed soon. label Jan 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Calypsoify [Feature] Contact Form [Feature] Masterbar WordPress.com Toolbar and Dashboard customizations [Feature] Publicize Now Jetpack Social, auto-sharing [Feature] Theme Tools [JS Package] Boost Score Api [JS Package] Charts [JS Package] Components [JS Package] Critical Css Gen [JS Package] I18n Check Webpack Plugin [JS Package] I18n Loader Webpack Plugin [JS Package] Image Guide [JS Package] React Data Sync Client [JS Package] Remove Asset Webpack Plugin [JS Package] Storybook [JS Package] Svelte Data Sync Client [JS Package] Videopress Core [JS Package] Webpack Config [Package] Ad aka WordAds [Package] Assets [Package] Backup [Package] Blaze [Package] Calypsoify [Package] Classic Theme Helper [Package] Connection [Package] Explat [Package] Forms [Package] Jetpack mu wpcom WordPress.com Features [Package] Jitm [Package] Masterbar [Package] My Jetpack [Package] Plugin Deactivation [Package] Publicize [Package] Search Contains core Search functionality for Jetpack and Search plugins [Package] VideoPress [Package] Yoast Promo [Plugin] Automattic For Agencies Client [Plugin] Boost A feature to speed up the site and improve performance. [Plugin] Classic Theme Helper Plugin [Plugin] CRM Issues about the Jetpack CRM plugin [Plugin] Jetpack Issues about the Jetpack plugin. https://wordpress.org/plugins/jetpack/ [Plugin] Protect A plugin with features to protect a site: brute force protection, security scanning, and a WAF. [Plugin] Social Issues about the Jetpack Social plugin [Plugin] Starter Plugin [Plugin] VideoPress A standalone plugin to add high-quality VideoPress videos to your site. RNA [Type] Janitorial
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants