From b33e5c5953f821f17d2961124f83b59d13eec601 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gergely=20M=C3=A1rk=20Juh=C3=A1sz?= <36671565+gmjuhasz@users.noreply.github.com> Date: Tue, 10 Sep 2024 11:34:12 +0200 Subject: [PATCH 01/11] Social: Add resharing share status (#39294) * Use ShareStatus component for resharing * changelog * Calculate in component, and remove fragmen * Fix props and add outer feature flag check * Remove inner feature check --- .../add-social-resharing-share-status | 4 +++ .../src/components/panel/index.jsx | 7 +++-- .../share-status.tsx | 30 ++++++++++++------- .../src/components/resharing-panel/index.tsx | 27 +++++++++++++++++ .../resharing-panel/styles.module.scss | 4 +++ 5 files changed, 60 insertions(+), 12 deletions(-) create mode 100644 projects/js-packages/publicize-components/changelog/add-social-resharing-share-status create mode 100644 projects/js-packages/publicize-components/src/components/resharing-panel/index.tsx create mode 100644 projects/js-packages/publicize-components/src/components/resharing-panel/styles.module.scss diff --git a/projects/js-packages/publicize-components/changelog/add-social-resharing-share-status b/projects/js-packages/publicize-components/changelog/add-social-resharing-share-status new file mode 100644 index 0000000000000..dbea969cabf6a --- /dev/null +++ b/projects/js-packages/publicize-components/changelog/add-social-resharing-share-status @@ -0,0 +1,4 @@ +Significance: minor +Type: added + +Added share status feedback to resharing diff --git a/projects/js-packages/publicize-components/src/components/panel/index.jsx b/projects/js-packages/publicize-components/src/components/panel/index.jsx index 90a428a9ec601..fc86597bc0b1a 100644 --- a/projects/js-packages/publicize-components/src/components/panel/index.jsx +++ b/projects/js-packages/publicize-components/src/components/panel/index.jsx @@ -12,16 +12,19 @@ import usePublicizeConfig from '../../hooks/use-publicize-config'; import useRefreshConnections from '../../hooks/use-refresh-connections'; import { usePostJustPublished } from '../../hooks/use-saving-post'; import useSelectSocialMediaConnections from '../../hooks/use-social-media-connections'; +import { store as socialStore } from '../../social-store'; import PublicizeForm from '../form'; import { ManualSharing } from '../manual-sharing'; +import { ReSharingPanel } from '../resharing-panel'; import { SharePostRow } from '../share-post'; -import { ShareStatusModalTrigger } from '../share-status'; import styles from './styles.module.scss'; import './global.scss'; const PublicizePanel = ( { prePublish, children } ) => { const { refresh, hasConnections, hasEnabledConnections } = useSelectSocialMediaConnections(); const isPostPublished = useSelect( select => select( editorStore ).isCurrentPostPublished(), [] ); + const featureFlags = useSelect( select => select( socialStore ).featureFlags(), [] ); + const refreshConnections = useRefreshConnections(); const { isPublicizeEnabled, hidePublicizeFeature, togglePublicizeFeature } = usePublicizeConfig(); @@ -74,7 +77,7 @@ const PublicizePanel = ( { prePublish, children } ) => { ) } { isPostPublished && ( <> - + { featureFlags.useShareStatus ? : null } ) } diff --git a/projects/js-packages/publicize-components/src/components/post-publish-share-status/share-status.tsx b/projects/js-packages/publicize-components/src/components/post-publish-share-status/share-status.tsx index b0e5d68a5c1d9..65d11cf79dd44 100644 --- a/projects/js-packages/publicize-components/src/components/post-publish-share-status/share-status.tsx +++ b/projects/js-packages/publicize-components/src/components/post-publish-share-status/share-status.tsx @@ -6,15 +6,23 @@ import Notice from '../notice'; import { ShareStatusModalTrigger } from '../share-status'; import styles from './styles.module.scss'; +type ShareStatusProps = { + reShareTimestamp?: number; +}; + /** * Share status component. * - * - * @return {import('react').ReactNode} - Share status UI. + * @param {ShareStatusProps} props - component props + * @return {import('react').ReactNode} - React element */ -export function ShareStatus() { +export function ShareStatus( { reShareTimestamp }: ShareStatusProps ) { const shareStatus = useSelect( select => select( socialStore ).getPostShareStatus(), [] ); + const currentShares = reShareTimestamp + ? shareStatus.shares.filter( share => share.timestamp > reShareTimestamp ) + : shareStatus.shares; + if ( shareStatus.polling ) { return (
@@ -26,9 +34,7 @@ export function ShareStatus() { ); } - const numberOfFailedShares = shareStatus.shares.filter( - share => share.status === 'failure' - ).length; + const numberOfFailedShares = currentShares.filter( share => share.status === 'failure' ).length; if ( numberOfFailedShares > 0 ) { return ( @@ -67,7 +73,7 @@ export function ShareStatus() { ); } - if ( ! shareStatus.shares.length ) { + if ( ! currentShares.length ) { // We should ideally never reach here but just in case. return { __( 'Your post was not shared.', 'jetpack' ) }; } @@ -81,13 +87,17 @@ export function ShareStatus() { _n( 'You post was successfuly shared to %d connection.', 'You post was successfuly shared to %d connections.', - shareStatus.shares.length, + currentShares.length, 'jetpack' ), - shareStatus.shares.length + currentShares.length ) }

- + ); } diff --git a/projects/js-packages/publicize-components/src/components/resharing-panel/index.tsx b/projects/js-packages/publicize-components/src/components/resharing-panel/index.tsx new file mode 100644 index 0000000000000..604cc781b8af5 --- /dev/null +++ b/projects/js-packages/publicize-components/src/components/resharing-panel/index.tsx @@ -0,0 +1,27 @@ +import { useSelect } from '@wordpress/data'; +import { useEffect, useState } from 'react'; +import { store as socialStore } from '../../social-store'; +import { ShareStatus } from '../post-publish-share-status/share-status'; +import { ShareStatusModalTrigger } from '../share-status'; +import styles from './styles.module.scss'; + +export const ReSharingPanel = () => { + const shareStatus = useSelect( select => select( socialStore ).getPostShareStatus(), [] ); + + const [ reShareTimestamp, setReShareTimestamp ] = useState( null ); + + useEffect( () => { + if ( shareStatus.polling ) { + // Update the timestamp whenever polling becomes true + setReShareTimestamp( Date.now() / 1000 ); + } + }, [ shareStatus.polling ] ); + + return reShareTimestamp ? ( +
+ +
+ ) : ( + + ); +}; diff --git a/projects/js-packages/publicize-components/src/components/resharing-panel/styles.module.scss b/projects/js-packages/publicize-components/src/components/resharing-panel/styles.module.scss new file mode 100644 index 0000000000000..b4eaf7936c504 --- /dev/null +++ b/projects/js-packages/publicize-components/src/components/resharing-panel/styles.module.scss @@ -0,0 +1,4 @@ +.wrapper { + margin-top: 1rem; + padding-block: 1rem; +} From 892366f0113686de42bdd47fc3670c1281f723ea Mon Sep 17 00:00:00 2001 From: Ilyas Foo Date: Tue, 10 Sep 2024 19:06:35 +0800 Subject: [PATCH 02/11] wpcomsh: Update wc-calypso-bridge to 2.6.0 (#39313) * Bump wc-calypso-bridge to 2.6.0 * Changelog --- .../changelog/update-wpcomsh-wc-calypso-bridge-2.6.0 | 4 ++++ projects/plugins/wpcomsh/composer.json | 2 +- projects/plugins/wpcomsh/composer.lock | 12 ++++++------ 3 files changed, 11 insertions(+), 7 deletions(-) create mode 100644 projects/plugins/wpcomsh/changelog/update-wpcomsh-wc-calypso-bridge-2.6.0 diff --git a/projects/plugins/wpcomsh/changelog/update-wpcomsh-wc-calypso-bridge-2.6.0 b/projects/plugins/wpcomsh/changelog/update-wpcomsh-wc-calypso-bridge-2.6.0 new file mode 100644 index 0000000000000..ecee18c38c119 --- /dev/null +++ b/projects/plugins/wpcomsh/changelog/update-wpcomsh-wc-calypso-bridge-2.6.0 @@ -0,0 +1,4 @@ +Significance: patch +Type: changed + +Update wc-calypso-bridge dependency to 2.6.0 diff --git a/projects/plugins/wpcomsh/composer.json b/projects/plugins/wpcomsh/composer.json index 39a3d3162ac72..682eee216d1c6 100644 --- a/projects/plugins/wpcomsh/composer.json +++ b/projects/plugins/wpcomsh/composer.json @@ -9,7 +9,7 @@ "automattic/custom-fonts": "^3.0", "automattic/custom-fonts-typekit": "^2.0", "automattic/text-media-widget-styles": "^2.0", - "automattic/wc-calypso-bridge": "2.5.5", + "automattic/wc-calypso-bridge": "2.6.0", "wordpress/classic-editor-plugin": "1.5", "automattic/jetpack-config": "@dev", "automattic/jetpack-post-list": "@dev", diff --git a/projects/plugins/wpcomsh/composer.lock b/projects/plugins/wpcomsh/composer.lock index d951dfb65591c..e5e49ce9bfac0 100644 --- a/projects/plugins/wpcomsh/composer.lock +++ b/projects/plugins/wpcomsh/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "db2d649fe88d2b70941a9a4b77d82753", + "content-hash": "abd021117ab176c49e44e4e54a122e75", "packages": [ { "name": "automattic/at-pressable-podcasting", @@ -1866,16 +1866,16 @@ }, { "name": "automattic/wc-calypso-bridge", - "version": "v2.5.5", + "version": "v2.6.0", "source": { "type": "git", "url": "https://github.com/Automattic/wc-calypso-bridge.git", - "reference": "f7dc90d348ac82031f26dff6076e4cf492b09138" + "reference": "cb8300f827fcf2dd1174822c08f0957f65f0e42e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Automattic/wc-calypso-bridge/zipball/f7dc90d348ac82031f26dff6076e4cf492b09138", - "reference": "f7dc90d348ac82031f26dff6076e4cf492b09138", + "url": "https://api.github.com/repos/Automattic/wc-calypso-bridge/zipball/cb8300f827fcf2dd1174822c08f0957f65f0e42e", + "reference": "cb8300f827fcf2dd1174822c08f0957f65f0e42e", "shasum": "" }, "require": { @@ -1916,7 +1916,7 @@ "phpcbf -p" ] }, - "time": "2024-07-23T22:02:25+00:00" + "time": "2024-09-10T04:10:28+00:00" }, { "name": "composer/installers", From 03efbcf613360e6349bacfea952b758a4093d6c9 Mon Sep 17 00:00:00 2001 From: Juanma Rodriguez Escriche Date: Tue, 10 Sep 2024 13:20:03 +0200 Subject: [PATCH 03/11] Sync: Enable Full Sync for woocommerce_hpos_order module (#39297) * Enable Full Sync for HPOS WooCommerce module --- .../update-sync-enable-hpos-module-full-sync | 4 +++ projects/packages/sync/src/class-defaults.php | 25 ++++++++++++++----- .../modules/class-woocommerce-hpos-orders.php | 19 +++++++++++--- 3 files changed, 38 insertions(+), 10 deletions(-) create mode 100644 projects/packages/sync/changelog/update-sync-enable-hpos-module-full-sync diff --git a/projects/packages/sync/changelog/update-sync-enable-hpos-module-full-sync b/projects/packages/sync/changelog/update-sync-enable-hpos-module-full-sync new file mode 100644 index 0000000000000..c1724170b148f --- /dev/null +++ b/projects/packages/sync/changelog/update-sync-enable-hpos-module-full-sync @@ -0,0 +1,4 @@ +Significance: minor +Type: added + +Sync: Enable Full Sync for woocommerce_hpos_orders module diff --git a/projects/packages/sync/src/class-defaults.php b/projects/packages/sync/src/class-defaults.php index e86c849e71851..92f32d1e40e17 100644 --- a/projects/packages/sync/src/class-defaults.php +++ b/projects/packages/sync/src/class-defaults.php @@ -1303,33 +1303,46 @@ public static function is_multi_network() { 'users' => 1, ); + /** + * Default Full Sync limits for one module. + * + * @var array list of limits. + */ + public static $default_full_sync_limits_per_module = array( + 'chunk_size' => 100, + 'max_chunks' => 10, + ); /** * Default Full Sync max objects to send on a single request. * * @var array list of module => max. */ public static $default_full_sync_limits = array( - 'comments' => array( + 'comments' => array( 'chunk_size' => 100, 'max_chunks' => 10, ), - 'posts' => array( + 'posts' => array( 'chunk_size' => 100, 'max_chunks' => 1, ), - 'term_relationships' => array( + 'term_relationships' => array( 'chunk_size' => 1000, 'max_chunks' => 10, ), - 'terms' => array( + 'terms' => array( 'chunk_size' => 1000, 'max_chunks' => 10, ), - 'users' => array( + 'users' => array( + 'chunk_size' => 100, + 'max_chunks' => 10, + ), + 'woocommerce' => array( 'chunk_size' => 100, 'max_chunks' => 10, ), - 'woocommerce' => array( + 'woocommerce_hpos_orders' => array( 'chunk_size' => 100, 'max_chunks' => 10, ), diff --git a/projects/packages/sync/src/modules/class-woocommerce-hpos-orders.php b/projects/packages/sync/src/modules/class-woocommerce-hpos-orders.php index 68c7a4bb2dc39..f4630946caa29 100644 --- a/projects/packages/sync/src/modules/class-woocommerce-hpos-orders.php +++ b/projects/packages/sync/src/modules/class-woocommerce-hpos-orders.php @@ -127,7 +127,16 @@ public function init_listeners( $callable ) { */ public function init_full_sync_listeners( $callable ) { add_action( 'jetpack_full_sync_orders', $callable ); - add_filter( 'jetpack_sync_before_enqueue_full_sync_orders', array( $this, 'expand_order_objects' ) ); + } + + /** + * Initialize the module in the sender. + * + * @access public + */ + public function init_before_send() { + // Full sync. + add_filter( 'jetpack_sync_before_send_jetpack_full_sync_woocommerce_hpos_orders', array( $this, 'expand_order_objects' ) ); } /** @@ -212,9 +221,11 @@ public function get_objects_by_id( $object_type, $ids ) { * @return array */ public function expand_order_objects( $args ) { - $order_ids = $args; - - return $this->get_objects_by_id( 'order', $order_ids ); + list( $order_ids, $previous_end ) = $args; + return array( + 'orders' => $this->get_objects_by_id( 'order', $order_ids ), + 'previous_end' => $previous_end, + ); } /** From 612ee688d6b3854b845ade0897c4bb0fa21afc10 Mon Sep 17 00:00:00 2001 From: Calypso Bot Date: Tue, 10 Sep 2024 13:26:54 +0200 Subject: [PATCH 04/11] phan: Update wpcom stubs (#39317) Co-authored-by: Phabricator Bot --- .phan/stubs/wpcom-stubs.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.phan/stubs/wpcom-stubs.php b/.phan/stubs/wpcom-stubs.php index 3867739cdbd0e..ad9fabcaf82aa 100644 --- a/.phan/stubs/wpcom-stubs.php +++ b/.phan/stubs/wpcom-stubs.php @@ -4,7 +4,7 @@ * `bin/teamcity-builds/jetpack-stubs/stub-defs.php` and regenerate the stubs * by triggering the Jetpack Staging → Update WPCOM Stubs job in TeamCity. * - * Stubs automatically generated from WordPress.com commit 02203431cbf90f588596be49598db6819cd93427. + * Stubs automatically generated from WordPress.com commit 25314a859c6d64614c4c45a5ffda72f38fd99850. */ namespace { @@ -160,6 +160,12 @@ public static function get_subscriptions($blog_ids = 0, $user_ids = 0, $product_ { } } + class Store_Shopping_Cart + { + public static function get_existing_cart(?array $args = []): self + { + } + } class Store_Product_List { /** From 47f5396e280db1e40e0ba8e3ebc6d3ee6db463e4 Mon Sep 17 00:00:00 2001 From: MILLER/F Date: Tue, 10 Sep 2024 14:09:46 +0200 Subject: [PATCH 05/11] Remove deprecated checks (#39319) * Remove deprecated checks * Create add-remove-deprecated-checks --- .../jetpack/changelog/add-remove-deprecated-checks | 4 ++++ .../premium-content/logged-out-view/logged-out-view.php | 6 +----- .../extensions/blocks/premium-content/premium-content.php | 8 ++------ .../premium-content/subscriber-view/subscriber-view.php | 6 +----- 4 files changed, 8 insertions(+), 16 deletions(-) create mode 100644 projects/plugins/jetpack/changelog/add-remove-deprecated-checks diff --git a/projects/plugins/jetpack/changelog/add-remove-deprecated-checks b/projects/plugins/jetpack/changelog/add-remove-deprecated-checks new file mode 100644 index 0000000000000..ecd1891a2c5e7 --- /dev/null +++ b/projects/plugins/jetpack/changelog/add-remove-deprecated-checks @@ -0,0 +1,4 @@ +Significance: minor +Type: other + +Remove checks for deprecated function diff --git a/projects/plugins/jetpack/extensions/blocks/premium-content/logged-out-view/logged-out-view.php b/projects/plugins/jetpack/extensions/blocks/premium-content/logged-out-view/logged-out-view.php index 92d1ee43591ad..b9001ab8fd424 100644 --- a/projects/plugins/jetpack/extensions/blocks/premium-content/logged-out-view/logged-out-view.php +++ b/projects/plugins/jetpack/extensions/blocks/premium-content/logged-out-view/logged-out-view.php @@ -20,15 +20,11 @@ * registration if we need to. */ function register_loggedout_view_block() { - // Determine required `context` key based on Gutenberg version. - $deprecated = function_exists( 'gutenberg_get_post_from_context' ); - $uses = $deprecated ? 'context' : 'uses_context'; - Blocks::jetpack_register_block( LOGGEDOUT_VIEW_NAME, array( 'render_callback' => __NAMESPACE__ . '\render_loggedout_view_block', - $uses => array( 'premium-content/planId', 'premium-content/planIds' ), + 'uses_context' => array( 'premium-content/planId', 'premium-content/planIds' ), ) ); } diff --git a/projects/plugins/jetpack/extensions/blocks/premium-content/premium-content.php b/projects/plugins/jetpack/extensions/blocks/premium-content/premium-content.php index 26639e40e7553..484bfa4898a61 100644 --- a/projects/plugins/jetpack/extensions/blocks/premium-content/premium-content.php +++ b/projects/plugins/jetpack/extensions/blocks/premium-content/premium-content.php @@ -25,15 +25,11 @@ * registration if we need to. */ function register_block() { - // Determine required `context` key based on Gutenberg version. - $deprecated = function_exists( 'gutenberg_get_post_from_context' ); - $provides = $deprecated ? 'providesContext' : 'provides_context'; - Blocks::jetpack_register_block( __DIR__, array( - 'render_callback' => __NAMESPACE__ . '\render_block', - $provides => array( + 'render_callback' => __NAMESPACE__ . '\render_block', + 'provides_context' => array( 'premium-content/planId' => 'selectedPlanId', // Deprecated. 'premium-content/planIds' => 'selectedPlanIds', 'isPremiumContentChild' => 'isPremiumContentChild', diff --git a/projects/plugins/jetpack/extensions/blocks/premium-content/subscriber-view/subscriber-view.php b/projects/plugins/jetpack/extensions/blocks/premium-content/subscriber-view/subscriber-view.php index 2e650b961717a..23590aef02f6d 100644 --- a/projects/plugins/jetpack/extensions/blocks/premium-content/subscriber-view/subscriber-view.php +++ b/projects/plugins/jetpack/extensions/blocks/premium-content/subscriber-view/subscriber-view.php @@ -20,15 +20,11 @@ * registration if we need to. */ function register_subscriber_view_block() { - // Determine required `context` key based on Gutenberg version. - $deprecated = function_exists( 'gutenberg_get_post_from_context' ); - $uses = $deprecated ? 'context' : 'uses_context'; - Blocks::jetpack_register_block( SUBSCRIBER_VIEW_NAME, array( 'render_callback' => __NAMESPACE__ . '\render_subscriber_view_block', - $uses => array( 'premium-content/planId', 'premium-content/planIds' ), + 'uses_context' => array( 'premium-content/planId', 'premium-content/planIds' ), ) ); } From c0d62307d8335cec6879f9773ccf532f2618c01f Mon Sep 17 00:00:00 2001 From: Ilyas Foo Date: Tue, 10 Sep 2024 20:33:27 +0800 Subject: [PATCH 06/11] Changelog and readme.txt edits. (#39318) --- projects/js-packages/api/CHANGELOG.md | 5 +++++ .../api/changelog/renovate-wordpress-monorepo | 4 ---- projects/js-packages/api/package.json | 2 +- projects/js-packages/base-styles/CHANGELOG.md | 5 +++++ .../changelog/renovate-wordpress-monorepo | 4 ---- projects/js-packages/base-styles/package.json | 2 +- projects/js-packages/boost-score-api/CHANGELOG.md | 5 +++++ .../changelog/renovate-wordpress-monorepo | 4 ---- projects/js-packages/boost-score-api/package.json | 2 +- projects/js-packages/components/CHANGELOG.md | 5 +++++ .../changelog/renovate-wordpress-monorepo | 4 ---- projects/js-packages/components/package.json | 2 +- projects/js-packages/connection/CHANGELOG.md | 5 +++++ .../changelog/renovate-wordpress-monorepo | 4 ---- projects/js-packages/connection/package.json | 2 +- .../i18n-loader-webpack-plugin/CHANGELOG.md | 5 +++++ .../changelog/renovate-wordpress-monorepo | 4 ---- .../i18n-loader-webpack-plugin/package.json | 2 +- projects/js-packages/idc/CHANGELOG.md | 4 ++++ .../idc/changelog/renovate-wordpress-monorepo | 4 ---- projects/js-packages/idc/package.json | 2 +- .../js-packages/shared-extension-utils/CHANGELOG.md | 5 +++++ .../changelog/renovate-wordpress-monorepo | 4 ---- .../js-packages/shared-extension-utils/package.json | 2 +- projects/js-packages/webpack-config/CHANGELOG.md | 4 ++++ .../changelog/renovate-wordpress-monorepo | 4 ---- projects/js-packages/webpack-config/package.json | 2 +- projects/packages/assets/CHANGELOG.md | 5 +++++ .../assets/changelog/renovate-wordpress-monorepo | 4 ---- projects/packages/blaze/CHANGELOG.md | 5 +++++ .../blaze/changelog/renovate-wordpress-monorepo#2 | 4 ---- projects/packages/blaze/package.json | 2 +- projects/packages/blaze/src/class-dashboard.php | 2 +- projects/packages/calypsoify/CHANGELOG.md | 6 ++++++ .../changelog/renovate-wordpress-monorepo | 4 ---- .../changelog/renovate-wordpress-monorepo#2 | 4 ---- projects/packages/calypsoify/package.json | 2 +- .../calypsoify/src/class-jetpack-calypsoify.php | 2 +- projects/packages/classic-theme-helper/CHANGELOG.md | 5 +++++ .../changelog/renovate-wordpress-monorepo#2 | 4 ---- projects/packages/classic-theme-helper/package.json | 2 +- .../classic-theme-helper/src/class-main.php | 2 +- projects/packages/connection/CHANGELOG.md | 5 +++++ .../changelog/renovate-wordpress-monorepo | 4 ---- .../connection/src/class-package-version.php | 2 +- projects/packages/google-analytics/CHANGELOG.md | 5 +++++ .../google-analytics/changelog/force-a-release | 4 ---- projects/packages/google-analytics/package.json | 2 +- .../google-analytics/src/class-ga-manager.php | 2 +- projects/packages/jetpack-mu-wpcom/CHANGELOG.md | 13 +++++++++++++ ...le-eslint-wordpress-no-unused-vars-before-return | 5 ----- .../changelog/fix-add-tags-endpoint | 4 ---- .../changelog/frontend-user-language | 4 ---- .../jetpack-mu-wpcom/changelog/my-account-url | 4 ---- .../remove-eslintrc-unneeded-parseroptions | 5 ----- .../changelog/renovate-wordpress-monorepo | 4 ---- .../changelog/renovate-wordpress-monorepo#2 | 4 ---- .../changelog/site-level-user-profile | 4 ---- .../changelog/update-launchpad-design-done | 4 ---- projects/packages/jetpack-mu-wpcom/composer.json | 2 +- projects/packages/jetpack-mu-wpcom/package.json | 2 +- .../jetpack-mu-wpcom/src/class-jetpack-mu-wpcom.php | 2 +- projects/packages/jitm/CHANGELOG.md | 5 +++++ .../jitm/changelog/renovate-wordpress-monorepo | 4 ---- projects/packages/jitm/src/class-jitm.php | 2 +- projects/packages/masterbar/CHANGELOG.md | 5 +++++ .../changelog/renovate-wordpress-monorepo#2 | 4 ---- projects/packages/masterbar/package.json | 2 +- projects/packages/masterbar/src/class-main.php | 2 +- projects/packages/scheduled-updates/CHANGELOG.md | 5 +++++ .../scheduled-updates/changelog/force-a-release | 4 ---- .../src/class-scheduled-updates.php | 2 +- .../changelog/prerelease#6} | 0 projects/plugins/mu-wpcom-plugin/composer.lock | 4 ++-- projects/plugins/wpcomsh/CHANGELOG.md | 10 ++++++++++ .../wpcomsh/changelog/fix-wpcomsh-ref-invalid-key | 4 ---- projects/plugins/wpcomsh/changelog/prerelease | 5 ----- projects/plugins/wpcomsh/changelog/prerelease#2 | 5 ----- projects/plugins/wpcomsh/changelog/prerelease#3 | 5 ----- projects/plugins/wpcomsh/changelog/prerelease#4 | 5 ----- projects/plugins/wpcomsh/changelog/prerelease#5 | 5 ----- .../remove-eslintrc-unneeded-parseroptions | 5 ----- .../changelog/renovate-lock-file-maintenance | 4 ---- .../wpcomsh/changelog/site-level-user-profile | 4 ---- .../wpcomsh/changelog/update-wpcom-sso-local-users | 4 ---- .../update-wpcomsh-wc-calypso-bridge-2.6.0 | 4 ---- projects/plugins/wpcomsh/composer.json | 2 +- projects/plugins/wpcomsh/composer.lock | 4 ++-- projects/plugins/wpcomsh/package.json | 2 +- projects/plugins/wpcomsh/wpcomsh.php | 4 ++-- 90 files changed, 145 insertions(+), 197 deletions(-) delete mode 100644 projects/js-packages/api/changelog/renovate-wordpress-monorepo delete mode 100644 projects/js-packages/base-styles/changelog/renovate-wordpress-monorepo delete mode 100644 projects/js-packages/boost-score-api/changelog/renovate-wordpress-monorepo delete mode 100644 projects/js-packages/components/changelog/renovate-wordpress-monorepo delete mode 100644 projects/js-packages/connection/changelog/renovate-wordpress-monorepo delete mode 100644 projects/js-packages/i18n-loader-webpack-plugin/changelog/renovate-wordpress-monorepo delete mode 100644 projects/js-packages/idc/changelog/renovate-wordpress-monorepo delete mode 100644 projects/js-packages/shared-extension-utils/changelog/renovate-wordpress-monorepo delete mode 100644 projects/js-packages/webpack-config/changelog/renovate-wordpress-monorepo delete mode 100644 projects/packages/assets/changelog/renovate-wordpress-monorepo delete mode 100644 projects/packages/blaze/changelog/renovate-wordpress-monorepo#2 delete mode 100644 projects/packages/calypsoify/changelog/renovate-wordpress-monorepo delete mode 100644 projects/packages/calypsoify/changelog/renovate-wordpress-monorepo#2 delete mode 100644 projects/packages/classic-theme-helper/changelog/renovate-wordpress-monorepo#2 delete mode 100644 projects/packages/connection/changelog/renovate-wordpress-monorepo delete mode 100644 projects/packages/google-analytics/changelog/force-a-release delete mode 100644 projects/packages/jetpack-mu-wpcom/changelog/add-enable-eslint-wordpress-no-unused-vars-before-return delete mode 100644 projects/packages/jetpack-mu-wpcom/changelog/fix-add-tags-endpoint delete mode 100644 projects/packages/jetpack-mu-wpcom/changelog/frontend-user-language delete mode 100644 projects/packages/jetpack-mu-wpcom/changelog/my-account-url delete mode 100644 projects/packages/jetpack-mu-wpcom/changelog/remove-eslintrc-unneeded-parseroptions delete mode 100644 projects/packages/jetpack-mu-wpcom/changelog/renovate-wordpress-monorepo delete mode 100644 projects/packages/jetpack-mu-wpcom/changelog/renovate-wordpress-monorepo#2 delete mode 100644 projects/packages/jetpack-mu-wpcom/changelog/site-level-user-profile delete mode 100644 projects/packages/jetpack-mu-wpcom/changelog/update-launchpad-design-done delete mode 100644 projects/packages/jitm/changelog/renovate-wordpress-monorepo delete mode 100644 projects/packages/masterbar/changelog/renovate-wordpress-monorepo#2 delete mode 100644 projects/packages/scheduled-updates/changelog/force-a-release rename projects/plugins/{wpcomsh/changelog/fix-connection-assets-for-wpcom-simple-sites => mu-wpcom-plugin/changelog/prerelease#6} (100%) delete mode 100644 projects/plugins/wpcomsh/changelog/fix-wpcomsh-ref-invalid-key delete mode 100644 projects/plugins/wpcomsh/changelog/prerelease delete mode 100644 projects/plugins/wpcomsh/changelog/prerelease#2 delete mode 100644 projects/plugins/wpcomsh/changelog/prerelease#3 delete mode 100644 projects/plugins/wpcomsh/changelog/prerelease#4 delete mode 100644 projects/plugins/wpcomsh/changelog/prerelease#5 delete mode 100644 projects/plugins/wpcomsh/changelog/remove-eslintrc-unneeded-parseroptions delete mode 100644 projects/plugins/wpcomsh/changelog/renovate-lock-file-maintenance delete mode 100644 projects/plugins/wpcomsh/changelog/site-level-user-profile delete mode 100644 projects/plugins/wpcomsh/changelog/update-wpcom-sso-local-users delete mode 100644 projects/plugins/wpcomsh/changelog/update-wpcomsh-wc-calypso-bridge-2.6.0 diff --git a/projects/js-packages/api/CHANGELOG.md b/projects/js-packages/api/CHANGELOG.md index fd408a16446b5..87ba1b77b441e 100644 --- a/projects/js-packages/api/CHANGELOG.md +++ b/projects/js-packages/api/CHANGELOG.md @@ -2,6 +2,10 @@ ### This is a list detailing changes for the Jetpack RNA Components package releases. +## [0.17.13] - 2024-09-10 +### Changed +- Updated package dependencies. [#39302] + ## [0.17.12] - 2024-09-05 ### Changed - Updated package dependencies. [#39176] @@ -350,6 +354,7 @@ - Add the API methods left behind by the previous PR. - Initial release of jetpack-api package +[0.17.13]: https://github.com/Automattic/jetpack-api/compare/v0.17.12...v0.17.13 [0.17.12]: https://github.com/Automattic/jetpack-api/compare/v0.17.11...v0.17.12 [0.17.11]: https://github.com/Automattic/jetpack-api/compare/v0.17.10...v0.17.11 [0.17.10]: https://github.com/Automattic/jetpack-api/compare/v0.17.9...v0.17.10 diff --git a/projects/js-packages/api/changelog/renovate-wordpress-monorepo b/projects/js-packages/api/changelog/renovate-wordpress-monorepo deleted file mode 100644 index c47cb18e82997..0000000000000 --- a/projects/js-packages/api/changelog/renovate-wordpress-monorepo +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: changed - -Updated package dependencies. diff --git a/projects/js-packages/api/package.json b/projects/js-packages/api/package.json index 91e52bb12733a..4ccaec7a24c55 100644 --- a/projects/js-packages/api/package.json +++ b/projects/js-packages/api/package.json @@ -1,6 +1,6 @@ { "name": "@automattic/jetpack-api", - "version": "0.17.12", + "version": "0.17.13", "description": "Jetpack Api Package", "homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/js-packages/api/#readme", "bugs": { diff --git a/projects/js-packages/base-styles/CHANGELOG.md b/projects/js-packages/base-styles/CHANGELOG.md index 3f19f33f3015b..55d139a37619c 100644 --- a/projects/js-packages/base-styles/CHANGELOG.md +++ b/projects/js-packages/base-styles/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.6.32] - 2024-09-10 +### Changed +- Updated package dependencies. [#39302] + ## [0.6.31] - 2024-09-05 ### Changed - Updated package dependencies. [#39176] @@ -309,6 +313,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Updated package dependencies. - Use Node 16.7.0 in tooling. This shouldn't change the behavior of the code itself. +[0.6.32]: https://github.com/Automattic/jetpack-base-styles/compare/0.6.31...0.6.32 [0.6.31]: https://github.com/Automattic/jetpack-base-styles/compare/0.6.30...0.6.31 [0.6.30]: https://github.com/Automattic/jetpack-base-styles/compare/0.6.29...0.6.30 [0.6.29]: https://github.com/Automattic/jetpack-base-styles/compare/0.6.28...0.6.29 diff --git a/projects/js-packages/base-styles/changelog/renovate-wordpress-monorepo b/projects/js-packages/base-styles/changelog/renovate-wordpress-monorepo deleted file mode 100644 index c47cb18e82997..0000000000000 --- a/projects/js-packages/base-styles/changelog/renovate-wordpress-monorepo +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: changed - -Updated package dependencies. diff --git a/projects/js-packages/base-styles/package.json b/projects/js-packages/base-styles/package.json index 0d8b53621f991..0562f26b3dd83 100644 --- a/projects/js-packages/base-styles/package.json +++ b/projects/js-packages/base-styles/package.json @@ -1,6 +1,6 @@ { "name": "@automattic/jetpack-base-styles", - "version": "0.6.31", + "version": "0.6.32", "description": "Jetpack components base styles", "homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/js-packages/base-styles/#readme", "bugs": { diff --git a/projects/js-packages/boost-score-api/CHANGELOG.md b/projects/js-packages/boost-score-api/CHANGELOG.md index a5f400840ce72..3f11b7abafa17 100644 --- a/projects/js-packages/boost-score-api/CHANGELOG.md +++ b/projects/js-packages/boost-score-api/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.1.40] - 2024-09-10 +### Changed +- Updated package dependencies. [#39302] + ## [0.1.39] - 2024-09-05 ### Changed - Internal updates. @@ -171,6 +175,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added - Create package for the boost score bar API [#30781] +[0.1.40]: https://github.com/Automattic/jetpack-boost-score-api/compare/v0.1.39...v0.1.40 [0.1.39]: https://github.com/Automattic/jetpack-boost-score-api/compare/v0.1.38...v0.1.39 [0.1.38]: https://github.com/Automattic/jetpack-boost-score-api/compare/v0.1.37...v0.1.38 [0.1.37]: https://github.com/Automattic/jetpack-boost-score-api/compare/v0.1.36...v0.1.37 diff --git a/projects/js-packages/boost-score-api/changelog/renovate-wordpress-monorepo b/projects/js-packages/boost-score-api/changelog/renovate-wordpress-monorepo deleted file mode 100644 index c47cb18e82997..0000000000000 --- a/projects/js-packages/boost-score-api/changelog/renovate-wordpress-monorepo +++ /dev/null @@ -1,4 +0,0 @@ -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 6c1fd9c0392e5..0499c83d3b068 100644 --- a/projects/js-packages/boost-score-api/package.json +++ b/projects/js-packages/boost-score-api/package.json @@ -1,6 +1,6 @@ { "name": "@automattic/jetpack-boost-score-api", - "version": "0.1.39", + "version": "0.1.40", "description": "A package to get the Jetpack Boost score of a site", "homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/js-packages/boost-score-api/#readme", "bugs": { diff --git a/projects/js-packages/components/CHANGELOG.md b/projects/js-packages/components/CHANGELOG.md index cb9de2a24042a..9da57e0e04851 100644 --- a/projects/js-packages/components/CHANGELOG.md +++ b/projects/js-packages/components/CHANGELOG.md @@ -2,6 +2,10 @@ ### This is a list detailing changes for the Jetpack RNA Components package releases. +## [0.55.15] - 2024-09-10 +### Changed +- Updated package dependencies. [#39302] + ## [0.55.14] - 2024-09-09 ### Changed - Updated package dependencies. [#39278] @@ -1156,6 +1160,7 @@ ### Changed - Update node version requirement to 14.16.1 +[0.55.15]: https://github.com/Automattic/jetpack-components/compare/0.55.14...0.55.15 [0.55.14]: https://github.com/Automattic/jetpack-components/compare/0.55.13...0.55.14 [0.55.13]: https://github.com/Automattic/jetpack-components/compare/0.55.12...0.55.13 [0.55.12]: https://github.com/Automattic/jetpack-components/compare/0.55.11...0.55.12 diff --git a/projects/js-packages/components/changelog/renovate-wordpress-monorepo b/projects/js-packages/components/changelog/renovate-wordpress-monorepo deleted file mode 100644 index c47cb18e82997..0000000000000 --- a/projects/js-packages/components/changelog/renovate-wordpress-monorepo +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: changed - -Updated package dependencies. diff --git a/projects/js-packages/components/package.json b/projects/js-packages/components/package.json index 3c9e242b2cdde..c4794eb0127a5 100644 --- a/projects/js-packages/components/package.json +++ b/projects/js-packages/components/package.json @@ -1,6 +1,6 @@ { "name": "@automattic/jetpack-components", - "version": "0.55.14", + "version": "0.55.15", "description": "Jetpack Components Package", "author": "Automattic", "license": "GPL-2.0-or-later", diff --git a/projects/js-packages/connection/CHANGELOG.md b/projects/js-packages/connection/CHANGELOG.md index 7b61f9f1f6ad2..71caec1089811 100644 --- a/projects/js-packages/connection/CHANGELOG.md +++ b/projects/js-packages/connection/CHANGELOG.md @@ -2,6 +2,10 @@ ### This is a list detailing changes for the Jetpack RNA Connection Component releases. +## [0.35.7] - 2024-09-10 +### Changed +- Updated package dependencies. [#39302] + ## [0.35.6] - 2024-09-09 ### Changed - Updated package dependencies. [#39278] @@ -843,6 +847,7 @@ - `Main` and `ConnectUser` components added. - `JetpackRestApiClient` API client added. +[0.35.7]: https://github.com/Automattic/jetpack-connection-js/compare/v0.35.6...v0.35.7 [0.35.6]: https://github.com/Automattic/jetpack-connection-js/compare/v0.35.5...v0.35.6 [0.35.5]: https://github.com/Automattic/jetpack-connection-js/compare/v0.35.4...v0.35.5 [0.35.4]: https://github.com/Automattic/jetpack-connection-js/compare/v0.35.3...v0.35.4 diff --git a/projects/js-packages/connection/changelog/renovate-wordpress-monorepo b/projects/js-packages/connection/changelog/renovate-wordpress-monorepo deleted file mode 100644 index c47cb18e82997..0000000000000 --- a/projects/js-packages/connection/changelog/renovate-wordpress-monorepo +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: changed - -Updated package dependencies. diff --git a/projects/js-packages/connection/package.json b/projects/js-packages/connection/package.json index 3560e575c41f4..d84a872e95f12 100644 --- a/projects/js-packages/connection/package.json +++ b/projects/js-packages/connection/package.json @@ -1,6 +1,6 @@ { "name": "@automattic/jetpack-connection", - "version": "0.35.6", + "version": "0.35.7", "description": "Jetpack Connection Component", "homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/js-packages/connection/#readme", "bugs": { diff --git a/projects/js-packages/i18n-loader-webpack-plugin/CHANGELOG.md b/projects/js-packages/i18n-loader-webpack-plugin/CHANGELOG.md index ae4f0f4080820..57aee6f6ed074 100644 --- a/projects/js-packages/i18n-loader-webpack-plugin/CHANGELOG.md +++ b/projects/js-packages/i18n-loader-webpack-plugin/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). +## [2.0.58] - 2024-09-10 +### Changed +- Updated package dependencies. [#39302] + ## [2.0.57] - 2024-09-05 ### Changed - Updated package dependencies. [#39176] @@ -257,6 +261,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added - Initial release. +[2.0.58]: https://github.com/Automattic/i18n-loader-webpack-plugin/compare/v2.0.57...v2.0.58 [2.0.57]: https://github.com/Automattic/i18n-loader-webpack-plugin/compare/v2.0.56...v2.0.57 [2.0.56]: https://github.com/Automattic/i18n-loader-webpack-plugin/compare/v2.0.55...v2.0.56 [2.0.55]: https://github.com/Automattic/i18n-loader-webpack-plugin/compare/v2.0.54...v2.0.55 diff --git a/projects/js-packages/i18n-loader-webpack-plugin/changelog/renovate-wordpress-monorepo b/projects/js-packages/i18n-loader-webpack-plugin/changelog/renovate-wordpress-monorepo deleted file mode 100644 index c47cb18e82997..0000000000000 --- a/projects/js-packages/i18n-loader-webpack-plugin/changelog/renovate-wordpress-monorepo +++ /dev/null @@ -1,4 +0,0 @@ -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 dd2db427e74e9..0ca63db689e06 100644 --- a/projects/js-packages/i18n-loader-webpack-plugin/package.json +++ b/projects/js-packages/i18n-loader-webpack-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@automattic/i18n-loader-webpack-plugin", - "version": "2.0.57", + "version": "2.0.58", "description": "A Webpack plugin to load WordPress i18n when Webpack lazy-loads a bundle.", "homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/js-packages/i18n-loader-webpack-plugin/#readme", "bugs": { diff --git a/projects/js-packages/idc/CHANGELOG.md b/projects/js-packages/idc/CHANGELOG.md index e20b005abb83e..8441169553390 100644 --- a/projects/js-packages/idc/CHANGELOG.md +++ b/projects/js-packages/idc/CHANGELOG.md @@ -2,6 +2,10 @@ ### This is a list detailing changes for the Jetpack RNA IDC package releases. +## 0.11.12 - 2024-09-10 +### Changed +- Updated package dependencies. [#39302] + ## 0.11.11 - 2024-09-05 ### Changed - Internal updates. diff --git a/projects/js-packages/idc/changelog/renovate-wordpress-monorepo b/projects/js-packages/idc/changelog/renovate-wordpress-monorepo deleted file mode 100644 index c47cb18e82997..0000000000000 --- a/projects/js-packages/idc/changelog/renovate-wordpress-monorepo +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: changed - -Updated package dependencies. diff --git a/projects/js-packages/idc/package.json b/projects/js-packages/idc/package.json index 54dbf52f58164..c85594364b7d3 100644 --- a/projects/js-packages/idc/package.json +++ b/projects/js-packages/idc/package.json @@ -1,6 +1,6 @@ { "name": "@automattic/jetpack-idc", - "version": "0.11.11", + "version": "0.11.12", "description": "Jetpack Connection Component", "author": "Automattic", "license": "GPL-2.0-or-later", diff --git a/projects/js-packages/shared-extension-utils/CHANGELOG.md b/projects/js-packages/shared-extension-utils/CHANGELOG.md index cedffeef60680..9a947d53e7dab 100644 --- a/projects/js-packages/shared-extension-utils/CHANGELOG.md +++ b/projects/js-packages/shared-extension-utils/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.15.9] - 2024-09-10 +### Changed +- Updated package dependencies. [#39302] + ## [0.15.8] - 2024-09-09 ### Changed - Updated package dependencies. [#39278] @@ -448,6 +452,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed - Core: prepare utility for release +[0.15.9]: https://github.com/Automattic/jetpack-shared-extension-utils/compare/0.15.8...0.15.9 [0.15.8]: https://github.com/Automattic/jetpack-shared-extension-utils/compare/0.15.7...0.15.8 [0.15.7]: https://github.com/Automattic/jetpack-shared-extension-utils/compare/0.15.6...0.15.7 [0.15.6]: https://github.com/Automattic/jetpack-shared-extension-utils/compare/0.15.5...0.15.6 diff --git a/projects/js-packages/shared-extension-utils/changelog/renovate-wordpress-monorepo b/projects/js-packages/shared-extension-utils/changelog/renovate-wordpress-monorepo deleted file mode 100644 index c47cb18e82997..0000000000000 --- a/projects/js-packages/shared-extension-utils/changelog/renovate-wordpress-monorepo +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: changed - -Updated package dependencies. diff --git a/projects/js-packages/shared-extension-utils/package.json b/projects/js-packages/shared-extension-utils/package.json index f3426bbe7b6a8..ea3dd2d5ff6ea 100644 --- a/projects/js-packages/shared-extension-utils/package.json +++ b/projects/js-packages/shared-extension-utils/package.json @@ -1,6 +1,6 @@ { "name": "@automattic/jetpack-shared-extension-utils", - "version": "0.15.8", + "version": "0.15.9", "description": "Utility functions used by the block editor extensions", "homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/js-packages/shared-extension-utils/#readme", "bugs": { diff --git a/projects/js-packages/webpack-config/CHANGELOG.md b/projects/js-packages/webpack-config/CHANGELOG.md index 510f30f63b476..71d7e5cc0fdaf 100644 --- a/projects/js-packages/webpack-config/CHANGELOG.md +++ b/projects/js-packages/webpack-config/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). +## 3.4.1 - 2024-09-10 +### Changed +- Updated package dependencies. [#39302] + ## 3.4.0 - 2024-09-05 ### Changed - Updated connection js to load its bundle via connection package [#38877] diff --git a/projects/js-packages/webpack-config/changelog/renovate-wordpress-monorepo b/projects/js-packages/webpack-config/changelog/renovate-wordpress-monorepo deleted file mode 100644 index c47cb18e82997..0000000000000 --- a/projects/js-packages/webpack-config/changelog/renovate-wordpress-monorepo +++ /dev/null @@ -1,4 +0,0 @@ -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 822c0c5dfe859..0061a2e703670 100644 --- a/projects/js-packages/webpack-config/package.json +++ b/projects/js-packages/webpack-config/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "@automattic/jetpack-webpack-config", - "version": "3.4.0", + "version": "3.4.1", "description": "Library of pieces for webpack config in Jetpack projects.", "homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/js-packages/webpack-config/#readme", "bugs": { diff --git a/projects/packages/assets/CHANGELOG.md b/projects/packages/assets/CHANGELOG.md index 2a0750246efa5..e9f28d13cd928 100644 --- a/projects/packages/assets/CHANGELOG.md +++ b/projects/packages/assets/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). +## [2.3.8] - 2024-09-10 +### Changed +- Updated package dependencies. [#39302] + ## [2.3.7] - 2024-09-05 ### Changed - Internal updates. @@ -497,6 +501,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Statically access asset tools +[2.3.8]: https://github.com/Automattic/jetpack-assets/compare/v2.3.7...v2.3.8 [2.3.7]: https://github.com/Automattic/jetpack-assets/compare/v2.3.6...v2.3.7 [2.3.6]: https://github.com/Automattic/jetpack-assets/compare/v2.3.5...v2.3.6 [2.3.5]: https://github.com/Automattic/jetpack-assets/compare/v2.3.4...v2.3.5 diff --git a/projects/packages/assets/changelog/renovate-wordpress-monorepo b/projects/packages/assets/changelog/renovate-wordpress-monorepo deleted file mode 100644 index c47cb18e82997..0000000000000 --- a/projects/packages/assets/changelog/renovate-wordpress-monorepo +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: changed - -Updated package dependencies. diff --git a/projects/packages/blaze/CHANGELOG.md b/projects/packages/blaze/CHANGELOG.md index 409e0b5820b1d..0456a2f5e38e9 100644 --- a/projects/packages/blaze/CHANGELOG.md +++ b/projects/packages/blaze/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.22.10] - 2024-09-10 +### Changed +- Updated package dependencies. [#39302] + ## [0.22.9] - 2024-09-09 ### Changed - Updated package dependencies. [#39176] @@ -443,6 +447,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed - Updated package dependencies. [#27906] +[0.22.10]: https://github.com/automattic/jetpack-blaze/compare/v0.22.9...v0.22.10 [0.22.9]: https://github.com/automattic/jetpack-blaze/compare/v0.22.8...v0.22.9 [0.22.8]: https://github.com/automattic/jetpack-blaze/compare/v0.22.7...v0.22.8 [0.22.7]: https://github.com/automattic/jetpack-blaze/compare/v0.22.6...v0.22.7 diff --git a/projects/packages/blaze/changelog/renovate-wordpress-monorepo#2 b/projects/packages/blaze/changelog/renovate-wordpress-monorepo#2 deleted file mode 100644 index c47cb18e82997..0000000000000 --- a/projects/packages/blaze/changelog/renovate-wordpress-monorepo#2 +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: changed - -Updated package dependencies. diff --git a/projects/packages/blaze/package.json b/projects/packages/blaze/package.json index ad44c3bfe1996..a2aa6d95ee1aa 100644 --- a/projects/packages/blaze/package.json +++ b/projects/packages/blaze/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "@automattic/jetpack-blaze", - "version": "0.22.9", + "version": "0.22.10", "description": "Attract high-quality traffic to your site using Blaze. Using this service, you can advertise a post or page on some of the millions of pages across WordPress.com and Tumblr from just $5 per day.", "homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/packages/blaze/#readme", "bugs": { diff --git a/projects/packages/blaze/src/class-dashboard.php b/projects/packages/blaze/src/class-dashboard.php index 92ef189eee35d..014dd4fcfc74b 100644 --- a/projects/packages/blaze/src/class-dashboard.php +++ b/projects/packages/blaze/src/class-dashboard.php @@ -21,7 +21,7 @@ class Dashboard { * * @var string */ - const PACKAGE_VERSION = '0.22.9'; + const PACKAGE_VERSION = '0.22.10'; /** * List of dependencies needed to render the dashboard in wp-admin. diff --git a/projects/packages/calypsoify/CHANGELOG.md b/projects/packages/calypsoify/CHANGELOG.md index b9cf37436f95e..e81ab25b479ff 100644 --- a/projects/packages/calypsoify/CHANGELOG.md +++ b/projects/packages/calypsoify/CHANGELOG.md @@ -5,6 +5,11 @@ 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.1.6] - 2024-09-10 +### Changed +- Updated package dependencies. [#39176] +- Updated package dependencies. [#39302] + ## [0.1.5] - 2024-08-30 ### Changed - Updated package dependencies. [#39111] @@ -37,6 +42,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Calypsoify: Load feature from the Calypsoify package. [#37375] - Updated package dependencies. [#37379] +[0.1.6]: https://github.com/Automattic/jetpack-calypsoify/compare/v0.1.5...v0.1.6 [0.1.5]: https://github.com/Automattic/jetpack-calypsoify/compare/v0.1.4...v0.1.5 [0.1.4]: https://github.com/Automattic/jetpack-calypsoify/compare/v0.1.3...v0.1.4 [0.1.3]: https://github.com/Automattic/jetpack-calypsoify/compare/v0.1.2...v0.1.3 diff --git a/projects/packages/calypsoify/changelog/renovate-wordpress-monorepo b/projects/packages/calypsoify/changelog/renovate-wordpress-monorepo deleted file mode 100644 index c47cb18e82997..0000000000000 --- a/projects/packages/calypsoify/changelog/renovate-wordpress-monorepo +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: changed - -Updated package dependencies. diff --git a/projects/packages/calypsoify/changelog/renovate-wordpress-monorepo#2 b/projects/packages/calypsoify/changelog/renovate-wordpress-monorepo#2 deleted file mode 100644 index c47cb18e82997..0000000000000 --- a/projects/packages/calypsoify/changelog/renovate-wordpress-monorepo#2 +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: changed - -Updated package dependencies. diff --git a/projects/packages/calypsoify/package.json b/projects/packages/calypsoify/package.json index a3e9d7a2288f1..78380b303665c 100644 --- a/projects/packages/calypsoify/package.json +++ b/projects/packages/calypsoify/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "@automattic/jetpack-calypsoify", - "version": "0.1.5", + "version": "0.1.6", "description": "Calypsoify is designed to make sure specific wp-admin pages include navigation that prioritizes the Calypso navigation experience.", "homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/packages/calypsoify/#readme", "bugs": { diff --git a/projects/packages/calypsoify/src/class-jetpack-calypsoify.php b/projects/packages/calypsoify/src/class-jetpack-calypsoify.php index 684d7087b87e5..c122ee8627b16 100644 --- a/projects/packages/calypsoify/src/class-jetpack-calypsoify.php +++ b/projects/packages/calypsoify/src/class-jetpack-calypsoify.php @@ -15,7 +15,7 @@ */ class Jetpack_Calypsoify { - const PACKAGE_VERSION = '0.1.5'; + const PACKAGE_VERSION = '0.1.6'; /** * Singleton instance of `Jetpack_Calypsoify`. diff --git a/projects/packages/classic-theme-helper/CHANGELOG.md b/projects/packages/classic-theme-helper/CHANGELOG.md index 01128b93c5880..a1a6cfa087c92 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.5.6] - 2024-09-10 +### Changed +- Updated package dependencies. [#39302] + ## [0.5.5] - 2024-09-09 ### Added - Site Breadcrumbs: Ensure main function is not created when host is WordPress.com. [#39235] @@ -107,6 +111,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed - Add wordpress folder on gitignore. [#37177] +[0.5.6]: https://github.com/Automattic/jetpack-classic-theme-helper/compare/v0.5.5...v0.5.6 [0.5.5]: https://github.com/Automattic/jetpack-classic-theme-helper/compare/v0.5.4...v0.5.5 [0.5.4]: https://github.com/Automattic/jetpack-classic-theme-helper/compare/v0.5.3...v0.5.4 [0.5.3]: https://github.com/Automattic/jetpack-classic-theme-helper/compare/v0.5.2...v0.5.3 diff --git a/projects/packages/classic-theme-helper/changelog/renovate-wordpress-monorepo#2 b/projects/packages/classic-theme-helper/changelog/renovate-wordpress-monorepo#2 deleted file mode 100644 index c47cb18e82997..0000000000000 --- a/projects/packages/classic-theme-helper/changelog/renovate-wordpress-monorepo#2 +++ /dev/null @@ -1,4 +0,0 @@ -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 eb8a6380a3ea1..b8e8ed20aecb8 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.5.5", + "version": "0.5.6", "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 549560d752a2c..8b230e3d2a7c6 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.5.5'; + const PACKAGE_VERSION = '0.5.6'; /** * Modules to include. diff --git a/projects/packages/connection/CHANGELOG.md b/projects/packages/connection/CHANGELOG.md index 32d6d0d2ed34a..e47d6ccb37a9b 100644 --- a/projects/packages/connection/CHANGELOG.md +++ b/projects/packages/connection/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). +## [4.0.2] - 2024-09-10 +### Changed +- Updated package dependencies. [#39302] + ## [4.0.1] - 2024-09-06 ### Removed - Removed throwing of warning if a given Jetpack options does not exist [#39270] @@ -1187,6 +1191,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Separate the connection library into its own package. +[4.0.2]: https://github.com/Automattic/jetpack-connection/compare/v4.0.1...v4.0.2 [4.0.1]: https://github.com/Automattic/jetpack-connection/compare/v4.0.0...v4.0.1 [4.0.0]: https://github.com/Automattic/jetpack-connection/compare/v3.0.0...v4.0.0 [3.0.0]: https://github.com/Automattic/jetpack-connection/compare/v2.12.5...v3.0.0 diff --git a/projects/packages/connection/changelog/renovate-wordpress-monorepo b/projects/packages/connection/changelog/renovate-wordpress-monorepo deleted file mode 100644 index c47cb18e82997..0000000000000 --- a/projects/packages/connection/changelog/renovate-wordpress-monorepo +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: changed - -Updated package dependencies. diff --git a/projects/packages/connection/src/class-package-version.php b/projects/packages/connection/src/class-package-version.php index 253aa0ab62f57..9d06e56618d74 100644 --- a/projects/packages/connection/src/class-package-version.php +++ b/projects/packages/connection/src/class-package-version.php @@ -12,7 +12,7 @@ */ class Package_Version { - const PACKAGE_VERSION = '4.0.1'; + const PACKAGE_VERSION = '4.0.2'; const PACKAGE_SLUG = 'connection'; diff --git a/projects/packages/google-analytics/CHANGELOG.md b/projects/packages/google-analytics/CHANGELOG.md index f7432529f9d67..6775cdb7c77bc 100644 --- a/projects/packages/google-analytics/CHANGELOG.md +++ b/projects/packages/google-analytics/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.2.4] - 2024-09-10 +### Changed +- Update dependencies. [#39260] + ## [0.2.3] - 2024-08-23 ### Changed - Updated package dependencies. [#39004] @@ -27,6 +31,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Copy the code from the Jetpack module into the package. [#37184] - Migrate unit tests from the Jetpack module. [#37246] +[0.2.4]: https://github.com/Automattic/jetpack-google-analytics/compare/v0.2.3...v0.2.4 [0.2.3]: https://github.com/Automattic/jetpack-google-analytics/compare/v0.2.2...v0.2.3 [0.2.2]: https://github.com/Automattic/jetpack-google-analytics/compare/v0.2.1...v0.2.2 [0.2.1]: https://github.com/Automattic/jetpack-google-analytics/compare/v0.2.0...v0.2.1 diff --git a/projects/packages/google-analytics/changelog/force-a-release b/projects/packages/google-analytics/changelog/force-a-release deleted file mode 100644 index d4ad6c7cc3379..0000000000000 --- a/projects/packages/google-analytics/changelog/force-a-release +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: changed - -Update dependencies. diff --git a/projects/packages/google-analytics/package.json b/projects/packages/google-analytics/package.json index 75c1b1e2b8baa..c51dd0320c52c 100644 --- a/projects/packages/google-analytics/package.json +++ b/projects/packages/google-analytics/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "@automattic/jetpack-google-analytics", - "version": "0.2.3", + "version": "0.2.4", "description": "Set up Google Analytics without touching a line of code.", "homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/packages/google-analytics/#readme", "bugs": { diff --git a/projects/packages/google-analytics/src/class-ga-manager.php b/projects/packages/google-analytics/src/class-ga-manager.php index 46be2075d06f7..be882f0fadda3 100644 --- a/projects/packages/google-analytics/src/class-ga-manager.php +++ b/projects/packages/google-analytics/src/class-ga-manager.php @@ -18,7 +18,7 @@ */ class GA_Manager { - const PACKAGE_VERSION = '0.2.3'; + const PACKAGE_VERSION = '0.2.4'; /** * Jetpack_Google_Analytics singleton instance. diff --git a/projects/packages/jetpack-mu-wpcom/CHANGELOG.md b/projects/packages/jetpack-mu-wpcom/CHANGELOG.md index a857f552df9d8..cd3a71b40dc91 100644 --- a/projects/packages/jetpack-mu-wpcom/CHANGELOG.md +++ b/projects/packages/jetpack-mu-wpcom/CHANGELOG.md @@ -5,6 +5,18 @@ 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). +## [5.62.0] - 2024-09-10 +### Changed +- Admin bar: always use user language even on frontend screens [#39255] +- Admin bar: update 'My Account' link to /me [#39290] +- Enable Users -> Profile (profile.php) on all sites [#39181] +- Launchpad: Require a design is selected before marking the step as complete in both the Write and Free flows [#39189] +- Updated package dependencies. [#39176] +- Updated package dependencies. [#39302] + +### Fixed +- Use the correct endpoint route for adding suggested tags on new posts. [#39175] + ## [5.61.0] - 2024-09-02 ### Changed - MU WPCOM: Disable the Open Graph Tags according to the privacy of the site [#39012] @@ -1205,6 +1217,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Testing initial package release. +[5.62.0]: https://github.com/Automattic/jetpack-mu-wpcom/compare/v5.61.0...v5.62.0 [5.61.0]: https://github.com/Automattic/jetpack-mu-wpcom/compare/v5.60.0...v5.61.0 [5.60.0]: https://github.com/Automattic/jetpack-mu-wpcom/compare/v5.59.0...v5.60.0 [5.59.0]: https://github.com/Automattic/jetpack-mu-wpcom/compare/v5.58.0...v5.59.0 diff --git a/projects/packages/jetpack-mu-wpcom/changelog/add-enable-eslint-wordpress-no-unused-vars-before-return b/projects/packages/jetpack-mu-wpcom/changelog/add-enable-eslint-wordpress-no-unused-vars-before-return deleted file mode 100644 index 6b3db7a5af060..0000000000000 --- a/projects/packages/jetpack-mu-wpcom/changelog/add-enable-eslint-wordpress-no-unused-vars-before-return +++ /dev/null @@ -1,5 +0,0 @@ -Significance: patch -Type: changed -Comment: Call `useState` instead of `React.useState` in one place, so it can be seen as a hook call by `@wordpress/no-unused-vars-before-return`. Should be the same function, just returned through `@wordpress/elements`. - - diff --git a/projects/packages/jetpack-mu-wpcom/changelog/fix-add-tags-endpoint b/projects/packages/jetpack-mu-wpcom/changelog/fix-add-tags-endpoint deleted file mode 100644 index ed23fbdd2ebaf..0000000000000 --- a/projects/packages/jetpack-mu-wpcom/changelog/fix-add-tags-endpoint +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: fixed - -Use the correct endpoint route for adding suggested tags on new posts. diff --git a/projects/packages/jetpack-mu-wpcom/changelog/frontend-user-language b/projects/packages/jetpack-mu-wpcom/changelog/frontend-user-language deleted file mode 100644 index ccc58eff7a181..0000000000000 --- a/projects/packages/jetpack-mu-wpcom/changelog/frontend-user-language +++ /dev/null @@ -1,4 +0,0 @@ -Significance: minor -Type: changed - -Admin bar: always use user language even on frontend screens diff --git a/projects/packages/jetpack-mu-wpcom/changelog/my-account-url b/projects/packages/jetpack-mu-wpcom/changelog/my-account-url deleted file mode 100644 index 2b60954920c37..0000000000000 --- a/projects/packages/jetpack-mu-wpcom/changelog/my-account-url +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: changed - -Admin bar: update 'My Account' link to /me diff --git a/projects/packages/jetpack-mu-wpcom/changelog/remove-eslintrc-unneeded-parseroptions b/projects/packages/jetpack-mu-wpcom/changelog/remove-eslintrc-unneeded-parseroptions deleted file mode 100644 index e9871ae770e2f..0000000000000 --- a/projects/packages/jetpack-mu-wpcom/changelog/remove-eslintrc-unneeded-parseroptions +++ /dev/null @@ -1,5 +0,0 @@ -Significance: patch -Type: removed -Comment: Remove unneeded `parserOptions` from eslintrc. - - diff --git a/projects/packages/jetpack-mu-wpcom/changelog/renovate-wordpress-monorepo b/projects/packages/jetpack-mu-wpcom/changelog/renovate-wordpress-monorepo deleted file mode 100644 index c47cb18e82997..0000000000000 --- a/projects/packages/jetpack-mu-wpcom/changelog/renovate-wordpress-monorepo +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: changed - -Updated package dependencies. diff --git a/projects/packages/jetpack-mu-wpcom/changelog/renovate-wordpress-monorepo#2 b/projects/packages/jetpack-mu-wpcom/changelog/renovate-wordpress-monorepo#2 deleted file mode 100644 index c47cb18e82997..0000000000000 --- a/projects/packages/jetpack-mu-wpcom/changelog/renovate-wordpress-monorepo#2 +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: changed - -Updated package dependencies. diff --git a/projects/packages/jetpack-mu-wpcom/changelog/site-level-user-profile b/projects/packages/jetpack-mu-wpcom/changelog/site-level-user-profile deleted file mode 100644 index b96c647e16e84..0000000000000 --- a/projects/packages/jetpack-mu-wpcom/changelog/site-level-user-profile +++ /dev/null @@ -1,4 +0,0 @@ -Significance: minor -Type: changed - -Enable Users -> Profile (profile.php) on all sites diff --git a/projects/packages/jetpack-mu-wpcom/changelog/update-launchpad-design-done b/projects/packages/jetpack-mu-wpcom/changelog/update-launchpad-design-done deleted file mode 100644 index 7d0d8069019f2..0000000000000 --- a/projects/packages/jetpack-mu-wpcom/changelog/update-launchpad-design-done +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: changed - -Launchpad: Require a design is selected before marking the step as complete in both the Write and Free flows diff --git a/projects/packages/jetpack-mu-wpcom/composer.json b/projects/packages/jetpack-mu-wpcom/composer.json index 4758d32dfc281..4f0a7fb725785 100644 --- a/projects/packages/jetpack-mu-wpcom/composer.json +++ b/projects/packages/jetpack-mu-wpcom/composer.json @@ -62,7 +62,7 @@ }, "autotagger": true, "branch-alias": { - "dev-trunk": "5.61.x-dev" + "dev-trunk": "5.62.x-dev" }, "textdomain": "jetpack-mu-wpcom", "version-constants": { diff --git a/projects/packages/jetpack-mu-wpcom/package.json b/projects/packages/jetpack-mu-wpcom/package.json index 9fd9cb9276fff..1058a14979250 100644 --- a/projects/packages/jetpack-mu-wpcom/package.json +++ b/projects/packages/jetpack-mu-wpcom/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "@automattic/jetpack-mu-wpcom", - "version": "5.61.0", + "version": "5.62.0", "description": "Enhances your site with features powered by WordPress.com", "homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/packages/jetpack-mu-wpcom/#readme", "bugs": { diff --git a/projects/packages/jetpack-mu-wpcom/src/class-jetpack-mu-wpcom.php b/projects/packages/jetpack-mu-wpcom/src/class-jetpack-mu-wpcom.php index 39f057aedb4a1..282a5a1e8ae91 100644 --- a/projects/packages/jetpack-mu-wpcom/src/class-jetpack-mu-wpcom.php +++ b/projects/packages/jetpack-mu-wpcom/src/class-jetpack-mu-wpcom.php @@ -15,7 +15,7 @@ * Jetpack_Mu_Wpcom main class. */ class Jetpack_Mu_Wpcom { - const PACKAGE_VERSION = '5.61.0'; + const PACKAGE_VERSION = '5.62.0'; const PKG_DIR = __DIR__ . '/../'; const BASE_DIR = __DIR__ . '/'; const BASE_FILE = __FILE__; diff --git a/projects/packages/jitm/CHANGELOG.md b/projects/packages/jitm/CHANGELOG.md index d8c3bdc2c1866..dc6fe31867659 100644 --- a/projects/packages/jitm/CHANGELOG.md +++ b/projects/packages/jitm/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). +## [3.1.22] - 2024-09-10 +### Changed +- Updated package dependencies. [#39302] + ## [3.1.21] - 2024-09-05 ### Changed - Update dependencies. @@ -763,6 +767,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Update Jetpack to use new JITM package +[3.1.22]: https://github.com/Automattic/jetpack-jitm/compare/v3.1.21...v3.1.22 [3.1.21]: https://github.com/Automattic/jetpack-jitm/compare/v3.1.20...v3.1.21 [3.1.20]: https://github.com/Automattic/jetpack-jitm/compare/v3.1.19...v3.1.20 [3.1.19]: https://github.com/Automattic/jetpack-jitm/compare/v3.1.18...v3.1.19 diff --git a/projects/packages/jitm/changelog/renovate-wordpress-monorepo b/projects/packages/jitm/changelog/renovate-wordpress-monorepo deleted file mode 100644 index c47cb18e82997..0000000000000 --- a/projects/packages/jitm/changelog/renovate-wordpress-monorepo +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: changed - -Updated package dependencies. diff --git a/projects/packages/jitm/src/class-jitm.php b/projects/packages/jitm/src/class-jitm.php index 802cce7d1a976..e5767b20bb1ca 100644 --- a/projects/packages/jitm/src/class-jitm.php +++ b/projects/packages/jitm/src/class-jitm.php @@ -20,7 +20,7 @@ */ class JITM { - const PACKAGE_VERSION = '3.1.21'; + const PACKAGE_VERSION = '3.1.22'; /** * The configuration method that is called from the jetpack-config package. diff --git a/projects/packages/masterbar/CHANGELOG.md b/projects/packages/masterbar/CHANGELOG.md index 8b52225c60953..99b5b035dd1e2 100644 --- a/projects/packages/masterbar/CHANGELOG.md +++ b/projects/packages/masterbar/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.1] - 2024-09-10 +### Changed +- Updated package dependencies. [#39302] + ## [0.9.0] - 2024-09-09 ### Added - Admin menu: Add text-overflow ellipsis for the site title and domain. [#39224] @@ -117,6 +121,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Updated package dependencies. [#37669] - Updated package dependencies. [#37706] +[0.9.1]: https://github.com/Automattic/jetpack-masterbar/compare/v0.9.0...v0.9.1 [0.9.0]: https://github.com/Automattic/jetpack-masterbar/compare/v0.8.1...v0.9.0 [0.8.1]: https://github.com/Automattic/jetpack-masterbar/compare/v0.8.0...v0.8.1 [0.8.0]: https://github.com/Automattic/jetpack-masterbar/compare/v0.7.0...v0.8.0 diff --git a/projects/packages/masterbar/changelog/renovate-wordpress-monorepo#2 b/projects/packages/masterbar/changelog/renovate-wordpress-monorepo#2 deleted file mode 100644 index c47cb18e82997..0000000000000 --- a/projects/packages/masterbar/changelog/renovate-wordpress-monorepo#2 +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: changed - -Updated package dependencies. diff --git a/projects/packages/masterbar/package.json b/projects/packages/masterbar/package.json index a7a9ca4eeaa13..92a9f5fe20bae 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.9.0", + "version": "0.9.1", "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 a2bc26e3c1fd4..b44bb11c55b5b 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.9.0'; + const PACKAGE_VERSION = '0.9.1'; /** * Initializer. diff --git a/projects/packages/scheduled-updates/CHANGELOG.md b/projects/packages/scheduled-updates/CHANGELOG.md index a0f22e14b4671..f185e4f84095f 100644 --- a/projects/packages/scheduled-updates/CHANGELOG.md +++ b/projects/packages/scheduled-updates/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.13.3] - 2024-09-10 +### Changed +- Update dependencies. [#39253] + ## [0.13.2] - 2024-08-23 ### Changed - Updated package dependencies. [#39004] @@ -193,6 +197,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added - Generate initial package for Scheduled Updates [#35796] +[0.13.3]: https://github.com/Automattic/scheduled-updates/compare/v0.13.2...v0.13.3 [0.13.2]: https://github.com/Automattic/scheduled-updates/compare/v0.13.1...v0.13.2 [0.13.1]: https://github.com/Automattic/scheduled-updates/compare/v0.13.0...v0.13.1 [0.13.0]: https://github.com/Automattic/scheduled-updates/compare/v0.12.2...v0.13.0 diff --git a/projects/packages/scheduled-updates/changelog/force-a-release b/projects/packages/scheduled-updates/changelog/force-a-release deleted file mode 100644 index d4ad6c7cc3379..0000000000000 --- a/projects/packages/scheduled-updates/changelog/force-a-release +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: changed - -Update dependencies. diff --git a/projects/packages/scheduled-updates/src/class-scheduled-updates.php b/projects/packages/scheduled-updates/src/class-scheduled-updates.php index b9e421ea31a5e..51b2d0cb3f475 100644 --- a/projects/packages/scheduled-updates/src/class-scheduled-updates.php +++ b/projects/packages/scheduled-updates/src/class-scheduled-updates.php @@ -20,7 +20,7 @@ class Scheduled_Updates { * * @var string */ - const PACKAGE_VERSION = '0.13.2'; + const PACKAGE_VERSION = '0.13.3'; /** * The cron event hook for the scheduled plugins update. diff --git a/projects/plugins/wpcomsh/changelog/fix-connection-assets-for-wpcom-simple-sites b/projects/plugins/mu-wpcom-plugin/changelog/prerelease#6 similarity index 100% rename from projects/plugins/wpcomsh/changelog/fix-connection-assets-for-wpcom-simple-sites rename to projects/plugins/mu-wpcom-plugin/changelog/prerelease#6 diff --git a/projects/plugins/mu-wpcom-plugin/composer.lock b/projects/plugins/mu-wpcom-plugin/composer.lock index 000ea170c1ed0..7dfa77949f463 100644 --- a/projects/plugins/mu-wpcom-plugin/composer.lock +++ b/projects/plugins/mu-wpcom-plugin/composer.lock @@ -1008,7 +1008,7 @@ "dist": { "type": "path", "url": "../../packages/jetpack-mu-wpcom", - "reference": "3c85793f3ce5609dbb8a644ee6a31f3ac08face4" + "reference": "e5ff27ce1d55b80d6b2ab844a7c1e9a534e489aa" }, "require": { "automattic/jetpack-assets": "@dev", @@ -1042,7 +1042,7 @@ }, "autotagger": true, "branch-alias": { - "dev-trunk": "5.61.x-dev" + "dev-trunk": "5.62.x-dev" }, "textdomain": "jetpack-mu-wpcom", "version-constants": { diff --git a/projects/plugins/wpcomsh/CHANGELOG.md b/projects/plugins/wpcomsh/CHANGELOG.md index 305b9626edc5d..96a09b5d5a217 100644 --- a/projects/plugins/wpcomsh/CHANGELOG.md +++ b/projects/plugins/wpcomsh/CHANGELOG.md @@ -1,5 +1,15 @@ # Changelog +## 5.8.0 - 2024-09-10 +### Changed +- Enable Users -> Profile (profile.php) on all sites [#39181] +- SSO: Show wp-admin login form if site has local users [#39139] +- Updated package dependencies. [#39288] +- Update wc-calypso-bridge dependency to 2.6.0 [#39313] + +### Fixed +- Checks an array key before attempting to read it. [#39240] + ## 5.7.0 - 2024-09-02 ### Added - WPCOM Marketplace: Added software manager to install marketplace products. [#38705] diff --git a/projects/plugins/wpcomsh/changelog/fix-wpcomsh-ref-invalid-key b/projects/plugins/wpcomsh/changelog/fix-wpcomsh-ref-invalid-key deleted file mode 100644 index 7b6533d23228a..0000000000000 --- a/projects/plugins/wpcomsh/changelog/fix-wpcomsh-ref-invalid-key +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: fixed - -Checks an array key before attempting to read it. diff --git a/projects/plugins/wpcomsh/changelog/prerelease b/projects/plugins/wpcomsh/changelog/prerelease deleted file mode 100644 index 9aa70e3ec1f75..0000000000000 --- a/projects/plugins/wpcomsh/changelog/prerelease +++ /dev/null @@ -1,5 +0,0 @@ -Significance: patch -Type: changed -Comment: Updated composer.lock. - - diff --git a/projects/plugins/wpcomsh/changelog/prerelease#2 b/projects/plugins/wpcomsh/changelog/prerelease#2 deleted file mode 100644 index 9aa70e3ec1f75..0000000000000 --- a/projects/plugins/wpcomsh/changelog/prerelease#2 +++ /dev/null @@ -1,5 +0,0 @@ -Significance: patch -Type: changed -Comment: Updated composer.lock. - - diff --git a/projects/plugins/wpcomsh/changelog/prerelease#3 b/projects/plugins/wpcomsh/changelog/prerelease#3 deleted file mode 100644 index 9aa70e3ec1f75..0000000000000 --- a/projects/plugins/wpcomsh/changelog/prerelease#3 +++ /dev/null @@ -1,5 +0,0 @@ -Significance: patch -Type: changed -Comment: Updated composer.lock. - - diff --git a/projects/plugins/wpcomsh/changelog/prerelease#4 b/projects/plugins/wpcomsh/changelog/prerelease#4 deleted file mode 100644 index 9aa70e3ec1f75..0000000000000 --- a/projects/plugins/wpcomsh/changelog/prerelease#4 +++ /dev/null @@ -1,5 +0,0 @@ -Significance: patch -Type: changed -Comment: Updated composer.lock. - - diff --git a/projects/plugins/wpcomsh/changelog/prerelease#5 b/projects/plugins/wpcomsh/changelog/prerelease#5 deleted file mode 100644 index 9aa70e3ec1f75..0000000000000 --- a/projects/plugins/wpcomsh/changelog/prerelease#5 +++ /dev/null @@ -1,5 +0,0 @@ -Significance: patch -Type: changed -Comment: Updated composer.lock. - - diff --git a/projects/plugins/wpcomsh/changelog/remove-eslintrc-unneeded-parseroptions b/projects/plugins/wpcomsh/changelog/remove-eslintrc-unneeded-parseroptions deleted file mode 100644 index e9871ae770e2f..0000000000000 --- a/projects/plugins/wpcomsh/changelog/remove-eslintrc-unneeded-parseroptions +++ /dev/null @@ -1,5 +0,0 @@ -Significance: patch -Type: removed -Comment: Remove unneeded `parserOptions` from eslintrc. - - diff --git a/projects/plugins/wpcomsh/changelog/renovate-lock-file-maintenance b/projects/plugins/wpcomsh/changelog/renovate-lock-file-maintenance deleted file mode 100644 index c47cb18e82997..0000000000000 --- a/projects/plugins/wpcomsh/changelog/renovate-lock-file-maintenance +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: changed - -Updated package dependencies. diff --git a/projects/plugins/wpcomsh/changelog/site-level-user-profile b/projects/plugins/wpcomsh/changelog/site-level-user-profile deleted file mode 100644 index b96c647e16e84..0000000000000 --- a/projects/plugins/wpcomsh/changelog/site-level-user-profile +++ /dev/null @@ -1,4 +0,0 @@ -Significance: minor -Type: changed - -Enable Users -> Profile (profile.php) on all sites diff --git a/projects/plugins/wpcomsh/changelog/update-wpcom-sso-local-users b/projects/plugins/wpcomsh/changelog/update-wpcom-sso-local-users deleted file mode 100644 index 6e72b52b53e8b..0000000000000 --- a/projects/plugins/wpcomsh/changelog/update-wpcom-sso-local-users +++ /dev/null @@ -1,4 +0,0 @@ -Significance: minor -Type: changed - -SSO: Show wp-admin login form if site has local users diff --git a/projects/plugins/wpcomsh/changelog/update-wpcomsh-wc-calypso-bridge-2.6.0 b/projects/plugins/wpcomsh/changelog/update-wpcomsh-wc-calypso-bridge-2.6.0 deleted file mode 100644 index ecee18c38c119..0000000000000 --- a/projects/plugins/wpcomsh/changelog/update-wpcomsh-wc-calypso-bridge-2.6.0 +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: changed - -Update wc-calypso-bridge dependency to 2.6.0 diff --git a/projects/plugins/wpcomsh/composer.json b/projects/plugins/wpcomsh/composer.json index 682eee216d1c6..14568bcf76ed6 100644 --- a/projects/plugins/wpcomsh/composer.json +++ b/projects/plugins/wpcomsh/composer.json @@ -127,7 +127,7 @@ "composer/installers": true, "roots/wordpress-core-installer": true }, - "autoloader-suffix": "26841ac2064774301cbe06d174833bfc_wpcomshⓥ5_7_0" + "autoloader-suffix": "26841ac2064774301cbe06d174833bfc_wpcomshⓥ5_8_0" }, "extra": { "mirror-repo": "Automattic/wpcom-site-helper", diff --git a/projects/plugins/wpcomsh/composer.lock b/projects/plugins/wpcomsh/composer.lock index e5e49ce9bfac0..0954f450dbf66 100644 --- a/projects/plugins/wpcomsh/composer.lock +++ b/projects/plugins/wpcomsh/composer.lock @@ -1145,7 +1145,7 @@ "dist": { "type": "path", "url": "../../packages/jetpack-mu-wpcom", - "reference": "3c85793f3ce5609dbb8a644ee6a31f3ac08face4" + "reference": "e5ff27ce1d55b80d6b2ab844a7c1e9a534e489aa" }, "require": { "automattic/jetpack-assets": "@dev", @@ -1179,7 +1179,7 @@ }, "autotagger": true, "branch-alias": { - "dev-trunk": "5.61.x-dev" + "dev-trunk": "5.62.x-dev" }, "textdomain": "jetpack-mu-wpcom", "version-constants": { diff --git a/projects/plugins/wpcomsh/package.json b/projects/plugins/wpcomsh/package.json index 8ef670980a127..f12c54a78ca56 100644 --- a/projects/plugins/wpcomsh/package.json +++ b/projects/plugins/wpcomsh/package.json @@ -3,7 +3,7 @@ "name": "@automattic/jetpack-wpcomsh", "description": "A helper for connecting WordPress.com sites to external host infrastructure.", "homepage": "https://jetpack.com", - "version": "5.7.0", + "version": "5.8.0", "bugs": { "url": "https://github.com/Automattic/jetpack/labels/[Plugin] Wpcomsh" }, diff --git a/projects/plugins/wpcomsh/wpcomsh.php b/projects/plugins/wpcomsh/wpcomsh.php index 0e269a92f0124..0261d45cdbe05 100644 --- a/projects/plugins/wpcomsh/wpcomsh.php +++ b/projects/plugins/wpcomsh/wpcomsh.php @@ -2,14 +2,14 @@ /** * Plugin Name: WordPress.com Site Helper * Description: A helper for connecting WordPress.com sites to external host infrastructure. - * Version: 5.7.0 + * Version: 5.8.0 * Author: Automattic * Author URI: http://automattic.com/ * * @package wpcomsh */ -define( 'WPCOMSH_VERSION', '5.7.0' ); +define( 'WPCOMSH_VERSION', '5.8.0' ); // If true, Typekit fonts will be available in addition to Google fonts add_filter( 'jetpack_fonts_enable_typekit', '__return_true' ); From c5acc21f9dc8a9d8a48576000f1033a1180626c2 Mon Sep 17 00:00:00 2001 From: Brad Jorsch Date: Tue, 10 Sep 2024 09:00:29 -0400 Subject: [PATCH 07/11] woocommerce-analytics: Check `WC_Install::STORE_ID_OPTION` before using it (#39306) For compatibility with WooCommerce <8.4.0. --- .../changelog/fix-undefined-WC_Install-STORE_ID_OPTION | 4 ++++ .../woocommerce-analytics/src/class-woo-analytics-trait.php | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 projects/packages/woocommerce-analytics/changelog/fix-undefined-WC_Install-STORE_ID_OPTION diff --git a/projects/packages/woocommerce-analytics/changelog/fix-undefined-WC_Install-STORE_ID_OPTION b/projects/packages/woocommerce-analytics/changelog/fix-undefined-WC_Install-STORE_ID_OPTION new file mode 100644 index 0000000000000..f795aa01aab2e --- /dev/null +++ b/projects/packages/woocommerce-analytics/changelog/fix-undefined-WC_Install-STORE_ID_OPTION @@ -0,0 +1,4 @@ +Significance: patch +Type: fixed + +Check whether `\WC_Install::STORE_ID_OPTION` is defined before attempting to use it, for compatibility with WooCommerce <8.4.0. diff --git a/projects/packages/woocommerce-analytics/src/class-woo-analytics-trait.php b/projects/packages/woocommerce-analytics/src/class-woo-analytics-trait.php index 6c22879c57c59..f10c63e06b18a 100644 --- a/projects/packages/woocommerce-analytics/src/class-woo-analytics-trait.php +++ b/projects/packages/woocommerce-analytics/src/class-woo-analytics-trait.php @@ -252,7 +252,7 @@ public function find_cart_checkout_content_sources() { public function get_common_properties() { $site_info = array( 'blog_id' => Jetpack_Connection::get_site_id(), - 'store_id' => get_option( \WC_Install::STORE_ID_OPTION ), + 'store_id' => defined( '\\WC_Install::STORE_ID_OPTION' ) ? get_option( \WC_Install::STORE_ID_OPTION ) : false, 'ui' => $this->get_user_id(), 'url' => home_url(), 'woo_version' => WC()->version, From b099c74200bdada5735a2c7303377721df1932a3 Mon Sep 17 00:00:00 2001 From: Christian Gastrell Date: Tue, 10 Sep 2024 10:04:04 -0300 Subject: [PATCH 08/11] Jetpack AI: remove old unused code (#39304) * delete ai-image and ai-paragraph as they are not used and never were a functional block * remove ai-image and ai-paragraph from experimental branch --- .../changelog/delete-jetpack-ai-old-code | 4 + .../extensions/blocks/ai-image/ai-image.php | 55 --- .../extensions/blocks/ai-image/block.json | 33 -- .../blocks/ai-image/dalle-example-prompts.js | 41 --- .../extensions/blocks/ai-image/edit.js | 241 -------------- .../extensions/blocks/ai-image/editor.js | 11 - .../extensions/blocks/ai-image/editor.scss | 13 - .../blocks/ai-paragraph/ai-paragraph.php | 55 --- .../extensions/blocks/ai-paragraph/block.json | 40 --- .../extensions/blocks/ai-paragraph/edit.js | 313 ------------------ .../extensions/blocks/ai-paragraph/editor.js | 29 -- .../blocks/ai-paragraph/editor.scss | 18 - .../blocks/ai-paragraph/test/edit.js | 58 ---- .../plugins/jetpack/extensions/index.json | 2 +- 14 files changed, 5 insertions(+), 908 deletions(-) create mode 100644 projects/plugins/jetpack/changelog/delete-jetpack-ai-old-code delete mode 100644 projects/plugins/jetpack/extensions/blocks/ai-image/ai-image.php delete mode 100644 projects/plugins/jetpack/extensions/blocks/ai-image/block.json delete mode 100644 projects/plugins/jetpack/extensions/blocks/ai-image/dalle-example-prompts.js delete mode 100644 projects/plugins/jetpack/extensions/blocks/ai-image/edit.js delete mode 100644 projects/plugins/jetpack/extensions/blocks/ai-image/editor.js delete mode 100644 projects/plugins/jetpack/extensions/blocks/ai-image/editor.scss delete mode 100644 projects/plugins/jetpack/extensions/blocks/ai-paragraph/ai-paragraph.php delete mode 100644 projects/plugins/jetpack/extensions/blocks/ai-paragraph/block.json delete mode 100644 projects/plugins/jetpack/extensions/blocks/ai-paragraph/edit.js delete mode 100644 projects/plugins/jetpack/extensions/blocks/ai-paragraph/editor.js delete mode 100644 projects/plugins/jetpack/extensions/blocks/ai-paragraph/editor.scss delete mode 100644 projects/plugins/jetpack/extensions/blocks/ai-paragraph/test/edit.js diff --git a/projects/plugins/jetpack/changelog/delete-jetpack-ai-old-code b/projects/plugins/jetpack/changelog/delete-jetpack-ai-old-code new file mode 100644 index 0000000000000..301bc652febec --- /dev/null +++ b/projects/plugins/jetpack/changelog/delete-jetpack-ai-old-code @@ -0,0 +1,4 @@ +Significance: minor +Type: other + +Jetpack AI: remove ai-image and ai-paragraph block code since they are not used and never made it to an actual functional block diff --git a/projects/plugins/jetpack/extensions/blocks/ai-image/ai-image.php b/projects/plugins/jetpack/extensions/blocks/ai-image/ai-image.php deleted file mode 100644 index bd38fc9729b32..0000000000000 --- a/projects/plugins/jetpack/extensions/blocks/ai-image/ai-image.php +++ /dev/null @@ -1,55 +0,0 @@ - __NAMESPACE__ . '\load_assets' ) - ); -} -add_action( 'init', __NAMESPACE__ . '\register_block' ); - -/** - * Jetpack AI image block registration/dependency declaration. - * - * @param array $attr Array containing the Jetpack AI image block attributes. - * @param string $content String containing the Jetpack AI image block content. - * - * @return string - */ -function load_assets( $attr, $content ) { - /* - * Enqueue necessary scripts and styles. - */ - Jetpack_Gutenberg::load_assets_as_required( __DIR__ ); - - return sprintf( - '
%2$s
', - esc_attr( Blocks::classes( Blocks::get_block_feature( __DIR__ ), $attr ) ), - $content - ); -} diff --git a/projects/plugins/jetpack/extensions/blocks/ai-image/block.json b/projects/plugins/jetpack/extensions/blocks/ai-image/block.json deleted file mode 100644 index da1c1565cda1b..0000000000000 --- a/projects/plugins/jetpack/extensions/blocks/ai-image/block.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "$schema": "https://schemas.wp.org/trunk/block.json", - "apiVersion": 3, - "name": "jetpack/ai-image", - "title": "AI Image (Experimental)", - "description": "Automatically generate an illustration for your post, powered by AI magic. We are experimenting with this feature and can tweak or remove it at any point.", - "keywords": [ "AI", "AL", "DALLe", "Diffusion", "Magic" ], - "version": "12.5.0", - "textdomain": "jetpack", - "category": "media", - "icon": "", - "supports": { - "align": false, - "alignWide": false, - "anchor": false, - "customClassName": false, - "className": true, - "html": false, - "multiple": true, - "reusable": false, - "inserter": false - }, - "attributes": { - "content": { - "type": "string", - "source": "text" - }, - "requestedPrompt": { - "type": "string", - "default": false - } - } -} diff --git a/projects/plugins/jetpack/extensions/blocks/ai-image/dalle-example-prompts.js b/projects/plugins/jetpack/extensions/blocks/ai-image/dalle-example-prompts.js deleted file mode 100644 index 69a01937231cb..0000000000000 --- a/projects/plugins/jetpack/extensions/blocks/ai-image/dalle-example-prompts.js +++ /dev/null @@ -1,41 +0,0 @@ -export const dalleExamplePrompts = [ - 'A digital Illustration of the a purely mechanical television, 4k, detailed, fantasy vivid colors', - '3D render of a floating futuristic castle in a clear sky, digital art', - 'Hedgehog smelling a flower | clear blue sky | intricate artwork by Beatrix Potter | cottagecore aesthetic | 8K | highly detailed | wide angle |', - 'Hyper realistic photo of a high end futuristic single-level house where walls are made of windows, light coming through the window, mid century modern style, cinematic lighting', - 'Pink ape Astronaut in space holding a claymate in a photorealistic style, digital art', - 'Studio photography set of high detail irregular marble stones with gold lines stacked in impossible balance, perfect composition, cinematic light photo studio, beige color scheme, indirect lighting, 8k, elegant and luxury style', - 'Ultrawide, highway, with golden ratio style, 4K , sides are prairies, light is Golden hour, sky with red Clouds, ultrarealistic, CinémaScope, ultra wide format, ratio 16/9, 1/1000 sec, maximum resolution, Sharp details', - 'A photo of cat flying out to space as an astronaut, digital art', - 'A hyper realistic rilakkuma enjoying an icecream in the snow', - 'A lush tropical forest with a waterfall.', - 'A majestic snowy mountain peak.', - 'A beautiful sunset over a beach.', - 'A serene lake surrounded by trees.', - 'A picturesque countryside with rolling hills.', - 'A colorful hot air balloon in the sky.', - 'A peaceful Zen garden.', - 'A grand castle on a hill.', - 'A lively street market in a bustling city.', - 'A delightful flower garden in full bloom.', - 'A cozy cabin in the woods.', - 'A vibrant coral reef teeming with sea life.', - 'A classic European city with cobblestone streets.', - 'A stunning waterfall cascading into a crystal clear pool.', - 'A secluded cabin on the edge of a lake.', - 'A beautiful desert landscape with sand dunes.', - 'A majestic elephant in its natural habitat.', - 'A charming countryside village with thatched roof cottages.', - 'A dreamy castle floating on a cloud.', - 'A whimsical tree house in a forest.', - 'A vibrant city skyline at night.', - 'A picturesque vineyard with rows of grapevines.', - 'A peaceful Japanese garden with a koi pond.', - 'A charming lighthouse on a rocky coastline.', - 'A beautiful waterfall surrounded by greenery.', - 'A dreamy castle with a moat and drawbridge.', - 'A colorful hot air balloon festival.', - 'A beautiful garden with a fountain and sculptures.', - 'A picturesque countryside with a windmill.', - 'A stunning mountain landscape with a rainbow.', -]; diff --git a/projects/plugins/jetpack/extensions/blocks/ai-image/edit.js b/projects/plugins/jetpack/extensions/blocks/ai-image/edit.js deleted file mode 100644 index 47f3e3532b7b4..0000000000000 --- a/projects/plugins/jetpack/extensions/blocks/ai-image/edit.js +++ /dev/null @@ -1,241 +0,0 @@ -import { useAnalytics } from '@automattic/jetpack-shared-extension-utils'; -import apiFetch from '@wordpress/api-fetch'; -import { useBlockProps, store as blockEditorStore } from '@wordpress/block-editor'; -import { createBlock } from '@wordpress/blocks'; -import { - Button, - Placeholder, - TextareaControl, - Flex, - FlexBlock, - FlexItem, - Modal, - Spinner, -} from '@wordpress/components'; -import { useSelect, useDispatch } from '@wordpress/data'; -import { useState } from '@wordpress/element'; -import { __ } from '@wordpress/i18n'; -import { dalleExamplePrompts } from './dalle-example-prompts'; - -function getRandomItem( arr ) { - // get random index value - const randomIndex = Math.floor( Math.random() * arr.length ); - return arr[ randomIndex ]; -} - -function getImagesFromOpenAI( - prompt, - setAttributes, - setLoadingImages, - setResultImages, - setErrorMessage, - postId -) { - setLoadingImages( true ); - setErrorMessage( null ); - setAttributes( { requestedPrompt: prompt } ); // This will prevent double submitting. - - apiFetch( { - path: '/wpcom/v2/jetpack-ai/images/generations', - method: 'POST', - data: { - prompt, - post_id: postId, - }, - } ) - .then( res => { - setLoadingImages( false ); - const images = res.data.map( image => { - return 'data:image/png;base64,' + image.b64_json; - } ); - setResultImages( images ); - } ) - .catch( e => { - if ( e.message ) { - setErrorMessage( e.message ); // Message was already translated by the backend - } else { - setErrorMessage( - __( - 'Whoops, we have encountered an error. AI is like really, really hard and this is an experimental feature. Please try again later.', - 'jetpack' - ) - ); - } - setLoadingImages( false ); - } ); -} - -/*eslint-disable jsx-a11y/no-noninteractive-element-interactions, jsx-a11y/click-events-have-key-events */ -export default function Edit( { attributes, setAttributes, clientId } ) { - const [ loadingImages, setLoadingImages ] = useState( false ); - const [ resultImages, setResultImages ] = useState( [] ); - const [ imageModal, setImageModal ] = useState( null ); - const [ prompt, setPrompt ] = useState( '' ); - const { replaceBlock } = useDispatch( blockEditorStore ); - const [ errorMessage, setErrorMessage ] = useState( null ); - const [ placeholder ] = useState( getRandomItem( dalleExamplePrompts ) ); - const errorButtonText = __( 'Retry', 'jetpack' ); - const successButtonText = __( 'Submit', 'jetpack' ); - const submitButtonText = errorMessage ? errorButtonText : successButtonText; - const { tracks } = useAnalytics(); - - const { mediaUpload } = useSelect( select => { - const { getSettings } = select( blockEditorStore ); - const settings = getSettings(); - return { - mediaUpload: settings.mediaUpload, - }; - }, [] ); - const postId = useSelect( select => select( 'core/editor' ).getCurrentPostId() ); - - const submit = () => { - setLoadingImages( false ); - setResultImages( [] ); - setErrorMessage( null ); - getImagesFromOpenAI( - prompt.trim() === '' ? placeholder : prompt, - setAttributes, - setLoadingImages, - setResultImages, - setErrorMessage, - postId - ); - tracks.recordEvent( 'jetpack_ai_dalle_generation', { - post_id: postId, - } ); - }; - - const ImageWithSelect = ( { image, inModal = false } ) => { - return ( - - { inModal && ( - - - - ) } - - setImageModal( image ) } - /> - - { ! inModal && ( - - - - - - - - ) } - - ); - }; - - const saveImage = async image => { - if ( loadingImages ) { - return; - } - setLoadingImages( true ); - setErrorMessage( null ); - - // First convert image to a proper blob file - const resp = await fetch( image ); - const blob = await resp.blob(); - const file = new File( [ blob ], 'jetpack_ai_image.png', { - type: 'image/png', - } ); - // Actually upload the image - mediaUpload( { - filesList: [ file ], - onFileChange: ( [ img ] ) => { - if ( ! img.id ) { - // Without this image gets uploaded twice - return; - } - replaceBlock( - clientId, - createBlock( 'core/image', { - url: img.url, - caption: attributes.requestedPrompt, - alt: attributes.requestedPrompt, - } ) - ); - }, - allowedTypes: [ 'image' ], - onError: message => { - // eslint-disable-next-line no-console - console.error( message ); - setLoadingImages( false ); - }, - } ); - tracks.recordEvent( 'jetpack_ai_dalle_generation_upload', { - post_id: postId, - } ); - }; - - return ( -
- { errorMessage }
] } - > - { ! loadingImages && resultImages.length === 0 && ( - - - - - - - ) } - { ! loadingImages && resultImages.length > 0 && ( - - - { attributes.requestedPrompt } - - - { __( 'Please choose your image', 'jetpack' ) } - - - { resultImages.map( image => ( - - ) ) } - - - ) } - { ! loadingImages && imageModal && ( - setImageModal( null ) }> - - - ) } - { attributes.content &&
{ attributes.content }
} - { loadingImages && ( - - - - ) } - -
- ); -} diff --git a/projects/plugins/jetpack/extensions/blocks/ai-image/editor.js b/projects/plugins/jetpack/extensions/blocks/ai-image/editor.js deleted file mode 100644 index 70d47221f9600..0000000000000 --- a/projects/plugins/jetpack/extensions/blocks/ai-image/editor.js +++ /dev/null @@ -1,11 +0,0 @@ -import { registerJetpackBlockFromMetadata } from '../../shared/register-jetpack-block'; -import metadata from './block.json'; -import edit from './edit'; - -import './editor.scss'; - -registerJetpackBlockFromMetadata( metadata, { - edit, - /* @TODO Write the block editor output */ - save: () => '', -} ); diff --git a/projects/plugins/jetpack/extensions/blocks/ai-image/editor.scss b/projects/plugins/jetpack/extensions/blocks/ai-image/editor.scss deleted file mode 100644 index 0c41df88a124d..0000000000000 --- a/projects/plugins/jetpack/extensions/blocks/ai-image/editor.scss +++ /dev/null @@ -1,13 +0,0 @@ -/** - * Editor styles for Jetpack AI Image - */ - - -.wp-block-jetpack-ai-image { - - .wp-block-ai-image-image { - cursor: pointer; - width: 128px; - height: 128px; - } -} diff --git a/projects/plugins/jetpack/extensions/blocks/ai-paragraph/ai-paragraph.php b/projects/plugins/jetpack/extensions/blocks/ai-paragraph/ai-paragraph.php deleted file mode 100644 index f3e4f8b2eadf0..0000000000000 --- a/projects/plugins/jetpack/extensions/blocks/ai-paragraph/ai-paragraph.php +++ /dev/null @@ -1,55 +0,0 @@ - __NAMESPACE__ . '\load_assets' ) - ); -} -add_action( 'init', __NAMESPACE__ . '\register_block' ); - -/** - * Jetpack AI Paragraph block registration/dependency declaration. - * - * @param array $attr Array containing the Jetpack AI Paragraph block attributes. - * @param string $content String containing the Jetpack AI Paragraph block content. - * - * @return string - */ -function load_assets( $attr, $content ) { - /* - * Enqueue necessary scripts and styles. - */ - Jetpack_Gutenberg::load_assets_as_required( __DIR__ ); - - return sprintf( - '
%2$s
', - esc_attr( Blocks::classes( Blocks::get_block_feature( __DIR__ ), $attr ) ), - $content - ); -} diff --git a/projects/plugins/jetpack/extensions/blocks/ai-paragraph/block.json b/projects/plugins/jetpack/extensions/blocks/ai-paragraph/block.json deleted file mode 100644 index 3717049234880..0000000000000 --- a/projects/plugins/jetpack/extensions/blocks/ai-paragraph/block.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "$schema": "https://schemas.wp.org/trunk/block.json", - "apiVersion": 3, - "name": "jetpack/ai-paragraph", - "title": "AI Paragraph (Experimental)", - "description": "Automatically generate new paragraphs using your existing content, powered by AI magic. We are experimenting with this feature and can tweak or remove it at any point.", - "keywords": [ "AI", "GPT", "AL", "Magic" ], - "version": "12.5.0", - "textdomain": "jetpack", - "category": "text", - "icon": "", - "supports": { - "align": true, - "alignWide": true, - "anchor": true, - "customClassName": true, - "className": true, - "html": true, - "multiple": true, - "reusable": false, - "inserter": false - }, - - "attributes": { - "content": { - "type": "string", - "source": "html" - }, - "animationDone": { - "type": "boolean", - "default": false - } - }, - "example": { - "attributes": { - "animationDone": false, - "content": "I'm afraid I can't do that, Dave." - } - } -} diff --git a/projects/plugins/jetpack/extensions/blocks/ai-paragraph/edit.js b/projects/plugins/jetpack/extensions/blocks/ai-paragraph/edit.js deleted file mode 100644 index a079507a1decd..0000000000000 --- a/projects/plugins/jetpack/extensions/blocks/ai-paragraph/edit.js +++ /dev/null @@ -1,313 +0,0 @@ -import './editor.scss'; - -import { useAnalytics } from '@automattic/jetpack-shared-extension-utils'; -import apiFetch from '@wordpress/api-fetch'; -import { useBlockProps } from '@wordpress/block-editor'; -import { Placeholder, Button, Spinner } from '@wordpress/components'; -import { useSelect } from '@wordpress/data'; -import { useState, RawHTML, useEffect } from '@wordpress/element'; -import { sprintf, __ } from '@wordpress/i18n'; -import metadata from './block.json'; - -// Maximum number of characters we send from the content -export const MAXIMUM_NUMBER_OF_CHARACTERS_SENT_FROM_CONTENT = 1024; - -// Creates the prompt that will eventually be sent to OpenAI. It uses the current post title, content (before the actual AI block) - or a slice of it if too long, and tags + categories names -export const createPrompt = ( - postTitle = '', - contentBeforeCurrentBlock = [], - categoriesNames = '', - tagsNames = '' -) => { - const content = contentBeforeCurrentBlock - .filter( function ( block ) { - return block && block.attributes && block.attributes.content; - } ) - .map( function ( block ) { - return block.attributes.content.replaceAll( '
', '\n' ); - } ) - .join( '\n' ); - const shorter_content = content.slice( -1 * MAXIMUM_NUMBER_OF_CHARACTERS_SENT_FROM_CONTENT ); - - // We prevent a prompt if everything is empty - if ( ! postTitle && ! shorter_content && ! categoriesNames && ! tagsNames ) { - return false; - } - - let prompt = ''; - // We will generate the content - if ( postTitle ) { - prompt = sprintf( - /** translators: This will be the beginning of a prompt that will be sent to OpenAI based on the post title. */ - __( "Please help me write a short piece of a blog post titled '%1$s'", 'jetpack' ), - postTitle - ); - } else { - prompt = __( 'Please help me write a short piece of a blog post', 'jetpack' ); - } - - if ( categoriesNames ) { - /** translators: This will be the follow up of a prompt that will be sent to OpenAI based on comma-seperated category names. */ - prompt += sprintf( __( ", published in categories '%1$s'", 'jetpack' ), categoriesNames ); - } - - if ( tagsNames ) { - /** translators: This will be the follow up of a prompt that will be sent to OpenAI based on comma-seperated category names. */ - prompt += sprintf( __( " and tagged '%1$s'", 'jetpack' ), tagsNames ); - } - - prompt += __( '. Please only output generated content ready for publishing.', 'jetpack' ); - - if ( shorter_content ) { - /** translators: This will be the end of a prompt that will be sent to OpenAI with the last MAXIMUM_NUMBER_OF_CHARACTERS_SENT_FROM_CONTENT characters of content.*/ - prompt += sprintf( __( ' Please continue from here:\n\n … %s', 'jetpack' ), shorter_content ); // eslint-disable-line @wordpress/i18n-no-collapsible-whitespace - } - - return prompt.trim(); -}; - -// This component displays the text word by word if show animation is true -function ShowLittleByLittle( { html, showAnimation, onAnimationDone } ) { - // This is the HTML to be displayed. - const [ displayedRawHTML, setDisplayedRawHTML ] = useState( '' ); - - useEffect( - () => { - // That will only happen once - if ( showAnimation ) { - // This is to animate text input. I think this will give an idea of a "better" AI. - // At this point this is an established pattern. - const tokens = html.split( ' ' ); - for ( let i = 1; i < tokens.length; i++ ) { - const output = tokens.slice( 0, i ).join( ' ' ); - setTimeout( () => setDisplayedRawHTML( output ), 50 * i ); - } - setTimeout( () => { - setDisplayedRawHTML( html ); - onAnimationDone(); - }, 50 * tokens.length ); - } else { - setDisplayedRawHTML( html ); - } - }, - // eslint-disable-next-line - [] - ); - - return ( -
- { displayedRawHTML } -
- ); -} - -export default function Edit( { attributes, setAttributes, clientId } ) { - const [ isLoadingCompletion, setIsLoadingCompletion ] = useState( false ); - const [ isLoadingCategories, setIsLoadingCategories ] = useState( false ); - const [ needsMoreCharacters, setNeedsMoreCharacters ] = useState( false ); - const [ showRetry, setShowRetry ] = useState( false ); - const [ errorMessage, setErrorMessage ] = useState( false ); - const { tracks } = useAnalytics(); - - // Let's grab post data so that we can do something smart. - const currentPostTitle = useSelect( select => - select( 'core/editor' ).getEditedPostAttribute( 'title' ) - ); - - let loading = false; - const categories = - useSelect( select => select( 'core/editor' ).getEditedPostAttribute( 'categories' ) ) || []; - - const categoryObjects = useSelect( - select => { - return categories - .map( categoryId => { - const category = select( 'core' ).getEntityRecord( 'taxonomy', 'category', categoryId ); - - if ( ! category ) { - // Data is not yet loaded - loading = true; - return undefined; - } - - return category; - } ) - .filter( Boolean ); // Remove undefined values - }, - [ categories ] - ); - - const tags = - useSelect( select => select( 'core/editor' ).getEditedPostAttribute( 'tags' ), [] ) || []; - - const tagObjects = useSelect( - select => { - return tags - .map( tagId => { - const tag = select( 'core' ).getEntityRecord( 'taxonomy', 'post_tag', tagId ); - - if ( ! tag ) { - // Data is not yet loaded - loading = true; - return undefined; - } - - return tag; - } ) - .filter( Boolean ); // Remove undefined values - }, - [ tags ] - ); - - useEffect( () => { - setIsLoadingCategories( loading ); - }, [ loading ] ); - - const postId = useSelect( select => select( 'core/editor' ).getCurrentPostId() ); - const categoryNames = categoryObjects - .filter( cat => cat.id !== 1 ) - .map( ( { name } ) => name ) - .join( ', ' ); - const tagNames = tagObjects.map( ( { name } ) => name ).join( ', ' ); - - const contentBefore = useSelect( select => { - const editor = select( 'core/block-editor' ); - const index = editor.getBlockIndex( clientId ); - return editor.getBlocks().slice( 0, index ) ?? []; - } ); - - const containsAiUntriggeredParagraph = () => { - const blockName = metadata.name; - return ( - contentBefore.filter( - block => block.name && block.name === blockName && ! block.attributes.content - ).length > 0 - ); - }; - - const getSuggestionFromOpenAI = () => { - if ( !! attributes.content || isLoadingCompletion ) { - return; - } - - setShowRetry( false ); - setErrorMessage( false ); - setNeedsMoreCharacters( false ); - setIsLoadingCompletion( true ); - - const data = { - content: createPrompt( currentPostTitle, contentBefore, categoryNames, tagNames ), - }; - - tracks.recordEvent( 'jetpack_ai_chat_completion', { - post_id: postId, - } ); - - apiFetch( { - path: '/wpcom/v2/jetpack-ai/completions', - method: 'POST', - data: data, - } ) - .then( res => { - const result = res.trim().replaceAll( '\n', '
' ); - setAttributes( { content: result } ); - setIsLoadingCompletion( false ); - } ) - .catch( e => { - if ( e.message ) { - setErrorMessage( e.message ); // Message was already translated by the backend - } else { - setErrorMessage( - __( - 'Whoops, we have encountered an error. AI is like really, really hard and this is an experimental feature. Please try again later.', - 'jetpack' - ) - ); - } - setShowRetry( true ); - setIsLoadingCompletion( false ); - } ); - }; - - // Waiting state means there is nothing to be done until it resolves - const isWaitingState = isLoadingCompletion || isLoadingCategories; - // Content is loaded - const contentIsLoaded = !! attributes.content; - - // We do nothing is we are waiting for stuff OR if the content is already loaded. - const noLogicNeeded = contentIsLoaded || isWaitingState; - - useSelect( () => { - if ( ! noLogicNeeded ) { - const prompt = createPrompt( currentPostTitle, contentBefore, categoryNames, tagNames ); - - if ( containsAiUntriggeredParagraph() ) { - setErrorMessage( - /** translators: This will be an error message when multiple Open AI paragraph blocks are triggered on the same page. */ - __( 'Waiting for the previous AI paragraph block to finish', 'jetpack' ) - ); - } else if ( ! prompt ) { - setErrorMessage( - /** translators: First placeholder is a number of more characters we need */ - __( - 'Please write a longer title or a few more words in the opening preceding the AI block. Our AI model needs some content.', - 'jetpack' - ) - ); - setNeedsMoreCharacters( true ); - } else if ( needsMoreCharacters ) { - setErrorMessage( - /** translators: This is to retry to complete the text */ - __( 'Ready to retry', 'jetpack' ) - ); - setShowRetry( true ); - setNeedsMoreCharacters( false ); - } else if ( ! needsMoreCharacters && ! showRetry ) { - getSuggestionFromOpenAI(); - } - } - }, [ - currentPostTitle, - contentBefore, - categoryNames, - tagNames, - noLogicNeeded, - needsMoreCharacters, - showRetry, - ] ); - - return ( -
- { ! isLoadingCompletion && ! isLoadingCategories && errorMessage && ( - - { showRetry && ( - - ) } - - ) } - - { contentIsLoaded && ( - { - setAttributes( { animationDone: true } ); - } } - html={ attributes.content } - /> - ) } - - { ! attributes.content && isWaitingState && ( -
- -
- ) } -
- ); -} diff --git a/projects/plugins/jetpack/extensions/blocks/ai-paragraph/editor.js b/projects/plugins/jetpack/extensions/blocks/ai-paragraph/editor.js deleted file mode 100644 index 2c7fd7d74b5c4..0000000000000 --- a/projects/plugins/jetpack/extensions/blocks/ai-paragraph/editor.js +++ /dev/null @@ -1,29 +0,0 @@ -import { useBlockProps } from '@wordpress/block-editor'; -import { createBlock } from '@wordpress/blocks'; -import { RawHTML } from '@wordpress/element'; -import { registerJetpackBlockFromMetadata } from '../../shared/register-jetpack-block'; -import metadata from './block.json'; -import edit from './edit'; - -import './editor.scss'; - -registerJetpackBlockFromMetadata( metadata, { - edit, - save: attrs => { - const blockProps = useBlockProps.save(); - return { attrs.attributes.content }; - }, - transforms: { - to: [ - { - type: 'block', - blocks: [ 'core/paragraph' ], - transform: ( { content } ) => { - return createBlock( 'core/paragraph', { - content, - } ); - }, - }, - ], - }, -} ); diff --git a/projects/plugins/jetpack/extensions/blocks/ai-paragraph/editor.scss b/projects/plugins/jetpack/extensions/blocks/ai-paragraph/editor.scss deleted file mode 100644 index bf76d66d77dee..0000000000000 --- a/projects/plugins/jetpack/extensions/blocks/ai-paragraph/editor.scss +++ /dev/null @@ -1,18 +0,0 @@ -/** - * Editor styles for Jetpack AI Paragraph - */ - -.wp-block-ai-generate-suggestion { - padding: 0; -} - -.wp-block-ai-generate-suggestion .content {} - -.wp-block-ai-generate-suggestion .components-text-control__input { - margin: 10px; - width:80%; -} - -.wp-block-ai-generate-suggestion .components-button.is-primary { - margin: 10px; -} diff --git a/projects/plugins/jetpack/extensions/blocks/ai-paragraph/test/edit.js b/projects/plugins/jetpack/extensions/blocks/ai-paragraph/test/edit.js deleted file mode 100644 index c73acbd2af05c..0000000000000 --- a/projects/plugins/jetpack/extensions/blocks/ai-paragraph/test/edit.js +++ /dev/null @@ -1,58 +0,0 @@ -import { createPrompt, MAXIMUM_NUMBER_OF_CHARACTERS_SENT_FROM_CONTENT } from '../edit'; - -describe( 'AIParagraphEdit', () => { - test( 'createPrompt', () => { - const fakeBlock = { attributes: { content: 'content' } }; - const fakeBlockWithBr = { attributes: { content: 'content
content2' } }; - const characters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789'; - const charactersLength = characters.length; - let longContent = ''; - for ( let i = 0; i < MAXIMUM_NUMBER_OF_CHARACTERS_SENT_FROM_CONTENT + 10; i++ ) { - longContent += characters.charAt( Math.floor( Math.random() * charactersLength ) ); - } - const fakeBlockWithVeryLongContent = { attributes: { content: longContent } }; - - // Test empty posts get falsy - expect( createPrompt() ).toBeFalsy(); - expect( createPrompt( '', [], '', '' ) ).toBeFalsy(); - - // Test contents - expect( createPrompt( 'title', [], '', '' ) ).toBe( - "Please help me write a short piece of a blog post titled 'title'. Please only output generated content ready for publishing." - ); - expect( - createPrompt( 'title', [ fakeBlock, { attributes: { whatever: 'content' } } ], '', '' ) - ).toBe( - "Please help me write a short piece of a blog post titled 'title'. Please only output generated content ready for publishing. Please continue from here:\n\n … content" - ); - - // Test that
are being translated. And content trimmed - expect( createPrompt( 'title', [ fakeBlockWithBr ], '', '' ) ).toBe( - "Please help me write a short piece of a blog post titled 'title'. Please only output generated content ready for publishing. Please continue from here:\n\n … content\ncontent2" - ); - - expect( createPrompt( 'title', [ fakeBlock, fakeBlock ], 'cat 1', '' ) ).toBe( - "Please help me write a short piece of a blog post titled 'title', published in categories 'cat 1'. Please only output generated content ready for publishing. Please continue from here:\n\n … content\ncontent" - ); - - // Test MAX content length - expect( createPrompt( 'title', [ fakeBlockWithVeryLongContent ] ) ).toBe( - "Please help me write a short piece of a blog post titled 'title'. Please only output generated content ready for publishing. Please continue from here:\n\n … " + - longContent.slice( -MAXIMUM_NUMBER_OF_CHARACTERS_SENT_FROM_CONTENT ) - ); - - // Test only cats - expect( createPrompt( '', [ fakeBlock ], 'cat1', 'tag1' ) ).toBe( - "Please help me write a short piece of a blog post, published in categories 'cat1' and tagged 'tag1'. Please only output generated content ready for publishing. Please continue from here:\n\n … content" - ); - expect( createPrompt( '', [ fakeBlock ], 'cat1, cat2', 'tag1' ) ).toBe( - "Please help me write a short piece of a blog post, published in categories 'cat1, cat2' and tagged 'tag1'. Please only output generated content ready for publishing. Please continue from here:\n\n … content" - ); - expect( createPrompt( '', [], 'cat1, cat2', 'tag1' ) ).toBe( - "Please help me write a short piece of a blog post, published in categories 'cat1, cat2' and tagged 'tag1'. Please only output generated content ready for publishing." - ); - expect( createPrompt( 'title', [], 'cat1, cat2', 'tag1' ) ).toBe( - "Please help me write a short piece of a blog post titled 'title', published in categories 'cat1, cat2' and tagged 'tag1'. Please only output generated content ready for publishing." - ); - } ); -} ); diff --git a/projects/plugins/jetpack/extensions/index.json b/projects/plugins/jetpack/extensions/index.json index 41b3eea98d413..e62f616b8cec7 100644 --- a/projects/plugins/jetpack/extensions/index.json +++ b/projects/plugins/jetpack/extensions/index.json @@ -81,7 +81,7 @@ "ai-assistant-backend-prompts", "ai-title-optimization-keywords-support" ], - "experimental": [ "ai-image", "ai-paragraph" ], + "experimental": [], "no-post-editor": [ "ai-assistant", "business-hours", From 135f499c688e28594c8adaed3329a53adddfffe7 Mon Sep 17 00:00:00 2001 From: Calypso Bot Date: Tue, 10 Sep 2024 15:27:26 +0200 Subject: [PATCH 09/11] phan: Update wpcom stubs (#39320) Co-authored-by: Phabricator Bot --- .phan/stubs/wpcom-stubs.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.phan/stubs/wpcom-stubs.php b/.phan/stubs/wpcom-stubs.php index ad9fabcaf82aa..a11acfe6eeaaf 100644 --- a/.phan/stubs/wpcom-stubs.php +++ b/.phan/stubs/wpcom-stubs.php @@ -4,7 +4,7 @@ * `bin/teamcity-builds/jetpack-stubs/stub-defs.php` and regenerate the stubs * by triggering the Jetpack Staging → Update WPCOM Stubs job in TeamCity. * - * Stubs automatically generated from WordPress.com commit 25314a859c6d64614c4c45a5ffda72f38fd99850. + * Stubs automatically generated from WordPress.com commit a64dc4c8302d07cdb2c6f67e03d7414f923a0b21. */ namespace { @@ -162,6 +162,12 @@ public static function get_subscriptions($blog_ids = 0, $user_ids = 0, $product_ } class Store_Shopping_Cart { + /** + * @return string[] + */ + public function get_product_slugs(): array + { + } public static function get_existing_cart(?array $args = []): self { } From 44b69c8f776196a0ca51c8dfbf74f16c63c95577 Mon Sep 17 00:00:00 2001 From: Brad Jorsch Date: Tue, 10 Sep 2024 09:32:24 -0400 Subject: [PATCH 10/11] repo-gardening: Update release timing information (#39321) * Now that we have rolling releases, wpcomsh happens twice daily on weekdays. * Jetpack and mu-wpcom-plugin releases happen semi-continuously now, more frequently than daily. In both cases, include a shortlink with details. --- .../changelog/update-gardening-release-timing | 4 ++++ .../repo-gardening/src/tasks/check-description/index.js | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) create mode 100644 projects/github-actions/repo-gardening/changelog/update-gardening-release-timing diff --git a/projects/github-actions/repo-gardening/changelog/update-gardening-release-timing b/projects/github-actions/repo-gardening/changelog/update-gardening-release-timing new file mode 100644 index 0000000000000..3a7f4da7ed952 --- /dev/null +++ b/projects/github-actions/repo-gardening/changelog/update-gardening-release-timing @@ -0,0 +1,4 @@ +Significance: patch +Type: changed + +Check description task: Update timing for Jetpack, wpcomsh, and mu-wpcom-plugin releases. diff --git a/projects/github-actions/repo-gardening/src/tasks/check-description/index.js b/projects/github-actions/repo-gardening/src/tasks/check-description/index.js index 7a5512750d968..f1120e5ee4d9b 100644 --- a/projects/github-actions/repo-gardening/src/tasks/check-description/index.js +++ b/projects/github-actions/repo-gardening/src/tasks/check-description/index.js @@ -79,9 +79,9 @@ async function getMilestoneDates( plugin, nextMilestone ) { codeFreezeDate = moment( freezeDateDescription[ 1 ] ).format( 'LL' ); } } else if ( plugin === 'wpcomsh' ) { - releaseDate = 'on demand (usually Mondays if not sooner)'; + releaseDate = 'Atomic deploys happen twice daily on weekdays (p9o2xV-2EN-p2)'; } else if ( plugin === 'mu-wpcom' ) { - releaseDate = 'WordPress.com Simple releases happen daily'; + releaseDate = 'WordPress.com Simple releases happen semi-continuously (PCYsg-Jjm-p2)'; } const capitalizedName = plugin @@ -100,7 +100,7 @@ ${ 'Jetpack' === capitalizedName ? `The Jetpack plugin has different release cadences depending on the platform: -- WordPress.com Simple releases happen daily. +- WordPress.com Simple releases happen semi-continuously (PCYsg-Jjm-p2). - WoA releases happen weekly. - Releases to self-hosted sites happen monthly. The next release is scheduled for _${ releaseDate }_ (scheduled code freeze on _${ codeFreezeDate }_).` : ` From 8c91e8ddc8ae879050617d0e2d014cff61d0dbd3 Mon Sep 17 00:00:00 2001 From: Igor Zinovyev Date: Tue, 10 Sep 2024 16:39:07 +0300 Subject: [PATCH 11/11] Changelog and readme.txt edits. (#39322) --- projects/js-packages/ai-client/CHANGELOG.md | 5 +++++ projects/js-packages/ai-client/package.json | 2 +- projects/js-packages/licensing/CHANGELOG.md | 4 ++++ projects/js-packages/licensing/package.json | 2 +- projects/js-packages/partner-coupon/CHANGELOG.md | 4 ++++ projects/js-packages/partner-coupon/package.json | 2 +- projects/js-packages/publicize-components/CHANGELOG.md | 8 ++++++++ .../changelog/add-social-resharing-share-status | 4 ---- projects/js-packages/publicize-components/package.json | 2 +- projects/packages/backup/CHANGELOG.md | 5 +++++ .../backup/changelog/renovate-wordpress-monorepo | 4 ---- projects/packages/backup/src/class-package-version.php | 2 +- projects/packages/explat/CHANGELOG.md | 5 +++++ .../explat/changelog/renovate-wordpress-monorepo | 4 ---- projects/packages/explat/package.json | 2 +- projects/packages/explat/src/class-explat.php | 2 +- projects/packages/forms/CHANGELOG.md | 5 +++++ .../forms/changelog/renovate-wordpress-monorepo#2 | 4 ---- projects/packages/forms/package.json | 2 +- projects/packages/forms/src/class-jetpack-forms.php | 2 +- projects/packages/my-jetpack/CHANGELOG.md | 5 +++++ .../my-jetpack/changelog/renovate-wordpress-monorepo | 4 ---- projects/packages/my-jetpack/package.json | 2 +- projects/packages/my-jetpack/src/class-initializer.php | 2 +- projects/packages/publicize/CHANGELOG.md | 5 +++++ .../publicize/changelog/renovate-wordpress-monorepo | 4 ---- projects/packages/publicize/package.json | 2 +- projects/packages/search/CHANGELOG.md | 5 +++++ .../search/changelog/renovate-wordpress-monorepo | 4 ---- projects/packages/search/package.json | 2 +- projects/packages/search/src/class-package.php | 2 +- projects/packages/sync/CHANGELOG.md | 5 +++++ .../changelog/update-sync-enable-hpos-module-full-sync | 4 ---- projects/packages/sync/composer.json | 2 +- projects/packages/sync/src/class-package-version.php | 2 +- projects/packages/videopress/CHANGELOG.md | 5 +++++ .../videopress/changelog/renovate-wordpress-monorepo | 4 ---- projects/packages/videopress/package.json | 2 +- .../packages/videopress/src/class-package-version.php | 2 +- projects/packages/woocommerce-analytics/CHANGELOG.md | 5 +++++ .../changelog/fix-undefined-WC_Install-STORE_ID_OPTION | 4 ---- .../src/class-woocommerce-analytics.php | 2 +- projects/packages/wordads/CHANGELOG.md | 5 +++++ .../wordads/changelog/renovate-wordpress-monorepo#2 | 4 ---- projects/packages/wordads/package.json | 2 +- projects/packages/wordads/src/class-package.php | 2 +- .../changelog/prerelease#12} | 3 ++- .../automattic-for-agencies-client/composer.lock | 4 ++-- .../backup/changelog/prerelease#2} | 3 ++- projects/plugins/backup/composer.lock | 4 ++-- .../boost/changelog/prerelease#11} | 3 ++- projects/plugins/boost/composer.lock | 4 ++-- projects/plugins/jetpack/CHANGELOG.md | 8 ++++++++ .../jetpack/changelog/add-remove-deprecated-checks | 4 ---- .../jetpack/changelog/renovate-wordpress-monorepo#2 | 4 ---- projects/plugins/jetpack/composer.json | 2 +- projects/plugins/jetpack/composer.lock | 4 ++-- projects/plugins/jetpack/jetpack.php | 4 ++-- projects/plugins/jetpack/package.json | 2 +- projects/plugins/jetpack/readme.txt | 10 ++-------- .../migration/changelog/prerelease#16} | 3 ++- projects/plugins/migration/composer.lock | 4 ++-- .../plugins/mu-wpcom-plugin/changelog/prerelease#7 | 5 +++++ projects/plugins/mu-wpcom-plugin/composer.lock | 4 ++-- projects/plugins/protect/changelog/prerelease#2 | 5 +++++ projects/plugins/protect/composer.lock | 4 ++-- projects/plugins/search/changelog/prerelease#2 | 5 +++++ projects/plugins/search/composer.lock | 4 ++-- projects/plugins/social/changelog/prerelease#2 | 5 +++++ projects/plugins/social/composer.lock | 4 ++-- .../plugins/starter-plugin/changelog/prerelease#15 | 5 +++++ projects/plugins/starter-plugin/composer.lock | 4 ++-- projects/plugins/videopress/changelog/prerelease#2 | 5 +++++ projects/plugins/videopress/composer.lock | 4 ++-- projects/plugins/wpcomsh/changelog/prerelease | 5 +++++ projects/plugins/wpcomsh/composer.lock | 4 ++-- 76 files changed, 173 insertions(+), 113 deletions(-) delete mode 100644 projects/js-packages/publicize-components/changelog/add-social-resharing-share-status delete mode 100644 projects/packages/backup/changelog/renovate-wordpress-monorepo delete mode 100644 projects/packages/explat/changelog/renovate-wordpress-monorepo delete mode 100644 projects/packages/forms/changelog/renovate-wordpress-monorepo#2 delete mode 100644 projects/packages/my-jetpack/changelog/renovate-wordpress-monorepo delete mode 100644 projects/packages/publicize/changelog/renovate-wordpress-monorepo delete mode 100644 projects/packages/search/changelog/renovate-wordpress-monorepo delete mode 100644 projects/packages/sync/changelog/update-sync-enable-hpos-module-full-sync delete mode 100644 projects/packages/videopress/changelog/renovate-wordpress-monorepo delete mode 100644 projects/packages/woocommerce-analytics/changelog/fix-undefined-WC_Install-STORE_ID_OPTION delete mode 100644 projects/packages/wordads/changelog/renovate-wordpress-monorepo#2 rename projects/{js-packages/ai-client/changelog/renovate-wordpress-monorepo#2 => plugins/automattic-for-agencies-client/changelog/prerelease#12} (51%) rename projects/{js-packages/licensing/changelog/renovate-wordpress-monorepo => plugins/backup/changelog/prerelease#2} (51%) rename projects/{js-packages/partner-coupon/changelog/renovate-wordpress-monorepo#2 => plugins/boost/changelog/prerelease#11} (51%) delete mode 100644 projects/plugins/jetpack/changelog/add-remove-deprecated-checks delete mode 100644 projects/plugins/jetpack/changelog/renovate-wordpress-monorepo#2 rename projects/{js-packages/publicize-components/changelog/renovate-wordpress-monorepo => plugins/migration/changelog/prerelease#16} (51%) create mode 100644 projects/plugins/mu-wpcom-plugin/changelog/prerelease#7 create mode 100644 projects/plugins/protect/changelog/prerelease#2 create mode 100644 projects/plugins/search/changelog/prerelease#2 create mode 100644 projects/plugins/social/changelog/prerelease#2 create mode 100644 projects/plugins/starter-plugin/changelog/prerelease#15 create mode 100644 projects/plugins/videopress/changelog/prerelease#2 create mode 100644 projects/plugins/wpcomsh/changelog/prerelease diff --git a/projects/js-packages/ai-client/CHANGELOG.md b/projects/js-packages/ai-client/CHANGELOG.md index c77b14d6af01a..297437acc88f6 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.18.1] - 2024-09-10 +### Changed +- Updated package dependencies. [#39302] + ## [0.18.0] - 2024-09-09 ### Added - AI Client: add placeholders for Logo Generator modal commponents [#39244] @@ -405,6 +409,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Updated package dependencies. [#31659] - Updated package dependencies. [#31785] +[0.18.1]: https://github.com/Automattic/jetpack-ai-client/compare/v0.18.0...v0.18.1 [0.18.0]: https://github.com/Automattic/jetpack-ai-client/compare/v0.17.0...v0.18.0 [0.17.0]: https://github.com/Automattic/jetpack-ai-client/compare/v0.16.4...v0.17.0 [0.16.4]: https://github.com/Automattic/jetpack-ai-client/compare/v0.16.3...v0.16.4 diff --git a/projects/js-packages/ai-client/package.json b/projects/js-packages/ai-client/package.json index 3de520969b8fa..049e889550d35 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.18.0", + "version": "0.18.1", "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/js-packages/licensing/CHANGELOG.md b/projects/js-packages/licensing/CHANGELOG.md index 5997aaa4e154f..bcdd3167b1b86 100644 --- a/projects/js-packages/licensing/CHANGELOG.md +++ b/projects/js-packages/licensing/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.12.30 - 2024-09-10 +### Changed +- Updated package dependencies. [#39302] + ## 0.12.29 - 2024-09-09 ### Changed - Updated package dependencies. [#39278] diff --git a/projects/js-packages/licensing/package.json b/projects/js-packages/licensing/package.json index ca456e5ab4a76..03cf53da4b8fe 100644 --- a/projects/js-packages/licensing/package.json +++ b/projects/js-packages/licensing/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "@automattic/jetpack-licensing", - "version": "0.12.29", + "version": "0.12.30", "description": "Jetpack licensing flow", "homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/js-packages/licensing/#readme", "bugs": { diff --git a/projects/js-packages/partner-coupon/CHANGELOG.md b/projects/js-packages/partner-coupon/CHANGELOG.md index 864d169da4fb4..8a8c9b315ab5b 100644 --- a/projects/js-packages/partner-coupon/CHANGELOG.md +++ b/projects/js-packages/partner-coupon/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.2.88 - 2024-09-10 +### Changed +- Updated package dependencies. [#39302] + ## 0.2.87 - 2024-09-09 ### Changed - Updated package dependencies. [#39176] [#39278] diff --git a/projects/js-packages/partner-coupon/package.json b/projects/js-packages/partner-coupon/package.json index d3195173b17de..9d1fa0cf2a8d5 100644 --- a/projects/js-packages/partner-coupon/package.json +++ b/projects/js-packages/partner-coupon/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "@automattic/jetpack-partner-coupon", - "version": "0.2.87", + "version": "0.2.88", "description": "This package aims to add components to make it easier to redeem partner coupons", "homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/js-packages/partner-coupon/#readme", "bugs": { diff --git a/projects/js-packages/publicize-components/CHANGELOG.md b/projects/js-packages/publicize-components/CHANGELOG.md index 40e790914a713..07ca648f78733 100644 --- a/projects/js-packages/publicize-components/CHANGELOG.md +++ b/projects/js-packages/publicize-components/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.68.0] - 2024-09-10 +### Added +- Added share status feedback to resharing [#39294] + +### Changed +- Updated package dependencies. [#39302] + ## [0.67.0] - 2024-09-09 ### Added - Added tracking for the share status modal [#39198] @@ -914,6 +921,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed - Updated package dependencies. [#24470] +[0.68.0]: https://github.com/Automattic/jetpack-publicize-components/compare/v0.67.0...v0.68.0 [0.67.0]: https://github.com/Automattic/jetpack-publicize-components/compare/v0.66.1...v0.67.0 [0.66.1]: https://github.com/Automattic/jetpack-publicize-components/compare/v0.66.0...v0.66.1 [0.66.0]: https://github.com/Automattic/jetpack-publicize-components/compare/v0.65.0...v0.66.0 diff --git a/projects/js-packages/publicize-components/changelog/add-social-resharing-share-status b/projects/js-packages/publicize-components/changelog/add-social-resharing-share-status deleted file mode 100644 index dbea969cabf6a..0000000000000 --- a/projects/js-packages/publicize-components/changelog/add-social-resharing-share-status +++ /dev/null @@ -1,4 +0,0 @@ -Significance: minor -Type: added - -Added share status feedback to resharing diff --git a/projects/js-packages/publicize-components/package.json b/projects/js-packages/publicize-components/package.json index 313142e88ac9f..fec716cbd7164 100644 --- a/projects/js-packages/publicize-components/package.json +++ b/projects/js-packages/publicize-components/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "@automattic/jetpack-publicize-components", - "version": "0.67.0", + "version": "0.68.0", "description": "A library of JS components required by the Publicize editor plugin", "homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/js-packages/publicize-components/#readme", "bugs": { diff --git a/projects/packages/backup/CHANGELOG.md b/projects/packages/backup/CHANGELOG.md index d896f62995f78..0f9214d8ae461 100644 --- a/projects/packages/backup/CHANGELOG.md +++ b/projects/packages/backup/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). +## [3.4.9] - 2024-09-10 +### Changed +- Updated package dependencies. [#39302] + ## [3.4.8] - 2024-09-09 ### Changed - Updated package dependencies. [#39278] @@ -689,6 +693,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Add API endpoints and Jetpack Backup package for managing Help… +[3.4.9]: https://github.com/Automattic/jetpack-backup/compare/v3.4.8...v3.4.9 [3.4.8]: https://github.com/Automattic/jetpack-backup/compare/v3.4.7...v3.4.8 [3.4.7]: https://github.com/Automattic/jetpack-backup/compare/v3.4.6...v3.4.7 [3.4.6]: https://github.com/Automattic/jetpack-backup/compare/v3.4.5...v3.4.6 diff --git a/projects/packages/backup/changelog/renovate-wordpress-monorepo b/projects/packages/backup/changelog/renovate-wordpress-monorepo deleted file mode 100644 index c47cb18e82997..0000000000000 --- a/projects/packages/backup/changelog/renovate-wordpress-monorepo +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: changed - -Updated package dependencies. diff --git a/projects/packages/backup/src/class-package-version.php b/projects/packages/backup/src/class-package-version.php index cb2bd72b5e579..1d828c934f86b 100644 --- a/projects/packages/backup/src/class-package-version.php +++ b/projects/packages/backup/src/class-package-version.php @@ -16,7 +16,7 @@ */ class Package_Version { - const PACKAGE_VERSION = '3.4.8'; + const PACKAGE_VERSION = '3.4.9'; const PACKAGE_SLUG = 'backup'; diff --git a/projects/packages/explat/CHANGELOG.md b/projects/packages/explat/CHANGELOG.md index 4fd0cbdb3eb99..3b86936a9aa66 100644 --- a/projects/packages/explat/CHANGELOG.md +++ b/projects/packages/explat/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.1.8] - 2024-09-10 +### Changed +- Updated package dependencies. [#39302] + ## [0.1.7] - 2024-09-05 ### Changed - Update dependencies. @@ -43,6 +47,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - ExPlat: add condition to prevent fetching the experiment assignment if there's not anon id (meaning that Tracks is likely disabled) [#38327] - Updated package dependencies. [#38132] +[0.1.8]: https://github.com/Automattic/jetpack-explat/compare/v0.1.7...v0.1.8 [0.1.7]: https://github.com/Automattic/jetpack-explat/compare/v0.1.6...v0.1.7 [0.1.6]: https://github.com/Automattic/jetpack-explat/compare/v0.1.5...v0.1.6 [0.1.5]: https://github.com/Automattic/jetpack-explat/compare/v0.1.4...v0.1.5 diff --git a/projects/packages/explat/changelog/renovate-wordpress-monorepo b/projects/packages/explat/changelog/renovate-wordpress-monorepo deleted file mode 100644 index c47cb18e82997..0000000000000 --- a/projects/packages/explat/changelog/renovate-wordpress-monorepo +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: changed - -Updated package dependencies. diff --git a/projects/packages/explat/package.json b/projects/packages/explat/package.json index f83b340596c81..72df6db164a74 100644 --- a/projects/packages/explat/package.json +++ b/projects/packages/explat/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "@automattic/jetpack-explat", - "version": "0.1.7", + "version": "0.1.8", "description": "A package for running A/B tests on the Experimentation Platform (ExPlat) in the plugin.", "homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/packages/explat/#readme", "bugs": { diff --git a/projects/packages/explat/src/class-explat.php b/projects/packages/explat/src/class-explat.php index 39ee3f9b00de5..92823a71ac15c 100644 --- a/projects/packages/explat/src/class-explat.php +++ b/projects/packages/explat/src/class-explat.php @@ -20,7 +20,7 @@ class ExPlat { * * @var string */ - const PACKAGE_VERSION = '0.1.7'; + const PACKAGE_VERSION = '0.1.8'; /** * Initializer. diff --git a/projects/packages/forms/CHANGELOG.md b/projects/packages/forms/CHANGELOG.md index 9151be8e93ca0..951f596f06689 100644 --- a/projects/packages/forms/CHANGELOG.md +++ b/projects/packages/forms/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.32.15] - 2024-09-10 +### Changed +- Updated package dependencies. [#39302] + ## [0.32.14] - 2024-09-09 ### Changed - Updated package dependencies. [#39176] [#39278] @@ -654,6 +658,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.32.15]: https://github.com/automattic/jetpack-forms/compare/v0.32.14...v0.32.15 [0.32.14]: https://github.com/automattic/jetpack-forms/compare/v0.32.13...v0.32.14 [0.32.13]: https://github.com/automattic/jetpack-forms/compare/v0.32.12...v0.32.13 [0.32.12]: https://github.com/automattic/jetpack-forms/compare/v0.32.11...v0.32.12 diff --git a/projects/packages/forms/changelog/renovate-wordpress-monorepo#2 b/projects/packages/forms/changelog/renovate-wordpress-monorepo#2 deleted file mode 100644 index c47cb18e82997..0000000000000 --- a/projects/packages/forms/changelog/renovate-wordpress-monorepo#2 +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: changed - -Updated package dependencies. diff --git a/projects/packages/forms/package.json b/projects/packages/forms/package.json index b0dba330f2434..c3bab948ac6b5 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.32.14", + "version": "0.32.15", "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 2e4cd422fc7f8..ad2fd3ecb1ad9 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.32.14'; + const PACKAGE_VERSION = '0.32.15'; /** * Load the contact form module. diff --git a/projects/packages/my-jetpack/CHANGELOG.md b/projects/packages/my-jetpack/CHANGELOG.md index 2a4f784901044..867c08a8d5adf 100644 --- a/projects/packages/my-jetpack/CHANGELOG.md +++ b/projects/packages/my-jetpack/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). +## [4.35.5] - 2024-09-10 +### Changed +- Updated package dependencies. [#39302] + ## [4.35.4] - 2024-09-09 ### Added - Jetpack AI: add fair usage policy link to the Jetpack AI product interstitial. [#39281] @@ -1720,6 +1724,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added - Created package +[4.35.5]: https://github.com/Automattic/jetpack-my-jetpack/compare/4.35.4...4.35.5 [4.35.4]: https://github.com/Automattic/jetpack-my-jetpack/compare/4.35.3...4.35.4 [4.35.3]: https://github.com/Automattic/jetpack-my-jetpack/compare/4.35.2...4.35.3 [4.35.2]: https://github.com/Automattic/jetpack-my-jetpack/compare/4.35.1...4.35.2 diff --git a/projects/packages/my-jetpack/changelog/renovate-wordpress-monorepo b/projects/packages/my-jetpack/changelog/renovate-wordpress-monorepo deleted file mode 100644 index c47cb18e82997..0000000000000 --- a/projects/packages/my-jetpack/changelog/renovate-wordpress-monorepo +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: changed - -Updated package dependencies. diff --git a/projects/packages/my-jetpack/package.json b/projects/packages/my-jetpack/package.json index 1db12f39f4f73..add310f8b0f69 100644 --- a/projects/packages/my-jetpack/package.json +++ b/projects/packages/my-jetpack/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "@automattic/jetpack-my-jetpack", - "version": "4.35.4", + "version": "4.35.5", "description": "WP Admin page with information and configuration shared among all Jetpack stand-alone plugins", "homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/packages/my-jetpack/#readme", "bugs": { diff --git a/projects/packages/my-jetpack/src/class-initializer.php b/projects/packages/my-jetpack/src/class-initializer.php index 4d7fb42a06fa7..334180f6695e9 100644 --- a/projects/packages/my-jetpack/src/class-initializer.php +++ b/projects/packages/my-jetpack/src/class-initializer.php @@ -42,7 +42,7 @@ class Initializer { * * @var string */ - const PACKAGE_VERSION = '4.35.4'; + const PACKAGE_VERSION = '4.35.5'; /** * HTML container ID for the IDC screen on My Jetpack page. diff --git a/projects/packages/publicize/CHANGELOG.md b/projects/packages/publicize/CHANGELOG.md index 164baac0a5903..fbaf1b8aefe93 100644 --- a/projects/packages/publicize/CHANGELOG.md +++ b/projects/packages/publicize/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.52.3] - 2024-09-10 +### Changed +- Updated package dependencies. [#39302] + ## [0.52.2] - 2024-09-09 ### Changed - Internal updates. @@ -690,6 +694,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Updated package dependencies. - Update package.json metadata. +[0.52.3]: https://github.com/Automattic/jetpack-publicize/compare/v0.52.2...v0.52.3 [0.52.2]: https://github.com/Automattic/jetpack-publicize/compare/v0.52.1...v0.52.2 [0.52.1]: https://github.com/Automattic/jetpack-publicize/compare/v0.52.0...v0.52.1 [0.52.0]: https://github.com/Automattic/jetpack-publicize/compare/v0.51.0...v0.52.0 diff --git a/projects/packages/publicize/changelog/renovate-wordpress-monorepo b/projects/packages/publicize/changelog/renovate-wordpress-monorepo deleted file mode 100644 index c47cb18e82997..0000000000000 --- a/projects/packages/publicize/changelog/renovate-wordpress-monorepo +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: changed - -Updated package dependencies. diff --git a/projects/packages/publicize/package.json b/projects/packages/publicize/package.json index 9468062f21424..5749e32b9b7b5 100644 --- a/projects/packages/publicize/package.json +++ b/projects/packages/publicize/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "@automattic/jetpack-publicize", - "version": "0.52.2", + "version": "0.52.3", "description": "Publicize makes it easy to share your site’s posts on several social media networks automatically when you publish a new post.", "homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/packages/publicize/#readme", "bugs": { diff --git a/projects/packages/search/CHANGELOG.md b/projects/packages/search/CHANGELOG.md index 55f2c6ecf58be..3330604cd3e6a 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.45.3] - 2024-09-10 +### Changed +- Updated package dependencies. [#39302] + ## [0.45.2] - 2024-09-09 ### Changed - Updated package dependencies. [#39278] @@ -1030,6 +1034,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.45.3]: https://github.com/Automattic/jetpack-search/compare/v0.45.2...v0.45.3 [0.45.2]: https://github.com/Automattic/jetpack-search/compare/v0.45.1...v0.45.2 [0.45.1]: https://github.com/Automattic/jetpack-search/compare/v0.45.0...v0.45.1 [0.45.0]: https://github.com/Automattic/jetpack-search/compare/v0.44.17...v0.45.0 diff --git a/projects/packages/search/changelog/renovate-wordpress-monorepo b/projects/packages/search/changelog/renovate-wordpress-monorepo deleted file mode 100644 index c47cb18e82997..0000000000000 --- a/projects/packages/search/changelog/renovate-wordpress-monorepo +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: changed - -Updated package dependencies. diff --git a/projects/packages/search/package.json b/projects/packages/search/package.json index b4e43da1f750b..56ebbe24ed3ca 100644 --- a/projects/packages/search/package.json +++ b/projects/packages/search/package.json @@ -1,6 +1,6 @@ { "name": "jetpack-search", - "version": "0.45.2", + "version": "0.45.3", "description": "Package for Jetpack Search products", "main": "main.js", "directories": { diff --git a/projects/packages/search/src/class-package.php b/projects/packages/search/src/class-package.php index 96e887cb090e0..c240b20abde60 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.45.2'; + const VERSION = '0.45.3'; const SLUG = 'search'; /** diff --git a/projects/packages/sync/CHANGELOG.md b/projects/packages/sync/CHANGELOG.md index cef7cc47036b2..d5639c68aaaea 100644 --- a/projects/packages/sync/CHANGELOG.md +++ b/projects/packages/sync/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). +## [3.12.0] - 2024-09-10 +### Added +- Sync: Enable Full Sync for woocommerce_hpos_orders module [#39297] + ## [3.11.0] - 2024-09-09 ### Added - Sync: Enable Full Sync Immediately for woocommerce module [#39254] @@ -1280,6 +1284,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Packages: Move sync to a classmapped package +[3.12.0]: https://github.com/Automattic/jetpack-sync/compare/v3.11.0...v3.12.0 [3.11.0]: https://github.com/Automattic/jetpack-sync/compare/v3.10.0...v3.11.0 [3.10.0]: https://github.com/Automattic/jetpack-sync/compare/v3.9.1...v3.10.0 [3.9.1]: https://github.com/Automattic/jetpack-sync/compare/v3.9.0...v3.9.1 diff --git a/projects/packages/sync/changelog/update-sync-enable-hpos-module-full-sync b/projects/packages/sync/changelog/update-sync-enable-hpos-module-full-sync deleted file mode 100644 index c1724170b148f..0000000000000 --- a/projects/packages/sync/changelog/update-sync-enable-hpos-module-full-sync +++ /dev/null @@ -1,4 +0,0 @@ -Significance: minor -Type: added - -Sync: Enable Full Sync for woocommerce_hpos_orders module diff --git a/projects/packages/sync/composer.json b/projects/packages/sync/composer.json index 4fc1ff6dcb660..3307ae6bad3f6 100644 --- a/projects/packages/sync/composer.json +++ b/projects/packages/sync/composer.json @@ -59,7 +59,7 @@ "link-template": "https://github.com/Automattic/jetpack-sync/compare/v${old}...v${new}" }, "branch-alias": { - "dev-trunk": "3.11.x-dev" + "dev-trunk": "3.12.x-dev" }, "dependencies": { "test-only": [ diff --git a/projects/packages/sync/src/class-package-version.php b/projects/packages/sync/src/class-package-version.php index 2ba094847f5a0..8e633a7d745a8 100644 --- a/projects/packages/sync/src/class-package-version.php +++ b/projects/packages/sync/src/class-package-version.php @@ -12,7 +12,7 @@ */ class Package_Version { - const PACKAGE_VERSION = '3.11.0'; + const PACKAGE_VERSION = '3.12.0'; const PACKAGE_SLUG = 'sync'; diff --git a/projects/packages/videopress/CHANGELOG.md b/projects/packages/videopress/CHANGELOG.md index 937112caa8973..0b00fda8d34b6 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.24.7] - 2024-09-10 +### Changed +- Updated package dependencies. [#39302] + ## [0.24.6] - 2024-09-09 ### Changed - Updated package dependencies. [#39278] @@ -1432,6 +1436,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added - Created empty package [#24952] +[0.24.7]: https://github.com/Automattic/jetpack-videopress/compare/v0.24.6...v0.24.7 [0.24.6]: https://github.com/Automattic/jetpack-videopress/compare/v0.24.5...v0.24.6 [0.24.5]: https://github.com/Automattic/jetpack-videopress/compare/v0.24.4...v0.24.5 [0.24.4]: https://github.com/Automattic/jetpack-videopress/compare/v0.24.3...v0.24.4 diff --git a/projects/packages/videopress/changelog/renovate-wordpress-monorepo b/projects/packages/videopress/changelog/renovate-wordpress-monorepo deleted file mode 100644 index c47cb18e82997..0000000000000 --- a/projects/packages/videopress/changelog/renovate-wordpress-monorepo +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: changed - -Updated package dependencies. diff --git a/projects/packages/videopress/package.json b/projects/packages/videopress/package.json index f94d298a2ce62..b93646e6fe222 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.24.6", + "version": "0.24.7", "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 e876393f89a34..051630746c297 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.24.6'; + const PACKAGE_VERSION = '0.24.7'; const PACKAGE_SLUG = 'videopress'; diff --git a/projects/packages/woocommerce-analytics/CHANGELOG.md b/projects/packages/woocommerce-analytics/CHANGELOG.md index b36b368f11295..d7d315309b0fb 100644 --- a/projects/packages/woocommerce-analytics/CHANGELOG.md +++ b/projects/packages/woocommerce-analytics/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.1.10] - 2024-09-10 +### Fixed +- Check whether `\WC_Install::STORE_ID_OPTION` is defined before attempting to use it, for compatibility with WooCommerce <8.4.0. [#39306] + ## [0.1.9] - 2024-09-09 ### Added - Add Store ID property in common woocommerce analytics properties. [#38857] @@ -51,6 +55,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Fix namespace issue with WooCommerce class reference. [#35857] - General: bail early when WooCommerce is not active. [#36278] +[0.1.10]: https://github.com/Automattic/woocommerce-analytics/compare/v0.1.9...v0.1.10 [0.1.9]: https://github.com/Automattic/woocommerce-analytics/compare/v0.1.8...v0.1.9 [0.1.8]: https://github.com/Automattic/woocommerce-analytics/compare/v0.1.7...v0.1.8 [0.1.7]: https://github.com/Automattic/woocommerce-analytics/compare/v0.1.6...v0.1.7 diff --git a/projects/packages/woocommerce-analytics/changelog/fix-undefined-WC_Install-STORE_ID_OPTION b/projects/packages/woocommerce-analytics/changelog/fix-undefined-WC_Install-STORE_ID_OPTION deleted file mode 100644 index f795aa01aab2e..0000000000000 --- a/projects/packages/woocommerce-analytics/changelog/fix-undefined-WC_Install-STORE_ID_OPTION +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: fixed - -Check whether `\WC_Install::STORE_ID_OPTION` is defined before attempting to use it, for compatibility with WooCommerce <8.4.0. diff --git a/projects/packages/woocommerce-analytics/src/class-woocommerce-analytics.php b/projects/packages/woocommerce-analytics/src/class-woocommerce-analytics.php index acefc3331b39d..f134639b9ebf5 100644 --- a/projects/packages/woocommerce-analytics/src/class-woocommerce-analytics.php +++ b/projects/packages/woocommerce-analytics/src/class-woocommerce-analytics.php @@ -20,7 +20,7 @@ class Woocommerce_Analytics { /** * Package version. */ - const PACKAGE_VERSION = '0.1.9'; + const PACKAGE_VERSION = '0.1.10'; /** * Initializer. diff --git a/projects/packages/wordads/CHANGELOG.md b/projects/packages/wordads/CHANGELOG.md index fc08853e1462e..033a8f2904c6a 100644 --- a/projects/packages/wordads/CHANGELOG.md +++ b/projects/packages/wordads/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.3.31] - 2024-09-10 +### Changed +- Updated package dependencies. [#39302] + ## [0.3.30] - 2024-09-09 ### Changed - Updated package dependencies. [#39176] [#39278] @@ -400,6 +404,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - PHPCS: Fix `WordPress.Security.ValidatedSanitizedInput` - Updated package dependencies. +[0.3.31]: https://github.com/Automattic/jetpack-wordads/compare/v0.3.30...v0.3.31 [0.3.30]: https://github.com/Automattic/jetpack-wordads/compare/v0.3.29...v0.3.30 [0.3.29]: https://github.com/Automattic/jetpack-wordads/compare/v0.3.28...v0.3.29 [0.3.28]: https://github.com/Automattic/jetpack-wordads/compare/v0.3.27...v0.3.28 diff --git a/projects/packages/wordads/changelog/renovate-wordpress-monorepo#2 b/projects/packages/wordads/changelog/renovate-wordpress-monorepo#2 deleted file mode 100644 index c47cb18e82997..0000000000000 --- a/projects/packages/wordads/changelog/renovate-wordpress-monorepo#2 +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: changed - -Updated package dependencies. diff --git a/projects/packages/wordads/package.json b/projects/packages/wordads/package.json index 845e181ed554b..0c639b0e5cbaf 100644 --- a/projects/packages/wordads/package.json +++ b/projects/packages/wordads/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "@automattic/jetpack-wordads", - "version": "0.3.30", + "version": "0.3.31", "description": "Earn income by allowing Jetpack to display high quality ads.", "main": "main.js", "homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/packages/wordads/#readme", diff --git a/projects/packages/wordads/src/class-package.php b/projects/packages/wordads/src/class-package.php index fde0ad6c93556..c769bdf8af620 100644 --- a/projects/packages/wordads/src/class-package.php +++ b/projects/packages/wordads/src/class-package.php @@ -11,7 +11,7 @@ * WordAds package general information */ class Package { - const VERSION = '0.3.30'; + const VERSION = '0.3.31'; const SLUG = 'wordads'; /** diff --git a/projects/js-packages/ai-client/changelog/renovate-wordpress-monorepo#2 b/projects/plugins/automattic-for-agencies-client/changelog/prerelease#12 similarity index 51% rename from projects/js-packages/ai-client/changelog/renovate-wordpress-monorepo#2 rename to projects/plugins/automattic-for-agencies-client/changelog/prerelease#12 index c47cb18e82997..9aa70e3ec1f75 100644 --- a/projects/js-packages/ai-client/changelog/renovate-wordpress-monorepo#2 +++ b/projects/plugins/automattic-for-agencies-client/changelog/prerelease#12 @@ -1,4 +1,5 @@ Significance: patch Type: changed +Comment: Updated composer.lock. + -Updated package dependencies. diff --git a/projects/plugins/automattic-for-agencies-client/composer.lock b/projects/plugins/automattic-for-agencies-client/composer.lock index 81d62e2bf2729..9f805c06477e0 100644 --- a/projects/plugins/automattic-for-agencies-client/composer.lock +++ b/projects/plugins/automattic-for-agencies-client/composer.lock @@ -865,7 +865,7 @@ "dist": { "type": "path", "url": "../../packages/sync", - "reference": "57d842942e2080d7a46033dde9b7b1adbccef7a1" + "reference": "aaa8654c8128853de667f1a7184d481b7c0cc026" }, "require": { "automattic/jetpack-connection": "@dev", @@ -898,7 +898,7 @@ "link-template": "https://github.com/Automattic/jetpack-sync/compare/v${old}...v${new}" }, "branch-alias": { - "dev-trunk": "3.11.x-dev" + "dev-trunk": "3.12.x-dev" }, "dependencies": { "test-only": [ diff --git a/projects/js-packages/licensing/changelog/renovate-wordpress-monorepo b/projects/plugins/backup/changelog/prerelease#2 similarity index 51% rename from projects/js-packages/licensing/changelog/renovate-wordpress-monorepo rename to projects/plugins/backup/changelog/prerelease#2 index c47cb18e82997..9aa70e3ec1f75 100644 --- a/projects/js-packages/licensing/changelog/renovate-wordpress-monorepo +++ b/projects/plugins/backup/changelog/prerelease#2 @@ -1,4 +1,5 @@ Significance: patch Type: changed +Comment: Updated composer.lock. + -Updated package dependencies. diff --git a/projects/plugins/backup/composer.lock b/projects/plugins/backup/composer.lock index 74d2949669e27..7ea4bec14d520 100644 --- a/projects/plugins/backup/composer.lock +++ b/projects/plugins/backup/composer.lock @@ -1743,7 +1743,7 @@ "dist": { "type": "path", "url": "../../packages/sync", - "reference": "57d842942e2080d7a46033dde9b7b1adbccef7a1" + "reference": "aaa8654c8128853de667f1a7184d481b7c0cc026" }, "require": { "automattic/jetpack-connection": "@dev", @@ -1776,7 +1776,7 @@ "link-template": "https://github.com/Automattic/jetpack-sync/compare/v${old}...v${new}" }, "branch-alias": { - "dev-trunk": "3.11.x-dev" + "dev-trunk": "3.12.x-dev" }, "dependencies": { "test-only": [ diff --git a/projects/js-packages/partner-coupon/changelog/renovate-wordpress-monorepo#2 b/projects/plugins/boost/changelog/prerelease#11 similarity index 51% rename from projects/js-packages/partner-coupon/changelog/renovate-wordpress-monorepo#2 rename to projects/plugins/boost/changelog/prerelease#11 index c47cb18e82997..9aa70e3ec1f75 100644 --- a/projects/js-packages/partner-coupon/changelog/renovate-wordpress-monorepo#2 +++ b/projects/plugins/boost/changelog/prerelease#11 @@ -1,4 +1,5 @@ Significance: patch Type: changed +Comment: Updated composer.lock. + -Updated package dependencies. diff --git a/projects/plugins/boost/composer.lock b/projects/plugins/boost/composer.lock index 96871adceb9e8..73ea97a638685 100644 --- a/projects/plugins/boost/composer.lock +++ b/projects/plugins/boost/composer.lock @@ -1794,7 +1794,7 @@ "dist": { "type": "path", "url": "../../packages/sync", - "reference": "57d842942e2080d7a46033dde9b7b1adbccef7a1" + "reference": "aaa8654c8128853de667f1a7184d481b7c0cc026" }, "require": { "automattic/jetpack-connection": "@dev", @@ -1827,7 +1827,7 @@ "link-template": "https://github.com/Automattic/jetpack-sync/compare/v${old}...v${new}" }, "branch-alias": { - "dev-trunk": "3.11.x-dev" + "dev-trunk": "3.12.x-dev" }, "dependencies": { "test-only": [ diff --git a/projects/plugins/jetpack/CHANGELOG.md b/projects/plugins/jetpack/CHANGELOG.md index cbfec31daca8f..92e6eebe9bc28 100644 --- a/projects/plugins/jetpack/CHANGELOG.md +++ b/projects/plugins/jetpack/CHANGELOG.md @@ -2,6 +2,14 @@ ### This is a list detailing changes for all Jetpack releases. +## 13.9-a.3 - 2024-09-10 +### Bug fixes +- WooCommerce Analytics: Check whether a constant is defined before attempting to use it, for compatibility with WooCommerce <8.4.0. [#39306] + +### Other changes +- Premium Content: Remove checks for deprecated function. [#39319] +- Updated package dependencies. [#39302] + ## 13.9-a.1 - 2024-09-09 ### Bug fixes - AI Assistant: Remove autofocus on extended blocks while previewing. [#39216] diff --git a/projects/plugins/jetpack/changelog/add-remove-deprecated-checks b/projects/plugins/jetpack/changelog/add-remove-deprecated-checks deleted file mode 100644 index ecd1891a2c5e7..0000000000000 --- a/projects/plugins/jetpack/changelog/add-remove-deprecated-checks +++ /dev/null @@ -1,4 +0,0 @@ -Significance: minor -Type: other - -Remove checks for deprecated function diff --git a/projects/plugins/jetpack/changelog/renovate-wordpress-monorepo#2 b/projects/plugins/jetpack/changelog/renovate-wordpress-monorepo#2 deleted file mode 100644 index 1eaea6a769e84..0000000000000 --- a/projects/plugins/jetpack/changelog/renovate-wordpress-monorepo#2 +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: other - -Updated package dependencies. diff --git a/projects/plugins/jetpack/composer.json b/projects/plugins/jetpack/composer.json index 50c3229b4533c..317aed6e92cf2 100644 --- a/projects/plugins/jetpack/composer.json +++ b/projects/plugins/jetpack/composer.json @@ -102,7 +102,7 @@ "platform": { "ext-intl": "0.0.0" }, - "autoloader-suffix": "f11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ13_9_a_1", + "autoloader-suffix": "f11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ13_9_a_3", "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 75b7fe656bd8c..e6594da1abc9e 100644 --- a/projects/plugins/jetpack/composer.lock +++ b/projects/plugins/jetpack/composer.lock @@ -2686,7 +2686,7 @@ "dist": { "type": "path", "url": "../../packages/sync", - "reference": "57d842942e2080d7a46033dde9b7b1adbccef7a1" + "reference": "aaa8654c8128853de667f1a7184d481b7c0cc026" }, "require": { "automattic/jetpack-connection": "@dev", @@ -2719,7 +2719,7 @@ "link-template": "https://github.com/Automattic/jetpack-sync/compare/v${old}...v${new}" }, "branch-alias": { - "dev-trunk": "3.11.x-dev" + "dev-trunk": "3.12.x-dev" }, "dependencies": { "test-only": [ diff --git a/projects/plugins/jetpack/jetpack.php b/projects/plugins/jetpack/jetpack.php index 67c327fbcff62..89a721348b3fa 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: 13.9-a.1 + * Version: 13.9-a.3 * Author URI: https://jetpack.com * License: GPL2+ * Text Domain: jetpack @@ -34,7 +34,7 @@ define( 'JETPACK__MINIMUM_WP_VERSION', '6.5' ); define( 'JETPACK__MINIMUM_PHP_VERSION', '7.0' ); -define( 'JETPACK__VERSION', '13.9-a.1' ); +define( 'JETPACK__VERSION', '13.9-a.3' ); /** * Constant used to fetch the connection owner token diff --git a/projects/plugins/jetpack/package.json b/projects/plugins/jetpack/package.json index dd39f81ea5969..0958c91707bb3 100644 --- a/projects/plugins/jetpack/package.json +++ b/projects/plugins/jetpack/package.json @@ -1,6 +1,6 @@ { "name": "Jetpack", - "version": "13.9.0-a.1", + "version": "13.9.0-a.3", "private": true, "description": "[Jetpack](https://jetpack.com/) is a WordPress plugin that supercharges your self-hosted WordPress site with the awesome cloud power of [WordPress.com](https://wordpress.com).", "homepage": "https://jetpack.com", diff --git a/projects/plugins/jetpack/readme.txt b/projects/plugins/jetpack/readme.txt index 3b848dea02088..48e94626cdf1a 100644 --- a/projects/plugins/jetpack/readme.txt +++ b/projects/plugins/jetpack/readme.txt @@ -326,15 +326,9 @@ Jetpack Backup can do a full website migration to a new host, migrate theme file == Changelog == -### 13.9-a.1 - 2024-09-09 +### 13.9-a.3 - 2024-09-10 #### Bug fixes -- AI Assistant: Remove autofocus on extended blocks while previewing. -- Ai Assistant: Do not show Jetpack AI excerpt UI outside of correct context. -- AI Assistant: Fix Write Brief highlight position on spelling mistake following ignored special word. -- AI Content Lens: Fix the feature of the AI Content Lens is gone. -- Hosting Configuration: Make the menu title under the settings the same as the destination. -- Jetpack REST API: Fix missing requirement in admin-menu endpoint. -- Sidebar: Show correct product name for "VaultPress Backup". +- WooCommerce Analytics: Check whether a constant is defined before attempting to use it, for compatibility with WooCommerce <8.4.0. -------- diff --git a/projects/js-packages/publicize-components/changelog/renovate-wordpress-monorepo b/projects/plugins/migration/changelog/prerelease#16 similarity index 51% rename from projects/js-packages/publicize-components/changelog/renovate-wordpress-monorepo rename to projects/plugins/migration/changelog/prerelease#16 index c47cb18e82997..9aa70e3ec1f75 100644 --- a/projects/js-packages/publicize-components/changelog/renovate-wordpress-monorepo +++ b/projects/plugins/migration/changelog/prerelease#16 @@ -1,4 +1,5 @@ Significance: patch Type: changed +Comment: Updated composer.lock. + -Updated package dependencies. diff --git a/projects/plugins/migration/composer.lock b/projects/plugins/migration/composer.lock index 4b5c8c550f3f0..f8de3bd692343 100644 --- a/projects/plugins/migration/composer.lock +++ b/projects/plugins/migration/composer.lock @@ -1743,7 +1743,7 @@ "dist": { "type": "path", "url": "../../packages/sync", - "reference": "57d842942e2080d7a46033dde9b7b1adbccef7a1" + "reference": "aaa8654c8128853de667f1a7184d481b7c0cc026" }, "require": { "automattic/jetpack-connection": "@dev", @@ -1776,7 +1776,7 @@ "link-template": "https://github.com/Automattic/jetpack-sync/compare/v${old}...v${new}" }, "branch-alias": { - "dev-trunk": "3.11.x-dev" + "dev-trunk": "3.12.x-dev" }, "dependencies": { "test-only": [ diff --git a/projects/plugins/mu-wpcom-plugin/changelog/prerelease#7 b/projects/plugins/mu-wpcom-plugin/changelog/prerelease#7 new file mode 100644 index 0000000000000..9aa70e3ec1f75 --- /dev/null +++ b/projects/plugins/mu-wpcom-plugin/changelog/prerelease#7 @@ -0,0 +1,5 @@ +Significance: patch +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 7dfa77949f463..6429d56608c9e 100644 --- a/projects/plugins/mu-wpcom-plugin/composer.lock +++ b/projects/plugins/mu-wpcom-plugin/composer.lock @@ -1509,7 +1509,7 @@ "dist": { "type": "path", "url": "../../packages/sync", - "reference": "57d842942e2080d7a46033dde9b7b1adbccef7a1" + "reference": "aaa8654c8128853de667f1a7184d481b7c0cc026" }, "require": { "automattic/jetpack-connection": "@dev", @@ -1542,7 +1542,7 @@ "link-template": "https://github.com/Automattic/jetpack-sync/compare/v${old}...v${new}" }, "branch-alias": { - "dev-trunk": "3.11.x-dev" + "dev-trunk": "3.12.x-dev" }, "dependencies": { "test-only": [ diff --git a/projects/plugins/protect/changelog/prerelease#2 b/projects/plugins/protect/changelog/prerelease#2 new file mode 100644 index 0000000000000..9aa70e3ec1f75 --- /dev/null +++ b/projects/plugins/protect/changelog/prerelease#2 @@ -0,0 +1,5 @@ +Significance: patch +Type: changed +Comment: Updated composer.lock. + + diff --git a/projects/plugins/protect/composer.lock b/projects/plugins/protect/composer.lock index da4054b58fde9..f40e053e8eb36 100644 --- a/projects/plugins/protect/composer.lock +++ b/projects/plugins/protect/composer.lock @@ -1656,7 +1656,7 @@ "dist": { "type": "path", "url": "../../packages/sync", - "reference": "57d842942e2080d7a46033dde9b7b1adbccef7a1" + "reference": "aaa8654c8128853de667f1a7184d481b7c0cc026" }, "require": { "automattic/jetpack-connection": "@dev", @@ -1689,7 +1689,7 @@ "link-template": "https://github.com/Automattic/jetpack-sync/compare/v${old}...v${new}" }, "branch-alias": { - "dev-trunk": "3.11.x-dev" + "dev-trunk": "3.12.x-dev" }, "dependencies": { "test-only": [ diff --git a/projects/plugins/search/changelog/prerelease#2 b/projects/plugins/search/changelog/prerelease#2 new file mode 100644 index 0000000000000..9aa70e3ec1f75 --- /dev/null +++ b/projects/plugins/search/changelog/prerelease#2 @@ -0,0 +1,5 @@ +Significance: patch +Type: changed +Comment: Updated composer.lock. + + diff --git a/projects/plugins/search/composer.lock b/projects/plugins/search/composer.lock index 72b3eced69a28..1eda35ab73896 100644 --- a/projects/plugins/search/composer.lock +++ b/projects/plugins/search/composer.lock @@ -1748,7 +1748,7 @@ "dist": { "type": "path", "url": "../../packages/sync", - "reference": "57d842942e2080d7a46033dde9b7b1adbccef7a1" + "reference": "aaa8654c8128853de667f1a7184d481b7c0cc026" }, "require": { "automattic/jetpack-connection": "@dev", @@ -1781,7 +1781,7 @@ "link-template": "https://github.com/Automattic/jetpack-sync/compare/v${old}...v${new}" }, "branch-alias": { - "dev-trunk": "3.11.x-dev" + "dev-trunk": "3.12.x-dev" }, "dependencies": { "test-only": [ diff --git a/projects/plugins/social/changelog/prerelease#2 b/projects/plugins/social/changelog/prerelease#2 new file mode 100644 index 0000000000000..9aa70e3ec1f75 --- /dev/null +++ b/projects/plugins/social/changelog/prerelease#2 @@ -0,0 +1,5 @@ +Significance: patch +Type: changed +Comment: Updated composer.lock. + + diff --git a/projects/plugins/social/composer.lock b/projects/plugins/social/composer.lock index 7f7e61de85272..239f952691716 100644 --- a/projects/plugins/social/composer.lock +++ b/projects/plugins/social/composer.lock @@ -1739,7 +1739,7 @@ "dist": { "type": "path", "url": "../../packages/sync", - "reference": "57d842942e2080d7a46033dde9b7b1adbccef7a1" + "reference": "aaa8654c8128853de667f1a7184d481b7c0cc026" }, "require": { "automattic/jetpack-connection": "@dev", @@ -1772,7 +1772,7 @@ "link-template": "https://github.com/Automattic/jetpack-sync/compare/v${old}...v${new}" }, "branch-alias": { - "dev-trunk": "3.11.x-dev" + "dev-trunk": "3.12.x-dev" }, "dependencies": { "test-only": [ diff --git a/projects/plugins/starter-plugin/changelog/prerelease#15 b/projects/plugins/starter-plugin/changelog/prerelease#15 new file mode 100644 index 0000000000000..9aa70e3ec1f75 --- /dev/null +++ b/projects/plugins/starter-plugin/changelog/prerelease#15 @@ -0,0 +1,5 @@ +Significance: patch +Type: changed +Comment: Updated composer.lock. + + diff --git a/projects/plugins/starter-plugin/composer.lock b/projects/plugins/starter-plugin/composer.lock index 8235545b0a614..b8421919aadca 100644 --- a/projects/plugins/starter-plugin/composer.lock +++ b/projects/plugins/starter-plugin/composer.lock @@ -1599,7 +1599,7 @@ "dist": { "type": "path", "url": "../../packages/sync", - "reference": "57d842942e2080d7a46033dde9b7b1adbccef7a1" + "reference": "aaa8654c8128853de667f1a7184d481b7c0cc026" }, "require": { "automattic/jetpack-connection": "@dev", @@ -1632,7 +1632,7 @@ "link-template": "https://github.com/Automattic/jetpack-sync/compare/v${old}...v${new}" }, "branch-alias": { - "dev-trunk": "3.11.x-dev" + "dev-trunk": "3.12.x-dev" }, "dependencies": { "test-only": [ diff --git a/projects/plugins/videopress/changelog/prerelease#2 b/projects/plugins/videopress/changelog/prerelease#2 new file mode 100644 index 0000000000000..9aa70e3ec1f75 --- /dev/null +++ b/projects/plugins/videopress/changelog/prerelease#2 @@ -0,0 +1,5 @@ +Significance: patch +Type: changed +Comment: Updated composer.lock. + + diff --git a/projects/plugins/videopress/composer.lock b/projects/plugins/videopress/composer.lock index 9533960497cc5..afb4885e7a2fe 100644 --- a/projects/plugins/videopress/composer.lock +++ b/projects/plugins/videopress/composer.lock @@ -1599,7 +1599,7 @@ "dist": { "type": "path", "url": "../../packages/sync", - "reference": "57d842942e2080d7a46033dde9b7b1adbccef7a1" + "reference": "aaa8654c8128853de667f1a7184d481b7c0cc026" }, "require": { "automattic/jetpack-connection": "@dev", @@ -1632,7 +1632,7 @@ "link-template": "https://github.com/Automattic/jetpack-sync/compare/v${old}...v${new}" }, "branch-alias": { - "dev-trunk": "3.11.x-dev" + "dev-trunk": "3.12.x-dev" }, "dependencies": { "test-only": [ diff --git a/projects/plugins/wpcomsh/changelog/prerelease b/projects/plugins/wpcomsh/changelog/prerelease new file mode 100644 index 0000000000000..9aa70e3ec1f75 --- /dev/null +++ b/projects/plugins/wpcomsh/changelog/prerelease @@ -0,0 +1,5 @@ +Significance: patch +Type: changed +Comment: Updated composer.lock. + + diff --git a/projects/plugins/wpcomsh/composer.lock b/projects/plugins/wpcomsh/composer.lock index 0954f450dbf66..b24a655647d5d 100644 --- a/projects/plugins/wpcomsh/composer.lock +++ b/projects/plugins/wpcomsh/composer.lock @@ -1708,7 +1708,7 @@ "dist": { "type": "path", "url": "../../packages/sync", - "reference": "57d842942e2080d7a46033dde9b7b1adbccef7a1" + "reference": "aaa8654c8128853de667f1a7184d481b7c0cc026" }, "require": { "automattic/jetpack-connection": "@dev", @@ -1741,7 +1741,7 @@ "link-template": "https://github.com/Automattic/jetpack-sync/compare/v${old}...v${new}" }, "branch-alias": { - "dev-trunk": "3.11.x-dev" + "dev-trunk": "3.12.x-dev" }, "dependencies": { "test-only": [