From d4e96f63103c6adbaf67a660798fa6b91b02f24e Mon Sep 17 00:00:00 2001 From: Igor Zinovyev Date: Mon, 27 Jan 2025 15:55:48 +0300 Subject: [PATCH 01/12] Changelog and readme.txt edits. (#41330) --- projects/js-packages/ai-client/CHANGELOG.md | 5 +++++ .../changelog/clean-extra-composer-things | 5 ----- projects/js-packages/ai-client/package.json | 2 +- .../classic-theme-helper/CHANGELOG.md | 5 +++++ .../changelog/clean-extra-composer-things | 5 ----- .../changelog/fix-jetpack-portfolio-fatal | 4 ---- .../classic-theme-helper/package.json | 2 +- .../classic-theme-helper/src/class-main.php | 2 +- projects/packages/forms/CHANGELOG.md | 17 +++++++++++++++ .../changelog/fix-checkbox-checked-state | 4 ---- .../changelog/fix-form-block-icon-colours | 4 ---- .../fix-form-radio-button-missing-div | 4 ---- .../fix-form-textarea-default-border-stylinig | 5 ----- .../fix-forms-checkbox-enter-new-block | 4 ---- .../changelog/fix-forms-send-to-settings | 4 ---- .../forms/changelog/fix-icon-in-site-editor | 4 ---- .../forms-add-default-block-on-input-enter | 4 ---- .../forms/changelog/remove-contact-form-hocs | 4 ---- .../forms/changelog/update-forms-unique-id | 4 ---- projects/packages/forms/package.json | 2 +- .../forms/src/class-jetpack-forms.php | 2 +- projects/packages/import/CHANGELOG.md | 5 +++++ .../changelog/clean-extra-composer-things | 5 ----- projects/packages/import/package.json | 2 +- projects/packages/import/src/class-main.php | 2 +- projects/packages/masterbar/CHANGELOG.md | 8 +++++++ .../changelog/remove-classic-view-notice | 4 ---- .../update-remove-performance-menu-item | 4 ---- projects/packages/masterbar/composer.json | 2 +- projects/packages/masterbar/package.json | 2 +- .../packages/masterbar/src/class-main.php | 2 +- projects/packages/search/CHANGELOG.md | 5 +++++ .../changelog/fix-bad-npm-package-names | 5 ----- .../packages/search/src/class-package.php | 2 +- projects/packages/videopress/CHANGELOG.md | 5 +++++ .../fix-videopress-block-classic-themes | 4 ---- projects/packages/videopress/package.json | 2 +- .../videopress/src/class-package-version.php | 2 +- projects/plugins/jetpack/CHANGELOG.md | 21 +++++++++++++++++++ .../add-comment-endpoint-wpcom-user-fields | 4 ---- .../changelog/add-phpcs-ignore-for-wpcut | 5 ----- .../changelog/clean-extra-composer-things | 5 ----- .../changelog/fix-bad-npm-package-names | 5 ----- .../changelog/fix-bad-npm-package-names#2 | 5 ----- .../jetpack/changelog/fix-cookie-consent-reg | 4 ---- .../plugins/jetpack/changelog/fix-empty-news | 4 ---- .../fix-form-radio-button-missing-div | 5 ----- .../changelog/fix-form-submit-button-outline | 4 ---- .../fix-form-textarea-default-border-stylinig | 4 ---- .../fix-forms-checkbox-enter-new-block | 4 ---- .../jetpack/changelog/fix-icon-in-site-editor | 4 ---- .../fix-jetpack-ai-excerpt-site-editor | 4 ---- ...fix-jetpack-google-fonts-in-classic-themes | 4 ---- .../changelog/fix-publicize-php-unit-tests | 5 ----- .../changelog/fix-publicize-unit-tests-again | 5 ----- .../fix-social-connections-list-feature-check | 4 ---- .../fix-social-linkedin-profile-links | 4 ---- .../fix-videopress-block-classic-themes | 4 ---- .../changelog/remove-contact-form-hocs | 4 ---- .../remove-remove-jetpack-geo-location-2 | 4 ---- ...ert-41075-update-related-posts-block-theme | 4 ---- .../jetpack/changelog/update-forms-unique-id | 5 ----- projects/plugins/jetpack/composer.json | 2 +- projects/plugins/jetpack/composer.lock | 4 ++-- projects/plugins/jetpack/jetpack.php | 4 ++-- .../class.jetpack-geo-location.php | 2 +- projects/plugins/jetpack/readme.txt | 15 +++++++------ .../changelog/prerelease#4} | 2 +- .../plugins/mu-wpcom-plugin/composer.lock | 4 ++-- .../changelog/prerelease#10} | 2 +- projects/plugins/wpcomsh/composer.lock | 4 ++-- 71 files changed, 103 insertions(+), 210 deletions(-) delete mode 100644 projects/js-packages/ai-client/changelog/clean-extra-composer-things delete mode 100644 projects/packages/classic-theme-helper/changelog/clean-extra-composer-things delete mode 100644 projects/packages/classic-theme-helper/changelog/fix-jetpack-portfolio-fatal delete mode 100644 projects/packages/forms/changelog/fix-checkbox-checked-state delete mode 100644 projects/packages/forms/changelog/fix-form-block-icon-colours delete mode 100644 projects/packages/forms/changelog/fix-form-radio-button-missing-div delete mode 100644 projects/packages/forms/changelog/fix-form-textarea-default-border-stylinig delete mode 100644 projects/packages/forms/changelog/fix-forms-checkbox-enter-new-block delete mode 100644 projects/packages/forms/changelog/fix-forms-send-to-settings delete mode 100644 projects/packages/forms/changelog/fix-icon-in-site-editor delete mode 100644 projects/packages/forms/changelog/forms-add-default-block-on-input-enter delete mode 100644 projects/packages/forms/changelog/remove-contact-form-hocs delete mode 100644 projects/packages/forms/changelog/update-forms-unique-id delete mode 100644 projects/packages/import/changelog/clean-extra-composer-things delete mode 100644 projects/packages/masterbar/changelog/remove-classic-view-notice delete mode 100644 projects/packages/masterbar/changelog/update-remove-performance-menu-item delete mode 100644 projects/packages/search/changelog/fix-bad-npm-package-names delete mode 100644 projects/packages/videopress/changelog/fix-videopress-block-classic-themes delete mode 100644 projects/plugins/jetpack/changelog/add-comment-endpoint-wpcom-user-fields delete mode 100644 projects/plugins/jetpack/changelog/add-phpcs-ignore-for-wpcut delete mode 100644 projects/plugins/jetpack/changelog/clean-extra-composer-things delete mode 100644 projects/plugins/jetpack/changelog/fix-bad-npm-package-names delete mode 100644 projects/plugins/jetpack/changelog/fix-bad-npm-package-names#2 delete mode 100644 projects/plugins/jetpack/changelog/fix-cookie-consent-reg delete mode 100644 projects/plugins/jetpack/changelog/fix-empty-news delete mode 100644 projects/plugins/jetpack/changelog/fix-form-radio-button-missing-div delete mode 100644 projects/plugins/jetpack/changelog/fix-form-submit-button-outline delete mode 100644 projects/plugins/jetpack/changelog/fix-form-textarea-default-border-stylinig delete mode 100644 projects/plugins/jetpack/changelog/fix-forms-checkbox-enter-new-block delete mode 100644 projects/plugins/jetpack/changelog/fix-icon-in-site-editor delete mode 100644 projects/plugins/jetpack/changelog/fix-jetpack-ai-excerpt-site-editor delete mode 100644 projects/plugins/jetpack/changelog/fix-jetpack-google-fonts-in-classic-themes delete mode 100644 projects/plugins/jetpack/changelog/fix-publicize-php-unit-tests delete mode 100644 projects/plugins/jetpack/changelog/fix-publicize-unit-tests-again delete mode 100644 projects/plugins/jetpack/changelog/fix-social-connections-list-feature-check delete mode 100644 projects/plugins/jetpack/changelog/fix-social-linkedin-profile-links delete mode 100644 projects/plugins/jetpack/changelog/fix-videopress-block-classic-themes delete mode 100644 projects/plugins/jetpack/changelog/remove-contact-form-hocs delete mode 100644 projects/plugins/jetpack/changelog/remove-remove-jetpack-geo-location-2 delete mode 100644 projects/plugins/jetpack/changelog/revert-41075-update-related-posts-block-theme delete mode 100644 projects/plugins/jetpack/changelog/update-forms-unique-id rename projects/plugins/{jetpack/changelog/prerelease#2 => mu-wpcom-plugin/changelog/prerelease#4} (79%) rename projects/plugins/{jetpack/changelog/prerelease => wpcomsh/changelog/prerelease#10} (79%) diff --git a/projects/js-packages/ai-client/CHANGELOG.md b/projects/js-packages/ai-client/CHANGELOG.md index 067a2d2986c40..8c6f7e7e30b67 100644 --- a/projects/js-packages/ai-client/CHANGELOG.md +++ b/projects/js-packages/ai-client/CHANGELOG.md @@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.25.7] - 2025-01-27 +### Changed +- Internal updates. + ## [0.25.6] - 2025-01-20 ### Changed - Updated package dependencies. [#41099] @@ -506,6 +510,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - AI Client: stop using smart document visibility handling on the fetchEventSource library, so it does not restart the completion when changing tabs. [#32004] - Updated package dependencies. [#31468] [#31659] [#31785] +[0.25.7]: https://github.com/Automattic/jetpack-ai-client/compare/v0.25.6...v0.25.7 [0.25.6]: https://github.com/Automattic/jetpack-ai-client/compare/v0.25.5...v0.25.6 [0.25.5]: https://github.com/Automattic/jetpack-ai-client/compare/v0.25.4...v0.25.5 [0.25.4]: https://github.com/Automattic/jetpack-ai-client/compare/v0.25.3...v0.25.4 diff --git a/projects/js-packages/ai-client/changelog/clean-extra-composer-things b/projects/js-packages/ai-client/changelog/clean-extra-composer-things deleted file mode 100644 index 3d662316f955f..0000000000000 --- a/projects/js-packages/ai-client/changelog/clean-extra-composer-things +++ /dev/null @@ -1,5 +0,0 @@ -Significance: patch -Type: fixed -Comment: Removing development packages, nothing with production code - - diff --git a/projects/js-packages/ai-client/package.json b/projects/js-packages/ai-client/package.json index 583e74aca2524..1769207997acb 100644 --- a/projects/js-packages/ai-client/package.json +++ b/projects/js-packages/ai-client/package.json @@ -1,7 +1,7 @@ { "private": false, "name": "@automattic/jetpack-ai-client", - "version": "0.25.6", + "version": "0.25.7", "description": "A JS client for consuming Jetpack AI services", "homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/js-packages/ai-client/#readme", "bugs": { diff --git a/projects/packages/classic-theme-helper/CHANGELOG.md b/projects/packages/classic-theme-helper/CHANGELOG.md index c24c013a0314a..d4f3a910acde0 100644 --- a/projects/packages/classic-theme-helper/CHANGELOG.md +++ b/projects/packages/classic-theme-helper/CHANGELOG.md @@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.9.2] - 2025-01-27 +### Fixed +- Classic Theme Helper: Fix Fatal in Jetpack_Portfolio. [#41304] + ## [0.9.1] - 2025-01-20 ### Changed - Code: Use function-style exit() and die() with a default status code of 0. [#41167] @@ -198,6 +202,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed - Add wordpress folder on gitignore. [#37177] +[0.9.2]: https://github.com/Automattic/jetpack-classic-theme-helper/compare/v0.9.1...v0.9.2 [0.9.1]: https://github.com/Automattic/jetpack-classic-theme-helper/compare/v0.9.0...v0.9.1 [0.9.0]: https://github.com/Automattic/jetpack-classic-theme-helper/compare/v0.8.3...v0.9.0 [0.8.3]: https://github.com/Automattic/jetpack-classic-theme-helper/compare/v0.8.2...v0.8.3 diff --git a/projects/packages/classic-theme-helper/changelog/clean-extra-composer-things b/projects/packages/classic-theme-helper/changelog/clean-extra-composer-things deleted file mode 100644 index 3d662316f955f..0000000000000 --- a/projects/packages/classic-theme-helper/changelog/clean-extra-composer-things +++ /dev/null @@ -1,5 +0,0 @@ -Significance: patch -Type: fixed -Comment: Removing development packages, nothing with production code - - diff --git a/projects/packages/classic-theme-helper/changelog/fix-jetpack-portfolio-fatal b/projects/packages/classic-theme-helper/changelog/fix-jetpack-portfolio-fatal deleted file mode 100644 index 7a27a6d7d7f3e..0000000000000 --- a/projects/packages/classic-theme-helper/changelog/fix-jetpack-portfolio-fatal +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: fixed - -Classic Theme Helper: Fix Fatal in Jetpack_Portfolio diff --git a/projects/packages/classic-theme-helper/package.json b/projects/packages/classic-theme-helper/package.json index fc977bc036388..97e5f882bd51e 100644 --- a/projects/packages/classic-theme-helper/package.json +++ b/projects/packages/classic-theme-helper/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "@automattic/jetpack-classic-theme-helper", - "version": "0.9.1", + "version": "0.9.2", "description": "Features used with classic themes", "homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/packages/classic-theme-helper/#readme", "bugs": { diff --git a/projects/packages/classic-theme-helper/src/class-main.php b/projects/packages/classic-theme-helper/src/class-main.php index 0539b42bbb53e..41e79780f7870 100644 --- a/projects/packages/classic-theme-helper/src/class-main.php +++ b/projects/packages/classic-theme-helper/src/class-main.php @@ -14,7 +14,7 @@ */ class Main { - const PACKAGE_VERSION = '0.9.1'; + const PACKAGE_VERSION = '0.9.2'; /** * Modules to include. diff --git a/projects/packages/forms/CHANGELOG.md b/projects/packages/forms/CHANGELOG.md index 4bae69f765038..b2d133840d786 100644 --- a/projects/packages/forms/CHANGELOG.md +++ b/projects/packages/forms/CHANGELOG.md @@ -5,6 +5,22 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.35.1] - 2025-01-27 +### Added +- Add Checkbox and Consent field enter action to create a new block. [#41297] +- Forms: Create new default block when pressing Enter on text inputs. [#41177] + +### Changed +- Forms: Remove wrapping
element from form block. [#41274] + +### Fixed +- Adds missing deprecation for checkboxes and radio fields. [#41198] +- Form: fix the default checkstate for admins. [#40847] +- Forms: Add unique ids to each form. [#40998] +- Forms: fix send to settings for multiple authors. [#41290] +- Forms: Make the icons show up as expected in the style editor. [#41314] +- Updates the icon colours to the new standard. [#41250] + ## [0.35.0] - 2025-01-20 ### Added - Forms: Allow HTML block within forms. [#41040] @@ -773,6 +789,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Added a new jetpack/forms package [#28409] - Added a public load_contact_form method for initializing the contact form module. [#28416] +[0.35.1]: https://github.com/automattic/jetpack-forms/compare/v0.35.0...v0.35.1 [0.35.0]: https://github.com/automattic/jetpack-forms/compare/v0.34.6...v0.35.0 [0.34.6]: https://github.com/automattic/jetpack-forms/compare/v0.34.5...v0.34.6 [0.34.5]: https://github.com/automattic/jetpack-forms/compare/v0.34.4...v0.34.5 diff --git a/projects/packages/forms/changelog/fix-checkbox-checked-state b/projects/packages/forms/changelog/fix-checkbox-checked-state deleted file mode 100644 index 93093a7ae3ad5..0000000000000 --- a/projects/packages/forms/changelog/fix-checkbox-checked-state +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: fixed - -Form: fix the default checkstate for admins diff --git a/projects/packages/forms/changelog/fix-form-block-icon-colours b/projects/packages/forms/changelog/fix-form-block-icon-colours deleted file mode 100644 index 3aeb9f29911e9..0000000000000 --- a/projects/packages/forms/changelog/fix-form-block-icon-colours +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: fixed - -Updates the icon colours to the new standard diff --git a/projects/packages/forms/changelog/fix-form-radio-button-missing-div b/projects/packages/forms/changelog/fix-form-radio-button-missing-div deleted file mode 100644 index 0c87d0e433f94..0000000000000 --- a/projects/packages/forms/changelog/fix-form-radio-button-missing-div +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: fixed - -Adds missing deprecation for checkboxes and radio fields diff --git a/projects/packages/forms/changelog/fix-form-textarea-default-border-stylinig b/projects/packages/forms/changelog/fix-form-textarea-default-border-stylinig deleted file mode 100644 index 2e25c1fd436b6..0000000000000 --- a/projects/packages/forms/changelog/fix-form-textarea-default-border-stylinig +++ /dev/null @@ -1,5 +0,0 @@ -Significance: patch -Type: fixed -Comment: THis seems like a minor fix - - diff --git a/projects/packages/forms/changelog/fix-forms-checkbox-enter-new-block b/projects/packages/forms/changelog/fix-forms-checkbox-enter-new-block deleted file mode 100644 index 38fe0d4db8565..0000000000000 --- a/projects/packages/forms/changelog/fix-forms-checkbox-enter-new-block +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: added - -Add Checkbox and Consent field enter action to create a new block diff --git a/projects/packages/forms/changelog/fix-forms-send-to-settings b/projects/packages/forms/changelog/fix-forms-send-to-settings deleted file mode 100644 index 0e4d2a8341954..0000000000000 --- a/projects/packages/forms/changelog/fix-forms-send-to-settings +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: fixed - -Forms: fix send to settings for multiple authors diff --git a/projects/packages/forms/changelog/fix-icon-in-site-editor b/projects/packages/forms/changelog/fix-icon-in-site-editor deleted file mode 100644 index 2f4b228fcfae2..0000000000000 --- a/projects/packages/forms/changelog/fix-icon-in-site-editor +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: fixed - -Forms: Make the icons show up as expected in the style editor diff --git a/projects/packages/forms/changelog/forms-add-default-block-on-input-enter b/projects/packages/forms/changelog/forms-add-default-block-on-input-enter deleted file mode 100644 index 4290c7cc770eb..0000000000000 --- a/projects/packages/forms/changelog/forms-add-default-block-on-input-enter +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: added - -Forms: Create new default block when pressing Enter on text inputs diff --git a/projects/packages/forms/changelog/remove-contact-form-hocs b/projects/packages/forms/changelog/remove-contact-form-hocs deleted file mode 100644 index 9b38f38c0c172..0000000000000 --- a/projects/packages/forms/changelog/remove-contact-form-hocs +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: changed - -Forms: Remove wrapping
element from form block. diff --git a/projects/packages/forms/changelog/update-forms-unique-id b/projects/packages/forms/changelog/update-forms-unique-id deleted file mode 100644 index a9fa70192e97b..0000000000000 --- a/projects/packages/forms/changelog/update-forms-unique-id +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: fixed - -Forms: Add unique ids to each form diff --git a/projects/packages/forms/package.json b/projects/packages/forms/package.json index bea70bfb8ae3e..f23a44628f4df 100644 --- a/projects/packages/forms/package.json +++ b/projects/packages/forms/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "@automattic/jetpack-forms", - "version": "0.35.0", + "version": "0.35.1", "description": "Jetpack Forms", "homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/packages/forms/#readme", "bugs": { diff --git a/projects/packages/forms/src/class-jetpack-forms.php b/projects/packages/forms/src/class-jetpack-forms.php index 8c8db70db95be..418e8670fcb38 100644 --- a/projects/packages/forms/src/class-jetpack-forms.php +++ b/projects/packages/forms/src/class-jetpack-forms.php @@ -15,7 +15,7 @@ */ class Jetpack_Forms { - const PACKAGE_VERSION = '0.35.0'; + const PACKAGE_VERSION = '0.35.1'; /** * Load the contact form module. diff --git a/projects/packages/import/CHANGELOG.md b/projects/packages/import/CHANGELOG.md index 4d96561e5d532..c422652f39ef2 100644 --- a/projects/packages/import/CHANGELOG.md +++ b/projects/packages/import/CHANGELOG.md @@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.9.3] - 2025-01-27 +### Changed +- Internal updates. + ## [0.9.2] - 2024-12-16 ### Fixed - Import: setting WP_IMPORTING when doing an import. [#40563] @@ -134,6 +138,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed - Fixed various imported resources hierarchies [#29012] +[0.9.3]: https://github.com/Automattic/jetpack-import/compare/v0.9.2...v0.9.3 [0.9.2]: https://github.com/Automattic/jetpack-import/compare/v0.9.1...v0.9.2 [0.9.1]: https://github.com/Automattic/jetpack-import/compare/v0.9.0...v0.9.1 [0.9.0]: https://github.com/Automattic/jetpack-import/compare/v0.8.11...v0.9.0 diff --git a/projects/packages/import/changelog/clean-extra-composer-things b/projects/packages/import/changelog/clean-extra-composer-things deleted file mode 100644 index 3d662316f955f..0000000000000 --- a/projects/packages/import/changelog/clean-extra-composer-things +++ /dev/null @@ -1,5 +0,0 @@ -Significance: patch -Type: fixed -Comment: Removing development packages, nothing with production code - - diff --git a/projects/packages/import/package.json b/projects/packages/import/package.json index 1e754e2218de6..ebb2eb385a027 100644 --- a/projects/packages/import/package.json +++ b/projects/packages/import/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "@automattic/jetpack-import", - "version": "0.9.2", + "version": "0.9.3", "description": "Set of REST API routes used in WPCOM Unified Importer.", "homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/packages/import/#readme", "bugs": { diff --git a/projects/packages/import/src/class-main.php b/projects/packages/import/src/class-main.php index b3314f3ff2b1c..6d0e32fbb8d6f 100644 --- a/projects/packages/import/src/class-main.php +++ b/projects/packages/import/src/class-main.php @@ -20,7 +20,7 @@ class Main { * * @var string */ - const PACKAGE_VERSION = '0.9.2'; + const PACKAGE_VERSION = '0.9.3'; /** * A list of all the routes. diff --git a/projects/packages/masterbar/CHANGELOG.md b/projects/packages/masterbar/CHANGELOG.md index 1c298b39a101c..3f44847564b10 100644 --- a/projects/packages/masterbar/CHANGELOG.md +++ b/projects/packages/masterbar/CHANGELOG.md @@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.12.0] - 2025-01-27 +### Added +- Hide the calypso based Performance menu item on wordpress.com, show page-optimize based Performance menu item on Atomic sites. [#41145] + +### Removed +- Remove classic view admin notice from general settings (for Atomic sites). [#41155] + ## [0.11.0] - 2025-01-20 ### Changed - Add watch command in the masterbar package. [#41066] @@ -207,6 +214,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Notifications: Change Icon [#37676] - Updated package dependencies. [#37669] [#37706] +[0.12.0]: https://github.com/Automattic/jetpack-masterbar/compare/v0.11.0...v0.12.0 [0.11.0]: https://github.com/Automattic/jetpack-masterbar/compare/v0.10.6...v0.11.0 [0.10.6]: https://github.com/Automattic/jetpack-masterbar/compare/v0.10.5...v0.10.6 [0.10.5]: https://github.com/Automattic/jetpack-masterbar/compare/v0.10.4...v0.10.5 diff --git a/projects/packages/masterbar/changelog/remove-classic-view-notice b/projects/packages/masterbar/changelog/remove-classic-view-notice deleted file mode 100644 index c67067aa466a4..0000000000000 --- a/projects/packages/masterbar/changelog/remove-classic-view-notice +++ /dev/null @@ -1,4 +0,0 @@ -Significance: minor -Type: removed - -removed classic view admin notice from general settings (for atomic sites) diff --git a/projects/packages/masterbar/changelog/update-remove-performance-menu-item b/projects/packages/masterbar/changelog/update-remove-performance-menu-item deleted file mode 100644 index 2300c80248710..0000000000000 --- a/projects/packages/masterbar/changelog/update-remove-performance-menu-item +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: added - -Hides the calypso based Performance menu item on wordpress.com, shows page-optimize based Performance menu item on Atomic sites. diff --git a/projects/packages/masterbar/composer.json b/projects/packages/masterbar/composer.json index 4906656bc2840..b4b0dfff9a159 100644 --- a/projects/packages/masterbar/composer.json +++ b/projects/packages/masterbar/composer.json @@ -72,7 +72,7 @@ "extra": { "autotagger": true, "branch-alias": { - "dev-trunk": "0.11.x-dev" + "dev-trunk": "0.12.x-dev" }, "changelogger": { "link-template": "https://github.com/Automattic/jetpack-masterbar/compare/v${old}...v${new}" diff --git a/projects/packages/masterbar/package.json b/projects/packages/masterbar/package.json index 1bb298709bf2b..eb0d07e11ffed 100644 --- a/projects/packages/masterbar/package.json +++ b/projects/packages/masterbar/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "@automattic/jetpack-masterbar", - "version": "0.11.0", + "version": "0.12.0", "description": "The WordPress.com Toolbar feature replaces the default admin bar and offers quick links to the Reader, all your sites, your WordPress.com profile, and notifications.", "homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/packages/masterbar/#readme", "bugs": { diff --git a/projects/packages/masterbar/src/class-main.php b/projects/packages/masterbar/src/class-main.php index 57551b00d9334..72b808a99261d 100644 --- a/projects/packages/masterbar/src/class-main.php +++ b/projects/packages/masterbar/src/class-main.php @@ -14,7 +14,7 @@ */ class Main { - const PACKAGE_VERSION = '0.11.0'; + const PACKAGE_VERSION = '0.12.0'; /** * Initializer. diff --git a/projects/packages/search/CHANGELOG.md b/projects/packages/search/CHANGELOG.md index 39e1e1f9dee3b..0f19be500029d 100644 --- a/projects/packages/search/CHANGELOG.md +++ b/projects/packages/search/CHANGELOG.md @@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.47.7] - 2025-01-27 +### Changed +- Internal updates. + ## [0.47.6] - 2025-01-20 ### Changed - Code: Use function-style exit() and die() with a default status code of 0. [#41167] @@ -1112,6 +1116,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Updated package dependencies. - Update PHPUnit configs to include just what needs coverage rather than include everything then try to exclude stuff that doesn't. +[0.47.7]: https://github.com/Automattic/jetpack-search/compare/v0.47.6...v0.47.7 [0.47.6]: https://github.com/Automattic/jetpack-search/compare/v0.47.5...v0.47.6 [0.47.5]: https://github.com/Automattic/jetpack-search/compare/v0.47.4...v0.47.5 [0.47.4]: https://github.com/Automattic/jetpack-search/compare/v0.47.3...v0.47.4 diff --git a/projects/packages/search/changelog/fix-bad-npm-package-names b/projects/packages/search/changelog/fix-bad-npm-package-names deleted file mode 100644 index 6e781f5152830..0000000000000 --- a/projects/packages/search/changelog/fix-bad-npm-package-names +++ /dev/null @@ -1,5 +0,0 @@ -Significance: patch -Type: fixed -Comment: Remove unused "name" field from package.json. This is not published and is not the target of an intra-monorepo JS dependency. - - diff --git a/projects/packages/search/src/class-package.php b/projects/packages/search/src/class-package.php index 0006b997f6ae8..e1e73f8497b92 100644 --- a/projects/packages/search/src/class-package.php +++ b/projects/packages/search/src/class-package.php @@ -11,7 +11,7 @@ * Search package general information */ class Package { - const VERSION = '0.47.6'; + const VERSION = '0.47.7'; const SLUG = 'search'; /** diff --git a/projects/packages/videopress/CHANGELOG.md b/projects/packages/videopress/CHANGELOG.md index c70d4f2853b8a..edf6ca53cc250 100644 --- a/projects/packages/videopress/CHANGELOG.md +++ b/projects/packages/videopress/CHANGELOG.md @@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.25.8] - 2025-01-27 +### Fixed +- VideoPress: Fix issue with VideoPress block with 0 height and width [#41319] + ## [0.25.7] - 2025-01-20 ### Changed - Code: Use function-style exit() and die() with a default status code of 0. [#41167] @@ -1517,6 +1521,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added - Created empty package [#24952] +[0.25.8]: https://github.com/Automattic/jetpack-videopress/compare/v0.25.7...v0.25.8 [0.25.7]: https://github.com/Automattic/jetpack-videopress/compare/v0.25.6...v0.25.7 [0.25.6]: https://github.com/Automattic/jetpack-videopress/compare/v0.25.5...v0.25.6 [0.25.5]: https://github.com/Automattic/jetpack-videopress/compare/v0.25.4...v0.25.5 diff --git a/projects/packages/videopress/changelog/fix-videopress-block-classic-themes b/projects/packages/videopress/changelog/fix-videopress-block-classic-themes deleted file mode 100644 index 154c3dd749648..0000000000000 --- a/projects/packages/videopress/changelog/fix-videopress-block-classic-themes +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: fixed - -VideoPress: Fix issue with VideoPress block with 0 height and width diff --git a/projects/packages/videopress/package.json b/projects/packages/videopress/package.json index cf03fb3ad28f5..3265c25493d52 100644 --- a/projects/packages/videopress/package.json +++ b/projects/packages/videopress/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "@automattic/jetpack-videopress", - "version": "0.25.7", + "version": "0.25.8", "description": "VideoPress package", "homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/packages/videopress/#readme", "bugs": { diff --git a/projects/packages/videopress/src/class-package-version.php b/projects/packages/videopress/src/class-package-version.php index 2dc0c60e61184..92d353f8e1802 100644 --- a/projects/packages/videopress/src/class-package-version.php +++ b/projects/packages/videopress/src/class-package-version.php @@ -11,7 +11,7 @@ * The Package_Version class. */ class Package_Version { - const PACKAGE_VERSION = '0.25.7'; + const PACKAGE_VERSION = '0.25.8'; const PACKAGE_SLUG = 'videopress'; diff --git a/projects/plugins/jetpack/CHANGELOG.md b/projects/plugins/jetpack/CHANGELOG.md index 534c1fa2ad32f..00c73bb3bf771 100644 --- a/projects/plugins/jetpack/CHANGELOG.md +++ b/projects/plugins/jetpack/CHANGELOG.md @@ -2,6 +2,27 @@ ### This is a list detailing changes for all Jetpack releases. +## 14.3-a.5 - 2025-01-27 +### Enhancements +- Forms: Add Checkbox and Consent field enter action to create a new block. [#41297] + +### Bug fixes +- Forms: Make the icons show up as expected in the style editor. [#41314] +- Sitemaps: Ensure a valid news sitemap is present even if no posts are eligible. [#40893] +- Social: Fix profile links for LinkedIn connections. [#40873] +- Social: Fix Publicize error in the editor due to malformed connections data. [#40679] +- VideoPress: Fix issue with VideoPress block with zero height and width. [#41319] + +### Other changes +- Comments API: Add wpcom_id and wpcom_login fields to comment author responses when requested via author_wpcom_data parameter. [#41254] +- Forms: Fix default editor stying for textarea. [#41229] +- Forms: Remove wrapping
element from form block. [#41274] +- General: Fix the rendering of Jetpack Google Fonts font faces for classic themes. [#41190] +- General: Deprecate Jetpack geo location module. [#41193] +- Jetpack AI: Use the PluginDocumentSettingPanel slotfill for compatibility with site and post editor in the Excerpt panel. [#41251] +- Jetpack button: Implement outline style. [#41194] +- Related Posts: Revert "Hide settings in block themes." [#41203] + ## 14.3-a.3 - 2025-01-20 ### Enhancements - Forms: Allow HTML block within forms. [#41040] diff --git a/projects/plugins/jetpack/changelog/add-comment-endpoint-wpcom-user-fields b/projects/plugins/jetpack/changelog/add-comment-endpoint-wpcom-user-fields deleted file mode 100644 index 56e3b470c7d40..0000000000000 --- a/projects/plugins/jetpack/changelog/add-comment-endpoint-wpcom-user-fields +++ /dev/null @@ -1,4 +0,0 @@ -Significance: minor -Type: other - -Comments API: Add wpcom_id and wpcom_login fields to comment author responses when requested via author_wpcom_data parameter. diff --git a/projects/plugins/jetpack/changelog/add-phpcs-ignore-for-wpcut b/projects/plugins/jetpack/changelog/add-phpcs-ignore-for-wpcut deleted file mode 100644 index e61241f9dddd2..0000000000000 --- a/projects/plugins/jetpack/changelog/add-phpcs-ignore-for-wpcut +++ /dev/null @@ -1,5 +0,0 @@ -Significance: patch -Type: other -Comment: Add phpcs:ignore for wpcom. No changes to functionality. - - diff --git a/projects/plugins/jetpack/changelog/clean-extra-composer-things b/projects/plugins/jetpack/changelog/clean-extra-composer-things deleted file mode 100644 index 0246f2989b8fd..0000000000000 --- a/projects/plugins/jetpack/changelog/clean-extra-composer-things +++ /dev/null @@ -1,5 +0,0 @@ -Significance: patch -Type: other -Comment: Only updated dev tools - - diff --git a/projects/plugins/jetpack/changelog/fix-bad-npm-package-names b/projects/plugins/jetpack/changelog/fix-bad-npm-package-names deleted file mode 100644 index aea5a62a1613d..0000000000000 --- a/projects/plugins/jetpack/changelog/fix-bad-npm-package-names +++ /dev/null @@ -1,5 +0,0 @@ -Significance: patch -Type: other -Comment: Remove unused "name" field from package.json. This is not published and is not the target of an intra-monorepo JS dependency. - - diff --git a/projects/plugins/jetpack/changelog/fix-bad-npm-package-names#2 b/projects/plugins/jetpack/changelog/fix-bad-npm-package-names#2 deleted file mode 100644 index 64df5e9573438..0000000000000 --- a/projects/plugins/jetpack/changelog/fix-bad-npm-package-names#2 +++ /dev/null @@ -1,5 +0,0 @@ -Significance: patch -Type: other -Comment: Rename intra-monorepo `jetpack-e2e-commons` dep to `_jetpack-e2e-commons`, which cannot be published to npmjs.com. - - diff --git a/projects/plugins/jetpack/changelog/fix-cookie-consent-reg b/projects/plugins/jetpack/changelog/fix-cookie-consent-reg deleted file mode 100644 index 1ef8afea050a2..0000000000000 --- a/projects/plugins/jetpack/changelog/fix-cookie-consent-reg +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: other - - diff --git a/projects/plugins/jetpack/changelog/fix-empty-news b/projects/plugins/jetpack/changelog/fix-empty-news deleted file mode 100644 index 2a7c16c64d28a..0000000000000 --- a/projects/plugins/jetpack/changelog/fix-empty-news +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: bugfix - -Sitemaps: ensures a valid news sitemap is present even if no posts are eligible. diff --git a/projects/plugins/jetpack/changelog/fix-form-radio-button-missing-div b/projects/plugins/jetpack/changelog/fix-form-radio-button-missing-div deleted file mode 100644 index e28a76958ead5..0000000000000 --- a/projects/plugins/jetpack/changelog/fix-form-radio-button-missing-div +++ /dev/null @@ -1,5 +0,0 @@ -Significance: patch -Type: bugfix -Comment: Seems like a minor bug fix - - diff --git a/projects/plugins/jetpack/changelog/fix-form-submit-button-outline b/projects/plugins/jetpack/changelog/fix-form-submit-button-outline deleted file mode 100644 index 57b3002471771..0000000000000 --- a/projects/plugins/jetpack/changelog/fix-form-submit-button-outline +++ /dev/null @@ -1,4 +0,0 @@ -Significance: minor -Type: other - -Jetpack button: implement outline style diff --git a/projects/plugins/jetpack/changelog/fix-form-textarea-default-border-stylinig b/projects/plugins/jetpack/changelog/fix-form-textarea-default-border-stylinig deleted file mode 100644 index d7c3a3acbc3c5..0000000000000 --- a/projects/plugins/jetpack/changelog/fix-form-textarea-default-border-stylinig +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: other - -Forms: fixed default editor stying for textarea diff --git a/projects/plugins/jetpack/changelog/fix-forms-checkbox-enter-new-block b/projects/plugins/jetpack/changelog/fix-forms-checkbox-enter-new-block deleted file mode 100644 index a2ed2682d4ea1..0000000000000 --- a/projects/plugins/jetpack/changelog/fix-forms-checkbox-enter-new-block +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: enhancement - -Forms: Add Checkbox and Consent field enter action to create a new block diff --git a/projects/plugins/jetpack/changelog/fix-icon-in-site-editor b/projects/plugins/jetpack/changelog/fix-icon-in-site-editor deleted file mode 100644 index 87326664b1de1..0000000000000 --- a/projects/plugins/jetpack/changelog/fix-icon-in-site-editor +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: bugfix - -Make the icons show up as expected in the style editor diff --git a/projects/plugins/jetpack/changelog/fix-jetpack-ai-excerpt-site-editor b/projects/plugins/jetpack/changelog/fix-jetpack-ai-excerpt-site-editor deleted file mode 100644 index 923bc46e99287..0000000000000 --- a/projects/plugins/jetpack/changelog/fix-jetpack-ai-excerpt-site-editor +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: other - -Jetpack AI: excerpt panel now uses PluginDocumentSettingPanel slotfill for compatibility with site and post editor diff --git a/projects/plugins/jetpack/changelog/fix-jetpack-google-fonts-in-classic-themes b/projects/plugins/jetpack/changelog/fix-jetpack-google-fonts-in-classic-themes deleted file mode 100644 index 0a2c259a241f1..0000000000000 --- a/projects/plugins/jetpack/changelog/fix-jetpack-google-fonts-in-classic-themes +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: other - -Fix the rendering of jetpack google fonts font faces for classic themes. diff --git a/projects/plugins/jetpack/changelog/fix-publicize-php-unit-tests b/projects/plugins/jetpack/changelog/fix-publicize-php-unit-tests deleted file mode 100644 index 62ae61fa5fb9f..0000000000000 --- a/projects/plugins/jetpack/changelog/fix-publicize-php-unit-tests +++ /dev/null @@ -1,5 +0,0 @@ -Significance: patch -Type: other -Comment: Fixed Publicize unit tests - - diff --git a/projects/plugins/jetpack/changelog/fix-publicize-unit-tests-again b/projects/plugins/jetpack/changelog/fix-publicize-unit-tests-again deleted file mode 100644 index c8f7896ae00a9..0000000000000 --- a/projects/plugins/jetpack/changelog/fix-publicize-unit-tests-again +++ /dev/null @@ -1,5 +0,0 @@ -Significance: patch -Type: other -Comment: Fixed publicize unit test - - diff --git a/projects/plugins/jetpack/changelog/fix-social-connections-list-feature-check b/projects/plugins/jetpack/changelog/fix-social-connections-list-feature-check deleted file mode 100644 index 76c3a4215d02f..0000000000000 --- a/projects/plugins/jetpack/changelog/fix-social-connections-list-feature-check +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: bugfix - -Social | Fix publicize error in the editor due to malformed connections data diff --git a/projects/plugins/jetpack/changelog/fix-social-linkedin-profile-links b/projects/plugins/jetpack/changelog/fix-social-linkedin-profile-links deleted file mode 100644 index 06f9ff81b9f67..0000000000000 --- a/projects/plugins/jetpack/changelog/fix-social-linkedin-profile-links +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: bugfix - -Social: Fix profile links for LinkedIn connections diff --git a/projects/plugins/jetpack/changelog/fix-videopress-block-classic-themes b/projects/plugins/jetpack/changelog/fix-videopress-block-classic-themes deleted file mode 100644 index a47d497c95f7d..0000000000000 --- a/projects/plugins/jetpack/changelog/fix-videopress-block-classic-themes +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: bugfix - -VideoPress: Fix issue with VideoPress block with 0 height and width diff --git a/projects/plugins/jetpack/changelog/remove-contact-form-hocs b/projects/plugins/jetpack/changelog/remove-contact-form-hocs deleted file mode 100644 index 3566d3d26c790..0000000000000 --- a/projects/plugins/jetpack/changelog/remove-contact-form-hocs +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: other - -Forms: Remove wrapping
element from form block. diff --git a/projects/plugins/jetpack/changelog/remove-remove-jetpack-geo-location-2 b/projects/plugins/jetpack/changelog/remove-remove-jetpack-geo-location-2 deleted file mode 100644 index 7ad726083cde6..0000000000000 --- a/projects/plugins/jetpack/changelog/remove-remove-jetpack-geo-location-2 +++ /dev/null @@ -1,4 +0,0 @@ -Significance: minor -Type: other - -Deprecate Jetpack geo location module diff --git a/projects/plugins/jetpack/changelog/revert-41075-update-related-posts-block-theme b/projects/plugins/jetpack/changelog/revert-41075-update-related-posts-block-theme deleted file mode 100644 index 842a45c767d72..0000000000000 --- a/projects/plugins/jetpack/changelog/revert-41075-update-related-posts-block-theme +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: other - -Revert "Related Posts: Hide settings in block themes" diff --git a/projects/plugins/jetpack/changelog/update-forms-unique-id b/projects/plugins/jetpack/changelog/update-forms-unique-id deleted file mode 100644 index b9412e76b338b..0000000000000 --- a/projects/plugins/jetpack/changelog/update-forms-unique-id +++ /dev/null @@ -1,5 +0,0 @@ -Significance: patch -Type: bugfix -Comment: Forms: Add unique ids to each form - - diff --git a/projects/plugins/jetpack/composer.json b/projects/plugins/jetpack/composer.json index 7092b747b3737..46a456adaf195 100644 --- a/projects/plugins/jetpack/composer.json +++ b/projects/plugins/jetpack/composer.json @@ -106,7 +106,7 @@ "platform": { "ext-intl": "0.0.0" }, - "autoloader-suffix": "f11009ded9fc4592b6a05b61ce272b3c_jetpackā“„14_3_a_3", + "autoloader-suffix": "f11009ded9fc4592b6a05b61ce272b3c_jetpackā“„14_3_a_5", "allow-plugins": { "automattic/jetpack-autoloader": true, "automattic/jetpack-composer-plugin": true diff --git a/projects/plugins/jetpack/composer.lock b/projects/plugins/jetpack/composer.lock index 2bf1832949535..931fbc89862b2 100644 --- a/projects/plugins/jetpack/composer.lock +++ b/projects/plugins/jetpack/composer.lock @@ -1696,7 +1696,7 @@ "dist": { "type": "path", "url": "../../packages/masterbar", - "reference": "9587aa811998a8a174ddae723de91faa7e179f93" + "reference": "1a08129a72ad4ad0483881bd8fc7b2a5376d9a3b" }, "require": { "automattic/jetpack-assets": "@dev", @@ -1725,7 +1725,7 @@ "extra": { "autotagger": true, "branch-alias": { - "dev-trunk": "0.11.x-dev" + "dev-trunk": "0.12.x-dev" }, "changelogger": { "link-template": "https://github.com/Automattic/jetpack-masterbar/compare/v${old}...v${new}" diff --git a/projects/plugins/jetpack/jetpack.php b/projects/plugins/jetpack/jetpack.php index 095e97494f88a..8ea34457295d0 100644 --- a/projects/plugins/jetpack/jetpack.php +++ b/projects/plugins/jetpack/jetpack.php @@ -4,7 +4,7 @@ * Plugin URI: https://jetpack.com * Description: Security, performance, and marketing tools made by WordPress experts. Jetpack keeps your site protected so you can focus on more important things. * Author: Automattic - * Version: 14.3-a.3 + * Version: 14.3-a.5 * Author URI: https://jetpack.com * License: GPL2+ * Text Domain: jetpack @@ -34,7 +34,7 @@ define( 'JETPACK__MINIMUM_WP_VERSION', '6.6' ); define( 'JETPACK__MINIMUM_PHP_VERSION', '7.2' ); -define( 'JETPACK__VERSION', '14.3-a.3' ); +define( 'JETPACK__VERSION', '14.3-a.5' ); /** * Constant used to fetch the connection owner token diff --git a/projects/plugins/jetpack/modules/geo-location/class.jetpack-geo-location.php b/projects/plugins/jetpack/modules/geo-location/class.jetpack-geo-location.php index 450edb92ee352..5552ce54c5250 100644 --- a/projects/plugins/jetpack/modules/geo-location/class.jetpack-geo-location.php +++ b/projects/plugins/jetpack/modules/geo-location/class.jetpack-geo-location.php @@ -63,7 +63,7 @@ public function __construct() { public function wordpress_init() { // Only render location label after post content, if the theme claims to support "geo-location". if ( current_theme_supports( 'jetpack-geo-location' ) ) { - _deprecated_class( 'Jetpack_Geo_Location', '$$next-version$$', '' ); + _deprecated_class( 'Jetpack_Geo_Location', '14.3', '' ); } } } diff --git a/projects/plugins/jetpack/readme.txt b/projects/plugins/jetpack/readme.txt index 705a43e725a2b..7b698af14a10a 100644 --- a/projects/plugins/jetpack/readme.txt +++ b/projects/plugins/jetpack/readme.txt @@ -326,17 +326,16 @@ Jetpack Backup can do a full website migration to a new host, migrate theme file == Changelog == -### 14.3-a.3 - 2025-01-20 +### 14.3-a.5 - 2025-01-27 #### Enhancements -- Forms: Allow HTML block within forms. -- Show Infinite Scroll options in Simple Classic. +- Forms: Add Checkbox and Consent field enter action to create a new block. #### Bug fixes -- Fix: Newsletter toggle in editor sidebar has a visually broken active state. -- Forms: Fix dropdown icon style. -- Photon: Fix double encoding image urls. -- Sharing: Fix the location of the sharing dialog so it is not always the first sharing element on the page. -- Social: Fix wordpress.com login error when connecting Social accounts. +- Forms: Make the icons show up as expected in the style editor. +- Sitemaps: Ensure a valid news sitemap is present even if no posts are eligible. +- Social: Fix profile links for LinkedIn connections. +- Social: Fix Publicize error in the editor due to malformed connections data. +- VideoPress: Fix issue with VideoPress block with zero height and width. -------- diff --git a/projects/plugins/jetpack/changelog/prerelease#2 b/projects/plugins/mu-wpcom-plugin/changelog/prerelease#4 similarity index 79% rename from projects/plugins/jetpack/changelog/prerelease#2 rename to projects/plugins/mu-wpcom-plugin/changelog/prerelease#4 index a1c1831fa1ef7..9aa70e3ec1f75 100644 --- a/projects/plugins/jetpack/changelog/prerelease#2 +++ b/projects/plugins/mu-wpcom-plugin/changelog/prerelease#4 @@ -1,5 +1,5 @@ Significance: patch -Type: other +Type: changed Comment: Updated composer.lock. diff --git a/projects/plugins/mu-wpcom-plugin/composer.lock b/projects/plugins/mu-wpcom-plugin/composer.lock index 5809ffd01bef4..4d6ef09c78296 100644 --- a/projects/plugins/mu-wpcom-plugin/composer.lock +++ b/projects/plugins/mu-wpcom-plugin/composer.lock @@ -1024,7 +1024,7 @@ "dist": { "type": "path", "url": "../../packages/masterbar", - "reference": "9587aa811998a8a174ddae723de91faa7e179f93" + "reference": "1a08129a72ad4ad0483881bd8fc7b2a5376d9a3b" }, "require": { "automattic/jetpack-assets": "@dev", @@ -1053,7 +1053,7 @@ "extra": { "autotagger": true, "branch-alias": { - "dev-trunk": "0.11.x-dev" + "dev-trunk": "0.12.x-dev" }, "changelogger": { "link-template": "https://github.com/Automattic/jetpack-masterbar/compare/v${old}...v${new}" diff --git a/projects/plugins/jetpack/changelog/prerelease b/projects/plugins/wpcomsh/changelog/prerelease#10 similarity index 79% rename from projects/plugins/jetpack/changelog/prerelease rename to projects/plugins/wpcomsh/changelog/prerelease#10 index a1c1831fa1ef7..9aa70e3ec1f75 100644 --- a/projects/plugins/jetpack/changelog/prerelease +++ b/projects/plugins/wpcomsh/changelog/prerelease#10 @@ -1,5 +1,5 @@ Significance: patch -Type: other +Type: changed Comment: Updated composer.lock. diff --git a/projects/plugins/wpcomsh/composer.lock b/projects/plugins/wpcomsh/composer.lock index bdef3c1de7ae1..1b73f1ccae51c 100644 --- a/projects/plugins/wpcomsh/composer.lock +++ b/projects/plugins/wpcomsh/composer.lock @@ -1161,7 +1161,7 @@ "dist": { "type": "path", "url": "../../packages/masterbar", - "reference": "9587aa811998a8a174ddae723de91faa7e179f93" + "reference": "1a08129a72ad4ad0483881bd8fc7b2a5376d9a3b" }, "require": { "automattic/jetpack-assets": "@dev", @@ -1190,7 +1190,7 @@ "extra": { "autotagger": true, "branch-alias": { - "dev-trunk": "0.11.x-dev" + "dev-trunk": "0.12.x-dev" }, "changelogger": { "link-template": "https://github.com/Automattic/jetpack-masterbar/compare/v${old}...v${new}" From 8656e93c78425038978ecd916b353ec637746171 Mon Sep 17 00:00:00 2001 From: Ella <4710635+ellatrix@users.noreply.github.com> Date: Mon, 27 Jan 2025 14:28:44 +0100 Subject: [PATCH 02/12] MU WPCOM: dashboard: add site links/preview (#41106) --- .../changelog/add-site-widget | 4 ++ .../wpcom-dashboard-widgets.js | 2 +- .../wpcom-dashboard-widgets.php | 16 +++-- .../wpcom-site-management-widget/index.js | 71 ++++++------------- .../wpcom-site-management-widget/style.scss | 66 +++++++---------- .../mu-wpcom-plugin/changelog/add-site-widget | 4 ++ .../plugins/wpcomsh/changelog/add-site-widget | 4 ++ 7 files changed, 71 insertions(+), 96 deletions(-) create mode 100644 projects/packages/jetpack-mu-wpcom/changelog/add-site-widget create mode 100644 projects/plugins/mu-wpcom-plugin/changelog/add-site-widget create mode 100644 projects/plugins/wpcomsh/changelog/add-site-widget diff --git a/projects/packages/jetpack-mu-wpcom/changelog/add-site-widget b/projects/packages/jetpack-mu-wpcom/changelog/add-site-widget new file mode 100644 index 0000000000000..db8bc5eafa54e --- /dev/null +++ b/projects/packages/jetpack-mu-wpcom/changelog/add-site-widget @@ -0,0 +1,4 @@ +Significance: minor +Type: added + +Dashboard: add site preview and links diff --git a/projects/packages/jetpack-mu-wpcom/src/features/wpcom-dashboard-widgets/wpcom-dashboard-widgets.js b/projects/packages/jetpack-mu-wpcom/src/features/wpcom-dashboard-widgets/wpcom-dashboard-widgets.js index 1ffa9c2b60021..edff5261e836b 100644 --- a/projects/packages/jetpack-mu-wpcom/src/features/wpcom-dashboard-widgets/wpcom-dashboard-widgets.js +++ b/projects/packages/jetpack-mu-wpcom/src/features/wpcom-dashboard-widgets/wpcom-dashboard-widgets.js @@ -7,7 +7,7 @@ const data = typeof window === 'object' ? window.JETPACK_MU_WPCOM_DASHBOARD_WIDG const widgets = [ { - id: 'wpcom_site_management_widget_main', + id: 'wpcom_site_preview_widget_main', Widget: WpcomSiteManagementWidget, }, ]; diff --git a/projects/packages/jetpack-mu-wpcom/src/features/wpcom-dashboard-widgets/wpcom-dashboard-widgets.php b/projects/packages/jetpack-mu-wpcom/src/features/wpcom-dashboard-widgets/wpcom-dashboard-widgets.php index 5312a26f24cde..22f7d2a982cb1 100644 --- a/projects/packages/jetpack-mu-wpcom/src/features/wpcom-dashboard-widgets/wpcom-dashboard-widgets.php +++ b/projects/packages/jetpack-mu-wpcom/src/features/wpcom-dashboard-widgets/wpcom-dashboard-widgets.php @@ -17,8 +17,9 @@ function load_wpcom_dashboard_widgets() { $wpcom_dashboard_widgets = array( array( - 'id' => 'wpcom_site_management_widget', - 'name' => __( 'Site Management Panel', 'jetpack-mu-wpcom' ), + 'id' => 'wpcom_site_preview_widget', + 'name' => __( 'Site', 'jetpack-mu-wpcom' ), + 'context' => 'side', 'priority' => 'high', ), ); @@ -33,7 +34,7 @@ function () {}, 'id' => $wpcom_dashboard_widget['id'], 'name' => $wpcom_dashboard_widget['name'], ), - 'normal', + $wpcom_dashboard_widget['context'], $wpcom_dashboard_widget['priority'] ); } @@ -48,9 +49,10 @@ function enqueue_wpcom_dashboard_widgets() { $data = wp_json_encode( array( - 'siteName' => wp_specialchars_decode( get_bloginfo( 'name' ), ENT_QUOTES ), - 'siteDomain' => wp_parse_url( home_url(), PHP_URL_HOST ), - 'siteIconUrl' => get_site_icon_url( 38 ), + 'siteName' => wp_specialchars_decode( get_bloginfo( 'name' ), ENT_QUOTES ), + 'siteUrl' => home_url(), + 'siteIconUrl' => get_site_icon_url( 38 ), + 'isBlockTheme' => wp_is_block_theme(), ) ); @@ -80,7 +82,7 @@ function render_wpcom_dashboard_widget( $post, $callback_args ) { ); ?> -
+
diff --git a/projects/packages/jetpack-mu-wpcom/src/features/wpcom-dashboard-widgets/wpcom-site-management-widget/index.js b/projects/packages/jetpack-mu-wpcom/src/features/wpcom-dashboard-widgets/wpcom-site-management-widget/index.js index e7a8363f85897..afbf19d1f8a83 100644 --- a/projects/packages/jetpack-mu-wpcom/src/features/wpcom-dashboard-widgets/wpcom-site-management-widget/index.js +++ b/projects/packages/jetpack-mu-wpcom/src/features/wpcom-dashboard-widgets/wpcom-site-management-widget/index.js @@ -2,32 +2,20 @@ import { __ } from '@wordpress/i18n'; import React from 'react'; import './style.scss'; -const WpcomSiteManagementWidget = ( { siteName, siteDomain, siteIconUrl } ) => { - const devToolItems = [ - { - name: __( 'Deployments', 'jetpack-mu-wpcom' ), - href: `/github-deployments/${ siteDomain }`, - }, - { - name: __( 'Monitoring', 'jetpack-mu-wpcom' ), - href: `/site-monitoring/${ siteDomain }`, - }, - { - name: __( 'Logs', 'jetpack-mu-wpcom' ), - href: `/site-logs/${ siteDomain }/php`, - }, - { - name: __( 'Staging Site', 'jetpack-mu-wpcom' ), - href: `/staging-site/${ siteDomain }`, - }, - { - name: __( 'Server Settings', 'jetpack-mu-wpcom' ), - href: `/hosting-config/${ siteDomain }`, - }, - ]; - +const WpcomSiteManagementWidget = ( { siteName, siteUrl, siteIconUrl, isBlockTheme } ) => { + const siteDomain = new URL( siteUrl ).hostname; return ( <> +
+
+ +
+
{ @@ -41,34 +29,19 @@ const WpcomSiteManagementWidget = ( { siteName, siteDomain, siteIconUrl } ) => {
{ siteName }
-
{ siteDomain }
+
-
-
-

- { __( - 'Get a quick overview of your plans, storage, and domains, or easily access your development tools using the links provided below:', - 'jetpack-mu-wpcom' - ) } -

-
-
- { __( 'DEV TOOLS:', 'jetpack-mu-wpcom' ) } -
-
- -
+ { isBlockTheme ? ( + + { __( 'Edit Site', 'jetpack-mu-wpcom' ) } + + ) : null }
diff --git a/projects/packages/jetpack-mu-wpcom/src/features/wpcom-dashboard-widgets/wpcom-site-management-widget/style.scss b/projects/packages/jetpack-mu-wpcom/src/features/wpcom-dashboard-widgets/wpcom-site-management-widget/style.scss index 2bd4bd4577d90..f7ac7b2e60d62 100644 --- a/projects/packages/jetpack-mu-wpcom/src/features/wpcom-dashboard-widgets/wpcom-site-management-widget/style.scss +++ b/projects/packages/jetpack-mu-wpcom/src/features/wpcom-dashboard-widgets/wpcom-site-management-widget/style.scss @@ -1,4 +1,4 @@ -#wpcom_site_management_widget { +#wpcom_site_preview_widget { color: #1e1e1e; .postbox-title-action { @@ -6,7 +6,30 @@ } } -#wpcom_site_management_widget_main { +#wpcom_site_preview_widget_main { + .wpcom_site_preview_wrapper { + background: #f0f0f1; + margin-bottom: 12px; + padding: 12px 12px 0; + } + + .wpcom_site_preview { + display: block; + max-width: 425px; + height: 200px; + overflow: hidden; + margin: 0 auto; + + iframe { + max-width: 250%; + min-height: 375%; + transform: scale(.4); + transform-origin: top left; + translate: 0 -13px; + width: 250%; + } + } + .wpcom_site_management_widget__header { display: flex; align-items: center; @@ -60,42 +83,7 @@ .wpcom_site_management_widget__site-actions { flex-shrink: 0; - } - - .wpcom_site_management_widget__content p { - margin: 12px 0; - font-size: 13px; - font-weight: 400; - line-height: 18px; - } - - .wpcom_site_management_widget__dev-tools-title { - margin-bottom: 12px; - font-size: 11px; - font-weight: 600; - line-height: 16px; - text-transform: uppercase; - } - - .wpcom_site_management_widget__dev-tools-content { - ul { - display: grid; - grid-template-columns: 1fr 1fr; - gap: 12px; - margin-bottom: 0; - list-style: disc inside; - } - - li { - margin: 0 8px; - color: #0073aa; - font-size: 13px; - font-weight: 400; - line-height: 18px; - - &::marker { - margin-inline-end: 2px; - } - } + display: flex; + gap: 12px; } } diff --git a/projects/plugins/mu-wpcom-plugin/changelog/add-site-widget b/projects/plugins/mu-wpcom-plugin/changelog/add-site-widget new file mode 100644 index 0000000000000..db8bc5eafa54e --- /dev/null +++ b/projects/plugins/mu-wpcom-plugin/changelog/add-site-widget @@ -0,0 +1,4 @@ +Significance: minor +Type: added + +Dashboard: add site preview and links diff --git a/projects/plugins/wpcomsh/changelog/add-site-widget b/projects/plugins/wpcomsh/changelog/add-site-widget new file mode 100644 index 0000000000000..db8bc5eafa54e --- /dev/null +++ b/projects/plugins/wpcomsh/changelog/add-site-widget @@ -0,0 +1,4 @@ +Significance: minor +Type: added + +Dashboard: add site preview and links From 8e0cd5124b5e18f03b938ca1d55cb367e0386b8e Mon Sep 17 00:00:00 2001 From: Christian Gastrell Date: Mon, 27 Jan 2025 10:42:58 -0300 Subject: [PATCH 03/12] Jetpack SEO: change assistant wizard mechanics (#41268) * change assistant wizard mechanics so steps are rendered up until currentstep * changelog * fix infinite render issue, tweak styles a bit to make room for inputs even when they're not there yet * remove turning options into messasges * fix some spacing on the messages * add autoAdvance option for welcome step * add timings and autoadvance on welcome step * create jumpToStep and handleSelect to control over step handlers * add editLastMessage for better control on step messages * try to keep a better flow on meta step with editLastMessage * refactor css classnames for a more generic approach * add enter key handler on text input --- ...nge-jetpack-seo-assistant-wizard-mechanics | 4 + .../seo-assistant/assistant-wizard.tsx | 175 +++++++++++++ .../components/seo-assistant/index.tsx | 15 +- .../seo-assistant/seo-assistant-wizard.tsx | 231 ++++++------------ .../components/seo-assistant/style.scss | 36 ++- .../components/seo-assistant/types.tsx | 30 +-- .../seo-assistant/use-completion-step.tsx | 49 ---- .../seo-assistant/use-keywords-step.tsx | 92 ++++--- .../use-meta-description-step.tsx | 63 ++--- .../seo-assistant/use-title-step.tsx | 96 ++------ .../components/seo-assistant/wizard-input.tsx | 90 +++---- .../seo-assistant/wizard-messages.tsx | 103 ++++++-- .../components/seo-assistant/wizard-step.tsx | 25 ++ 13 files changed, 549 insertions(+), 460 deletions(-) create mode 100644 projects/plugins/jetpack/changelog/change-jetpack-seo-assistant-wizard-mechanics create mode 100644 projects/plugins/jetpack/extensions/plugins/ai-assistant-plugin/components/seo-assistant/assistant-wizard.tsx delete mode 100644 projects/plugins/jetpack/extensions/plugins/ai-assistant-plugin/components/seo-assistant/use-completion-step.tsx create mode 100644 projects/plugins/jetpack/extensions/plugins/ai-assistant-plugin/components/seo-assistant/wizard-step.tsx diff --git a/projects/plugins/jetpack/changelog/change-jetpack-seo-assistant-wizard-mechanics b/projects/plugins/jetpack/changelog/change-jetpack-seo-assistant-wizard-mechanics new file mode 100644 index 0000000000000..031857263b525 --- /dev/null +++ b/projects/plugins/jetpack/changelog/change-jetpack-seo-assistant-wizard-mechanics @@ -0,0 +1,4 @@ +Significance: minor +Type: other + +Jetpack SEO: assistant wizard changes to achieve desired step flow diff --git a/projects/plugins/jetpack/extensions/plugins/ai-assistant-plugin/components/seo-assistant/assistant-wizard.tsx b/projects/plugins/jetpack/extensions/plugins/ai-assistant-plugin/components/seo-assistant/assistant-wizard.tsx new file mode 100644 index 0000000000000..5e8254095acd1 --- /dev/null +++ b/projects/plugins/jetpack/extensions/plugins/ai-assistant-plugin/components/seo-assistant/assistant-wizard.tsx @@ -0,0 +1,175 @@ +import { Button, Icon, Tooltip } from '@wordpress/components'; +import { useState, useEffect, useRef, useMemo, useCallback } from '@wordpress/element'; +import { __ } from '@wordpress/i18n'; +import { next, closeSmall, chevronLeft } from '@wordpress/icons'; +import debugFactory from 'debug'; +import { useKeywordsStep } from './use-keywords-step'; +import { useMetaDescriptionStep } from './use-meta-description-step'; +import { useTitleStep } from './use-title-step'; +import { OptionsInput, TextInput, CompletionInput } from './wizard-input'; +import WizardStep from './wizard-step'; +import type { Step, Option } from './types'; + +const debug = debugFactory( 'jetpack-seo:assistant-wizard' ); + +export default function AssistantWizard( { close, tasks } ) { + const [ currentStep, setCurrentStep ] = useState( 0 ); + const [ currentStepData, setCurrentStepData ] = useState< Step >(); + const [ isBusy ] = useState( false ); + const stepsEndRef = useRef( null ); + const scrollToBottom = () => { + stepsEndRef.current?.scrollIntoView( { behavior: 'smooth' } ); + }; + const keywordsInputRef = useRef( null ); + + useEffect( () => { + scrollToBottom(); + }, [ currentStep ] ); + + // Keywords + const keywordsStepData = useKeywordsStep(); + const titleStepData = useTitleStep(); + const metaStepData = useMetaDescriptionStep(); + + // Memoize steps array to prevent unnecessary recreations + const steps = useMemo( + () => [ tasks[ 0 ], keywordsStepData, titleStepData, metaStepData, tasks[ 1 ] ], + [ tasks, keywordsStepData, titleStepData, metaStepData ] + ); + + const handleNext = useCallback( () => { + if ( currentStep + 1 < steps.length ) { + debug( 'moving to ' + ( currentStep + 1 ) ); + setCurrentStep( currentStep + 1 ); + setCurrentStepData( steps[ currentStep + 1 ] ); + steps[ currentStep + 1 ].onStart?.(); + } + }, [ currentStep, steps ] ); + + const handleStepSubmit = useCallback( async () => { + await steps[ currentStep ]?.onSubmit?.(); + debug( 'step submitted, moving next' ); + // always give half a second before moving forward + setTimeout( handleNext, 500 ); + }, [ currentStep, handleNext, steps ] ); + + const jumpToStep = useCallback( + stepNumber => { + if ( stepNumber < steps.length - 1 ) { + setCurrentStep( stepNumber ); + setCurrentStepData( stepNumber ); + } + }, + [ steps ] + ); + + const handleSelect = useCallback( + ( stepNumber: number, option: Option ) => { + if ( stepNumber !== currentStep ) { + jumpToStep( stepNumber ); + } + steps[ stepNumber ].onSelect?.( option ); + }, + [ currentStep, jumpToStep, steps ] + ); + + // Initialize current step data + useEffect( () => { + if ( currentStep === 0 ) { + setCurrentStepData( steps[ 0 ] ); + if ( steps[ 0 ].autoAdvance ) { + setTimeout( handleNext, steps[ 0 ].autoAdvance ); + } + } + }, [ currentStep, steps, handleNext ] ); + + const handleBack = () => { + if ( currentStep > 1 ) { + debug( 'moving to ' + ( currentStep - 1 ) ); + setCurrentStep( currentStep - 1 ); + setCurrentStepData( steps[ currentStep - 1 ] ); + } + }; + + const handleSkip = async () => { + await currentStepData?.onSkip?.(); + handleNext(); + }; + + // Reset states and close the wizard + const handleDone = () => { + close(); + setCurrentStep( 0 ); + setCurrentStepData( steps[ 0 ] ); + }; + + return ( +
+
+ +

{ currentStepData?.title }

+
+ + + + +
+
+ +
+ { steps.map( ( step, index ) => ( + = index } + options={ step.options || [] } + onSelect={ option => handleSelect( index, option ) } + /> + ) ) } +
+
+ +
+ { currentStep === 1 && ( + + ) } + { currentStep === 2 && ( + + ) } + { currentStep === 3 && ( + + ) } + { currentStep === steps.length - 1 && ( + + ) } +
+
+ ); +} diff --git a/projects/plugins/jetpack/extensions/plugins/ai-assistant-plugin/components/seo-assistant/index.tsx b/projects/plugins/jetpack/extensions/plugins/ai-assistant-plugin/components/seo-assistant/index.tsx index 167dfa8d948c0..26ceb1e28adb9 100644 --- a/projects/plugins/jetpack/extensions/plugins/ai-assistant-plugin/components/seo-assistant/index.tsx +++ b/projects/plugins/jetpack/extensions/plugins/ai-assistant-plugin/components/seo-assistant/index.tsx @@ -2,37 +2,38 @@ import { useModuleStatus } from '@automattic/jetpack-shared-extension-utils'; import { Button } from '@wordpress/components'; import { useSelect } from '@wordpress/data'; import { store as editorStore } from '@wordpress/editor'; -import { useState } from '@wordpress/element'; +import { useState, useCallback } from '@wordpress/element'; import { __ } from '@wordpress/i18n'; import debugFactory from 'debug'; import { SeoPlaceholder } from '../../../../plugins/seo/components/placeholder'; import './style.scss'; import bigSkyIcon from './big-sky-icon.svg'; import SeoAssistantWizard from './seo-assistant-wizard'; -import type { SeoAssistantProps } from './types'; const debug = debugFactory( 'jetpack-ai:seo-assistant' ); -export default function SeoAssistant( { disabled, onStep }: SeoAssistantProps ) { +export default function SeoAssistant( { disabled } ) { const [ isOpen, setIsOpen ] = useState( false ); const postIsEmpty = useSelect( select => select( editorStore ).isEditedPostEmpty(), [] ); const { isLoadingModules, isChangingStatus, isModuleActive, changeStatus } = useModuleStatus( 'seo-tools' ); + const handleOpen = useCallback( () => setIsOpen( true ), [] ); + const handleClose = useCallback( () => setIsOpen( false ), [] ); + debug( 'rendering seo-assistant entry point' ); return (

{ __( 'Improve post engagement.', 'jetpack' ) }

{ ( isModuleActive || isLoadingModules ) && ( ) } { ! isModuleActive && ! isLoadingModules && ( @@ -42,7 +43,7 @@ export default function SeoAssistant( { disabled, onStep }: SeoAssistantProps ) changeStatus={ changeStatus } /> ) } - setIsOpen( false ) } /> + { isOpen && }
); } diff --git a/projects/plugins/jetpack/extensions/plugins/ai-assistant-plugin/components/seo-assistant/seo-assistant-wizard.tsx b/projects/plugins/jetpack/extensions/plugins/ai-assistant-plugin/components/seo-assistant/seo-assistant-wizard.tsx index 4fd874e0f2c16..641e2cda5d452 100644 --- a/projects/plugins/jetpack/extensions/plugins/ai-assistant-plugin/components/seo-assistant/seo-assistant-wizard.tsx +++ b/projects/plugins/jetpack/extensions/plugins/ai-assistant-plugin/components/seo-assistant/seo-assistant-wizard.tsx @@ -1,167 +1,82 @@ -import { Button, Icon, Tooltip } from '@wordpress/components'; -import { useState, useCallback, useEffect, useRef, useMemo } from '@wordpress/element'; +import { createInterpolateElement } from '@wordpress/element'; import { __ } from '@wordpress/i18n'; -import { next, closeSmall, chevronLeft } from '@wordpress/icons'; import debugFactory from 'debug'; import './style.scss'; -import { useCompletionStep } from './use-completion-step'; -import { useKeywordsStep } from './use-keywords-step'; -import { useMetaDescriptionStep } from './use-meta-description-step'; -import { useTitleStep } from './use-title-step'; -import WizardInput from './wizard-input'; -import WizardMessages from './wizard-messages'; -import type { SeoAssistantProps, Step, Message } from './types'; +import AssistantWizard from './assistant-wizard'; const debug = debugFactory( 'jetpack-ai:seo-assistant-wizard' ); -export default function SeoAssistantWizard( { isOpen, close, onStep }: SeoAssistantProps ) { - const [ currentStep, setCurrentStep ] = useState( 0 ); - const [ messages, setMessages ] = useState< Message[] >( [] ); - const messagesEndRef = useRef< HTMLDivElement >( null ); - const [ isBusy, setIsBusy ] = useState( false ); - - const scrollToBottom = () => { - messagesEndRef.current?.scrollIntoView( { behavior: 'smooth' } ); - }; - - useEffect( () => { - scrollToBottom(); - }, [ messages ] ); - - const addMessage = useCallback( async ( message: Message ) => { - const newMessage = { - ...message, - showIcon: message.showIcon === false ? false : ! message.isUser, - } as Message; - - setMessages( prev => [ ...prev, { ...newMessage, id: `message-${ prev.length }` } ] ); - }, [] ); - - /* Removes last message */ - const removeLastMessage = () => { - setMessages( prev => prev.slice( 0, -1 ) ); - }; - - const keywordsStep: Step = useKeywordsStep( { - addMessage, - onStep, - } ); - - const titleStep: Step = useTitleStep( { - addMessage, - removeLastMessage, - onStep, - contextData: keywordsStep.value, - setIsBusy, - } ); - - const metaStep: Step = useMetaDescriptionStep( { - addMessage, - removeLastMessage, - onStep, - setIsBusy, - } ); - - const completionStep: Step = useCompletionStep( { - steps: [ keywordsStep, titleStep, metaStep ], - addMessage, - } ); - - const steps: Step[] = useMemo( - () => [ keywordsStep, titleStep, metaStep, completionStep ], - [ keywordsStep, metaStep, titleStep, completionStep ] - ); - - const currentStepData = useMemo( () => steps[ currentStep ], [ steps, currentStep ] ); - - // initialize wizard, set completion monitors - useEffect( () => { - if ( ! isOpen ) { - return; - } - // add messageQueue.length check here for delayed messages - if ( messages.length === 0 ) { - debug( 'init' ); - // Initialize with first step messages - currentStepData.messages.forEach( addMessage ); - } - }, [ isOpen, currentStepData.messages, messages, addMessage ] ); - - const handleNext = useCallback( () => { - if ( currentStep < steps.length - 1 ) { - debug( 'moving to ' + ( currentStep + 1 ), steps[ currentStep + 1 ] ); - setCurrentStep( currentStep + 1 ); - // Add next step messages - // TODO: can we capture completion step here and craft the messages? - // Nothing else has worked so far to keep track of step completions - steps[ currentStep + 1 ].messages.forEach( addMessage ); - steps[ currentStep + 1 ].onStart?.(); - } - }, [ currentStep, steps, setCurrentStep, addMessage ] ); - - const handleSubmit = useCallback( async () => { - await currentStepData.onSubmit?.(); - handleNext(); - }, [ currentStepData, handleNext ] ); - - const handleBack = () => { - if ( currentStep > 0 ) { - setCurrentStep( currentStep - 1 ); - // Re-add previous step messages - steps[ currentStep - 1 ].messages.forEach( message => - addMessage( { - content: message.content, - showIcon: message.showIcon, - } ) - ); - } - }; - - const handleSkip = async () => { - await currentStepData?.onSkip?.(); - handleNext(); - }; - - // Reset states and close the wizard - const handleDone = useCallback( () => { - close(); - setCurrentStep( 0 ); - setMessages( [] ); - steps - .filter( step => step.type !== 'completion' ) - .forEach( step => step.setCompleted( false ) ); - }, [ close, steps ] ); - +export default function SeoAssistantWizard( { close }: { close?: () => void } ) { + debug( 'render' ); return ( - isOpen && ( -
-
- -

{ currentStepData.title }

-
- - - - -
-
- -
- - - -
-
- ) + Hi there! šŸ‘‹ Let's optimise your blog post for SEO.", 'jetpack' ), + { b: } + ), + showIcon: true, + id: '1', + }, + { + content: createInterpolateElement( + __( + "Here's what we can improve:
1. Keywords
2. Title
3. Meta description", + 'jetpack' + ), + { br:
} + ), + showIcon: false, + id: '2', + }, + ], + }, + { + id: 'completion', + title: __( 'Your post is SEO-ready', 'jetpack' ), + label: 'completion', + type: 'completion', + submitCtaLabel: __( 'Done!', 'jetpack' ), + onSubmit: () => close(), + messages: [ + { + content: __( "Here's your updated checklist:", 'jetpack' ), + showIcon: true, + id: '1', + }, + { + content: 'some summary here!', + showIcon: false, + id: '2', + }, + { + content: createInterpolateElement( + __( + 'SEO optimization complete! šŸŽ‰
Your blog post is now search-engine friendly.', + 'jetpack' + ), + { br:
} + ), + showIcon: true, + id: '3', + }, + { + content: __( 'Happy blogging! šŸ˜Š', 'jetpack' ), + showIcon: false, + id: '4', + }, + ], + }, + ] } + /> ); } diff --git a/projects/plugins/jetpack/extensions/plugins/ai-assistant-plugin/components/seo-assistant/style.scss b/projects/plugins/jetpack/extensions/plugins/ai-assistant-plugin/components/seo-assistant/style.scss index e541444b6a5e1..48038e9b2829a 100644 --- a/projects/plugins/jetpack/extensions/plugins/ai-assistant-plugin/components/seo-assistant/style.scss +++ b/projects/plugins/jetpack/extensions/plugins/ai-assistant-plugin/components/seo-assistant/style.scss @@ -1,4 +1,4 @@ -.seo-assistant-wizard { +.assistant-wizard { position: fixed; bottom: 32px; left: 50%; @@ -11,6 +11,10 @@ z-index: 1000; display: flex; flex-direction: column; + // countering the Jetpack sidebar ai-feature styles: + button { + width: unset; + } &__header { flex: 0 0 auto; @@ -54,7 +58,7 @@ display: flex; flex-direction: column; gap: 8px; - padding: 16px 24px; + padding: 8px 24px; overflow-y: auto; scroll-behavior: smooth; align-items: flex-start; @@ -69,9 +73,9 @@ line-height: 1.5; display: flex; align-items: center; - min-width: 48px; + min-width: 80%; - .seo-assistant-wizard__message-icon { + .assistant-wizard__message-icon { flex-shrink: 0; align-self: center; flex-basis: 26px; @@ -81,7 +85,7 @@ } } - .seo-assistant-wizard__message-text { + .assistant-wizard__message-text { padding: 4px 12px; // flex: 1 0 200px; } @@ -90,8 +94,9 @@ background: #f3f4f6; align-self: flex-end; max-width: 85%; + min-width: 15%; - .seo-assistant-wizard__message-icon { + .assistant-wizard__message-icon { display: none; } } @@ -103,6 +108,7 @@ background: white; border-radius: 0 0 16px 16px; border-top: 1px solid var( --jp-gray-5, #e5e7eb ); + flex-basis: 77px; // seems better than min-height } &__input { @@ -113,15 +119,24 @@ align-items: center; padding-right: 6px; height: 44px; + animation: assistantInputAppear 0.3s ease-out; &:focus-within { outline-width: 2px; outline-color: var( --wp-components-color-accent, var( --wp-admin-theme-color, #007cba ) ); } + + // keyboardshortcuts component wraps the base control with a div + // This is a quick fix to mimic the rule below (components-base-control) + & > div:first-child { + flex-grow: 1; + } + .components-base-control { flex-grow: 1; } + .components-text-control__input, .components-text-control__input:focus { padding: 8px; @@ -176,6 +191,7 @@ justify-content: flex-end; align-items: center; gap: 16px; + animation: assistantInputAppear 0.3s ease-out; .components-button { border-radius: 20px; @@ -202,6 +218,14 @@ transform: translateY(0); } } +@keyframes assistantInputAppear { + from { + opacity: 0; + } + to { + opacity: 1; + } +} // Keep this around for magic: @keyframes typing-blink { diff --git a/projects/plugins/jetpack/extensions/plugins/ai-assistant-plugin/components/seo-assistant/types.tsx b/projects/plugins/jetpack/extensions/plugins/ai-assistant-plugin/components/seo-assistant/types.tsx index d14a0d2578d19..04d51db8ef9d1 100644 --- a/projects/plugins/jetpack/extensions/plugins/ai-assistant-plugin/components/seo-assistant/types.tsx +++ b/projects/plugins/jetpack/extensions/plugins/ai-assistant-plugin/components/seo-assistant/types.tsx @@ -1,4 +1,4 @@ -type StepType = 'input' | 'options' | 'completion'; +type StepType = 'welcome' | 'input' | 'options' | 'completion'; export interface Message { id?: string; @@ -19,20 +19,20 @@ interface BaseStep { id: string; title: string; label?: string; - messages: StepMessage[]; + messages: Message[]; type: StepType; onStart?: () => void; onSubmit?: () => void; onSkip?: () => void; - value: string; - setValue: + value?: string; + setValue?: | React.Dispatch< React.SetStateAction< string > > | React.Dispatch< React.SetStateAction< Array< string > > >; setCompleted?: React.Dispatch< React.SetStateAction< boolean > >; completed?: boolean; } -interface InputStep extends BaseStep { +export interface InputStep extends BaseStep { type: 'input'; placeholder: string; } @@ -43,29 +43,11 @@ interface OptionsStep extends BaseStep { onSelect: ( option: Option ) => void; submitCtaLabel?: string; onRetry?: () => void; - onRetryCtaLabel?: string; + retryCtaLabel?: string; } interface CompletionStep extends BaseStep { type: 'completion'; } -interface StepMessage { - content: string | React.ReactNode; - showIcon?: boolean; -} - export type Step = InputStep | OptionsStep | CompletionStep; - -export type CompletionStepHookProps = { - steps: Step[]; - addMessage?: ( message: Message | string ) => void; -}; - -export interface SeoAssistantProps { - isBusy?: boolean; - disabled?: boolean; - onStep?: ( data: { value: string | Option | null } ) => void; - isOpen?: boolean; - close?: () => void; -} diff --git a/projects/plugins/jetpack/extensions/plugins/ai-assistant-plugin/components/seo-assistant/use-completion-step.tsx b/projects/plugins/jetpack/extensions/plugins/ai-assistant-plugin/components/seo-assistant/use-completion-step.tsx deleted file mode 100644 index a46bc41eadd5f..0000000000000 --- a/projects/plugins/jetpack/extensions/plugins/ai-assistant-plugin/components/seo-assistant/use-completion-step.tsx +++ /dev/null @@ -1,49 +0,0 @@ -import { createInterpolateElement, useCallback } from '@wordpress/element'; -import { __ } from '@wordpress/i18n'; -import type { Step, CompletionStepHookProps } from './types'; - -export const useCompletionStep = ( { steps }: CompletionStepHookProps ): Step => { - const getSummaryCheck = useCallback( () => { - const summaryString = steps - .map( step => { - const stepLabel = step.label || step.title; - return step.completed ? `āœ… ${ stepLabel }` : `āŒ ${ stepLabel }`; - } ) - .join( '
' ); - return createInterpolateElement( summaryString, { br:
} ); - }, [ steps ] ); - - return { - id: 'completion', - title: __( 'Your post is SEO-ready', 'jetpack' ), - // onStart: handleSummaryChecks, - messages: [ - { - content: __( "Here's your updated checklist:", 'jetpack' ), - showIcon: true, - }, - { - content: getSummaryCheck(), - showIcon: false, - }, - { - content: createInterpolateElement( - __( - 'SEO optimization complete! šŸŽ‰
Your blog post is now search-engine friendly.', - 'jetpack' - ), - { br:
} - ), - showIcon: true, - }, - { - content: __( 'Happy blogging! šŸ˜Š', 'jetpack' ), - showIcon: false, - }, - ], - type: 'completion', - // onStart: handleStart, - value: null, - setValue: () => null, - }; -}; diff --git a/projects/plugins/jetpack/extensions/plugins/ai-assistant-plugin/components/seo-assistant/use-keywords-step.tsx b/projects/plugins/jetpack/extensions/plugins/ai-assistant-plugin/components/seo-assistant/use-keywords-step.tsx index ac811cd2546af..c8a3a1df9b2ed 100644 --- a/projects/plugins/jetpack/extensions/plugins/ai-assistant-plugin/components/seo-assistant/use-keywords-step.tsx +++ b/projects/plugins/jetpack/extensions/plugins/ai-assistant-plugin/components/seo-assistant/use-keywords-step.tsx @@ -1,36 +1,56 @@ -import { createInterpolateElement, useCallback, useState } from '@wordpress/element'; +import { createInterpolateElement, useCallback, useState, useEffect } from '@wordpress/element'; import { __, sprintf } from '@wordpress/i18n'; -import type { Step } from './types'; +import TypingMessage from './typing-message'; +import { useMessages } from './wizard-messages'; +import type { InputStep } from './types'; -export const useKeywordsStep = ( { addMessage, onStep } ): Step => { +export const useKeywordsStep = (): InputStep => { const [ keywords, setKeywords ] = useState( '' ); const [ completed, setCompleted ] = useState( false ); + const { messages, setMessages, addMessage, removeLastMessage } = useMessages(); + + useEffect( () => { + setMessages( [ + { + content: __( + 'To start, please enter 1ā€“3 focus keywords that describe your blog post.', + 'jetpack' + ), + showIcon: true, + }, + ] ); + }, [ setMessages ] ); const handleSkip = useCallback( () => { addMessage( { content: __( 'Skipped!', 'jetpack' ) } ); - if ( onStep ) { - onStep( { value: '' } ); - } - }, [ addMessage, onStep ] ); + }, [ addMessage ] ); - const handleKeywordsSubmit = useCallback( () => { + const handleKeywordsSubmit = useCallback( async () => { if ( ! keywords.trim() ) { return handleSkip(); } addMessage( { content: keywords, isUser: true } ); + addMessage( { content: } ); + + const keywordlist = await new Promise( resolve => + setTimeout( () => { + const commaSeparatedKeywords = keywords + .split( ',' ) + .map( k => k.trim() ) + .reduce( ( acc, curr, i, arr ) => { + if ( arr.length === 1 ) { + return curr; + } + if ( i === arr.length - 1 ) { + return `${ acc }
& ${ curr }`; + } + return i === 0 ? curr : `${ acc }, ${ curr }`; + }, '' ); + resolve( commaSeparatedKeywords ); + }, 500 ) + ); + removeLastMessage(); - const keywordlist = keywords - .split( ',' ) - .map( k => k.trim() ) - .reduce( ( acc, curr, i, arr ) => { - if ( arr.length === 1 ) { - return curr; - } - if ( i === arr.length - 1 ) { - return `${ acc } & ${ curr }`; - } - return i === 0 ? curr : `${ acc }, ${ curr }`; - }, '' ); const message = createInterpolateElement( /* Translators: wrapped string is list of keywords user has entered */ sprintf( __( `Got it! You're targeting %s. āœØāœ…`, 'jetpack' ), keywordlist ), @@ -40,41 +60,13 @@ export const useKeywordsStep = ( { addMessage, onStep } ): Step => { ); addMessage( { content: message } ); setCompleted( true ); - if ( onStep ) { - onStep( { value: keywords } ); - } - }, [ onStep, addMessage, keywords, handleSkip ] ); + }, [ addMessage, keywords, handleSkip, removeLastMessage ] ); return { id: 'keywords', title: __( 'Optimise for SEO', 'jetpack' ), label: __( 'Keywords', 'jetpack' ), - messages: [ - { - content: createInterpolateElement( - __( "Hi there! šŸ‘‹ Let's optimise your blog post for SEO.", 'jetpack' ), - { b: } - ), - showIcon: true, - }, - { - content: createInterpolateElement( - __( - "Here's what we can improve:
1. Keywords
2. Title
3. Meta description", - 'jetpack' - ), - { br:
} - ), - showIcon: false, - }, - { - content: __( - 'To start, please enter 1ā€“3 focus keywords that describe your blog post.', - 'jetpack' - ), - showIcon: true, - }, - ], + messages, type: 'input', placeholder: __( 'Photography, plants', 'jetpack' ), onSubmit: handleKeywordsSubmit, diff --git a/projects/plugins/jetpack/extensions/plugins/ai-assistant-plugin/components/seo-assistant/use-meta-description-step.tsx b/projects/plugins/jetpack/extensions/plugins/ai-assistant-plugin/components/seo-assistant/use-meta-description-step.tsx index 5b4699fd95872..6ad5f60bc960f 100644 --- a/projects/plugins/jetpack/extensions/plugins/ai-assistant-plugin/components/seo-assistant/use-meta-description-step.tsx +++ b/projects/plugins/jetpack/extensions/plugins/ai-assistant-plugin/components/seo-assistant/use-meta-description-step.tsx @@ -1,20 +1,28 @@ import { useDispatch } from '@wordpress/data'; -import { useCallback, useState } from '@wordpress/element'; +import { useCallback, useState, useEffect, createInterpolateElement } from '@wordpress/element'; import { __ } from '@wordpress/i18n'; import TypingMessage from './typing-message'; +import { useMessages } from './wizard-messages'; import type { Step, Option } from './types'; -export const useMetaDescriptionStep = ( { - addMessage, - removeLastMessage, - onStep, - setIsBusy, -} ): Step => { +export const useMetaDescriptionStep = (): Step => { const [ selectedMetaDescription, setSelectedMetaDescription ] = useState< string >(); const [ metaDescriptionOptions, setMetaDescriptionOptions ] = useState< Option[] >( [] ); + const { messages, setMessages, addMessage, removeLastMessage, editLastMessage } = useMessages(); const { editPost } = useDispatch( 'core/editor' ); const [ completed, setCompleted ] = useState( false ); + useEffect( () => { + if ( messages.length === 0 ) { + setMessages( [ + { + content: __( "Now, let's optimize your meta description.", 'jetpack' ), + showIcon: true, + }, + ] ); + } + }, [ setMessages, messages ] ); + const handleMetaDescriptionSelect = useCallback( ( option: Option ) => { setSelectedMetaDescription( option.content ); setMetaDescriptionOptions( prev => @@ -29,16 +37,11 @@ export const useMetaDescriptionStep = ( { addMessage( { content: } ); await editPost( { meta: { advanced_seo_description: selectedMetaDescription } } ); removeLastMessage(); - addMessage( { content: selectedMetaDescription, isUser: true } ); addMessage( { content: __( 'Meta description updated! āœ…', 'jetpack' ) } ); setCompleted( true ); - if ( onStep ) { - onStep( { value: selectedMetaDescription } ); - } - }, [ selectedMetaDescription, onStep, addMessage, editPost, removeLastMessage ] ); + }, [ selectedMetaDescription, addMessage, editPost, removeLastMessage ] ); const handleMetaDescriptionGenerate = useCallback( async () => { - setIsBusy( true ); let newMetaDescriptions; // we only generate if options are empty if ( metaDescriptionOptions.length === 0 ) { @@ -58,13 +61,18 @@ export const useMetaDescriptionStep = ( { ); removeLastMessage(); } - addMessage( { content: __( "Here's a suggestion:", 'jetpack' ) } ); + const editedFirstMessage = createInterpolateElement( + __( "Now, let's optimize your meta description.
Here's a suggestion:", 'jetpack' ), + { br:
} + ); + // addMessage( { content: __( "Here's a suggestion:", 'jetpack' ) } ); + editLastMessage( editedFirstMessage ); setMetaDescriptionOptions( newMetaDescriptions || metaDescriptionOptions ); - setIsBusy( false ); - }, [ metaDescriptionOptions, addMessage, removeLastMessage, setIsBusy ] ); + }, [ metaDescriptionOptions, addMessage, removeLastMessage, editLastMessage ] ); const handleMetaDescriptionRegenerate = useCallback( async () => { setMetaDescriptionOptions( [] ); + editLastMessage( __( "Now, let's optimize your meta description.", 'jetpack' ) ); addMessage( { content: } ); const newMetaDescription = await new Promise< Array< Option > >( resolve => setTimeout( @@ -80,33 +88,30 @@ export const useMetaDescriptionStep = ( { ) ); removeLastMessage(); - addMessage( { content: __( "Here's a new suggestion:", 'jetpack' ) } ); + // addMessage( { content: __( "Here's a new suggestion:", 'jetpack' ) } ); + const editedFirstMessage = createInterpolateElement( + __( "Now, let's optimize your meta description.
Here's a new suggestion:", 'jetpack' ), + { br:
} + ); + editLastMessage( editedFirstMessage ); setMetaDescriptionOptions( newMetaDescription ); - }, [ addMessage, removeLastMessage ] ); + }, [ addMessage, removeLastMessage, editLastMessage ] ); const handleSkip = useCallback( () => { addMessage( { content: __( 'Skipped!', 'jetpack' ) } ); - if ( onStep ) { - onStep(); - } - }, [ addMessage, onStep ] ); + }, [ addMessage ] ); return { id: 'meta', title: __( 'Add meta description', 'jetpack' ), - messages: [ - { - content: __( "Now, let's optimize your meta description.", 'jetpack' ), - showIcon: true, - }, - ], + messages: messages, type: 'options', options: metaDescriptionOptions, onSelect: handleMetaDescriptionSelect, onSubmit: handleMetaDescriptionSubmit, submitCtaLabel: __( 'Insert', 'jetpack' ), onRetry: handleMetaDescriptionRegenerate, - onRetryCtaLabel: __( 'Regenerate', 'jetpack' ), + retryCtaLabel: __( 'Regenerate', 'jetpack' ), onStart: handleMetaDescriptionGenerate, onSkip: handleSkip, value: selectedMetaDescription, diff --git a/projects/plugins/jetpack/extensions/plugins/ai-assistant-plugin/components/seo-assistant/use-title-step.tsx b/projects/plugins/jetpack/extensions/plugins/ai-assistant-plugin/components/seo-assistant/use-title-step.tsx index 0153dab8dfaab..1ced6c572c62f 100644 --- a/projects/plugins/jetpack/extensions/plugins/ai-assistant-plugin/components/seo-assistant/use-title-step.tsx +++ b/projects/plugins/jetpack/extensions/plugins/ai-assistant-plugin/components/seo-assistant/use-title-step.tsx @@ -2,18 +2,14 @@ import { useDispatch } from '@wordpress/data'; import { useCallback, useState, useEffect } from '@wordpress/element'; import { __ } from '@wordpress/i18n'; import TypingMessage from './typing-message'; +import { useMessages } from './wizard-messages'; import type { Step, Option } from './types'; -export const useTitleStep = ( { - addMessage, - removeLastMessage, - onStep, - contextData, - setIsBusy, -} ): Step => { +export const useTitleStep = (): Step => { const [ selectedTitle, setSelectedTitle ] = useState< string >(); const [ titleOptions, setTitleOptions ] = useState< Option[] >( [] ); const { editPost } = useDispatch( 'core/editor' ); + const { messages, setMessages, addMessage, removeLastMessage } = useMessages(); const [ completed, setCompleted ] = useState( false ); const handleTitleSelect = useCallback( ( option: Option ) => { @@ -26,10 +22,16 @@ export const useTitleStep = ( { ); }, [] ); - useEffect( () => setTitleOptions( [] ), [ contextData ] ); + useEffect( () => { + setMessages( [ + { + content: __( "Let's optimise your title.", 'jetpack' ), + showIcon: true, + }, + ] ); + }, [ setMessages ] ); const handleTitleGenerate = useCallback( async () => { - setIsBusy( true ); let newTitles; // we only generate if options are empty if ( titleOptions.length === 0 ) { @@ -53,43 +55,18 @@ export const useTitleStep = ( { ); removeLastMessage(); } - if ( contextData ) { - addMessage( { - content: __( - 'Here are two suggestions based on your keywords. Select the one you prefer:', - 'jetpack' - ), - } ); - } else { - addMessage( { - content: __( 'Here are two suggestions. Select the one you prefer:', 'jetpack' ), - } ); - } - setTitleOptions( newTitles || titleOptions ); - setIsBusy( false ); - }, [ titleOptions, addMessage, removeLastMessage, contextData, setIsBusy ] ); - - const replaceOptionsWithFauxUseMessages = useCallback( () => { - const optionsMessage = { - id: 'title-options-' + Math.random(), - content: '', - type: 'past-options', - options: [], - showIcon: false, - }; - // removeLastMessage(); - titleOptions.forEach( titleOption => { - optionsMessage.options.push( { ...titleOption } ); + addMessage( { + content: __( + 'Here are two suggestions based on your keywords. Select the one you prefer:', + 'jetpack' + ), } ); - addMessage( optionsMessage ); - }, [ titleOptions, addMessage ] ); + setTitleOptions( newTitles || titleOptions ); + }, [ titleOptions, addMessage, removeLastMessage ] ); const handleTitleRegenerate = useCallback( async () => { - // let the controller know we're working - setIsBusy( true ); - // This would typically be an async call to generate new titles - replaceOptionsWithFauxUseMessages(); + // replaceOptionsWithFauxUseMessages(); setTitleOptions( [] ); addMessage( { content: } ); const newTitles = await new Promise< Array< Option > >( resolve => @@ -117,54 +94,31 @@ export const useTitleStep = ( { ), } ); setTitleOptions( newTitles ); - setIsBusy( false ); - }, [ addMessage, removeLastMessage, replaceOptionsWithFauxUseMessages, setIsBusy ] ); + }, [ addMessage, removeLastMessage ] ); const handleTitleSubmit = useCallback( async () => { - replaceOptionsWithFauxUseMessages(); addMessage( { content: } ); await editPost( { title: selectedTitle, meta: { jetpack_seo_html_title: selectedTitle } } ); removeLastMessage(); addMessage( { content: __( 'Title updated! āœ…', 'jetpack' ) } ); setCompleted( true ); - if ( onStep ) { - onStep( { value: selectedTitle } ); - } - }, [ - selectedTitle, - onStep, - addMessage, - replaceOptionsWithFauxUseMessages, - editPost, - removeLastMessage, - ] ); + }, [ selectedTitle, addMessage, editPost, removeLastMessage ] ); const handleSkip = useCallback( () => { - if ( titleOptions.length ) { - replaceOptionsWithFauxUseMessages(); - } - addMessage( __( 'Skipped!', 'jetpack' ) ); - if ( onStep ) { - onStep(); - } - }, [ addMessage, onStep, titleOptions, replaceOptionsWithFauxUseMessages ] ); + addMessage( { content: __( 'Skipped!', 'jetpack' ) } ); + }, [ addMessage ] ); return { id: 'title', title: __( 'Optimise Title', 'jetpack' ), - messages: [ - { - content: __( "Let's optimise your title.", 'jetpack' ), - showIcon: true, - }, - ], + messages, type: 'options', options: titleOptions, onSelect: handleTitleSelect, onSubmit: handleTitleSubmit, submitCtaLabel: __( 'Insert', 'jetpack' ), onRetry: handleTitleRegenerate, - onRetryCtaLabel: __( 'Regenerate', 'jetpack' ), + retryCtaLabel: __( 'Regenerate', 'jetpack' ), onStart: handleTitleGenerate, onSkip: handleSkip, value: selectedTitle, diff --git a/projects/plugins/jetpack/extensions/plugins/ai-assistant-plugin/components/seo-assistant/wizard-input.tsx b/projects/plugins/jetpack/extensions/plugins/ai-assistant-plugin/components/seo-assistant/wizard-input.tsx index f9263e0188088..536c5117f34e3 100644 --- a/projects/plugins/jetpack/extensions/plugins/ai-assistant-plugin/components/seo-assistant/wizard-input.tsx +++ b/projects/plugins/jetpack/extensions/plugins/ai-assistant-plugin/components/seo-assistant/wizard-input.tsx @@ -1,51 +1,55 @@ -import { Button, TextControl, Icon } from '@wordpress/components'; -import { __ } from '@wordpress/i18n'; +import { Button, TextControl, Icon, KeyboardShortcuts } from '@wordpress/components'; +import { forwardRef } from '@wordpress/element'; import { arrowRight } from '@wordpress/icons'; -export default function WizardInput( { currentStepData, handleSubmit, handleDone } ) { - const selectedOption = - currentStepData.type === 'options' ? currentStepData.options.find( opt => opt.selected ) : null; +export const OptionsInput = ( { + disabled, + handleRetry, + retryCtaLabel, + handleSubmit, + submitCtaLabel, +} ) => { return ( -
- { currentStepData.type === 'input' && ( -
- - -
- ) } +
+ - { currentStepData.type === 'options' && ( -
- - - -
- ) } + +
+ ); +}; - { currentStepData.type === 'completion' && ( -
- -
- ) } +function UnforwardedKeywordsInput( { placeholder, value, setValue, handleSubmit }, ref ) { + return ( +
+ + + +
); } + +export const TextInput = forwardRef( UnforwardedKeywordsInput ); + +export const CompletionInput = ( { submitCtaLabel, handleSubmit } ) => { + return ( +
+ +
+ ); +}; diff --git a/projects/plugins/jetpack/extensions/plugins/ai-assistant-plugin/components/seo-assistant/wizard-messages.tsx b/projects/plugins/jetpack/extensions/plugins/ai-assistant-plugin/components/seo-assistant/wizard-messages.tsx index fc6e0af1dc98c..295086b82254d 100644 --- a/projects/plugins/jetpack/extensions/plugins/ai-assistant-plugin/components/seo-assistant/wizard-messages.tsx +++ b/projects/plugins/jetpack/extensions/plugins/ai-assistant-plugin/components/seo-assistant/wizard-messages.tsx @@ -1,27 +1,81 @@ -import { useEffect, useRef } from '@wordpress/element'; +import { useCallback, useEffect, useRef, useState } from '@wordpress/element'; import { __ } from '@wordpress/i18n'; import clsx from 'clsx'; import bigSkyIcon from './big-sky-icon.svg'; +import TypingMessage from './typing-message'; +import type { Message } from './types'; -const Message = ( { message } ) => { +const randomId = () => Math.random().toString( 32 ).substring( 2, 8 ); + +export const useMessages = () => { + const [ messages, setMessages ] = useState< Message[] >( [] ); + + const wrapMessagesWithId = useCallback( + rawMessages => { + setMessages( + rawMessages.map( rawMessage => ( { ...rawMessage, id: rawMessage.id || randomId() } ) ) + ); + }, + [ setMessages ] + ); + + const addMessage = async ( message: Message ) => { + const newMessage = { + ...message, + showIcon: message.showIcon === false ? false : ! message.isUser, + id: message.id || randomId(), + } as Message; + + setMessages( prev => [ ...prev, newMessage ] ); + }; + + /* Removes last message */ + const removeLastMessage = () => { + setMessages( prev => prev.slice( 0, -1 ) ); + }; + + /* Edits content of last message */ + const editLastMessage = ( content: Message[ 'content' ] ) => { + setMessages( prev => { + const prevMessages = [ ...prev ]; + if ( prevMessages.length > 0 ) { + prevMessages[ prevMessages.length - 1 ] = { + ...prevMessages[ prevMessages.length - 1 ], + content, + }; + } + return prevMessages; + } ); + }; + + return { + messages, + setMessages: wrapMessagesWithId, + addMessage, + removeLastMessage, + editLastMessage, + }; +}; + +export const MessageBubble = ( { message } ) => { return (
-
+
{ message.showIcon && ( { ) }
{ message.type === 'past-options' && ( -
+
{ message.options.map( option => (
@@ -32,29 +86,29 @@ const Message = ( { message } ) => { ) } { ( ! message.type || message.type === 'chat' ) && ( -
{ message.content }
+
{ message.content }
) }
); }; -const OptionMessages = ( { currentStepData } ) => { - if ( currentStepData.type !== 'options' || ! currentStepData.options.length ) { +const OptionMessages = ( { options = [], onSelect } ) => { + if ( ! options.length ) { return null; } return ( -
-
-
-
- { currentStepData.options.map( option => ( +
+
+
+
+ { options.map( option => ( @@ -65,7 +119,7 @@ const OptionMessages = ( { currentStepData } ) => { ); }; -export default function Messages( { currentStepData, messages } ) { +export default function Messages( { options, onSelect, messages, loading } ) { const messagesEndRef = useRef< HTMLDivElement >( null ); const scrollToBottom = () => { messagesEndRef.current?.scrollIntoView( { behavior: 'smooth' } ); @@ -76,12 +130,15 @@ export default function Messages( { currentStepData, messages } ) { }, [ messages ] ); return ( -
- { messages.map( message => ( - - ) ) } - + <> +
+ { messages.map( message => ( + + ) ) } + + { loading && } } /> } +
-
+ ); } diff --git a/projects/plugins/jetpack/extensions/plugins/ai-assistant-plugin/components/seo-assistant/wizard-step.tsx b/projects/plugins/jetpack/extensions/plugins/ai-assistant-plugin/components/seo-assistant/wizard-step.tsx new file mode 100644 index 0000000000000..e2257e06a6723 --- /dev/null +++ b/projects/plugins/jetpack/extensions/plugins/ai-assistant-plugin/components/seo-assistant/wizard-step.tsx @@ -0,0 +1,25 @@ +import { useRef } from '@wordpress/element'; +import clsx from 'clsx'; +import { default as WizardMessages } from './wizard-messages'; + +export default function WizardStep( { + className = '', + messages, + visible, + loading = false, + options = [], + onSelect, +} ) { + const stepRef = useRef( null ); + const classes = clsx( 'assistant-wizard-step', className ); + return ( +
+ +
+ ); +} From ec160be565808668fcfe54e6535e83f03da77fd7 Mon Sep 17 00:00:00 2001 From: Liam Sarsfield <43409125+LiamSarsfield@users.noreply.github.com> Date: Mon, 27 Jan 2025 14:37:51 +0000 Subject: [PATCH 04/12] Update/boost/stable-tag (#41332) --- projects/plugins/boost/changelog/update-boost-stable-tag | 5 +++++ projects/plugins/boost/readme.txt | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 projects/plugins/boost/changelog/update-boost-stable-tag diff --git a/projects/plugins/boost/changelog/update-boost-stable-tag b/projects/plugins/boost/changelog/update-boost-stable-tag new file mode 100644 index 0000000000000..27b9b851f4e2a --- /dev/null +++ b/projects/plugins/boost/changelog/update-boost-stable-tag @@ -0,0 +1,5 @@ +Significance: patch +Type: changed +Comment: Update stable tag + + diff --git a/projects/plugins/boost/readme.txt b/projects/plugins/boost/readme.txt index fb0e08f55cf6c..a7b2c01e0ddee 100644 --- a/projects/plugins/boost/readme.txt +++ b/projects/plugins/boost/readme.txt @@ -5,7 +5,7 @@ Tags: performance, speed, web vitals, critical css, cache Requires at least: 6.6 Tested up to: 6.7 Requires PHP: 7.2 -Stable tag: 3.6.0 +Stable tag: 3.8.0 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html From dd5f0a850001b9ef88b8e1f6da486e2fc0a8f15d Mon Sep 17 00:00:00 2001 From: Calypso Bot Date: Mon, 27 Jan 2025 18:11:58 +0100 Subject: [PATCH 05/12] Update dependency webpack-cli to v6 (#41286) Co-authored-by: Renovate Bot --- pnpm-lock.yaml | 531 +++++++----------- .../changelog/renovate-webpack-cli-6.x | 4 + .../js-packages/boost-score-api/package.json | 2 +- .../charts/changelog/renovate-webpack-cli-6.x | 4 + projects/js-packages/charts/package.json | 2 +- .../changelog/renovate-webpack-cli-6.x | 4 + projects/js-packages/components/package.json | 2 +- .../changelog/renovate-webpack-cli-6.x | 4 + .../js-packages/critical-css-gen/package.json | 2 +- .../changelog/renovate-webpack-cli-6.x | 4 + .../i18n-check-webpack-plugin/package.json | 2 +- .../changelog/renovate-webpack-cli-6.x | 4 + .../i18n-loader-webpack-plugin/package.json | 2 +- .../changelog/renovate-webpack-cli-6.x | 4 + projects/js-packages/image-guide/package.json | 2 +- .../changelog/renovate-webpack-cli-6.x | 4 + .../react-data-sync-client/package.json | 2 +- .../changelog/renovate-webpack-cli-6.x | 4 + .../remove-asset-webpack-plugin/package.json | 2 +- .../changelog/renovate-webpack-cli-6.x | 4 + projects/js-packages/storybook/package.json | 2 +- .../changelog/renovate-webpack-cli-6.x | 4 + .../svelte-data-sync-client/package.json | 2 +- .../changelog/renovate-webpack-cli-6.x | 4 + .../js-packages/videopress-core/package.json | 2 +- .../changelog/renovate-webpack-cli-6.x | 4 + .../js-packages/webpack-config/package.json | 2 +- .../assets/changelog/renovate-webpack-cli-6.x | 4 + projects/packages/assets/package.json | 2 +- .../backup/changelog/renovate-webpack-cli-6.x | 4 + projects/packages/backup/package.json | 2 +- .../blaze/changelog/renovate-webpack-cli-6.x | 4 + projects/packages/blaze/package.json | 2 +- .../changelog/renovate-webpack-cli-6.x | 4 + projects/packages/calypsoify/package.json | 2 +- .../changelog/renovate-webpack-cli-6.x | 4 + .../classic-theme-helper/package.json | 2 +- .../changelog/renovate-webpack-cli-6.x | 4 + projects/packages/connection/package.json | 2 +- .../explat/changelog/renovate-webpack-cli-6.x | 4 + projects/packages/explat/package.json | 2 +- .../forms/changelog/renovate-webpack-cli-6.x | 4 + projects/packages/forms/package.json | 2 +- .../changelog/renovate-webpack-cli-6.x | 4 + .../packages/jetpack-mu-wpcom/package.json | 2 +- .../jitm/changelog/renovate-webpack-cli-6.x | 4 + projects/packages/jitm/package.json | 2 +- .../changelog/renovate-webpack-cli-6.x | 4 + projects/packages/masterbar/package.json | 2 +- .../changelog/renovate-webpack-cli-6.x | 4 + projects/packages/my-jetpack/package.json | 2 +- .../changelog/renovate-webpack-cli-6.x | 4 + .../packages/plugin-deactivation/package.json | 2 +- .../changelog/renovate-webpack-cli-6.x | 4 + projects/packages/publicize/package.json | 2 +- .../search/changelog/renovate-webpack-cli-6.x | 4 + projects/packages/search/package.json | 2 +- .../changelog/renovate-webpack-cli-6.x | 4 + projects/packages/videopress/package.json | 2 +- .../changelog/renovate-webpack-cli-6.x | 4 + projects/packages/wordads/package.json | 2 +- .../changelog/renovate-webpack-cli-6.x | 4 + projects/packages/yoast-promo/package.json | 2 +- .../changelog/renovate-webpack-cli-6.x | 4 + .../package.json | 2 +- .../boost/changelog/renovate-webpack-cli-6.x | 4 + projects/plugins/boost/package.json | 2 +- .../changelog/renovate-webpack-cli-6.x | 4 + .../classic-theme-helper-plugin/package.json | 2 +- .../crm/changelog/renovate-webpack-cli-6.x | 4 + projects/plugins/crm/package.json | 2 +- .../changelog/renovate-webpack-cli-6.x | 4 + projects/plugins/jetpack/package.json | 2 +- .../changelog/renovate-webpack-cli-6.x | 4 + projects/plugins/protect/package.json | 2 +- .../social/changelog/renovate-webpack-cli-6.x | 4 + projects/plugins/social/package.json | 2 +- .../changelog/renovate-webpack-cli-6.x | 4 + projects/plugins/starter-plugin/package.json | 2 +- .../changelog/renovate-webpack-cli-6.x | 4 + projects/plugins/videopress/package.json | 2 +- 81 files changed, 403 insertions(+), 368 deletions(-) create mode 100644 projects/js-packages/boost-score-api/changelog/renovate-webpack-cli-6.x create mode 100644 projects/js-packages/charts/changelog/renovate-webpack-cli-6.x create mode 100644 projects/js-packages/components/changelog/renovate-webpack-cli-6.x create mode 100644 projects/js-packages/critical-css-gen/changelog/renovate-webpack-cli-6.x create mode 100644 projects/js-packages/i18n-check-webpack-plugin/changelog/renovate-webpack-cli-6.x create mode 100644 projects/js-packages/i18n-loader-webpack-plugin/changelog/renovate-webpack-cli-6.x create mode 100644 projects/js-packages/image-guide/changelog/renovate-webpack-cli-6.x create mode 100644 projects/js-packages/react-data-sync-client/changelog/renovate-webpack-cli-6.x create mode 100644 projects/js-packages/remove-asset-webpack-plugin/changelog/renovate-webpack-cli-6.x create mode 100644 projects/js-packages/storybook/changelog/renovate-webpack-cli-6.x create mode 100644 projects/js-packages/svelte-data-sync-client/changelog/renovate-webpack-cli-6.x create mode 100644 projects/js-packages/videopress-core/changelog/renovate-webpack-cli-6.x create mode 100644 projects/js-packages/webpack-config/changelog/renovate-webpack-cli-6.x create mode 100644 projects/packages/assets/changelog/renovate-webpack-cli-6.x create mode 100644 projects/packages/backup/changelog/renovate-webpack-cli-6.x create mode 100644 projects/packages/blaze/changelog/renovate-webpack-cli-6.x create mode 100644 projects/packages/calypsoify/changelog/renovate-webpack-cli-6.x create mode 100644 projects/packages/classic-theme-helper/changelog/renovate-webpack-cli-6.x create mode 100644 projects/packages/connection/changelog/renovate-webpack-cli-6.x create mode 100644 projects/packages/explat/changelog/renovate-webpack-cli-6.x create mode 100644 projects/packages/forms/changelog/renovate-webpack-cli-6.x create mode 100644 projects/packages/jetpack-mu-wpcom/changelog/renovate-webpack-cli-6.x create mode 100644 projects/packages/jitm/changelog/renovate-webpack-cli-6.x create mode 100644 projects/packages/masterbar/changelog/renovate-webpack-cli-6.x create mode 100644 projects/packages/my-jetpack/changelog/renovate-webpack-cli-6.x create mode 100644 projects/packages/plugin-deactivation/changelog/renovate-webpack-cli-6.x create mode 100644 projects/packages/publicize/changelog/renovate-webpack-cli-6.x create mode 100644 projects/packages/search/changelog/renovate-webpack-cli-6.x create mode 100644 projects/packages/videopress/changelog/renovate-webpack-cli-6.x create mode 100644 projects/packages/wordads/changelog/renovate-webpack-cli-6.x create mode 100644 projects/packages/yoast-promo/changelog/renovate-webpack-cli-6.x create mode 100644 projects/plugins/automattic-for-agencies-client/changelog/renovate-webpack-cli-6.x create mode 100644 projects/plugins/boost/changelog/renovate-webpack-cli-6.x create mode 100644 projects/plugins/classic-theme-helper-plugin/changelog/renovate-webpack-cli-6.x create mode 100644 projects/plugins/crm/changelog/renovate-webpack-cli-6.x create mode 100644 projects/plugins/jetpack/changelog/renovate-webpack-cli-6.x create mode 100644 projects/plugins/protect/changelog/renovate-webpack-cli-6.x create mode 100644 projects/plugins/social/changelog/renovate-webpack-cli-6.x create mode 100644 projects/plugins/starter-plugin/changelog/renovate-webpack-cli-6.x create mode 100644 projects/plugins/videopress/changelog/renovate-webpack-cli-6.x diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 7ae42e0b8bf6e..53ec99628d128 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -288,10 +288,10 @@ importers: version: 5.0.4 webpack: specifier: 5.94.0 - version: 5.94.0(webpack-cli@4.9.1) + version: 5.94.0(webpack-cli@6.0.1) webpack-cli: - specifier: 4.9.1 - version: 4.9.1(webpack@5.94.0) + specifier: 6.0.1 + version: 6.0.1(webpack@5.94.0) projects/js-packages/charts: dependencies: @@ -490,10 +490,10 @@ importers: version: 5.7.2 webpack: specifier: ^5.88.0 - version: 5.94.0(webpack-cli@5.1.4) + version: 5.94.0(webpack-cli@6.0.1) webpack-cli: - specifier: ^5.1.0 - version: 5.1.4(webpack@5.94.0) + specifier: ^6.0.0 + version: 6.0.1(webpack@5.94.0) projects/js-packages/components: dependencies: @@ -632,10 +632,10 @@ importers: version: 5.0.4 webpack: specifier: 5.94.0 - version: 5.94.0(webpack-cli@4.9.1) + version: 5.94.0(webpack-cli@6.0.1) webpack-cli: - specifier: 4.9.1 - version: 4.9.1(webpack@5.94.0) + specifier: 6.0.1 + version: 6.0.1(webpack@5.94.0) projects/js-packages/config: devDependencies: @@ -796,10 +796,10 @@ importers: version: 5.0.4 webpack: specifier: 5.94.0 - version: 5.94.0(webpack-cli@4.9.1) + version: 5.94.0(webpack-cli@6.0.1) webpack-cli: - specifier: 4.9.1 - version: 4.9.1(webpack@5.94.0) + specifier: 6.0.1 + version: 6.0.1(webpack@5.94.0) webpack-dev-middleware: specifier: 5.3.4 version: 5.3.4(webpack@5.94.0) @@ -868,10 +868,10 @@ importers: version: 29.7.0 webpack: specifier: 5.94.0 - version: 5.94.0(webpack-cli@4.9.1) + version: 5.94.0(webpack-cli@6.0.1) webpack-cli: - specifier: 4.9.1 - version: 4.9.1(webpack@5.94.0) + specifier: 6.0.1 + version: 6.0.1(webpack@5.94.0) projects/js-packages/i18n-loader-webpack-plugin: dependencies: @@ -890,10 +890,10 @@ importers: version: 29.7.0 webpack: specifier: 5.94.0 - version: 5.94.0(webpack-cli@4.9.1) + version: 5.94.0(webpack-cli@6.0.1) webpack-cli: - specifier: 4.9.1 - version: 4.9.1(webpack@5.94.0) + specifier: 6.0.1 + version: 6.0.1(webpack@5.94.0) projects/js-packages/idc: dependencies: @@ -1017,10 +1017,10 @@ importers: version: 5.0.4 webpack: specifier: 5.94.0 - version: 5.94.0(webpack-cli@4.9.1) + version: 5.94.0(webpack-cli@6.0.1) webpack-cli: - specifier: 4.9.1 - version: 4.9.1(webpack@5.94.0) + specifier: 6.0.1 + version: 6.0.1(webpack@5.94.0) projects/js-packages/licensing: dependencies: @@ -1329,10 +1329,10 @@ importers: version: 5.0.4 webpack: specifier: 5.94.0 - version: 5.94.0(webpack-cli@4.9.1) + version: 5.94.0(webpack-cli@6.0.1) webpack-cli: - specifier: 4.9.1 - version: 4.9.1(webpack@5.94.0) + specifier: 6.0.1 + version: 6.0.1(webpack@5.94.0) zod: specifier: 3.22.3 version: 3.22.3 @@ -1348,10 +1348,10 @@ importers: version: 29.7.0 webpack: specifier: 5.94.0 - version: 5.94.0(webpack-cli@4.9.1) + version: 5.94.0(webpack-cli@6.0.1) webpack-cli: - specifier: 4.9.1 - version: 4.9.1(webpack@5.94.0) + specifier: 6.0.1 + version: 6.0.1(webpack@5.94.0) projects/js-packages/scan: dependencies: @@ -1600,7 +1600,7 @@ importers: version: 8.4.7(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.4.7)(typescript@5.0.4) '@storybook/react-webpack5': specifier: 8.4.7 - version: 8.4.7(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.4.7)(typescript@5.0.4)(webpack-cli@4.9.1) + version: 8.4.7(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.4.7)(typescript@5.0.4)(webpack-cli@6.0.1) '@storybook/source-loader': specifier: 8.4.7 version: 8.4.7(storybook@8.4.7) @@ -1696,10 +1696,10 @@ importers: version: 5.0.4 webpack: specifier: 5.94.0 - version: 5.94.0(webpack-cli@4.9.1) + version: 5.94.0(webpack-cli@6.0.1) webpack-cli: - specifier: 4.9.1 - version: 4.9.1(webpack@5.94.0) + specifier: 6.0.1 + version: 6.0.1(webpack@5.94.0) projects/js-packages/svelte-data-sync-client: devDependencies: @@ -1720,10 +1720,10 @@ importers: version: 5.0.4 webpack: specifier: 5.94.0 - version: 5.94.0(webpack-cli@4.9.1) + version: 5.94.0(webpack-cli@6.0.1) webpack-cli: - specifier: 4.9.1 - version: 4.9.1(webpack@5.94.0) + specifier: 6.0.1 + version: 6.0.1(webpack@5.94.0) zod: specifier: 3.22.3 version: 3.22.3 @@ -1753,10 +1753,10 @@ importers: version: 5.0.4 webpack: specifier: 5.94.0 - version: 5.94.0(webpack-cli@4.9.1) + version: 5.94.0(webpack-cli@6.0.1) webpack-cli: - specifier: 4.9.1 - version: 4.9.1(webpack@5.94.0) + specifier: 6.0.1 + version: 6.0.1(webpack@5.94.0) projects/js-packages/webpack-config: dependencies: @@ -1844,10 +1844,10 @@ importers: version: 5.0.4 webpack: specifier: 5.94.0 - version: 5.94.0(webpack-cli@4.9.1) + version: 5.94.0(webpack-cli@6.0.1) webpack-cli: - specifier: 4.9.1 - version: 4.9.1(webpack@5.94.0) + specifier: 6.0.1 + version: 6.0.1(webpack@5.94.0) projects/packages/account-protection: {} @@ -1879,10 +1879,10 @@ importers: version: 1.8.2 webpack: specifier: 5.94.0 - version: 5.94.0(webpack-cli@4.9.1) + version: 5.94.0(webpack-cli@6.0.1) webpack-cli: - specifier: 4.9.1 - version: 4.9.1(webpack@5.94.0) + specifier: 6.0.1 + version: 6.0.1(webpack@5.94.0) projects/packages/backup: dependencies: @@ -1985,10 +1985,10 @@ importers: version: 5.0.4 webpack: specifier: 5.94.0 - version: 5.94.0(webpack-cli@4.9.1) + version: 5.94.0(webpack-cli@6.0.1) webpack-cli: - specifier: 4.9.1 - version: 4.9.1(webpack@5.94.0) + specifier: 6.0.1 + version: 6.0.1(webpack@5.94.0) projects/packages/blaze: dependencies: @@ -2055,10 +2055,10 @@ importers: version: 12.4.0(sass@1.64.1)(webpack@5.94.0) webpack: specifier: 5.94.0 - version: 5.94.0(webpack-cli@4.9.1) + version: 5.94.0(webpack-cli@6.0.1) webpack-cli: - specifier: 4.9.1 - version: 4.9.1(webpack@5.94.0) + specifier: 6.0.1 + version: 6.0.1(webpack@5.94.0) projects/packages/boost-core: {} @@ -2082,10 +2082,10 @@ importers: version: 12.4.0(sass@1.64.1)(webpack@5.94.0) webpack: specifier: 5.94.0 - version: 5.94.0(webpack-cli@4.9.1) + version: 5.94.0(webpack-cli@6.0.1) webpack-cli: - specifier: 4.9.1 - version: 4.9.1(webpack@5.94.0) + specifier: 6.0.1 + version: 6.0.1(webpack@5.94.0) projects/packages/chatbot: {} @@ -2126,10 +2126,10 @@ importers: version: 12.4.0(sass@1.64.1)(webpack@5.94.0) webpack: specifier: 5.94.0 - version: 5.94.0(webpack-cli@4.9.1) + version: 5.94.0(webpack-cli@6.0.1) webpack-cli: - specifier: 4.9.1 - version: 4.9.1(webpack@5.94.0) + specifier: 6.0.1 + version: 6.0.1(webpack@5.94.0) projects/packages/connection: dependencies: @@ -2178,10 +2178,10 @@ importers: version: 12.4.0(sass@1.64.1)(webpack@5.94.0) webpack: specifier: 5.94.0 - version: 5.94.0(webpack-cli@4.9.1) + version: 5.94.0(webpack-cli@6.0.1) webpack-cli: - specifier: 4.9.1 - version: 4.9.1(webpack@5.94.0) + specifier: 6.0.1 + version: 6.0.1(webpack@5.94.0) projects/packages/explat: dependencies: @@ -2227,10 +2227,10 @@ importers: version: 5.0.4 webpack: specifier: 5.94.0 - version: 5.94.0(webpack-cli@4.9.1) + version: 5.94.0(webpack-cli@6.0.1) webpack-cli: - specifier: 4.9.1 - version: 4.9.1(webpack@5.94.0) + specifier: 6.0.1 + version: 6.0.1(webpack@5.94.0) projects/packages/forms: dependencies: @@ -2308,10 +2308,10 @@ importers: version: 7.6.3 webpack: specifier: 5.94.0 - version: 5.94.0(webpack-cli@4.9.1) + version: 5.94.0(webpack-cli@6.0.1) webpack-cli: - specifier: 4.9.1 - version: 4.9.1(webpack@5.94.0) + specifier: 6.0.1 + version: 6.0.1(webpack@5.94.0) optionalDependencies: react: specifier: 18.3.1 @@ -2541,10 +2541,10 @@ importers: version: 5.7.2 webpack: specifier: 5.94.0 - version: 5.94.0(webpack-cli@4.9.1) + version: 5.94.0(webpack-cli@6.0.1) webpack-cli: - specifier: 4.9.1 - version: 4.9.1(webpack@5.94.0) + specifier: 6.0.1 + version: 6.0.1(webpack@5.94.0) projects/packages/jitm: devDependencies: @@ -2562,10 +2562,10 @@ importers: version: 12.4.0(sass@1.64.1)(webpack@5.94.0) webpack: specifier: 5.94.0 - version: 5.94.0(webpack-cli@4.9.1) + version: 5.94.0(webpack-cli@6.0.1) webpack-cli: - specifier: 4.9.1 - version: 4.9.1(webpack@5.94.0) + specifier: 6.0.1 + version: 6.0.1(webpack@5.94.0) projects/packages/masterbar: dependencies: @@ -2614,10 +2614,10 @@ importers: version: 12.4.0(sass@1.64.1)(webpack@5.94.0) webpack: specifier: 5.94.0 - version: 5.94.0(webpack-cli@4.9.1) + version: 5.94.0(webpack-cli@6.0.1) webpack-cli: - specifier: 4.9.1 - version: 4.9.1(webpack@5.94.0) + specifier: 6.0.1 + version: 6.0.1(webpack@5.94.0) projects/packages/my-jetpack: dependencies: @@ -2759,10 +2759,10 @@ importers: version: 5.0.4 webpack: specifier: 5.94.0 - version: 5.94.0(webpack-cli@4.9.1) + version: 5.94.0(webpack-cli@6.0.1) webpack-cli: - specifier: 4.9.1 - version: 4.9.1(webpack@5.94.0) + specifier: 6.0.1 + version: 6.0.1(webpack@5.94.0) projects/packages/plans: {} @@ -2785,10 +2785,10 @@ importers: version: 5.0.4 webpack: specifier: 5.94.0 - version: 5.94.0(webpack-cli@4.9.1) + version: 5.94.0(webpack-cli@6.0.1) webpack-cli: - specifier: 4.9.1 - version: 4.9.1(webpack@5.94.0) + specifier: 6.0.1 + version: 6.0.1(webpack@5.94.0) projects/packages/protect-models: {} @@ -2814,10 +2814,10 @@ importers: version: 7.6.0 webpack: specifier: 5.94.0 - version: 5.94.0(webpack-cli@4.9.1) + version: 5.94.0(webpack-cli@6.0.1) webpack-cli: - specifier: 4.9.1 - version: 4.9.1(webpack@5.94.0) + specifier: 6.0.1 + version: 6.0.1(webpack@5.94.0) projects/packages/search: dependencies: @@ -2992,10 +2992,10 @@ importers: version: 11.1.6(@size-limit/preset-app@11.1.6) webpack: specifier: 5.94.0 - version: 5.94.0(webpack-cli@4.9.1) + version: 5.94.0(webpack-cli@6.0.1) webpack-cli: - specifier: 4.9.1 - version: 4.9.1(webpack@5.94.0) + specifier: 6.0.1 + version: 6.0.1(webpack@5.94.0) projects/packages/stats-admin: {} @@ -3180,10 +3180,10 @@ importers: version: 5.0.4 webpack: specifier: 5.94.0 - version: 5.94.0(webpack-cli@4.9.1) + version: 5.94.0(webpack-cli@6.0.1) webpack-cli: - specifier: 4.9.1 - version: 4.9.1(webpack@5.94.0) + specifier: 6.0.1 + version: 6.0.1(webpack@5.94.0) projects/packages/wordads: dependencies: @@ -3328,10 +3328,10 @@ importers: version: 12.4.0(sass@1.64.1)(webpack@5.94.0) webpack: specifier: 5.94.0 - version: 5.94.0(webpack-cli@4.9.1) + version: 5.94.0(webpack-cli@6.0.1) webpack-cli: - specifier: 4.9.1 - version: 4.9.1(webpack@5.94.0) + specifier: 6.0.1 + version: 6.0.1(webpack@5.94.0) projects/packages/wp-js-data-sync: {} @@ -3394,10 +3394,10 @@ importers: version: 12.4.0(sass@1.64.1)(webpack@5.94.0) webpack: specifier: 5.94.0 - version: 5.94.0(webpack-cli@4.9.1) + version: 5.94.0(webpack-cli@6.0.1) webpack-cli: - specifier: 4.9.1 - version: 4.9.1(webpack@5.94.0) + specifier: 6.0.1 + version: 6.0.1(webpack@5.94.0) projects/plugins/automattic-for-agencies-client: dependencies: @@ -3482,10 +3482,10 @@ importers: version: 12.4.0(sass@1.64.1)(webpack@5.94.0) webpack: specifier: 5.94.0 - version: 5.94.0(webpack-cli@4.9.1) + version: 5.94.0(webpack-cli@6.0.1) webpack-cli: - specifier: 4.9.1 - version: 4.9.1(webpack@5.94.0) + specifier: 6.0.1 + version: 6.0.1(webpack@5.94.0) projects/plugins/automattic-for-agencies-client/tests/e2e: devDependencies: @@ -3639,10 +3639,10 @@ importers: version: 5.0.4 webpack: specifier: 5.94.0 - version: 5.94.0(webpack-cli@4.9.1) + version: 5.94.0(webpack-cli@6.0.1) webpack-cli: - specifier: 4.9.1 - version: 4.9.1(webpack@5.94.0) + specifier: 6.0.1 + version: 6.0.1(webpack@5.94.0) projects/plugins/boost/tests/e2e: devDependencies: @@ -3730,10 +3730,10 @@ importers: version: 12.4.0(sass@1.64.1)(webpack@5.94.0) webpack: specifier: 5.94.0 - version: 5.94.0(webpack-cli@4.9.1) + version: 5.94.0(webpack-cli@6.0.1) webpack-cli: - specifier: 4.9.1 - version: 4.9.1(webpack@5.94.0) + specifier: 6.0.1 + version: 6.0.1(webpack@5.94.0) projects/plugins/classic-theme-helper-plugin/tests/e2e: devDependencies: @@ -3857,10 +3857,10 @@ importers: version: 5.0.4 webpack: specifier: 5.94.0 - version: 5.94.0(webpack-cli@4.9.1) + version: 5.94.0(webpack-cli@6.0.1) webpack-cli: - specifier: 4.9.1 - version: 4.9.1(webpack@5.94.0) + specifier: 6.0.1 + version: 6.0.1(webpack@5.94.0) projects/plugins/inspect: dependencies: @@ -4137,10 +4137,10 @@ importers: version: 4.2.3 webpack: specifier: 5.94.0 - version: 5.94.0(webpack-cli@4.9.1) + version: 5.94.0(webpack-cli@6.0.1) webpack-cli: - specifier: 4.9.1 - version: 4.9.1(webpack@5.94.0) + specifier: 6.0.1 + version: 6.0.1(webpack@5.94.0) optionalDependencies: react: specifier: 18.3.1 @@ -4397,10 +4397,10 @@ importers: version: 5.0.4 webpack: specifier: 5.94.0 - version: 5.94.0(webpack-cli@4.9.1) + version: 5.94.0(webpack-cli@6.0.1) webpack-cli: - specifier: 4.9.1 - version: 4.9.1(webpack@5.94.0) + specifier: 6.0.1 + version: 6.0.1(webpack@5.94.0) projects/plugins/search: {} @@ -4538,10 +4538,10 @@ importers: version: 12.4.0(sass@1.64.1)(webpack@5.94.0) webpack: specifier: 5.94.0 - version: 5.94.0(webpack-cli@4.9.1) + version: 5.94.0(webpack-cli@6.0.1) webpack-cli: - specifier: 4.9.1 - version: 4.9.1(webpack@5.94.0) + specifier: 6.0.1 + version: 6.0.1(webpack@5.94.0) projects/plugins/social/tests/e2e: devDependencies: @@ -4629,10 +4629,10 @@ importers: version: 12.4.0(sass@1.64.1)(webpack@5.94.0) webpack: specifier: 5.94.0 - version: 5.94.0(webpack-cli@4.9.1) + version: 5.94.0(webpack-cli@6.0.1) webpack-cli: - specifier: 4.9.1 - version: 4.9.1(webpack@5.94.0) + specifier: 6.0.1 + version: 6.0.1(webpack@5.94.0) projects/plugins/starter-plugin/tests/e2e: devDependencies: @@ -4734,10 +4734,10 @@ importers: version: 12.4.0(sass@1.64.1)(webpack@5.94.0) webpack: specifier: 5.94.0 - version: 5.94.0(webpack-cli@4.9.1) + version: 5.94.0(webpack-cli@6.0.1) webpack-cli: - specifier: 4.9.1 - version: 4.9.1(webpack@5.94.0) + specifier: 6.0.1 + version: 6.0.1(webpack@5.94.0) projects/plugins/videopress/tests/e2e: devDependencies: @@ -5824,9 +5824,9 @@ packages: '@dabh/diagnostics@2.0.3': resolution: {integrity: sha512-hrlQOIi7hAfzsMqlGSFyVucrx38O+j6wiGOf//H2ecvIEqYN4ADBSS2iLMh5UFyDunCNniUIPk/q3riFv45xRA==} - '@discoveryjs/json-ext@0.5.7': - resolution: {integrity: sha512-dBVuXR082gk3jsFp7Rd/JI4kytwGHecnCoTtXFb7DB6CNHp4rg5k1bhg0nWdLGLnOV71lmDzGQaLMy8iPLY0pw==} - engines: {node: '>=10.0.0'} + '@discoveryjs/json-ext@0.6.3': + resolution: {integrity: sha512-4B4OijXeVNOPZlYA2oEwWOTkzyltLao+xbotHQeqN++Rv27Y6s818+n2Qkp8q+Fxhn0t/5lA5X1Mxktud8eayQ==} + engines: {node: '>=14.17.0'} '@emotion/babel-plugin@11.13.5': resolution: {integrity: sha512-pxHCpT2ex+0q+HH91/zsdHkw/lXd468DIN2zvfvLtPKLLMo6gQj7oLObq8PhkrxOZb/gGCq03S3Z7PDhS8pduQ==} @@ -7989,46 +7989,26 @@ packages: '@webassemblyjs/wast-printer@1.14.1': resolution: {integrity: sha512-kPSSXE6De1XOR820C90RIo2ogvZG+c3KiHzqUoO/F34Y2shGzesfqv7o57xrxovZJH/MetF5UjroJ/R/3isoiw==} - '@webpack-cli/configtest@1.2.0': - resolution: {integrity: sha512-4FB8Tj6xyVkyqjj1OaTqCjXYULB9FMkqQ8yGrZjRDrYh0nOE+7Lhs45WioWQQMV+ceFlE368Ukhe6xdvJM9Egg==} - peerDependencies: - webpack: 4.x.x || 5.x.x - webpack-cli: 4.x.x - - '@webpack-cli/configtest@2.1.1': - resolution: {integrity: sha512-wy0mglZpDSiSS0XHrVR+BAdId2+yxPSoJW8fsna3ZpYSlufjvxnP4YbKTCBZnNIcGN4r6ZPXV55X4mYExOfLmw==} - engines: {node: '>=14.15.0'} - peerDependencies: - webpack: 5.x.x - webpack-cli: 5.x.x - - '@webpack-cli/info@1.5.0': - resolution: {integrity: sha512-e8tSXZpw2hPl2uMJY6fsMswaok5FdlGNRTktvFk2sD8RjH0hE2+XistawJx1vmKteh4NmGmNUrp+Tb2w+udPcQ==} - peerDependencies: - webpack-cli: 4.x.x - - '@webpack-cli/info@2.0.2': - resolution: {integrity: sha512-zLHQdI/Qs1UyT5UBdWNqsARasIA+AaF8t+4u2aS2nEpBQh2mWIVb8qAklq0eUENnC5mOItrIB4LiS9xMtph18A==} - engines: {node: '>=14.15.0'} + '@webpack-cli/configtest@3.0.1': + resolution: {integrity: sha512-u8d0pJ5YFgneF/GuvEiDA61Tf1VDomHHYMjv/wc9XzYj7nopltpG96nXN5dJRstxZhcNpV1g+nT6CydO7pHbjA==} + engines: {node: '>=18.12.0'} peerDependencies: - webpack: 5.x.x - webpack-cli: 5.x.x + webpack: ^5.82.0 + webpack-cli: 6.x.x - '@webpack-cli/serve@1.7.0': - resolution: {integrity: sha512-oxnCNGj88fL+xzV+dacXs44HcDwf1ovs3AuEzvP7mqXw7fQntqIhQ1BRmynh4qEKQSSSRSWVyXRjmTbZIX9V2Q==} + '@webpack-cli/info@3.0.1': + resolution: {integrity: sha512-coEmDzc2u/ffMvuW9aCjoRzNSPDl/XLuhPdlFRpT9tZHmJ/039az33CE7uH+8s0uL1j5ZNtfdv0HkfaKRBGJsQ==} + engines: {node: '>=18.12.0'} peerDependencies: - webpack-cli: 4.x.x - webpack-dev-server: '*' - peerDependenciesMeta: - webpack-dev-server: - optional: true + webpack: ^5.82.0 + webpack-cli: 6.x.x - '@webpack-cli/serve@2.0.5': - resolution: {integrity: sha512-lqaoKnRYBdo1UgDX8uF24AfGMifWK19TxPmM5FHc2vAGxrJ/qtyUyFBWoY1tISZdelsQ5fBcOusifo5o5wSJxQ==} - engines: {node: '>=14.15.0'} + '@webpack-cli/serve@3.0.1': + resolution: {integrity: sha512-sbgw03xQaCLiT6gcY/6u3qBDn01CWw/nbaXl3gTdTFuJJ75Gffv3E3DBpgvY2fkkrdS1fpjaXNOmJlnbtKauKg==} + engines: {node: '>=18.12.0'} peerDependencies: - webpack: 5.x.x - webpack-cli: 5.x.x + webpack: ^5.82.0 + webpack-cli: 6.x.x webpack-dev-server: '*' peerDependenciesMeta: webpack-dev-server: @@ -9178,10 +9158,6 @@ packages: resolution: {integrity: sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==} engines: {node: '>= 0.8'} - commander@10.0.1: - resolution: {integrity: sha512-y4Mg2tXshplEbSGzx7amzPwKKOCGuoSRP/CjEdwwk0FOGlUbq6lKuoyDZTNZkmxHdJtp54hdfY/JUrdL7Xfdug==} - engines: {node: '>=14'} - commander@12.1.0: resolution: {integrity: sha512-Vw8qHK3bZM9y/P10u3Vib8o/DdkvA2OtPtZvD871QKjy74Wj1WSKFILMPRPSdUSx5RFK1arlJzEtA4PkFgnbuA==} engines: {node: '>=18'} @@ -10902,10 +10878,6 @@ packages: resolution: {integrity: sha512-5Hh7Y1wQbvY5ooGgPbDaL5iYLAPzMTUrjMulskHLH6wnv/A+1q5rgEaiuqEjB+oxGXIVZs1FF+R/KPN3ZSQYYg==} engines: {node: '>=12'} - interpret@2.2.0: - resolution: {integrity: sha512-Ju0Bz/cEia55xDwUWEa8+olFpCiQoypjnQySseKtmjNrnps3P+xfpUmGr90T7yjlVJmOtybRvPXhKMbHr+fWnw==} - engines: {node: '>= 0.10'} - interpret@3.1.1: resolution: {integrity: sha512-6xwYfHbajpoF0xLW+iwLkhwgvLoZDfjYfoFNu8ftMoXINzwuymNLd9u/KmwtdT2GbR+/Cz66otEGEVVUHX9QLQ==} engines: {node: '>=10.13.0'} @@ -13117,10 +13089,6 @@ packages: resolution: {integrity: sha512-Hx/BGIbwj+Des3+xy5uAtAbdCyqK9y9wbBcDFDYanLS9JnMqf7OeF87HQwUimE87OEc72mr6tkKUKMBBL+hF9Q==} engines: {node: '>= 4'} - rechoir@0.7.1: - resolution: {integrity: sha512-/njmZ8s1wVeR6pjTZ+0nCnv8SpZNRMT2D1RLOJQESlYFDBvwpTA4KWJpZ+sBJ4+vhjILRcK7JIFdGCdxEAAitg==} - engines: {node: '>= 0.10'} - rechoir@0.8.0: resolution: {integrity: sha512-/vxpCXddiX8NGfGO/mTafwjq4aFa/71pvamip0++IQk3zG8cbCj0fifNPrjjF1XMXUne91jL9OoxmdykoEtifQ==} engines: {node: '>= 10.13.0'} @@ -14666,38 +14634,15 @@ packages: resolution: {integrity: sha512-VwddBukDzu71offAQR975unBIGqfKZpM+8ZX6ySk8nYhVoo5CYaZyzt3YBvYtRtO+aoGlqxPg/B87NGVZ/fu6g==} engines: {node: '>=12'} - webpack-cli@4.9.1: - resolution: {integrity: sha512-JYRFVuyFpzDxMDB+v/nanUdQYcZtqFPGzmlW4s+UkPMFhSpfRNmf1z4AwYcHJVdvEFAM7FFCQdNTpsBYhDLusQ==} - engines: {node: '>=10.13.0'} - hasBin: true - peerDependencies: - '@webpack-cli/generators': '*' - '@webpack-cli/migrate': '*' - webpack: 4.x.x || 5.x.x - webpack-bundle-analyzer: '*' - webpack-dev-server: '*' - peerDependenciesMeta: - '@webpack-cli/generators': - optional: true - '@webpack-cli/migrate': - optional: true - webpack-bundle-analyzer: - optional: true - webpack-dev-server: - optional: true - - webpack-cli@5.1.4: - resolution: {integrity: sha512-pIDJHIEI9LR0yxHXQ+Qh95k2EvXpWzZ5l+d+jIo+RdSm9MiHfzazIxwwni/p7+x4eJZuvG1AJwgC4TNQ7NRgsg==} - engines: {node: '>=14.15.0'} + webpack-cli@6.0.1: + resolution: {integrity: sha512-MfwFQ6SfwinsUVi0rNJm7rHZ31GyTcpVE5pgVA3hwFRb7COD4TzjUUwhGWKfO50+xdc2MQPuEBBJoqIMGt3JDw==} + engines: {node: '>=18.12.0'} hasBin: true peerDependencies: - '@webpack-cli/generators': '*' - webpack: 5.x.x + webpack: ^5.82.0 webpack-bundle-analyzer: '*' webpack-dev-server: '*' peerDependenciesMeta: - '@webpack-cli/generators': - optional: true webpack-bundle-analyzer: optional: true webpack-dev-server: @@ -14721,9 +14666,9 @@ packages: webpack-hot-middleware@2.26.1: resolution: {integrity: sha512-khZGfAeJx6I8K9zKohEWWYN6KDlVw2DHownoe+6Vtwj1LP9WFgegXnVMSkZ/dBEBtXFwrkkydsaPFlB7f8wU2A==} - webpack-merge@5.10.0: - resolution: {integrity: sha512-+4zXKdx7UnO+1jaN4l2lHVD+mFvnlZQP/6ljaJVb4SZiwIKeUnrT5l0gkT8z+n4hKpC+jpOv6O9R+gLtag7pSA==} - engines: {node: '>=10.0.0'} + webpack-merge@6.0.1: + resolution: {integrity: sha512-hXXvrjtx2PLYx4qruKl+kyRSLc52V+cCvMxRjmKwoA+CBbbF5GfIBtR6kCvl0fYGqTUPKB+1ktVmTHqMOzgCBg==} + engines: {node: '>=18.0.0'} webpack-sources@1.4.3: resolution: {integrity: sha512-lgTS3Xhv1lCOKo7SA5TjKXMjpSM4sBjNV5+q2bqesbSPs5FjGmU6jjtBSkX9b4qW87vDIsCIlUPOEhbZrMdjeQ==} @@ -15141,7 +15086,7 @@ snapshots: '@automattic/webpack-rtl-plugin@6.0.0(webpack@5.94.0)': dependencies: rtlcss: 3.5.0 - webpack: 5.94.0(webpack-cli@4.9.1) + webpack: 5.94.0(webpack-cli@6.0.1) '@babel/code-frame@7.26.2': dependencies: @@ -15964,7 +15909,7 @@ snapshots: find-root: 1.1.0 lodash.groupby: 4.6.0 semver: 7.6.3 - webpack: 5.94.0(webpack-cli@4.9.1) + webpack: 5.94.0(webpack-cli@6.0.1) '@colors/colors@1.6.0': {} @@ -15978,7 +15923,7 @@ snapshots: enabled: 2.0.0 kuler: 2.0.0 - '@discoveryjs/json-ext@0.5.7': {} + '@discoveryjs/json-ext@0.6.3': {} '@emotion/babel-plugin@11.13.5': dependencies: @@ -17326,7 +17271,7 @@ snapshots: '@remote-ui/rpc': 1.4.5 optionalDependencies: '@babel/core': 7.26.0 - webpack: 5.94.0(webpack-cli@4.9.1) + webpack: 5.94.0(webpack-cli@6.0.1) '@sideway/address@4.1.5': dependencies: @@ -17524,7 +17469,7 @@ snapshots: react: 18.3.1 react-dom: 18.3.1(react@18.3.1) - '@storybook/builder-webpack5@8.4.7(storybook@8.4.7)(typescript@5.0.4)(webpack-cli@4.9.1)': + '@storybook/builder-webpack5@8.4.7(storybook@8.4.7)(typescript@5.0.4)(webpack-cli@6.0.1)': dependencies: '@storybook/core-webpack': 8.4.7(storybook@8.4.7) '@types/node': 22.10.5 @@ -17548,7 +17493,7 @@ snapshots: url: 0.11.4 util: 0.12.5 util-deprecate: 1.0.2 - webpack: 5.94.0(webpack-cli@4.9.1) + webpack: 5.94.0(webpack-cli@6.0.1) webpack-dev-middleware: 6.1.3(webpack@5.94.0) webpack-hot-middleware: 2.26.1 webpack-virtual-modules: 0.6.2 @@ -17625,7 +17570,7 @@ snapshots: dependencies: storybook: 8.4.7 - '@storybook/preset-react-webpack@8.4.7(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.4.7)(typescript@5.0.4)(webpack-cli@4.9.1)': + '@storybook/preset-react-webpack@8.4.7(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.4.7)(typescript@5.0.4)(webpack-cli@6.0.1)': dependencies: '@storybook/core-webpack': 8.4.7(storybook@8.4.7) '@storybook/react': 8.4.7(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.4.7)(typescript@5.0.4) @@ -17641,7 +17586,7 @@ snapshots: semver: 7.6.3 storybook: 8.4.7 tsconfig-paths: 4.2.0 - webpack: 5.94.0(webpack-cli@4.9.1) + webpack: 5.94.0(webpack-cli@6.0.1) optionalDependencies: typescript: 5.0.4 transitivePeerDependencies: @@ -17666,7 +17611,7 @@ snapshots: react-docgen-typescript: 2.2.2(typescript@5.0.4) tslib: 2.5.0 typescript: 5.0.4 - webpack: 5.94.0(webpack-cli@4.9.1) + webpack: 5.94.0(webpack-cli@6.0.1) transitivePeerDependencies: - supports-color @@ -17676,10 +17621,10 @@ snapshots: react-dom: 18.3.1(react@18.3.1) storybook: 8.4.7 - '@storybook/react-webpack5@8.4.7(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.4.7)(typescript@5.0.4)(webpack-cli@4.9.1)': + '@storybook/react-webpack5@8.4.7(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.4.7)(typescript@5.0.4)(webpack-cli@6.0.1)': dependencies: - '@storybook/builder-webpack5': 8.4.7(storybook@8.4.7)(typescript@5.0.4)(webpack-cli@4.9.1) - '@storybook/preset-react-webpack': 8.4.7(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.4.7)(typescript@5.0.4)(webpack-cli@4.9.1) + '@storybook/builder-webpack5': 8.4.7(storybook@8.4.7)(typescript@5.0.4)(webpack-cli@6.0.1) + '@storybook/preset-react-webpack': 8.4.7(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.4.7)(typescript@5.0.4)(webpack-cli@6.0.1) '@storybook/react': 8.4.7(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.4.7)(typescript@5.0.4) '@types/node': 22.10.5 react: 18.3.1 @@ -18762,34 +18707,20 @@ snapshots: '@webassemblyjs/ast': 1.14.1 '@xtuc/long': 4.2.2 - '@webpack-cli/configtest@1.2.0(webpack-cli@4.9.1)(webpack@5.94.0)': - dependencies: - webpack: 5.94.0(webpack-cli@4.9.1) - webpack-cli: 4.9.1(webpack@5.94.0) - - '@webpack-cli/configtest@2.1.1(webpack-cli@5.1.4)(webpack@5.94.0)': - dependencies: - webpack: 5.94.0(webpack-cli@5.1.4) - webpack-cli: 5.1.4(webpack@5.94.0) - - '@webpack-cli/info@1.5.0(webpack-cli@4.9.1)': - dependencies: - envinfo: 7.14.0 - webpack-cli: 4.9.1(webpack@5.94.0) - - '@webpack-cli/info@2.0.2(webpack-cli@5.1.4)(webpack@5.94.0)': + '@webpack-cli/configtest@3.0.1(webpack-cli@6.0.1)(webpack@5.94.0)': dependencies: - webpack: 5.94.0(webpack-cli@5.1.4) - webpack-cli: 5.1.4(webpack@5.94.0) + webpack: 5.94.0(webpack-cli@6.0.1) + webpack-cli: 6.0.1(webpack@5.94.0) - '@webpack-cli/serve@1.7.0(webpack-cli@4.9.1)': + '@webpack-cli/info@3.0.1(webpack-cli@6.0.1)(webpack@5.94.0)': dependencies: - webpack-cli: 4.9.1(webpack@5.94.0) + webpack: 5.94.0(webpack-cli@6.0.1) + webpack-cli: 6.0.1(webpack@5.94.0) - '@webpack-cli/serve@2.0.5(webpack-cli@5.1.4)(webpack@5.94.0)': + '@webpack-cli/serve@3.0.1(webpack-cli@6.0.1)(webpack@5.94.0)': dependencies: - webpack: 5.94.0(webpack-cli@5.1.4) - webpack-cli: 5.1.4(webpack@5.94.0) + webpack: 5.94.0(webpack-cli@6.0.1) + webpack-cli: 6.0.1(webpack@5.94.0) '@wordpress/a11y@4.16.0': dependencies: @@ -19904,7 +19835,7 @@ snapshots: '@wordpress/dependency-extraction-webpack-plugin@6.16.0(webpack@5.94.0)': dependencies: json2php: 0.0.7 - webpack: 5.94.0(webpack-cli@4.9.1) + webpack: 5.94.0(webpack-cli@6.0.1) '@wordpress/deprecated@4.16.0': dependencies: @@ -21663,14 +21594,14 @@ snapshots: '@babel/core': 7.26.0 find-cache-dir: 3.3.2 schema-utils: 4.3.0 - webpack: 5.94.0(webpack-cli@5.1.4) + webpack: 5.94.0(webpack-cli@6.0.1) babel-loader@9.2.1(@babel/core@7.26.0)(webpack@5.94.0): dependencies: '@babel/core': 7.26.0 find-cache-dir: 4.0.0 schema-utils: 4.3.0 - webpack: 5.94.0(webpack-cli@4.9.1) + webpack: 5.94.0(webpack-cli@6.0.1) babel-plugin-inline-json-import@0.3.2: dependencies: @@ -22082,7 +22013,7 @@ snapshots: clean-webpack-plugin@4.0.0(webpack@5.94.0): dependencies: del: 4.1.1 - webpack: 5.94.0(webpack-cli@5.1.4) + webpack: 5.94.0(webpack-cli@6.0.1) cli-cursor@2.1.0: dependencies: @@ -22225,8 +22156,6 @@ snapshots: dependencies: delayed-stream: 1.0.0 - commander@10.0.1: {} - commander@12.1.0: {} commander@13.0.0: {} @@ -22321,7 +22250,7 @@ snapshots: normalize-path: 3.0.0 schema-utils: 4.3.0 serialize-javascript: 6.0.2 - webpack: 5.94.0(webpack-cli@4.9.1) + webpack: 5.94.0(webpack-cli@6.0.1) core-js-compat@3.40.0: dependencies: @@ -22414,7 +22343,7 @@ snapshots: postcss-value-parser: 4.2.0 semver: 7.6.3 optionalDependencies: - webpack: 5.94.0(webpack-cli@5.1.4) + webpack: 5.94.0(webpack-cli@6.0.1) css-loader@6.5.1(webpack@5.94.0): dependencies: @@ -22426,7 +22355,7 @@ snapshots: postcss-modules-values: 4.0.0(postcss@8.4.47) postcss-value-parser: 4.2.0 semver: 7.6.3 - webpack: 5.94.0(webpack-cli@4.9.1) + webpack: 5.94.0(webpack-cli@6.0.1) css-minimizer-webpack-plugin@5.0.1(webpack@5.94.0): dependencies: @@ -22436,7 +22365,7 @@ snapshots: postcss: 8.4.47 schema-utils: 4.3.0 serialize-javascript: 6.0.2 - webpack: 5.94.0(webpack-cli@4.9.1) + webpack: 5.94.0(webpack-cli@6.0.1) css-select@4.3.0: dependencies: @@ -23061,7 +22990,7 @@ snapshots: esbuild: 0.17.19 get-tsconfig: 4.8.1 loader-utils: 2.0.4 - webpack: 5.94.0(webpack-cli@4.9.1) + webpack: 5.94.0(webpack-cli@6.0.1) webpack-sources: 1.4.3 esbuild-register@3.6.0(esbuild@0.24.2): @@ -23757,7 +23686,7 @@ snapshots: semver: 7.6.3 tapable: 2.2.1 typescript: 5.0.4 - webpack: 5.94.0(webpack-cli@4.9.1) + webpack: 5.94.0(webpack-cli@6.0.1) fork-ts-checker-webpack-plugin@9.0.2(typescript@5.0.4)(webpack@5.94.0): dependencies: @@ -23774,7 +23703,7 @@ snapshots: semver: 7.6.3 tapable: 2.2.1 typescript: 5.0.4 - webpack: 5.94.0(webpack-cli@4.9.1) + webpack: 5.94.0(webpack-cli@6.0.1) fork-ts-checker-webpack-plugin@9.0.2(typescript@5.7.2)(webpack@5.94.0): dependencies: @@ -23791,7 +23720,7 @@ snapshots: semver: 7.6.3 tapable: 2.2.1 typescript: 5.7.2 - webpack: 5.94.0(webpack-cli@5.1.4) + webpack: 5.94.0(webpack-cli@6.0.1) form-data-encoder@1.7.2: {} @@ -24117,7 +24046,7 @@ snapshots: pretty-error: 4.0.0 tapable: 2.2.1 optionalDependencies: - webpack: 5.94.0(webpack-cli@4.9.1) + webpack: 5.94.0(webpack-cli@6.0.1) htmlparser2@3.10.1: dependencies: @@ -24262,8 +24191,6 @@ snapshots: internmap@2.0.3: {} - interpret@2.2.0: {} - interpret@3.1.1: {} intl-messageformat@10.7.11: @@ -25847,7 +25774,7 @@ snapshots: dependencies: schema-utils: 4.3.0 tapable: 2.2.1 - webpack: 5.94.0(webpack-cli@5.1.4) + webpack: 5.94.0(webpack-cli@6.0.1) minimatch@10.0.1: dependencies: @@ -26433,7 +26360,7 @@ snapshots: klona: 2.0.6 postcss: 8.4.47 semver: 7.6.3 - webpack: 5.94.0(webpack-cli@4.9.1) + webpack: 5.94.0(webpack-cli@6.0.1) postcss-loader@7.3.4(postcss@8.4.47)(typescript@5.7.2)(webpack@5.94.0): dependencies: @@ -26441,7 +26368,7 @@ snapshots: jiti: 1.21.7 postcss: 8.4.47 semver: 7.6.3 - webpack: 5.94.0(webpack-cli@5.1.4) + webpack: 5.94.0(webpack-cli@6.0.1) transitivePeerDependencies: - typescript @@ -27018,10 +26945,6 @@ snapshots: tiny-invariant: 1.3.3 tslib: 2.5.0 - rechoir@0.7.1: - dependencies: - resolve: 1.22.10 - rechoir@0.8.0: dependencies: resolve: 1.22.10 @@ -27440,14 +27363,14 @@ snapshots: dependencies: klona: 2.0.6 neo-async: 2.6.2 - webpack: 5.94.0(webpack-cli@4.9.1) + webpack: 5.94.0(webpack-cli@6.0.1) optionalDependencies: sass: 1.64.1 sass-loader@13.3.3(sass-embedded@1.83.0)(sass@1.64.1)(webpack@5.94.0): dependencies: neo-async: 2.6.2 - webpack: 5.94.0(webpack-cli@5.1.4) + webpack: 5.94.0(webpack-cli@6.0.1) optionalDependencies: sass: 1.64.1 sass-embedded: 1.83.0 @@ -27944,11 +27867,11 @@ snapshots: dependencies: loader-utils: 2.0.4 schema-utils: 3.3.0 - webpack: 5.94.0(webpack-cli@4.9.1) + webpack: 5.94.0(webpack-cli@6.0.1) style-loader@3.3.4(webpack@5.94.0): dependencies: - webpack: 5.94.0(webpack-cli@4.9.1) + webpack: 5.94.0(webpack-cli@6.0.1) stylehacks@6.1.1(postcss@8.4.47): dependencies: @@ -28122,7 +28045,7 @@ snapshots: schema-utils: 4.3.0 serialize-javascript: 6.0.2 terser: 5.37.0 - webpack: 5.94.0(webpack-cli@4.9.1) + webpack: 5.94.0(webpack-cli@6.0.1) terser-webpack-plugin@5.3.3(webpack@5.94.0): dependencies: @@ -28131,7 +28054,7 @@ snapshots: schema-utils: 3.3.0 serialize-javascript: 6.0.2 terser: 5.37.0 - webpack: 5.94.0(webpack-cli@4.9.1) + webpack: 5.94.0(webpack-cli@6.0.1) terser@5.37.0: dependencies: @@ -28161,7 +28084,7 @@ snapshots: loader-utils: 2.0.4 neo-async: 2.6.2 schema-utils: 3.3.0 - webpack: 5.94.0(webpack-cli@4.9.1) + webpack: 5.94.0(webpack-cli@6.0.1) through@2.3.8: {} @@ -28627,38 +28550,22 @@ snapshots: webidl-conversions@7.0.0: {} - webpack-cli@4.9.1(webpack@5.94.0): - dependencies: - '@discoveryjs/json-ext': 0.5.7 - '@webpack-cli/configtest': 1.2.0(webpack-cli@4.9.1)(webpack@5.94.0) - '@webpack-cli/info': 1.5.0(webpack-cli@4.9.1) - '@webpack-cli/serve': 1.7.0(webpack-cli@4.9.1) - colorette: 2.0.20 - commander: 7.2.0 - execa: 5.1.1 - fastest-levenshtein: 1.0.16 - import-local: 3.2.0 - interpret: 2.2.0 - rechoir: 0.7.1 - webpack: 5.94.0(webpack-cli@4.9.1) - webpack-merge: 5.10.0 - - webpack-cli@5.1.4(webpack@5.94.0): + webpack-cli@6.0.1(webpack@5.94.0): dependencies: - '@discoveryjs/json-ext': 0.5.7 - '@webpack-cli/configtest': 2.1.1(webpack-cli@5.1.4)(webpack@5.94.0) - '@webpack-cli/info': 2.0.2(webpack-cli@5.1.4)(webpack@5.94.0) - '@webpack-cli/serve': 2.0.5(webpack-cli@5.1.4)(webpack@5.94.0) + '@discoveryjs/json-ext': 0.6.3 + '@webpack-cli/configtest': 3.0.1(webpack-cli@6.0.1)(webpack@5.94.0) + '@webpack-cli/info': 3.0.1(webpack-cli@6.0.1)(webpack@5.94.0) + '@webpack-cli/serve': 3.0.1(webpack-cli@6.0.1)(webpack@5.94.0) colorette: 2.0.20 - commander: 10.0.1 + commander: 12.1.0 cross-spawn: 7.0.6 envinfo: 7.14.0 fastest-levenshtein: 1.0.16 import-local: 3.2.0 interpret: 3.1.1 rechoir: 0.8.0 - webpack: 5.94.0(webpack-cli@5.1.4) - webpack-merge: 5.10.0 + webpack: 5.94.0(webpack-cli@6.0.1) + webpack-merge: 6.0.1 webpack-dev-middleware@5.3.4(webpack@5.94.0): dependencies: @@ -28667,7 +28574,7 @@ snapshots: mime-types: 2.1.35 range-parser: 1.2.1 schema-utils: 4.3.0 - webpack: 5.94.0(webpack-cli@4.9.1) + webpack: 5.94.0(webpack-cli@6.0.1) webpack-dev-middleware@6.1.3(webpack@5.94.0): dependencies: @@ -28677,7 +28584,7 @@ snapshots: range-parser: 1.2.1 schema-utils: 4.3.0 optionalDependencies: - webpack: 5.94.0(webpack-cli@4.9.1) + webpack: 5.94.0(webpack-cli@6.0.1) webpack-hot-middleware@2.26.1: dependencies: @@ -28685,7 +28592,7 @@ snapshots: html-entities: 2.5.2 strip-ansi: 6.0.1 - webpack-merge@5.10.0: + webpack-merge@6.0.1: dependencies: clone-deep: 4.0.1 flat: 5.0.2 @@ -28700,39 +28607,7 @@ snapshots: webpack-virtual-modules@0.6.2: {} - webpack@5.94.0(webpack-cli@4.9.1): - dependencies: - '@types/estree': 1.0.6 - '@webassemblyjs/ast': 1.14.1 - '@webassemblyjs/wasm-edit': 1.14.1 - '@webassemblyjs/wasm-parser': 1.14.1 - acorn: 8.14.0 - acorn-import-attributes: 1.9.5(acorn@8.14.0) - browserslist: 4.24.3 - chrome-trace-event: 1.0.4 - enhanced-resolve: 5.18.0 - es-module-lexer: 1.6.0 - eslint-scope: 5.1.1 - events: 3.3.0 - glob-to-regexp: 0.4.1 - graceful-fs: 4.2.11 - json-parse-even-better-errors: 2.3.1 - loader-runner: 4.3.0 - mime-types: 2.1.35 - neo-async: 2.6.2 - schema-utils: 3.3.0 - tapable: 2.2.1 - terser-webpack-plugin: 5.3.11(webpack@5.94.0) - watchpack: 2.4.2 - webpack-sources: 3.2.3 - optionalDependencies: - webpack-cli: 4.9.1(webpack@5.94.0) - transitivePeerDependencies: - - '@swc/core' - - esbuild - - uglify-js - - webpack@5.94.0(webpack-cli@5.1.4): + webpack@5.94.0(webpack-cli@6.0.1): dependencies: '@types/estree': 1.0.6 '@webassemblyjs/ast': 1.14.1 @@ -28758,7 +28633,7 @@ snapshots: watchpack: 2.4.2 webpack-sources: 3.2.3 optionalDependencies: - webpack-cli: 5.1.4(webpack@5.94.0) + webpack-cli: 6.0.1(webpack@5.94.0) transitivePeerDependencies: - '@swc/core' - esbuild diff --git a/projects/js-packages/boost-score-api/changelog/renovate-webpack-cli-6.x b/projects/js-packages/boost-score-api/changelog/renovate-webpack-cli-6.x new file mode 100644 index 0000000000000..c47cb18e82997 --- /dev/null +++ b/projects/js-packages/boost-score-api/changelog/renovate-webpack-cli-6.x @@ -0,0 +1,4 @@ +Significance: patch +Type: changed + +Updated package dependencies. diff --git a/projects/js-packages/boost-score-api/package.json b/projects/js-packages/boost-score-api/package.json index c460d0a6e126a..fa921767b4ca0 100644 --- a/projects/js-packages/boost-score-api/package.json +++ b/projects/js-packages/boost-score-api/package.json @@ -30,7 +30,7 @@ "jest-environment-jsdom": "29.7.0", "typescript": "5.0.4", "webpack": "5.94.0", - "webpack-cli": "4.9.1" + "webpack-cli": "6.0.1" }, "exports": { ".": { diff --git a/projects/js-packages/charts/changelog/renovate-webpack-cli-6.x b/projects/js-packages/charts/changelog/renovate-webpack-cli-6.x new file mode 100644 index 0000000000000..c47cb18e82997 --- /dev/null +++ b/projects/js-packages/charts/changelog/renovate-webpack-cli-6.x @@ -0,0 +1,4 @@ +Significance: patch +Type: changed + +Updated package dependencies. diff --git a/projects/js-packages/charts/package.json b/projects/js-packages/charts/package.json index 831884bb00ad5..21f2b6ee422a8 100644 --- a/projects/js-packages/charts/package.json +++ b/projects/js-packages/charts/package.json @@ -113,7 +113,7 @@ "tsconfig-paths-webpack-plugin": "4.2.0", "typescript": "5.7.2", "webpack": "^5.88.0", - "webpack-cli": "^5.1.0" + "webpack-cli": "^6.0.0" }, "peerDependencies": { "react": "^17.0.0 || ^18.0.0", diff --git a/projects/js-packages/components/changelog/renovate-webpack-cli-6.x b/projects/js-packages/components/changelog/renovate-webpack-cli-6.x new file mode 100644 index 0000000000000..c47cb18e82997 --- /dev/null +++ b/projects/js-packages/components/changelog/renovate-webpack-cli-6.x @@ -0,0 +1,4 @@ +Significance: patch +Type: changed + +Updated package dependencies. diff --git a/projects/js-packages/components/package.json b/projects/js-packages/components/package.json index 486b340ed70a4..866e615bd1e3c 100644 --- a/projects/js-packages/components/package.json +++ b/projects/js-packages/components/package.json @@ -61,7 +61,7 @@ "ts-dedent": "2.2.0", "typescript": "5.0.4", "webpack": "5.94.0", - "webpack-cli": "4.9.1" + "webpack-cli": "6.0.1" }, "peerDependencies": { "react": "^18.0.0", diff --git a/projects/js-packages/critical-css-gen/changelog/renovate-webpack-cli-6.x b/projects/js-packages/critical-css-gen/changelog/renovate-webpack-cli-6.x new file mode 100644 index 0000000000000..c47cb18e82997 --- /dev/null +++ b/projects/js-packages/critical-css-gen/changelog/renovate-webpack-cli-6.x @@ -0,0 +1,4 @@ +Significance: patch +Type: changed + +Updated package dependencies. diff --git a/projects/js-packages/critical-css-gen/package.json b/projects/js-packages/critical-css-gen/package.json index 68386372282d1..be18e80f12b57 100644 --- a/projects/js-packages/critical-css-gen/package.json +++ b/projects/js-packages/critical-css-gen/package.json @@ -42,7 +42,7 @@ "tslib": "2.5.0", "typescript": "5.0.4", "webpack": "5.94.0", - "webpack-cli": "4.9.1", + "webpack-cli": "6.0.1", "webpack-dev-middleware": "5.3.4" }, "exports": { diff --git a/projects/js-packages/i18n-check-webpack-plugin/changelog/renovate-webpack-cli-6.x b/projects/js-packages/i18n-check-webpack-plugin/changelog/renovate-webpack-cli-6.x new file mode 100644 index 0000000000000..c47cb18e82997 --- /dev/null +++ b/projects/js-packages/i18n-check-webpack-plugin/changelog/renovate-webpack-cli-6.x @@ -0,0 +1,4 @@ +Significance: patch +Type: changed + +Updated package dependencies. diff --git a/projects/js-packages/i18n-check-webpack-plugin/package.json b/projects/js-packages/i18n-check-webpack-plugin/package.json index ddcd2248037d1..4b5997738202a 100644 --- a/projects/js-packages/i18n-check-webpack-plugin/package.json +++ b/projects/js-packages/i18n-check-webpack-plugin/package.json @@ -25,7 +25,7 @@ "@babel/core": "7.26.0", "jest": "29.7.0", "webpack": "5.94.0", - "webpack-cli": "4.9.1" + "webpack-cli": "6.0.1" }, "peerDependencies": { "@babel/core": "^7.0.0", diff --git a/projects/js-packages/i18n-loader-webpack-plugin/changelog/renovate-webpack-cli-6.x b/projects/js-packages/i18n-loader-webpack-plugin/changelog/renovate-webpack-cli-6.x new file mode 100644 index 0000000000000..c47cb18e82997 --- /dev/null +++ b/projects/js-packages/i18n-loader-webpack-plugin/changelog/renovate-webpack-cli-6.x @@ -0,0 +1,4 @@ +Significance: patch +Type: changed + +Updated package dependencies. diff --git a/projects/js-packages/i18n-loader-webpack-plugin/package.json b/projects/js-packages/i18n-loader-webpack-plugin/package.json index 6c1a6f334b275..362caaa289fd8 100644 --- a/projects/js-packages/i18n-loader-webpack-plugin/package.json +++ b/projects/js-packages/i18n-loader-webpack-plugin/package.json @@ -25,7 +25,7 @@ "@wordpress/i18n": "5.16.0", "jest": "29.7.0", "webpack": "5.94.0", - "webpack-cli": "4.9.1" + "webpack-cli": "6.0.1" }, "peerDependencies": { "webpack": "^5.94.0" diff --git a/projects/js-packages/image-guide/changelog/renovate-webpack-cli-6.x b/projects/js-packages/image-guide/changelog/renovate-webpack-cli-6.x new file mode 100644 index 0000000000000..c47cb18e82997 --- /dev/null +++ b/projects/js-packages/image-guide/changelog/renovate-webpack-cli-6.x @@ -0,0 +1,4 @@ +Significance: patch +Type: changed + +Updated package dependencies. diff --git a/projects/js-packages/image-guide/package.json b/projects/js-packages/image-guide/package.json index f07e1e89e8a04..3347c9e25fa8f 100644 --- a/projects/js-packages/image-guide/package.json +++ b/projects/js-packages/image-guide/package.json @@ -54,7 +54,7 @@ "tslib": "2.5.0", "typescript": "5.0.4", "webpack": "5.94.0", - "webpack-cli": "4.9.1" + "webpack-cli": "6.0.1" }, "exports": { ".": { diff --git a/projects/js-packages/react-data-sync-client/changelog/renovate-webpack-cli-6.x b/projects/js-packages/react-data-sync-client/changelog/renovate-webpack-cli-6.x new file mode 100644 index 0000000000000..c47cb18e82997 --- /dev/null +++ b/projects/js-packages/react-data-sync-client/changelog/renovate-webpack-cli-6.x @@ -0,0 +1,4 @@ +Significance: patch +Type: changed + +Updated package dependencies. diff --git a/projects/js-packages/react-data-sync-client/package.json b/projects/js-packages/react-data-sync-client/package.json index 03b6024d29f23..37034b9b0ccf1 100644 --- a/projects/js-packages/react-data-sync-client/package.json +++ b/projects/js-packages/react-data-sync-client/package.json @@ -29,7 +29,7 @@ "tslib": "2.5.0", "typescript": "5.0.4", "webpack": "5.94.0", - "webpack-cli": "4.9.1", + "webpack-cli": "6.0.1", "zod": "3.22.3" }, "exports": { diff --git a/projects/js-packages/remove-asset-webpack-plugin/changelog/renovate-webpack-cli-6.x b/projects/js-packages/remove-asset-webpack-plugin/changelog/renovate-webpack-cli-6.x new file mode 100644 index 0000000000000..c47cb18e82997 --- /dev/null +++ b/projects/js-packages/remove-asset-webpack-plugin/changelog/renovate-webpack-cli-6.x @@ -0,0 +1,4 @@ +Significance: patch +Type: changed + +Updated package dependencies. diff --git a/projects/js-packages/remove-asset-webpack-plugin/package.json b/projects/js-packages/remove-asset-webpack-plugin/package.json index 53e023f78385b..3ebad07cd6d92 100644 --- a/projects/js-packages/remove-asset-webpack-plugin/package.json +++ b/projects/js-packages/remove-asset-webpack-plugin/package.json @@ -23,7 +23,7 @@ "devDependencies": { "jest": "29.7.0", "webpack": "5.94.0", - "webpack-cli": "4.9.1" + "webpack-cli": "6.0.1" }, "peerDependencies": { "webpack": "^5.94.0" diff --git a/projects/js-packages/storybook/changelog/renovate-webpack-cli-6.x b/projects/js-packages/storybook/changelog/renovate-webpack-cli-6.x new file mode 100644 index 0000000000000..c47cb18e82997 --- /dev/null +++ b/projects/js-packages/storybook/changelog/renovate-webpack-cli-6.x @@ -0,0 +1,4 @@ +Significance: patch +Type: changed + +Updated package dependencies. diff --git a/projects/js-packages/storybook/package.json b/projects/js-packages/storybook/package.json index 3377237bdaa01..84097dfe1cdfe 100644 --- a/projects/js-packages/storybook/package.json +++ b/projects/js-packages/storybook/package.json @@ -68,7 +68,7 @@ "ts-dedent": "2.2.0", "typescript": "5.0.4", "webpack": "5.94.0", - "webpack-cli": "4.9.1" + "webpack-cli": "6.0.1" }, "dependencies": { "@wordpress/api-fetch": "7.16.0" diff --git a/projects/js-packages/svelte-data-sync-client/changelog/renovate-webpack-cli-6.x b/projects/js-packages/svelte-data-sync-client/changelog/renovate-webpack-cli-6.x new file mode 100644 index 0000000000000..c47cb18e82997 --- /dev/null +++ b/projects/js-packages/svelte-data-sync-client/changelog/renovate-webpack-cli-6.x @@ -0,0 +1,4 @@ +Significance: patch +Type: changed + +Updated package dependencies. diff --git a/projects/js-packages/svelte-data-sync-client/package.json b/projects/js-packages/svelte-data-sync-client/package.json index 6278913887d03..08f620f1e63e6 100644 --- a/projects/js-packages/svelte-data-sync-client/package.json +++ b/projects/js-packages/svelte-data-sync-client/package.json @@ -29,7 +29,7 @@ "tslib": "2.5.0", "typescript": "5.0.4", "webpack": "5.94.0", - "webpack-cli": "4.9.1", + "webpack-cli": "6.0.1", "zod": "3.22.3" }, "exports": { diff --git a/projects/js-packages/videopress-core/changelog/renovate-webpack-cli-6.x b/projects/js-packages/videopress-core/changelog/renovate-webpack-cli-6.x new file mode 100644 index 0000000000000..c47cb18e82997 --- /dev/null +++ b/projects/js-packages/videopress-core/changelog/renovate-webpack-cli-6.x @@ -0,0 +1,4 @@ +Significance: patch +Type: changed + +Updated package dependencies. diff --git a/projects/js-packages/videopress-core/package.json b/projects/js-packages/videopress-core/package.json index 6def65c04d1d4..c012a20649586 100644 --- a/projects/js-packages/videopress-core/package.json +++ b/projects/js-packages/videopress-core/package.json @@ -29,7 +29,7 @@ "tslib": "2.5.0", "typescript": "5.0.4", "webpack": "5.94.0", - "webpack-cli": "4.9.1" + "webpack-cli": "6.0.1" }, "exports": { ".": "./index.jsx", diff --git a/projects/js-packages/webpack-config/changelog/renovate-webpack-cli-6.x b/projects/js-packages/webpack-config/changelog/renovate-webpack-cli-6.x new file mode 100644 index 0000000000000..c47cb18e82997 --- /dev/null +++ b/projects/js-packages/webpack-config/changelog/renovate-webpack-cli-6.x @@ -0,0 +1,4 @@ +Significance: patch +Type: changed + +Updated package dependencies. diff --git a/projects/js-packages/webpack-config/package.json b/projects/js-packages/webpack-config/package.json index 9f268370be7a4..3a92a23aae45c 100644 --- a/projects/js-packages/webpack-config/package.json +++ b/projects/js-packages/webpack-config/package.json @@ -46,7 +46,7 @@ "@babel/runtime": "7.26.0", "typescript": "5.0.4", "webpack": "5.94.0", - "webpack-cli": "4.9.1" + "webpack-cli": "6.0.1" }, "peerDependencies": { "@babel/core": "^7.0.0", diff --git a/projects/packages/assets/changelog/renovate-webpack-cli-6.x b/projects/packages/assets/changelog/renovate-webpack-cli-6.x new file mode 100644 index 0000000000000..c47cb18e82997 --- /dev/null +++ b/projects/packages/assets/changelog/renovate-webpack-cli-6.x @@ -0,0 +1,4 @@ +Significance: patch +Type: changed + +Updated package dependencies. diff --git a/projects/packages/assets/package.json b/projects/packages/assets/package.json index d425e2018a39d..701961d09ded8 100644 --- a/projects/packages/assets/package.json +++ b/projects/packages/assets/package.json @@ -22,6 +22,6 @@ "jest": "29.7.0", "md5-es": "1.8.2", "webpack": "5.94.0", - "webpack-cli": "4.9.1" + "webpack-cli": "6.0.1" } } diff --git a/projects/packages/backup/changelog/renovate-webpack-cli-6.x b/projects/packages/backup/changelog/renovate-webpack-cli-6.x new file mode 100644 index 0000000000000..c47cb18e82997 --- /dev/null +++ b/projects/packages/backup/changelog/renovate-webpack-cli-6.x @@ -0,0 +1,4 @@ +Significance: patch +Type: changed + +Updated package dependencies. diff --git a/projects/packages/backup/package.json b/projects/packages/backup/package.json index 5775b5017923f..28e8bab6e0b87 100644 --- a/projects/packages/backup/package.json +++ b/projects/packages/backup/package.json @@ -62,6 +62,6 @@ "sass-loader": "12.4.0", "typescript": "5.0.4", "webpack": "5.94.0", - "webpack-cli": "4.9.1" + "webpack-cli": "6.0.1" } } diff --git a/projects/packages/blaze/changelog/renovate-webpack-cli-6.x b/projects/packages/blaze/changelog/renovate-webpack-cli-6.x new file mode 100644 index 0000000000000..c47cb18e82997 --- /dev/null +++ b/projects/packages/blaze/changelog/renovate-webpack-cli-6.x @@ -0,0 +1,4 @@ +Significance: patch +Type: changed + +Updated package dependencies. diff --git a/projects/packages/blaze/package.json b/projects/packages/blaze/package.json index 5f3a848886953..e2fc93508a921 100644 --- a/projects/packages/blaze/package.json +++ b/projects/packages/blaze/package.json @@ -45,7 +45,7 @@ "sass": "1.64.1", "sass-loader": "12.4.0", "webpack": "5.94.0", - "webpack-cli": "4.9.1" + "webpack-cli": "6.0.1" }, "browserslist": [ "extends @wordpress/browserslist-config" diff --git a/projects/packages/calypsoify/changelog/renovate-webpack-cli-6.x b/projects/packages/calypsoify/changelog/renovate-webpack-cli-6.x new file mode 100644 index 0000000000000..c47cb18e82997 --- /dev/null +++ b/projects/packages/calypsoify/changelog/renovate-webpack-cli-6.x @@ -0,0 +1,4 @@ +Significance: patch +Type: changed + +Updated package dependencies. diff --git a/projects/packages/calypsoify/package.json b/projects/packages/calypsoify/package.json index 326fd8ba7f24f..db2e180eead3e 100644 --- a/projects/packages/calypsoify/package.json +++ b/projects/packages/calypsoify/package.json @@ -32,6 +32,6 @@ "sass": "1.64.1", "sass-loader": "12.4.0", "webpack": "5.94.0", - "webpack-cli": "4.9.1" + "webpack-cli": "6.0.1" } } diff --git a/projects/packages/classic-theme-helper/changelog/renovate-webpack-cli-6.x b/projects/packages/classic-theme-helper/changelog/renovate-webpack-cli-6.x new file mode 100644 index 0000000000000..c47cb18e82997 --- /dev/null +++ b/projects/packages/classic-theme-helper/changelog/renovate-webpack-cli-6.x @@ -0,0 +1,4 @@ +Significance: patch +Type: changed + +Updated package dependencies. diff --git a/projects/packages/classic-theme-helper/package.json b/projects/packages/classic-theme-helper/package.json index 97e5f882bd51e..07ba3262cb77e 100644 --- a/projects/packages/classic-theme-helper/package.json +++ b/projects/packages/classic-theme-helper/package.json @@ -36,6 +36,6 @@ "sass": "1.64.1", "sass-loader": "12.4.0", "webpack": "5.94.0", - "webpack-cli": "4.9.1" + "webpack-cli": "6.0.1" } } diff --git a/projects/packages/connection/changelog/renovate-webpack-cli-6.x b/projects/packages/connection/changelog/renovate-webpack-cli-6.x new file mode 100644 index 0000000000000..c47cb18e82997 --- /dev/null +++ b/projects/packages/connection/changelog/renovate-webpack-cli-6.x @@ -0,0 +1,4 @@ +Significance: patch +Type: changed + +Updated package dependencies. diff --git a/projects/packages/connection/package.json b/projects/packages/connection/package.json index 75bc5aa6c87bc..05e6452c719d3 100644 --- a/projects/packages/connection/package.json +++ b/projects/packages/connection/package.json @@ -42,6 +42,6 @@ "sass": "1.64.1", "sass-loader": "12.4.0", "webpack": "5.94.0", - "webpack-cli": "4.9.1" + "webpack-cli": "6.0.1" } } diff --git a/projects/packages/explat/changelog/renovate-webpack-cli-6.x b/projects/packages/explat/changelog/renovate-webpack-cli-6.x new file mode 100644 index 0000000000000..c47cb18e82997 --- /dev/null +++ b/projects/packages/explat/changelog/renovate-webpack-cli-6.x @@ -0,0 +1,4 @@ +Significance: patch +Type: changed + +Updated package dependencies. diff --git a/projects/packages/explat/package.json b/projects/packages/explat/package.json index 9d9818dc802bb..faf2fea52fb8b 100644 --- a/projects/packages/explat/package.json +++ b/projects/packages/explat/package.json @@ -31,7 +31,7 @@ "jest": "29.7.0", "typescript": "5.0.4", "webpack": "5.94.0", - "webpack-cli": "4.9.1" + "webpack-cli": "6.0.1" }, "exports": { ".": { diff --git a/projects/packages/forms/changelog/renovate-webpack-cli-6.x b/projects/packages/forms/changelog/renovate-webpack-cli-6.x new file mode 100644 index 0000000000000..c47cb18e82997 --- /dev/null +++ b/projects/packages/forms/changelog/renovate-webpack-cli-6.x @@ -0,0 +1,4 @@ +Significance: patch +Type: changed + +Updated package dependencies. diff --git a/projects/packages/forms/package.json b/projects/packages/forms/package.json index f23a44628f4df..18f42726c0937 100644 --- a/projects/packages/forms/package.json +++ b/projects/packages/forms/package.json @@ -56,7 +56,7 @@ "sass": "1.64.1", "semver": "7.6.3", "webpack": "5.94.0", - "webpack-cli": "4.9.1" + "webpack-cli": "6.0.1" }, "devDependencies": { "@automattic/color-studio": "4.0.0", diff --git a/projects/packages/jetpack-mu-wpcom/changelog/renovate-webpack-cli-6.x b/projects/packages/jetpack-mu-wpcom/changelog/renovate-webpack-cli-6.x new file mode 100644 index 0000000000000..c47cb18e82997 --- /dev/null +++ b/projects/packages/jetpack-mu-wpcom/changelog/renovate-webpack-cli-6.x @@ -0,0 +1,4 @@ +Significance: patch +Type: changed + +Updated package dependencies. diff --git a/projects/packages/jetpack-mu-wpcom/package.json b/projects/packages/jetpack-mu-wpcom/package.json index 1772f22b5e61e..e57128d21c2c8 100644 --- a/projects/packages/jetpack-mu-wpcom/package.json +++ b/projects/packages/jetpack-mu-wpcom/package.json @@ -43,7 +43,7 @@ "sass-loader": "12.4.0", "typescript": "^5.0.4", "webpack": "5.94.0", - "webpack-cli": "4.9.1" + "webpack-cli": "6.0.1" }, "dependencies": { "@automattic/calypso-color-schemes": "3.1.3", diff --git a/projects/packages/jitm/changelog/renovate-webpack-cli-6.x b/projects/packages/jitm/changelog/renovate-webpack-cli-6.x new file mode 100644 index 0000000000000..c47cb18e82997 --- /dev/null +++ b/projects/packages/jitm/changelog/renovate-webpack-cli-6.x @@ -0,0 +1,4 @@ +Significance: patch +Type: changed + +Updated package dependencies. diff --git a/projects/packages/jitm/package.json b/projects/packages/jitm/package.json index c0b5d5e3d8704..696a1f4d0e8c8 100644 --- a/projects/packages/jitm/package.json +++ b/projects/packages/jitm/package.json @@ -28,6 +28,6 @@ "sass": "1.64.1", "sass-loader": "12.4.0", "webpack": "5.94.0", - "webpack-cli": "4.9.1" + "webpack-cli": "6.0.1" } } diff --git a/projects/packages/masterbar/changelog/renovate-webpack-cli-6.x b/projects/packages/masterbar/changelog/renovate-webpack-cli-6.x new file mode 100644 index 0000000000000..c47cb18e82997 --- /dev/null +++ b/projects/packages/masterbar/changelog/renovate-webpack-cli-6.x @@ -0,0 +1,4 @@ +Significance: patch +Type: changed + +Updated package dependencies. diff --git a/projects/packages/masterbar/package.json b/projects/packages/masterbar/package.json index eb0d07e11ffed..16dead5779881 100644 --- a/projects/packages/masterbar/package.json +++ b/projects/packages/masterbar/package.json @@ -41,6 +41,6 @@ "sass": "1.64.1", "sass-loader": "12.4.0", "webpack": "5.94.0", - "webpack-cli": "4.9.1" + "webpack-cli": "6.0.1" } } diff --git a/projects/packages/my-jetpack/changelog/renovate-webpack-cli-6.x b/projects/packages/my-jetpack/changelog/renovate-webpack-cli-6.x new file mode 100644 index 0000000000000..c47cb18e82997 --- /dev/null +++ b/projects/packages/my-jetpack/changelog/renovate-webpack-cli-6.x @@ -0,0 +1,4 @@ +Significance: patch +Type: changed + +Updated package dependencies. diff --git a/projects/packages/my-jetpack/package.json b/projects/packages/my-jetpack/package.json index 18ffda790b6d8..c5fd957188a85 100644 --- a/projects/packages/my-jetpack/package.json +++ b/projects/packages/my-jetpack/package.json @@ -78,6 +78,6 @@ "storybook": "8.4.7", "typescript": "5.0.4", "webpack": "5.94.0", - "webpack-cli": "4.9.1" + "webpack-cli": "6.0.1" } } diff --git a/projects/packages/plugin-deactivation/changelog/renovate-webpack-cli-6.x b/projects/packages/plugin-deactivation/changelog/renovate-webpack-cli-6.x new file mode 100644 index 0000000000000..c47cb18e82997 --- /dev/null +++ b/projects/packages/plugin-deactivation/changelog/renovate-webpack-cli-6.x @@ -0,0 +1,4 @@ +Significance: patch +Type: changed + +Updated package dependencies. diff --git a/projects/packages/plugin-deactivation/package.json b/projects/packages/plugin-deactivation/package.json index 03e4c990dfeac..b8434a08dd075 100644 --- a/projects/packages/plugin-deactivation/package.json +++ b/projects/packages/plugin-deactivation/package.json @@ -27,6 +27,6 @@ "tslib": "2.5.0", "typescript": "5.0.4", "webpack": "5.94.0", - "webpack-cli": "4.9.1" + "webpack-cli": "6.0.1" } } diff --git a/projects/packages/publicize/changelog/renovate-webpack-cli-6.x b/projects/packages/publicize/changelog/renovate-webpack-cli-6.x new file mode 100644 index 0000000000000..c47cb18e82997 --- /dev/null +++ b/projects/packages/publicize/changelog/renovate-webpack-cli-6.x @@ -0,0 +1,4 @@ +Significance: patch +Type: changed + +Updated package dependencies. diff --git a/projects/packages/publicize/package.json b/projects/packages/publicize/package.json index 1a048b04781b2..3de93476f47eb 100644 --- a/projects/packages/publicize/package.json +++ b/projects/packages/publicize/package.json @@ -31,7 +31,7 @@ "@wordpress/browserslist-config": "6.16.0", "concurrently": "7.6.0", "webpack": "5.94.0", - "webpack-cli": "4.9.1" + "webpack-cli": "6.0.1" }, "dependencies": { "@automattic/jetpack-analytics": "workspace:*", diff --git a/projects/packages/search/changelog/renovate-webpack-cli-6.x b/projects/packages/search/changelog/renovate-webpack-cli-6.x new file mode 100644 index 0000000000000..c47cb18e82997 --- /dev/null +++ b/projects/packages/search/changelog/renovate-webpack-cli-6.x @@ -0,0 +1,4 @@ +Significance: patch +Type: changed + +Updated package dependencies. diff --git a/projects/packages/search/package.json b/projects/packages/search/package.json index 83f1363488204..034765fd53fb9 100644 --- a/projects/packages/search/package.json +++ b/projects/packages/search/package.json @@ -91,7 +91,7 @@ "sass-loader": "12.4.0", "size-limit": "11.1.6", "webpack": "5.94.0", - "webpack-cli": "4.9.1" + "webpack-cli": "6.0.1" }, "browserslist": [ "extends @wordpress/browserslist-config" diff --git a/projects/packages/videopress/changelog/renovate-webpack-cli-6.x b/projects/packages/videopress/changelog/renovate-webpack-cli-6.x new file mode 100644 index 0000000000000..c47cb18e82997 --- /dev/null +++ b/projects/packages/videopress/changelog/renovate-webpack-cli-6.x @@ -0,0 +1,4 @@ +Significance: patch +Type: changed + +Updated package dependencies. diff --git a/projects/packages/videopress/package.json b/projects/packages/videopress/package.json index 3265c25493d52..66b35a3981fc4 100644 --- a/projects/packages/videopress/package.json +++ b/projects/packages/videopress/package.json @@ -55,7 +55,7 @@ "storybook": "8.4.7", "typescript": "5.0.4", "webpack": "5.94.0", - "webpack-cli": "4.9.1" + "webpack-cli": "6.0.1" }, "dependencies": { "@automattic/jetpack-analytics": "workspace:*", diff --git a/projects/packages/wordads/changelog/renovate-webpack-cli-6.x b/projects/packages/wordads/changelog/renovate-webpack-cli-6.x new file mode 100644 index 0000000000000..c47cb18e82997 --- /dev/null +++ b/projects/packages/wordads/changelog/renovate-webpack-cli-6.x @@ -0,0 +1,4 @@ +Significance: patch +Type: changed + +Updated package dependencies. diff --git a/projects/packages/wordads/package.json b/projects/packages/wordads/package.json index 5b66f900fc4a7..b4438478319b0 100644 --- a/projects/packages/wordads/package.json +++ b/projects/packages/wordads/package.json @@ -79,7 +79,7 @@ "sass": "1.64.1", "sass-loader": "12.4.0", "webpack": "5.94.0", - "webpack-cli": "4.9.1" + "webpack-cli": "6.0.1" }, "browserslist": [ "extends @wordpress/browserslist-config" diff --git a/projects/packages/yoast-promo/changelog/renovate-webpack-cli-6.x b/projects/packages/yoast-promo/changelog/renovate-webpack-cli-6.x new file mode 100644 index 0000000000000..c47cb18e82997 --- /dev/null +++ b/projects/packages/yoast-promo/changelog/renovate-webpack-cli-6.x @@ -0,0 +1,4 @@ +Significance: patch +Type: changed + +Updated package dependencies. diff --git a/projects/packages/yoast-promo/package.json b/projects/packages/yoast-promo/package.json index 7b8a7b27372cc..d9344bc634679 100644 --- a/projects/packages/yoast-promo/package.json +++ b/projects/packages/yoast-promo/package.json @@ -43,7 +43,7 @@ "sass": "1.64.1", "sass-loader": "12.4.0", "webpack": "5.94.0", - "webpack-cli": "4.9.1" + "webpack-cli": "6.0.1" }, "browserslist": [ "extends @wordpress/browserslist-config" diff --git a/projects/plugins/automattic-for-agencies-client/changelog/renovate-webpack-cli-6.x b/projects/plugins/automattic-for-agencies-client/changelog/renovate-webpack-cli-6.x new file mode 100644 index 0000000000000..c47cb18e82997 --- /dev/null +++ b/projects/plugins/automattic-for-agencies-client/changelog/renovate-webpack-cli-6.x @@ -0,0 +1,4 @@ +Significance: patch +Type: changed + +Updated package dependencies. diff --git a/projects/plugins/automattic-for-agencies-client/package.json b/projects/plugins/automattic-for-agencies-client/package.json index 99c8a40511e9e..aea55fc6a1c64 100644 --- a/projects/plugins/automattic-for-agencies-client/package.json +++ b/projects/plugins/automattic-for-agencies-client/package.json @@ -56,6 +56,6 @@ "sass": "1.64.1", "sass-loader": "12.4.0", "webpack": "5.94.0", - "webpack-cli": "4.9.1" + "webpack-cli": "6.0.1" } } diff --git a/projects/plugins/boost/changelog/renovate-webpack-cli-6.x b/projects/plugins/boost/changelog/renovate-webpack-cli-6.x new file mode 100644 index 0000000000000..c47cb18e82997 --- /dev/null +++ b/projects/plugins/boost/changelog/renovate-webpack-cli-6.x @@ -0,0 +1,4 @@ +Significance: patch +Type: changed + +Updated package dependencies. diff --git a/projects/plugins/boost/package.json b/projects/plugins/boost/package.json index fe8e1e7a743ab..6753d2d82e30f 100644 --- a/projects/plugins/boost/package.json +++ b/projects/plugins/boost/package.json @@ -52,7 +52,7 @@ "tslib": "2.5.0", "typescript": "5.0.4", "webpack": "5.94.0", - "webpack-cli": "4.9.1" + "webpack-cli": "6.0.1" }, "browserslist": [ "extends @wordpress/browserslist-config" diff --git a/projects/plugins/classic-theme-helper-plugin/changelog/renovate-webpack-cli-6.x b/projects/plugins/classic-theme-helper-plugin/changelog/renovate-webpack-cli-6.x new file mode 100644 index 0000000000000..c47cb18e82997 --- /dev/null +++ b/projects/plugins/classic-theme-helper-plugin/changelog/renovate-webpack-cli-6.x @@ -0,0 +1,4 @@ +Significance: patch +Type: changed + +Updated package dependencies. diff --git a/projects/plugins/classic-theme-helper-plugin/package.json b/projects/plugins/classic-theme-helper-plugin/package.json index ec6c9a447eb14..560d9fad27562 100644 --- a/projects/plugins/classic-theme-helper-plugin/package.json +++ b/projects/plugins/classic-theme-helper-plugin/package.json @@ -52,6 +52,6 @@ "sass": "1.64.1", "sass-loader": "12.4.0", "webpack": "5.94.0", - "webpack-cli": "4.9.1" + "webpack-cli": "6.0.1" } } diff --git a/projects/plugins/crm/changelog/renovate-webpack-cli-6.x b/projects/plugins/crm/changelog/renovate-webpack-cli-6.x new file mode 100644 index 0000000000000..c47cb18e82997 --- /dev/null +++ b/projects/plugins/crm/changelog/renovate-webpack-cli-6.x @@ -0,0 +1,4 @@ +Significance: patch +Type: changed + +Updated package dependencies. diff --git a/projects/plugins/crm/package.json b/projects/plugins/crm/package.json index ec514bd05dfe7..933f0b90ddbae 100644 --- a/projects/plugins/crm/package.json +++ b/projects/plugins/crm/package.json @@ -55,6 +55,6 @@ "sass-loader": "12.4.0", "typescript": "5.0.4", "webpack": "5.94.0", - "webpack-cli": "4.9.1" + "webpack-cli": "6.0.1" } } diff --git a/projects/plugins/jetpack/changelog/renovate-webpack-cli-6.x b/projects/plugins/jetpack/changelog/renovate-webpack-cli-6.x new file mode 100644 index 0000000000000..1eaea6a769e84 --- /dev/null +++ b/projects/plugins/jetpack/changelog/renovate-webpack-cli-6.x @@ -0,0 +1,4 @@ +Significance: patch +Type: other + +Updated package dependencies. diff --git a/projects/plugins/jetpack/package.json b/projects/plugins/jetpack/package.json index 1b1a3c0ae5eac..9fbb9c85aa850 100644 --- a/projects/plugins/jetpack/package.json +++ b/projects/plugins/jetpack/package.json @@ -114,7 +114,7 @@ "tinycolor2": "1.4.2", "tus-js-client": "4.2.3", "webpack": "5.94.0", - "webpack-cli": "4.9.1" + "webpack-cli": "6.0.1" }, "devDependencies": { "@automattic/color-studio": "4.0.0", diff --git a/projects/plugins/protect/changelog/renovate-webpack-cli-6.x b/projects/plugins/protect/changelog/renovate-webpack-cli-6.x new file mode 100644 index 0000000000000..c47cb18e82997 --- /dev/null +++ b/projects/plugins/protect/changelog/renovate-webpack-cli-6.x @@ -0,0 +1,4 @@ +Significance: patch +Type: changed + +Updated package dependencies. diff --git a/projects/plugins/protect/package.json b/projects/plugins/protect/package.json index 677dca360c4b6..5381c47827c08 100644 --- a/projects/plugins/protect/package.json +++ b/projects/plugins/protect/package.json @@ -60,6 +60,6 @@ "sass-loader": "12.4.0", "typescript": "5.0.4", "webpack": "5.94.0", - "webpack-cli": "4.9.1" + "webpack-cli": "6.0.1" } } diff --git a/projects/plugins/social/changelog/renovate-webpack-cli-6.x b/projects/plugins/social/changelog/renovate-webpack-cli-6.x new file mode 100644 index 0000000000000..c47cb18e82997 --- /dev/null +++ b/projects/plugins/social/changelog/renovate-webpack-cli-6.x @@ -0,0 +1,4 @@ +Significance: patch +Type: changed + +Updated package dependencies. diff --git a/projects/plugins/social/package.json b/projects/plugins/social/package.json index 24bc0cb7e5a16..a43197c2e3f94 100644 --- a/projects/plugins/social/package.json +++ b/projects/plugins/social/package.json @@ -68,6 +68,6 @@ "sass": "1.64.1", "sass-loader": "12.4.0", "webpack": "5.94.0", - "webpack-cli": "4.9.1" + "webpack-cli": "6.0.1" } } diff --git a/projects/plugins/starter-plugin/changelog/renovate-webpack-cli-6.x b/projects/plugins/starter-plugin/changelog/renovate-webpack-cli-6.x new file mode 100644 index 0000000000000..c47cb18e82997 --- /dev/null +++ b/projects/plugins/starter-plugin/changelog/renovate-webpack-cli-6.x @@ -0,0 +1,4 @@ +Significance: patch +Type: changed + +Updated package dependencies. diff --git a/projects/plugins/starter-plugin/package.json b/projects/plugins/starter-plugin/package.json index 8ffa6f4e10a67..e2573fe9ad72c 100644 --- a/projects/plugins/starter-plugin/package.json +++ b/projects/plugins/starter-plugin/package.json @@ -52,6 +52,6 @@ "sass": "1.64.1", "sass-loader": "12.4.0", "webpack": "5.94.0", - "webpack-cli": "4.9.1" + "webpack-cli": "6.0.1" } } diff --git a/projects/plugins/videopress/changelog/renovate-webpack-cli-6.x b/projects/plugins/videopress/changelog/renovate-webpack-cli-6.x new file mode 100644 index 0000000000000..c47cb18e82997 --- /dev/null +++ b/projects/plugins/videopress/changelog/renovate-webpack-cli-6.x @@ -0,0 +1,4 @@ +Significance: patch +Type: changed + +Updated package dependencies. diff --git a/projects/plugins/videopress/package.json b/projects/plugins/videopress/package.json index cf180cd49235d..b1b89ae2519b2 100644 --- a/projects/plugins/videopress/package.json +++ b/projects/plugins/videopress/package.json @@ -36,6 +36,6 @@ "sass": "1.64.1", "sass-loader": "12.4.0", "webpack": "5.94.0", - "webpack-cli": "4.9.1" + "webpack-cli": "6.0.1" } } From c028019a7832d4bcc4b43daf28670b8950951d83 Mon Sep 17 00:00:00 2001 From: Adnan Haque <3737780+haqadn@users.noreply.github.com> Date: Mon, 27 Jan 2025 13:42:40 -0500 Subject: [PATCH 06/12] Boost: Add Liam as contributor to Jetpack Boost (#41335) * Add Liam as contributor to Jetpack Boost * changelog --- projects/plugins/boost/changelog/add-liam-as-contributor | 5 +++++ projects/plugins/boost/readme.txt | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 projects/plugins/boost/changelog/add-liam-as-contributor diff --git a/projects/plugins/boost/changelog/add-liam-as-contributor b/projects/plugins/boost/changelog/add-liam-as-contributor new file mode 100644 index 0000000000000..267d3c79c76a6 --- /dev/null +++ b/projects/plugins/boost/changelog/add-liam-as-contributor @@ -0,0 +1,5 @@ +Significance: patch +Type: added +Comment: Added Liam as a new contributor + + diff --git a/projects/plugins/boost/readme.txt b/projects/plugins/boost/readme.txt index a7b2c01e0ddee..44eda5354ba7a 100644 --- a/projects/plugins/boost/readme.txt +++ b/projects/plugins/boost/readme.txt @@ -1,5 +1,5 @@ === Jetpack Boost - Website Speed, Performance and Critical CSS === -Contributors: automattic, xwp, adnan007, bjorsch, danwalmsley, davidlonjon, dilirity, donncha, ebinnion, exelero, jeherve, jpolakovic, karthikbhatb, kraftbj, luchad0res, pyronaur, rheinardkorf, scruffian, thingalon +Contributors: automattic, xwp, adnan007, bjorsch, danwalmsley, davidlonjon, dilirity, donncha, ebinnion, exelero, jeherve, jpolakovic, karthikbhatb, kraftbj, lsarsfield, luchad0res, pyronaur, rheinardkorf, scruffian, thingalon Donate link: https://automattic.com Tags: performance, speed, web vitals, critical css, cache Requires at least: 6.6 From f7def131aff270e072902aa55fe42fc3c2ec3c24 Mon Sep 17 00:00:00 2001 From: Philip Jackson Date: Tue, 28 Jan 2025 09:32:25 +1300 Subject: [PATCH 07/12] Launchpad: disable launch site task on already launched sites (#41327) Disable launch site task if site is already launched --- .../changelog/update-disable-launch-site-task | 4 ++++ .../features/launchpad/launchpad-task-definitions.php | 10 ++++++++++ 2 files changed, 14 insertions(+) create mode 100644 projects/packages/jetpack-mu-wpcom/changelog/update-disable-launch-site-task diff --git a/projects/packages/jetpack-mu-wpcom/changelog/update-disable-launch-site-task b/projects/packages/jetpack-mu-wpcom/changelog/update-disable-launch-site-task new file mode 100644 index 0000000000000..3bda250532cbb --- /dev/null +++ b/projects/packages/jetpack-mu-wpcom/changelog/update-disable-launch-site-task @@ -0,0 +1,4 @@ +Significance: minor +Type: changed + +Launchpad: Launch site task disabled for launched sites diff --git a/projects/packages/jetpack-mu-wpcom/src/features/launchpad/launchpad-task-definitions.php b/projects/packages/jetpack-mu-wpcom/src/features/launchpad/launchpad-task-definitions.php index eb897a3bc8221..5f687c1117087 100644 --- a/projects/packages/jetpack-mu-wpcom/src/features/launchpad/launchpad-task-definitions.php +++ b/projects/packages/jetpack-mu-wpcom/src/features/launchpad/launchpad-task-definitions.php @@ -168,6 +168,7 @@ function wpcom_launchpad_get_task_definitions() { }, 'isLaunchTask' => true, 'is_complete_callback' => 'wpcom_launchpad_is_site_launched', + 'is_disabled_callback' => 'wpcom_launchpad_is_site_launched_disabled', 'add_listener_callback' => 'wpcom_launchpad_add_site_launch_listener', ), 'verify_email' => array( @@ -908,6 +909,15 @@ function wpcom_launchpad_is_site_launched( $task, $is_complete ) { } } +/** + * Disabled when the site is already launched. + * + * @return boolean + */ +function wpcom_launchpad_is_site_launched_disabled() { + return 'launched' === get_option( 'launch-status' ); +} + /** * Returns true if one of the site's WooCommerce tasks is complete. * From 155fe517a5d1f52f67babd746a95b5bacc84c311 Mon Sep 17 00:00:00 2001 From: Jasper Kang Date: Tue, 28 Jan 2025 10:44:43 +1300 Subject: [PATCH 08/12] Line Chart: auto margin for axis labels (#41325) * auto-margin for axis labels * changelog --- .../update-auto-margin-for-axis-labels | 4 ++++ .../src/components/line-chart/line-chart.tsx | 18 ++++++++++++++++-- .../line-chart/stories/index.stories.tsx | 1 + 3 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 projects/js-packages/charts/changelog/update-auto-margin-for-axis-labels diff --git a/projects/js-packages/charts/changelog/update-auto-margin-for-axis-labels b/projects/js-packages/charts/changelog/update-auto-margin-for-axis-labels new file mode 100644 index 0000000000000..47e5070e818b2 --- /dev/null +++ b/projects/js-packages/charts/changelog/update-auto-margin-for-axis-labels @@ -0,0 +1,4 @@ +Significance: minor +Type: added + +Automatic margin for axis labels diff --git a/projects/js-packages/charts/src/components/line-chart/line-chart.tsx b/projects/js-packages/charts/src/components/line-chart/line-chart.tsx index b332c1dbffc5d..f0cb4d936aecc 100644 --- a/projects/js-packages/charts/src/components/line-chart/line-chart.tsx +++ b/projects/js-packages/charts/src/components/line-chart/line-chart.tsx @@ -97,7 +97,7 @@ const LineChart: FC< LineChartProps > = ( { width, height, className, - margin = {}, + margin, withTooltips = true, showLegend = false, legendOrientation = 'horizontal', @@ -119,6 +119,20 @@ const LineChart: FC< LineChartProps > = ( { } ); }, [ providerTheme, data ] ); + margin = useMemo( () => { + // Auto-margin unless specified to make room for axis labels. + // Default margin is for bottom and left axis labels. + let defaultMargin = { top: 0, right: 0, bottom: 40, left: 40 }; + if ( options.axis?.y?.orientation === 'right' ) { + defaultMargin = { ...defaultMargin, right: 40, left: 0 }; + } + if ( options.axis?.x?.orientation === 'top' ) { + defaultMargin = { ...defaultMargin, top: 40, bottom: 0 }; + } + // Merge default margin with user-specified margin. + return { ...defaultMargin, ...margin }; + }, [ margin, options ] ); + const error = validateData( data ); if ( error ) { return
{ error }
; @@ -147,7 +161,7 @@ const LineChart: FC< LineChartProps > = ( { theme={ theme } width={ width } height={ height } - margin={ { top: 20, right: 20, bottom: 40, left: 40, ...margin } } + margin={ margin } xScale={ { type: 'time', ...options?.xScale } } yScale={ { type: 'linear', nice: true, zero: false, ...options?.yScale } } > diff --git a/projects/js-packages/charts/src/components/line-chart/stories/index.stories.tsx b/projects/js-packages/charts/src/components/line-chart/stories/index.stories.tsx index c83e1ced0cec3..0baf56d371ffa 100644 --- a/projects/js-packages/charts/src/components/line-chart/stories/index.stories.tsx +++ b/projects/js-packages/charts/src/components/line-chart/stories/index.stories.tsx @@ -109,6 +109,7 @@ FixedDimensions.parameters = { export const GridientFilled: StoryObj< typeof LineChart > = Template.bind( {} ); GridientFilled.args = { ...Default.args, + margin: undefined, data: webTrafficData, withGradientFill: true, options: { From df67099b888ba72a4558fee7fbdc2e86f05ef992 Mon Sep 17 00:00:00 2001 From: Philip Jackson Date: Tue, 28 Jan 2025 14:59:28 +1300 Subject: [PATCH 09/12] Newsletter launchpad: replace preview task with "launch site" (#41344) * Newsletter goal uses "launch site" task instead of "preview site" * Remove unused "preview_site" task This task was added in #41158 specifically for the intent-newsletter-goal intent. Since that launchpad no longer uses the task, we can safely remove it. * changelog --- .../changelog/update-newsletter-goal-site-launched | 4 ++++ .../features/launchpad/launchpad-task-definitions.php | 9 --------- .../src/features/launchpad/launchpad.php | 2 +- 3 files changed, 5 insertions(+), 10 deletions(-) create mode 100644 projects/packages/jetpack-mu-wpcom/changelog/update-newsletter-goal-site-launched diff --git a/projects/packages/jetpack-mu-wpcom/changelog/update-newsletter-goal-site-launched b/projects/packages/jetpack-mu-wpcom/changelog/update-newsletter-goal-site-launched new file mode 100644 index 0000000000000..fd6d6d3cfc563 --- /dev/null +++ b/projects/packages/jetpack-mu-wpcom/changelog/update-newsletter-goal-site-launched @@ -0,0 +1,4 @@ +Significance: minor +Type: changed + +Launchpad: Replace newsletter preview task with launch task diff --git a/projects/packages/jetpack-mu-wpcom/src/features/launchpad/launchpad-task-definitions.php b/projects/packages/jetpack-mu-wpcom/src/features/launchpad/launchpad-task-definitions.php index 5f687c1117087..4332c68f2bc51 100644 --- a/projects/packages/jetpack-mu-wpcom/src/features/launchpad/launchpad-task-definitions.php +++ b/projects/packages/jetpack-mu-wpcom/src/features/launchpad/launchpad-task-definitions.php @@ -181,15 +181,6 @@ function wpcom_launchpad_get_task_definitions() { return '/me/account'; }, ), - 'preview_site' => array( - 'get_title' => function () { - return __( 'Preview your site', 'jetpack-mu-wpcom' ); - }, - 'is_complete_callback' => 'wpcom_launchpad_is_task_option_completed', - 'get_calypso_path' => function ( $task, $default, $data ) { - return '/view/' . $data['site_slug_encoded']; - }, - ), // Newsletter pre-launch tasks. 'first_post_published_newsletter' => array( diff --git a/projects/packages/jetpack-mu-wpcom/src/features/launchpad/launchpad.php b/projects/packages/jetpack-mu-wpcom/src/features/launchpad/launchpad.php index 73f9f285ee020..d8ce8c4332a13 100644 --- a/projects/packages/jetpack-mu-wpcom/src/features/launchpad/launchpad.php +++ b/projects/packages/jetpack-mu-wpcom/src/features/launchpad/launchpad.php @@ -112,7 +112,7 @@ function wpcom_launchpad_get_task_list_definitions() { 'start_building_your_audience', 'customize_welcome_message', 'first_post_published', - 'preview_site', + 'site_launched', ), 'is_enabled_callback' => 'wpcom_launchpad_get_fullscreen_enabled', ), From a898ff9b9c8f070802b72fe581a16397233c184c Mon Sep 17 00:00:00 2001 From: Ashar Fuadi Date: Tue, 28 Jan 2025 10:59:13 +0700 Subject: [PATCH 10/12] Hotfix: Fix Query Loop with excerpt outputting invalid HTML (#41333) --- .../changelog/hotfix-query-loop-bug | 4 +++ .../wpcom-hotfixes/wpcom-hotfixes.php | 26 +++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 projects/packages/jetpack-mu-wpcom/changelog/hotfix-query-loop-bug diff --git a/projects/packages/jetpack-mu-wpcom/changelog/hotfix-query-loop-bug b/projects/packages/jetpack-mu-wpcom/changelog/hotfix-query-loop-bug new file mode 100644 index 0000000000000..52bf91865d6aa --- /dev/null +++ b/projects/packages/jetpack-mu-wpcom/changelog/hotfix-query-loop-bug @@ -0,0 +1,4 @@ +Significance: patch +Type: fixed + +Hotfix for a {Gutenberg 20.0.0, WP 6.7.x} bug causing the Content block to output truncated HTML. diff --git a/projects/packages/jetpack-mu-wpcom/src/features/wpcom-hotfixes/wpcom-hotfixes.php b/projects/packages/jetpack-mu-wpcom/src/features/wpcom-hotfixes/wpcom-hotfixes.php index 5b50ae0ea76d0..a0d6df40a2601 100644 --- a/projects/packages/jetpack-mu-wpcom/src/features/wpcom-hotfixes/wpcom-hotfixes.php +++ b/projects/packages/jetpack-mu-wpcom/src/features/wpcom-hotfixes/wpcom-hotfixes.php @@ -24,3 +24,29 @@ function ( $args ) { }, 20 ); + +/** + * Hotfix for a {Gutenberg 20.0.0, WP 6.7.x} bug causing the Content block to output truncated HTML. + * See: https://github.com/WordPress/gutenberg/issues/68614 + */ +if ( + // WordPress 6.7.x contains the buggy remove_serialized_parent_block() function. + version_compare( get_bloginfo( 'version' ), '6.8', '<' ) ) { + + add_filter( + 'the_content', + function ( $content ) { + if ( has_filter( 'the_content', 'remove_serialized_parent_block' ) ) { + // We will revert the content manipulation done in https://github.com/WordPress/gutenberg/pull/67272. + + // Reverts https://github.com/WordPress/gutenberg/pull/67272/files#diff-611d9e2b5a9b00eb2fbe68d044eccb195759a422e36f525186d43d752bee3d71R65-R68 + remove_filter( 'the_content', 'remove_serialized_parent_block', 8 ); + + // Reverts https://github.com/WordPress/gutenberg/pull/67272/files#diff-611d9e2b5a9b00eb2fbe68d044eccb195759a422e36f525186d43d752bee3d71R57-R63 + return remove_serialized_parent_block( $content ); + } + return $content; + }, + 1 + ); +} From 3bb7e7828a9b2019e12d19b538fe2762fb6c0df7 Mon Sep 17 00:00:00 2001 From: Jasper Kang Date: Tue, 28 Jan 2025 18:55:50 +1300 Subject: [PATCH 11/12] Line Charts: Draw X axis and ticks (#41346) * draw x axis and ticks * changelog * draw x axis and ticks * fix type errors --- .../charts/changelog/update-x-axis-tick-style | 4 ++++ .../src/components/line-chart/line-chart.tsx | 6 +----- .../charts/src/providers/theme/themes.ts | 16 +++++++++++----- projects/js-packages/charts/src/types.ts | 5 +++++ 4 files changed, 21 insertions(+), 10 deletions(-) create mode 100644 projects/js-packages/charts/changelog/update-x-axis-tick-style diff --git a/projects/js-packages/charts/changelog/update-x-axis-tick-style b/projects/js-packages/charts/changelog/update-x-axis-tick-style new file mode 100644 index 0000000000000..601f09d8dd64f --- /dev/null +++ b/projects/js-packages/charts/changelog/update-x-axis-tick-style @@ -0,0 +1,4 @@ +Significance: minor +Type: added + +Line chart: draw x-axis and ticks diff --git a/projects/js-packages/charts/src/components/line-chart/line-chart.tsx b/projects/js-packages/charts/src/components/line-chart/line-chart.tsx index f0cb4d936aecc..ad300d003c1b5 100644 --- a/projects/js-packages/charts/src/components/line-chart/line-chart.tsx +++ b/projects/js-packages/charts/src/components/line-chart/line-chart.tsx @@ -110,12 +110,8 @@ const LineChart: FC< LineChartProps > = ( { const seriesColors = data?.map( series => series.options?.stroke ?? '' ).filter( Boolean ) ?? []; return buildChartTheme( { - backgroundColor: providerTheme.backgroundColor, + ...providerTheme, colors: [ ...seriesColors, ...providerTheme.colors ], - gridStyles: providerTheme.gridStyles, - tickLength: providerTheme?.tickLength || 0, - gridColor: providerTheme?.gridColor || '', - gridColorDark: providerTheme?.gridColorDark || '', } ); }, [ providerTheme, data ] ); diff --git a/projects/js-packages/charts/src/providers/theme/themes.ts b/projects/js-packages/charts/src/providers/theme/themes.ts index d00aab9fcb6ef..07aa370ff1d2f 100644 --- a/projects/js-packages/charts/src/providers/theme/themes.ts +++ b/projects/js-packages/charts/src/providers/theme/themes.ts @@ -8,12 +8,14 @@ const defaultTheme: ChartTheme = { labelBackgroundColor: '#FFFFFF', // label background color colors: [ '#98C8DF', '#006DAB', '#A6DC80', '#1F9828', '#FF8C8F' ], gridStyles: { - stroke: '#787C82', + stroke: '#DCDCDE', strokeWidth: 1, }, - tickLength: 0, + tickLength: 4, gridColor: '', gridColorDark: '', + xTickLineStyles: { stroke: 'black' }, + xAxisLineStyles: { stroke: '#DCDCDE', strokeWidth: 1 }, }; /** @@ -24,12 +26,14 @@ const jetpackTheme: ChartTheme = { labelBackgroundColor: '#FFFFFF', // label background color colors: [ '#98C8DF', '#006DAB', '#A6DC80', '#1F9828', '#FF8C8F' ], gridStyles: { - stroke: '#787C82', + stroke: '#DCDCDE', strokeWidth: 1, }, - tickLength: 0, + tickLength: 4, gridColor: '', gridColorDark: '', + xTickLineStyles: { stroke: 'black' }, + xAxisLineStyles: { stroke: '#DCDCDE', strokeWidth: 1 }, }; /** @@ -43,9 +47,11 @@ const wooTheme: ChartTheme = { stroke: '#787C82', strokeWidth: 1, }, - tickLength: 0, + tickLength: 4, gridColor: '', gridColorDark: '', + xTickLineStyles: { stroke: 'black' }, + xAxisLineStyles: { stroke: '#DCDCDE', strokeWidth: 1 }, }; export { defaultTheme, jetpackTheme, wooTheme }; diff --git a/projects/js-packages/charts/src/types.ts b/projects/js-packages/charts/src/types.ts index 46a1e858b8ae0..14c98849031fb 100644 --- a/projects/js-packages/charts/src/types.ts +++ b/projects/js-packages/charts/src/types.ts @@ -1,5 +1,6 @@ import { Orientation } from '@visx/axis'; import { ScaleType } from '@visx/scale'; +import { LineStyles } from '@visx/xychart'; import type { CSSProperties } from 'react'; type ValueOf< T > = T[ keyof T ]; @@ -70,6 +71,10 @@ export type ChartTheme = { gridColor: string; /** Color of the grid lines in dark mode */ gridColorDark: string; + /** Styles for x-axis tick lines */ + xTickLineStyles?: LineStyles; + /** Styles for x-axis line */ + xAxisLineStyles?: LineStyles; }; declare type AxisOptions = { From 3ecc4b53dab030c2a371d79fe8f5113b6ddd4625 Mon Sep 17 00:00:00 2001 From: Juanma Rodriguez Escriche Date: Tue, 28 Jan 2025 07:17:56 +0100 Subject: [PATCH 12/12] Full sync comments return expected structure to avoid ending early (#41336) * Return array with structure instead of empty array to ensure we keep looping through all ids and avoid returning early * changelog --- ...mments-return-expected-structure-to-avoid-ending-early | 4 ++++ projects/packages/sync/src/modules/class-comments.php | 8 +++++++- 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 projects/packages/sync/changelog/update-full-sync-comments-return-expected-structure-to-avoid-ending-early diff --git a/projects/packages/sync/changelog/update-full-sync-comments-return-expected-structure-to-avoid-ending-early b/projects/packages/sync/changelog/update-full-sync-comments-return-expected-structure-to-avoid-ending-early new file mode 100644 index 0000000000000..d95a7ef42d8cf --- /dev/null +++ b/projects/packages/sync/changelog/update-full-sync-comments-return-expected-structure-to-avoid-ending-early @@ -0,0 +1,4 @@ +Significance: patch +Type: fixed + + diff --git a/projects/packages/sync/src/modules/class-comments.php b/projects/packages/sync/src/modules/class-comments.php index c4281f68400c9..de7be8d175fa6 100644 --- a/projects/packages/sync/src/modules/class-comments.php +++ b/projects/packages/sync/src/modules/class-comments.php @@ -552,6 +552,7 @@ public function extract_comments_and_meta( $args ) { public function get_next_chunk( $config, $status, $chunk_size ) { $comment_ids = parent::get_next_chunk( $config, $status, $chunk_size ); + // If no comment IDs were fetched, return an empty array. if ( empty( $comment_ids ) ) { return array(); } @@ -562,8 +563,13 @@ public function get_next_chunk( $config, $status, $chunk_size ) { 'order' => 'DESC', ) ); + // If no comments were fetched, make sure to return the expected structure so that status is updated correctly. if ( empty( $comments ) ) { - return array(); + return array( + 'object_ids' => $comment_ids, + 'objects' => array(), + 'meta' => array(), + ); } // Get the comment IDs from the comments that were fetched. $fetched_comment_ids = wp_list_pluck( $comments, 'comment_ID' );