From ed8775d0be3e26e02a11240f2fdcd808b8acbeb4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dami=C3=A1n=20Su=C3=A1rez?= Date: Wed, 11 Jan 2023 15:47:21 +0000 Subject: [PATCH 01/32] VideoPress: fix render player once file uploads issue (#28296) * update timeour reference when cleaning the timer * changelog --- .../changelog/update-videopress-fix-rendering-player | 4 ++++ .../src/client/block-editor/blocks/video/edit.tsx | 8 ++++++-- 2 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 projects/packages/videopress/changelog/update-videopress-fix-rendering-player diff --git a/projects/packages/videopress/changelog/update-videopress-fix-rendering-player b/projects/packages/videopress/changelog/update-videopress-fix-rendering-player new file mode 100644 index 0000000000000..25259c0025fa2 --- /dev/null +++ b/projects/packages/videopress/changelog/update-videopress-fix-rendering-player @@ -0,0 +1,4 @@ +Significance: patch +Type: fixed + +VideoPress: fix render player once file uploads issue diff --git a/projects/packages/videopress/src/client/block-editor/blocks/video/edit.tsx b/projects/packages/videopress/src/client/block-editor/blocks/video/edit.tsx index 576759a6d2318..4b77a4027d919 100644 --- a/projects/packages/videopress/src/client/block-editor/blocks/video/edit.tsx +++ b/projects/packages/videopress/src/client/block-editor/blocks/video/edit.tsx @@ -265,7 +265,7 @@ export default function VideoPressEdit( { */ const [ generatingPreviewCounter, setGeneratingPreviewCounter ] = useState( 0 ); - const rePreviewAttemptTimer = useRef< NodeJS.Timeout >(); + const rePreviewAttemptTimer = useRef< NodeJS.Timeout | void >(); /** * Clean the generating process timer. @@ -277,7 +277,11 @@ export default function VideoPressEdit( { return; } - clearInterval( rePreviewAttemptTimer.current ); + /* + * Clean the timer, and updates the reference + * to force a new attempt in case the preview is not available. + */ + rePreviewAttemptTimer.current = clearInterval( rePreviewAttemptTimer.current ); } useEffect( () => { From bc032bedff264e1a284a6338c5746b46cd6c9020 Mon Sep 17 00:00:00 2001 From: Adrian Moldovan <3854374+adimoldovan@users.noreply.github.com> Date: Wed, 11 Jan 2023 18:23:52 +0200 Subject: [PATCH 02/32] E2E tests: new test for subscribe block (#28289) --- .../jetpack/changelog/e2e-subscription-block | 4 +++ .../e2e/specs/blocks/free-blocks.test.js | 28 +++++++++++++++ .../pages/wp-admin/blocks/subscribe.js | 36 +++++++++++++++++++ tools/e2e-commons/pages/wp-admin/index.js | 1 + 4 files changed, 69 insertions(+) create mode 100644 projects/plugins/jetpack/changelog/e2e-subscription-block create mode 100644 tools/e2e-commons/pages/wp-admin/blocks/subscribe.js diff --git a/projects/plugins/jetpack/changelog/e2e-subscription-block b/projects/plugins/jetpack/changelog/e2e-subscription-block new file mode 100644 index 0000000000000..c12916dd8b169 --- /dev/null +++ b/projects/plugins/jetpack/changelog/e2e-subscription-block @@ -0,0 +1,4 @@ +Significance: patch +Type: other + +E2E tests: add test for subscribe block diff --git a/projects/plugins/jetpack/tests/e2e/specs/blocks/free-blocks.test.js b/projects/plugins/jetpack/tests/e2e/specs/blocks/free-blocks.test.js index 495d8a3256ed7..54b11e7f39adc 100644 --- a/projects/plugins/jetpack/tests/e2e/specs/blocks/free-blocks.test.js +++ b/projects/plugins/jetpack/tests/e2e/specs/blocks/free-blocks.test.js @@ -5,6 +5,7 @@ import { EventbriteBlock, FormBlock, TiledGalleryBlock, + SubscribeBlock, } from 'jetpack-e2e-commons/pages/wp-admin/index.js'; import { PostFrontendPage } from 'jetpack-e2e-commons/pages/index.js'; import config from 'config'; @@ -139,4 +140,31 @@ test.describe.parallel( 'Free blocks', () => { ).toBeTruthy(); } ); } ); + + test( 'Subscribe block', async ( { page } ) => { + await prerequisitesBuilder( page ).withActiveModules( [ 'subscriptions' ] ).build(); + + await test.step( 'Can visit the block editor and add a Subscribe block', async () => { + const blockId = await blockEditor.insertBlock( + SubscribeBlock.name(), + SubscribeBlock.title() + ); + const block = new SubscribeBlock( blockId, page ); + await block.checkBlock(); + } ); + + await test.step( 'Can publish a post with a Subscribe block', async () => { + await blockEditor.selectPostTitle(); + await blockEditor.publishPost(); + await blockEditor.viewPost(); + } ); + + await test.step( 'Can assert that Subscribe block is rendered', async () => { + const frontend = await PostFrontendPage.init( page ); + expect( + await frontend.isRenderedBlockPresent( SubscribeBlock ), + 'Block should be displayed' + ).toBeTruthy(); + } ); + } ); } ); diff --git a/tools/e2e-commons/pages/wp-admin/blocks/subscribe.js b/tools/e2e-commons/pages/wp-admin/blocks/subscribe.js new file mode 100644 index 0000000000000..f4a67561b7ef2 --- /dev/null +++ b/tools/e2e-commons/pages/wp-admin/blocks/subscribe.js @@ -0,0 +1,36 @@ +import PageActions from '../../page-actions.js'; + +export default class SubscribeBlock extends PageActions { + constructor( blockId, page ) { + super( page, 'Subscribe' ); + this.blockTitle = SubscribeBlock.title(); + this.page = page; + this.blockSelector = '#block-' + blockId; + } + + static name() { + return 'subscriptions'; + } + + static title() { + return 'Subscribe'; + } + + async checkBlock() { + await this.page.waitForResponse( + r => + decodeURIComponent( r.url() ).match( /wpcom\/v2\/subscribers\/counts/ ) && + r.status() === 200 + ); + } + + /** + * Checks whether block is rendered on frontend + * + * @param {page} page Playwright page instance + */ + static async isRendered( page ) { + await page.waitForSelector( '.wp-block-jetpack-subscriptions__container #subscribe-field-1' ); + await page.waitForSelector( '.wp-block-jetpack-subscriptions__container button' ); + } +} diff --git a/tools/e2e-commons/pages/wp-admin/index.js b/tools/e2e-commons/pages/wp-admin/index.js index 56921e618cebb..cf86ba9c78cf4 100644 --- a/tools/e2e-commons/pages/wp-admin/index.js +++ b/tools/e2e-commons/pages/wp-admin/index.js @@ -6,6 +6,7 @@ export { default as SimplePaymentBlock } from './blocks/simple-payments.js'; export { default as WordAdsBlock } from './blocks/word-ads.js'; export { default as FormBlock } from './blocks/form.js'; export { default as TiledGalleryBlock } from './blocks/tilled-gallery.js'; +export { default as SubscribeBlock } from './blocks/subscribe.js'; export { default as DashboardPage } from './dashboard.js'; export { default as InPlacePlansPage } from './in-place-plans.js'; From eff2a06b56ddf5e890d44e3c5a2d4b31b1ff64ed Mon Sep 17 00:00:00 2001 From: Nate Weller Date: Wed, 11 Jan 2023 09:38:24 -0700 Subject: [PATCH 03/32] Protect: Poll for scan status when scanner is idle and no lastChecked value is available (#28275) --- .../fix-protect-poll-when-scan-initializing | 4 ++++ .../scan-page/use-status-polling.js | 19 +++++++++++++++---- 2 files changed, 19 insertions(+), 4 deletions(-) create mode 100644 projects/plugins/protect/changelog/fix-protect-poll-when-scan-initializing diff --git a/projects/plugins/protect/changelog/fix-protect-poll-when-scan-initializing b/projects/plugins/protect/changelog/fix-protect-poll-when-scan-initializing new file mode 100644 index 0000000000000..01f4b1d80cf91 --- /dev/null +++ b/projects/plugins/protect/changelog/fix-protect-poll-when-scan-initializing @@ -0,0 +1,4 @@ +Significance: patch +Type: fixed + +Poll for scan status while scanner is provisioning diff --git a/projects/plugins/protect/src/js/components/scan-page/use-status-polling.js b/projects/plugins/protect/src/js/components/scan-page/use-status-polling.js index 989f24467aa0b..38239054d286f 100644 --- a/projects/plugins/protect/src/js/components/scan-page/use-status-polling.js +++ b/projects/plugins/protect/src/js/components/scan-page/use-status-polling.js @@ -23,6 +23,10 @@ const useStatusPolling = () => { const statusIsInProgress = currentStatus => [ 'scheduled', 'scanning' ].indexOf( currentStatus ) >= 0; + // if there has never been a scan, and the scan status is idle, then we must still be getting set up + const scanIsInitializing = ( currentStatus, lastChecked ) => + ! lastChecked && currentStatus === 'idle'; + const pollStatus = () => { return new Promise( ( resolve, reject ) => { apiFetch( { @@ -34,8 +38,11 @@ const useStatusPolling = () => { throw newStatus?.errorMessage; } - if ( statusIsInProgress( newStatus?.status ) ) { - setStatusProgress( newStatus.current_progress ); + if ( + statusIsInProgress( newStatus?.status ) || + scanIsInitializing( newStatus?.status, newStatus?.lastChecked ) + ) { + setStatusProgress( newStatus?.current_progress ); pollTimeout = setTimeout( () => { pollStatus() .then( result => resolve( result ) ) @@ -57,7 +64,10 @@ const useStatusPolling = () => { } ); }; - if ( ! statusIsInProgress( status?.status ) ) { + if ( + ! statusIsInProgress( status?.status ) && + ! scanIsInitializing( status?.status, status?.lastChecked ) + ) { return; } @@ -78,7 +88,8 @@ const useStatusPolling = () => { return () => clearTimeout( pollTimeout ); }, [ - status.status, + status?.status, + status?.lastChecked, setScanIsUnavailable, setStatus, setStatusProgress, From 55ecdb3a5196d3ef7724f3e126cff1581c42faed Mon Sep 17 00:00:00 2001 From: Samiff Date: Wed, 11 Jan 2023 09:41:57 -0700 Subject: [PATCH 04/32] Jetpack: 11.8-a.1 release (#28298) * Jetpack: 11.8-a.1 release changelog * Jetpack: init 11.8-a.2 * Jetpack: refresh prerelease branch before backport --- .../CHANGELOG.md | 5 +++ .../changelog/renovate-babel-monorepo | 4 -- .../package.json | 2 +- projects/js-packages/components/CHANGELOG.md | 4 ++ .../changelog/renovate-babel-monorepo | 4 -- .../changelog/renovate-jest-monorepo | 4 -- .../renovate-js-unit-testing-packages | 4 -- .../changelog/renovate-qrcode.react-3.x | 4 -- .../renovate-storybook-addon-mock-3.x | 5 --- .../changelog/renovate-storybook-monorepo | 4 -- projects/js-packages/components/package.json | 2 +- projects/js-packages/config/CHANGELOG.md | 4 ++ .../config/changelog/fix-react-native-build | 5 --- projects/js-packages/config/package.json | 2 +- projects/js-packages/connection/CHANGELOG.md | 7 ++++ .../changelog/fix-react-native-build | 5 --- .../changelog/renovate-babel-monorepo | 4 -- .../renovate-js-unit-testing-packages | 4 -- .../changelog/renovate-storybook-monorepo | 4 -- projects/js-packages/connection/package.json | 2 +- .../i18n-check-webpack-plugin/CHANGELOG.md | 5 +++ .../changelog/renovate-babel-monorepo | 4 -- .../i18n-check-webpack-plugin/package.json | 2 +- projects/js-packages/idc/CHANGELOG.md | 8 ++-- .../idc/changelog/renovate-babel-monorepo | 4 -- projects/js-packages/idc/package.json | 2 +- projects/js-packages/licensing/CHANGELOG.md | 7 ++++ .../fix-activation-page-error-message | 4 -- .../changelog/renovate-babel-monorepo | 4 -- .../renovate-js-unit-testing-packages | 4 -- projects/js-packages/licensing/package.json | 2 +- .../js-packages/partner-coupon/CHANGELOG.md | 4 ++ .../changelog/renovate-babel-monorepo | 4 -- .../renovate-js-unit-testing-packages | 4 -- .../js-packages/partner-coupon/package.json | 2 +- .../publicize-components/CHANGELOG.md | 8 ++++ .../changelog/add-video-validation | 4 -- .../changelog/renovate-babel-monorepo | 4 -- .../renovate-js-unit-testing-packages | 4 -- .../renovate-react-page-visibility-7.x | 4 -- .../publicize-components/package.json | 2 +- .../shared-extension-utils/CHANGELOG.md | 5 +++ .../changelog/renovate-babel-monorepo | 4 -- .../shared-extension-utils/package.json | 2 +- .../js-packages/webpack-config/CHANGELOG.md | 4 ++ .../changelog/renovate-babel-monorepo | 4 -- .../js-packages/webpack-config/package.json | 2 +- projects/packages/a8c-mc-stats/CHANGELOG.md | 5 +++ .../changelog/update-wpcs-pre-phpcbf | 5 --- projects/packages/action-bar/CHANGELOG.md | 5 +++ .../changelog/renovate-babel-monorepo | 4 -- projects/packages/action-bar/package.json | 2 +- projects/packages/admin-ui/CHANGELOG.md | 5 +++ .../admin-ui/changelog/update-wpcs-pre-phpcbf | 5 --- projects/packages/admin-ui/package.json | 2 +- .../admin-ui/src/class-admin-menu.php | 2 +- projects/packages/assets/CHANGELOG.md | 5 +++ .../assets/changelog/update-wpcs-pre-phpcbf | 5 --- projects/packages/autoloader/CHANGELOG.md | 5 +++ .../packages/autoloader/changelog/update-wpcs | 5 --- .../changelog/update-wpcs-pre-phpcbf-3 | 5 --- projects/packages/backup/CHANGELOG.md | 9 ++++ .../changelog/add-backup-package-js-tests | 4 -- .../fix-packages-backup-package.json | 5 --- .../backup/changelog/renovate-babel-monorepo | 4 -- .../backup/changelog/update-wpcs-pre-phpcbf | 5 --- .../backup/changelog/update-wpcs-pre-phpcbf-3 | 4 -- .../backup/src/class-package-version.php | 2 +- projects/packages/blaze/CHANGELOG.md | 8 ++++ .../changelog/fix-fatal-site-editor-blaze | 4 -- .../blaze/changelog/renovate-babel-monorepo | 4 -- projects/packages/blaze/package.json | 2 +- projects/packages/blaze/src/class-blaze.php | 2 +- projects/packages/blocks/CHANGELOG.md | 5 +++ .../blocks/changelog/update-wpcs-pre-phpcbf | 5 --- projects/packages/changelogger/CHANGELOG.md | 5 +++ .../changelog/update-wpcs-pre-phpcbf | 5 --- .../packages/changelogger/src/Application.php | 2 +- projects/packages/connection/CHANGELOG.md | 5 +++ .../changelog/add-shared-get-blog-id | 4 -- .../packages/connection/changelog/update-wpcs | 5 --- .../changelog/update-wpcs-pre-phpcbf | 5 --- .../changelog/update-wpcs-pre-phpcbf-2 | 5 --- .../connection/src/class-package-version.php | 2 +- .../packages/device-detection/CHANGELOG.md | 5 +++ .../changelog/update-wpcs-pre-phpcbf | 5 --- .../changelog/update-wpcs-pre-phpcbf-2 | 5 --- .../packages/identity-crisis/CHANGELOG.md | 5 +++ .../changelog/renovate-babel-monorepo | 4 -- .../changelog/update-wpcs-pre-phpcbf | 5 --- .../packages/identity-crisis/package.json | 2 +- .../src/class-identity-crisis.php | 2 +- projects/packages/jitm/CHANGELOG.md | 5 +++ .../jitm/changelog/update-wpcs-pre-phpcbf | 5 --- projects/packages/jitm/src/class-jitm.php | 2 +- projects/packages/licensing/CHANGELOG.md | 5 +++ .../changelog/update-wpcs-pre-phpcbf | 5 --- projects/packages/my-jetpack/CHANGELOG.md | 5 +++ .../changelog/renovate-babel-monorepo | 4 -- .../renovate-js-unit-testing-packages | 4 -- .../renovate-storybook-addon-mock-3.x | 5 --- .../changelog/renovate-storybook-monorepo | 4 -- .../renovate-storybook-testing-react-1.x | 4 -- .../changelog/update-wpcs-pre-phpcbf | 5 --- .../changelog/update-wpcs-pre-phpcbf-3 | 5 --- projects/packages/my-jetpack/package.json | 2 +- .../my-jetpack/src/class-initializer.php | 2 +- .../packages/password-checker/CHANGELOG.md | 5 +++ .../changelog/update-wpcs-pre-phpcbf | 5 --- projects/packages/publicize/CHANGELOG.md | 5 +++ .../publicize/changelog/add-video-validation | 4 -- .../packages/publicize/changelog/update-wpcs | 5 --- .../changelog/update-wpcs-pre-phpcbf | 5 --- .../changelog/update-wpcs-pre-phpcbf-2 | 5 --- projects/packages/publicize/package.json | 2 +- projects/packages/redirect/CHANGELOG.md | 7 +++- .../redirect/changelog/update-wpcs-pre-phpcbf | 5 --- projects/packages/roles/CHANGELOG.md | 7 +++- projects/packages/roles/changelog/update-wpcs | 5 --- projects/packages/search/CHANGELOG.md | 5 +++ .../search/changelog/fix-28108-php-errors | 5 --- .../search/changelog/renovate-babel-monorepo | 4 -- .../renovate-js-unit-testing-packages | 4 -- .../search/changelog/renovate-postcss-8.x | 4 -- .../search/changelog/update-wpcs-pre-phpcbf | 5 --- projects/packages/search/package.json | 2 +- .../packages/search/src/class-package.php | 2 +- projects/packages/stats-admin/CHANGELOG.md | 4 ++ .../changelog/add-loading-spinner-for-stats | 4 -- .../changelog/update-wpcs-pre-phpcbf | 5 --- projects/packages/stats-admin/package.json | 2 +- .../packages/stats-admin/src/class-main.php | 2 +- projects/packages/stats/CHANGELOG.md | 5 +++ .../stats/changelog/update-wpcs-pre-phpcbf | 5 --- projects/packages/status/CHANGELOG.md | 5 +++ .../fix-jetpack-old-plugin-deactivation | 4 -- .../packages/status/changelog/update-wpcs | 5 --- projects/packages/sync/CHANGELOG.md | 5 +++ projects/packages/sync/changelog/update-wpcs | 5 --- .../sync/changelog/update-wpcs-pre-phpcbf | 5 --- .../sync/changelog/update-wpcs-pre-phpcbf-2 | 5 --- .../sync/src/class-package-version.php | 2 +- projects/packages/videopress/CHANGELOG.md | 41 +++++++++++++++++++ .../changelog/add-route-video-search | 4 -- .../fix-videopress-local-video-listed | 4 -- .../fix-videopress-placeholders-count | 4 -- .../changelog/renovate-babel-monorepo | 4 -- .../changelog/renovate-jest-monorepo | 4 -- .../renovate-js-unit-testing-packages | 4 -- .../videopress/changelog/renovate-postcss-8.x | 4 -- .../changelog/renovate-storybook-monorepo | 4 -- ...-ty-enhancements-in-use-search-params-hook | 4 -- ...update-videopress-add-cancel-replace-video | 4 -- .../update-videopress-add-replace-control | 4 -- .../update-videopress-first-video-ui | 4 -- ...-videopress-fix-replace-by-uploading-issue | 4 -- .../update-videopress-fix-use-media-data-ts | 4 -- ...ideopress-fix-weird-instance-of-file-issue | 4 -- .../update-videopress-privacy-edit-page | 4 -- ...e-videopress-refact-use-resumable-uploader | 11 ----- ...videopress-remove-video-chapter-beta-block | 4 -- ...ate-videopress-replace-by-url-from-toolbar | 4 -- ...update-videopress-set-url-based-on-privacy | 4 -- ...pdate-videopress-set-video-by-pasting-guid | 4 -- .../update-videopress-ts-video-block | 4 -- .../packages/videopress/changelog/update-wpcs | 5 --- .../changelog/update-wpcs-pre-phpcbf | 5 --- .../changelog/update-wpcs-pre-phpcbf-2 | 5 --- ...eopress-fix-duplicated-file-when-replacing | 4 -- ...ress-update-uploading-process-in-dashboard | 4 -- projects/packages/videopress/package.json | 2 +- .../videopress/src/class-package-version.php | 2 +- projects/packages/waf/CHANGELOG.md | 5 +++ projects/packages/waf/changelog/fix-waf-tests | 4 -- projects/packages/wordads/CHANGELOG.md | 5 +++ .../wordads/changelog/renovate-babel-monorepo | 4 -- .../renovate-js-unit-testing-packages | 4 -- .../wordads/changelog/renovate-postcss-8.x | 4 -- projects/packages/wordads/package.json | 2 +- .../packages/wordads/src/class-package.php | 2 +- projects/plugins/jetpack/CHANGELOG.md | 36 +++++++++++++++- .../_inc/lib/class-jetpack-ai-helper.php | 4 +- .../class-wpcom-rest-api-v2-endpoint-ai.php | 2 +- .../plugins/jetpack/changelog/add-ai-blocks | 4 -- .../changelog/add-backup-package-js-tests | 5 --- .../add-e2e-tiled-gallery-block-test | 4 -- .../changelog/add-loading-spinner-for-stats | 5 --- .../changelog/add-mastodon-social-icon-menu | 4 -- .../add-new-icloud-oembed-url-scheme | 4 -- .../add-newsletter-signup-block-keywords | 4 -- .../jetpack/changelog/add-shared-get-blog-id | 4 -- .../changelog/add-shared-get-blog-id#2 | 5 --- .../add-social-menu-add-regex-option | 4 -- ...cription-options-to-site-settings-endpoint | 4 -- .../jetpack/changelog/add-video-validation | 4 -- .../jetpack/changelog/disable-odyssey-on-woa | 4 -- .../e2e-remove-complete-plan-selection | 5 --- .../jetpack/changelog/fix-28108-php-errors | 5 --- .../fix-jetpack-old-plugin-deactivation | 4 -- .../jetpack/changelog/fix-top-posts-offline | 4 -- .../plugins/jetpack/changelog/fix-waf-tests | 4 -- .../jetpack/changelog/improve-ical-reader | 4 -- .../jetpack/changelog/init-release-cycle | 2 +- .../remove-jetpack-blocks-section-at-a-glance | 4 -- .../jetpack/changelog/renovate-babel-monorepo | 4 -- .../jetpack/changelog/renovate-jest-monorepo | 4 -- .../renovate-js-unit-testing-packages | 4 -- .../changelog/renovate-lock-file-maintenance | 4 -- .../jetpack/changelog/renovate-postcss-8.x | 4 -- .../changelog/rm-blaze-jetpack-extension | 4 -- .../jetpack/changelog/update-form-dropdown | 4 -- ...-settings-api-expose-page-for-posts-option | 4 -- ...videopress-remove-video-chapter-beta-block | 4 -- .../plugins/jetpack/changelog/update-wpcs | 5 --- .../jetpack/changelog/update-wpcs-pre-phpcbf | 5 --- .../changelog/update-wpcs-pre-phpcbf-2 | 5 --- projects/plugins/jetpack/composer.json | 2 +- .../extensions/blocks/ai-image/ai-image.php | 2 +- .../blocks/ai-paragraph/ai-paragraph.php | 2 +- projects/plugins/jetpack/functions.global.php | 4 +- projects/plugins/jetpack/jetpack.php | 4 +- projects/plugins/jetpack/package.json | 2 +- 222 files changed, 317 insertions(+), 668 deletions(-) delete mode 100644 projects/js-packages/babel-plugin-replace-textdomain/changelog/renovate-babel-monorepo delete mode 100644 projects/js-packages/components/changelog/renovate-babel-monorepo delete mode 100644 projects/js-packages/components/changelog/renovate-jest-monorepo delete mode 100644 projects/js-packages/components/changelog/renovate-js-unit-testing-packages delete mode 100644 projects/js-packages/components/changelog/renovate-qrcode.react-3.x delete mode 100644 projects/js-packages/components/changelog/renovate-storybook-addon-mock-3.x delete mode 100644 projects/js-packages/components/changelog/renovate-storybook-monorepo delete mode 100644 projects/js-packages/config/changelog/fix-react-native-build delete mode 100644 projects/js-packages/connection/changelog/fix-react-native-build delete mode 100644 projects/js-packages/connection/changelog/renovate-babel-monorepo delete mode 100644 projects/js-packages/connection/changelog/renovate-js-unit-testing-packages delete mode 100644 projects/js-packages/connection/changelog/renovate-storybook-monorepo delete mode 100644 projects/js-packages/i18n-check-webpack-plugin/changelog/renovate-babel-monorepo delete mode 100644 projects/js-packages/idc/changelog/renovate-babel-monorepo delete mode 100644 projects/js-packages/licensing/changelog/fix-activation-page-error-message delete mode 100644 projects/js-packages/licensing/changelog/renovate-babel-monorepo delete mode 100644 projects/js-packages/licensing/changelog/renovate-js-unit-testing-packages delete mode 100644 projects/js-packages/partner-coupon/changelog/renovate-babel-monorepo delete mode 100644 projects/js-packages/partner-coupon/changelog/renovate-js-unit-testing-packages delete mode 100644 projects/js-packages/publicize-components/changelog/add-video-validation delete mode 100644 projects/js-packages/publicize-components/changelog/renovate-babel-monorepo delete mode 100644 projects/js-packages/publicize-components/changelog/renovate-js-unit-testing-packages delete mode 100644 projects/js-packages/publicize-components/changelog/renovate-react-page-visibility-7.x delete mode 100644 projects/js-packages/shared-extension-utils/changelog/renovate-babel-monorepo delete mode 100644 projects/js-packages/webpack-config/changelog/renovate-babel-monorepo delete mode 100644 projects/packages/a8c-mc-stats/changelog/update-wpcs-pre-phpcbf delete mode 100644 projects/packages/action-bar/changelog/renovate-babel-monorepo delete mode 100644 projects/packages/admin-ui/changelog/update-wpcs-pre-phpcbf delete mode 100644 projects/packages/assets/changelog/update-wpcs-pre-phpcbf delete mode 100644 projects/packages/autoloader/changelog/update-wpcs delete mode 100644 projects/packages/autoloader/changelog/update-wpcs-pre-phpcbf-3 delete mode 100644 projects/packages/backup/changelog/add-backup-package-js-tests delete mode 100644 projects/packages/backup/changelog/fix-packages-backup-package.json delete mode 100644 projects/packages/backup/changelog/renovate-babel-monorepo delete mode 100644 projects/packages/backup/changelog/update-wpcs-pre-phpcbf delete mode 100644 projects/packages/backup/changelog/update-wpcs-pre-phpcbf-3 delete mode 100644 projects/packages/blaze/changelog/fix-fatal-site-editor-blaze delete mode 100644 projects/packages/blaze/changelog/renovate-babel-monorepo delete mode 100644 projects/packages/blocks/changelog/update-wpcs-pre-phpcbf delete mode 100644 projects/packages/changelogger/changelog/update-wpcs-pre-phpcbf delete mode 100644 projects/packages/connection/changelog/add-shared-get-blog-id delete mode 100644 projects/packages/connection/changelog/update-wpcs delete mode 100644 projects/packages/connection/changelog/update-wpcs-pre-phpcbf delete mode 100644 projects/packages/connection/changelog/update-wpcs-pre-phpcbf-2 delete mode 100644 projects/packages/device-detection/changelog/update-wpcs-pre-phpcbf delete mode 100644 projects/packages/device-detection/changelog/update-wpcs-pre-phpcbf-2 delete mode 100644 projects/packages/identity-crisis/changelog/renovate-babel-monorepo delete mode 100644 projects/packages/identity-crisis/changelog/update-wpcs-pre-phpcbf delete mode 100644 projects/packages/jitm/changelog/update-wpcs-pre-phpcbf delete mode 100644 projects/packages/licensing/changelog/update-wpcs-pre-phpcbf delete mode 100644 projects/packages/my-jetpack/changelog/renovate-babel-monorepo delete mode 100644 projects/packages/my-jetpack/changelog/renovate-js-unit-testing-packages delete mode 100644 projects/packages/my-jetpack/changelog/renovate-storybook-addon-mock-3.x delete mode 100644 projects/packages/my-jetpack/changelog/renovate-storybook-monorepo delete mode 100644 projects/packages/my-jetpack/changelog/renovate-storybook-testing-react-1.x delete mode 100644 projects/packages/my-jetpack/changelog/update-wpcs-pre-phpcbf delete mode 100644 projects/packages/my-jetpack/changelog/update-wpcs-pre-phpcbf-3 delete mode 100644 projects/packages/password-checker/changelog/update-wpcs-pre-phpcbf delete mode 100644 projects/packages/publicize/changelog/add-video-validation delete mode 100644 projects/packages/publicize/changelog/update-wpcs delete mode 100644 projects/packages/publicize/changelog/update-wpcs-pre-phpcbf delete mode 100644 projects/packages/publicize/changelog/update-wpcs-pre-phpcbf-2 delete mode 100644 projects/packages/redirect/changelog/update-wpcs-pre-phpcbf delete mode 100644 projects/packages/roles/changelog/update-wpcs delete mode 100644 projects/packages/search/changelog/fix-28108-php-errors delete mode 100644 projects/packages/search/changelog/renovate-babel-monorepo delete mode 100644 projects/packages/search/changelog/renovate-js-unit-testing-packages delete mode 100644 projects/packages/search/changelog/renovate-postcss-8.x delete mode 100644 projects/packages/search/changelog/update-wpcs-pre-phpcbf delete mode 100644 projects/packages/stats-admin/changelog/add-loading-spinner-for-stats delete mode 100644 projects/packages/stats-admin/changelog/update-wpcs-pre-phpcbf delete mode 100644 projects/packages/stats/changelog/update-wpcs-pre-phpcbf delete mode 100644 projects/packages/status/changelog/fix-jetpack-old-plugin-deactivation delete mode 100644 projects/packages/status/changelog/update-wpcs delete mode 100644 projects/packages/sync/changelog/update-wpcs delete mode 100644 projects/packages/sync/changelog/update-wpcs-pre-phpcbf delete mode 100644 projects/packages/sync/changelog/update-wpcs-pre-phpcbf-2 delete mode 100644 projects/packages/videopress/changelog/add-route-video-search delete mode 100644 projects/packages/videopress/changelog/fix-videopress-local-video-listed delete mode 100644 projects/packages/videopress/changelog/fix-videopress-placeholders-count delete mode 100644 projects/packages/videopress/changelog/renovate-babel-monorepo delete mode 100644 projects/packages/videopress/changelog/renovate-jest-monorepo delete mode 100644 projects/packages/videopress/changelog/renovate-js-unit-testing-packages delete mode 100644 projects/packages/videopress/changelog/renovate-postcss-8.x delete mode 100644 projects/packages/videopress/changelog/renovate-storybook-monorepo delete mode 100644 projects/packages/videopress/changelog/update-video-minot-ty-enhancements-in-use-search-params-hook delete mode 100644 projects/packages/videopress/changelog/update-videopress-add-cancel-replace-video delete mode 100644 projects/packages/videopress/changelog/update-videopress-add-replace-control delete mode 100644 projects/packages/videopress/changelog/update-videopress-first-video-ui delete mode 100644 projects/packages/videopress/changelog/update-videopress-fix-replace-by-uploading-issue delete mode 100644 projects/packages/videopress/changelog/update-videopress-fix-use-media-data-ts delete mode 100644 projects/packages/videopress/changelog/update-videopress-fix-weird-instance-of-file-issue delete mode 100644 projects/packages/videopress/changelog/update-videopress-privacy-edit-page delete mode 100644 projects/packages/videopress/changelog/update-videopress-refact-use-resumable-uploader delete mode 100644 projects/packages/videopress/changelog/update-videopress-remove-video-chapter-beta-block delete mode 100644 projects/packages/videopress/changelog/update-videopress-replace-by-url-from-toolbar delete mode 100644 projects/packages/videopress/changelog/update-videopress-set-url-based-on-privacy delete mode 100644 projects/packages/videopress/changelog/update-videopress-set-video-by-pasting-guid delete mode 100644 projects/packages/videopress/changelog/update-videopress-ts-video-block delete mode 100644 projects/packages/videopress/changelog/update-wpcs delete mode 100644 projects/packages/videopress/changelog/update-wpcs-pre-phpcbf delete mode 100644 projects/packages/videopress/changelog/update-wpcs-pre-phpcbf-2 delete mode 100644 projects/packages/videopress/changelog/videopress-fix-duplicated-file-when-replacing delete mode 100644 projects/packages/videopress/changelog/videopress-update-uploading-process-in-dashboard delete mode 100644 projects/packages/waf/changelog/fix-waf-tests delete mode 100644 projects/packages/wordads/changelog/renovate-babel-monorepo delete mode 100644 projects/packages/wordads/changelog/renovate-js-unit-testing-packages delete mode 100644 projects/packages/wordads/changelog/renovate-postcss-8.x delete mode 100644 projects/plugins/jetpack/changelog/add-ai-blocks delete mode 100644 projects/plugins/jetpack/changelog/add-backup-package-js-tests delete mode 100644 projects/plugins/jetpack/changelog/add-e2e-tiled-gallery-block-test delete mode 100644 projects/plugins/jetpack/changelog/add-loading-spinner-for-stats delete mode 100644 projects/plugins/jetpack/changelog/add-mastodon-social-icon-menu delete mode 100644 projects/plugins/jetpack/changelog/add-new-icloud-oembed-url-scheme delete mode 100644 projects/plugins/jetpack/changelog/add-newsletter-signup-block-keywords delete mode 100644 projects/plugins/jetpack/changelog/add-shared-get-blog-id delete mode 100644 projects/plugins/jetpack/changelog/add-shared-get-blog-id#2 delete mode 100644 projects/plugins/jetpack/changelog/add-social-menu-add-regex-option delete mode 100644 projects/plugins/jetpack/changelog/add-subscription-options-to-site-settings-endpoint delete mode 100644 projects/plugins/jetpack/changelog/add-video-validation delete mode 100644 projects/plugins/jetpack/changelog/disable-odyssey-on-woa delete mode 100644 projects/plugins/jetpack/changelog/e2e-remove-complete-plan-selection delete mode 100644 projects/plugins/jetpack/changelog/fix-28108-php-errors delete mode 100644 projects/plugins/jetpack/changelog/fix-jetpack-old-plugin-deactivation delete mode 100644 projects/plugins/jetpack/changelog/fix-top-posts-offline delete mode 100644 projects/plugins/jetpack/changelog/fix-waf-tests delete mode 100644 projects/plugins/jetpack/changelog/improve-ical-reader delete mode 100644 projects/plugins/jetpack/changelog/remove-jetpack-blocks-section-at-a-glance delete mode 100644 projects/plugins/jetpack/changelog/renovate-babel-monorepo delete mode 100644 projects/plugins/jetpack/changelog/renovate-jest-monorepo delete mode 100644 projects/plugins/jetpack/changelog/renovate-js-unit-testing-packages delete mode 100644 projects/plugins/jetpack/changelog/renovate-lock-file-maintenance delete mode 100644 projects/plugins/jetpack/changelog/renovate-postcss-8.x delete mode 100644 projects/plugins/jetpack/changelog/rm-blaze-jetpack-extension delete mode 100644 projects/plugins/jetpack/changelog/update-form-dropdown delete mode 100644 projects/plugins/jetpack/changelog/update-settings-api-expose-page-for-posts-option delete mode 100644 projects/plugins/jetpack/changelog/update-videopress-remove-video-chapter-beta-block delete mode 100644 projects/plugins/jetpack/changelog/update-wpcs delete mode 100644 projects/plugins/jetpack/changelog/update-wpcs-pre-phpcbf delete mode 100644 projects/plugins/jetpack/changelog/update-wpcs-pre-phpcbf-2 diff --git a/projects/js-packages/babel-plugin-replace-textdomain/CHANGELOG.md b/projects/js-packages/babel-plugin-replace-textdomain/CHANGELOG.md index 8cfb12d4dc58a..7ab03d88b2a83 100644 --- a/projects/js-packages/babel-plugin-replace-textdomain/CHANGELOG.md +++ b/projects/js-packages/babel-plugin-replace-textdomain/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). +## [1.0.20] - 2023-01-11 +### Changed +- Updated package dependencies. [#28127] + ## [1.0.19] - 2022-12-02 ### Changed - Updated package dependencies. [#27697] @@ -90,6 +94,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Initial release. - Replace missing domains too. +[1.0.20]: https://github.com/Automattic/babel-plugin-replace-textdomain/compare/v1.0.19...v1.0.20 [1.0.19]: https://github.com/Automattic/babel-plugin-replace-textdomain/compare/v1.0.18...v1.0.19 [1.0.18]: https://github.com/Automattic/babel-plugin-replace-textdomain/compare/v1.0.17...v1.0.18 [1.0.17]: https://github.com/Automattic/babel-plugin-replace-textdomain/compare/v1.0.16...v1.0.17 diff --git a/projects/js-packages/babel-plugin-replace-textdomain/changelog/renovate-babel-monorepo b/projects/js-packages/babel-plugin-replace-textdomain/changelog/renovate-babel-monorepo deleted file mode 100644 index c47cb18e82997..0000000000000 --- a/projects/js-packages/babel-plugin-replace-textdomain/changelog/renovate-babel-monorepo +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: changed - -Updated package dependencies. diff --git a/projects/js-packages/babel-plugin-replace-textdomain/package.json b/projects/js-packages/babel-plugin-replace-textdomain/package.json index 9e7caa6c8680c..8c47dfb100961 100644 --- a/projects/js-packages/babel-plugin-replace-textdomain/package.json +++ b/projects/js-packages/babel-plugin-replace-textdomain/package.json @@ -1,6 +1,6 @@ { "name": "@automattic/babel-plugin-replace-textdomain", - "version": "1.0.20-alpha", + "version": "1.0.20", "description": "A Babel plugin to replace the textdomain in gettext-style function calls.", "homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/js-packages/babel-plugin-replace-textdomain/#readme", "bugs": { diff --git a/projects/js-packages/components/CHANGELOG.md b/projects/js-packages/components/CHANGELOG.md index c4ab753354680..35b62c753a931 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.26.5 - 2023-01-11 +### Changed +- Updated package dependencies. + ## 0.26.4 - 2022-12-19 ### Added - Add Jetpack VaultPress Backup Logo [#27802] diff --git a/projects/js-packages/components/changelog/renovate-babel-monorepo b/projects/js-packages/components/changelog/renovate-babel-monorepo deleted file mode 100644 index c47cb18e82997..0000000000000 --- a/projects/js-packages/components/changelog/renovate-babel-monorepo +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: changed - -Updated package dependencies. diff --git a/projects/js-packages/components/changelog/renovate-jest-monorepo b/projects/js-packages/components/changelog/renovate-jest-monorepo deleted file mode 100644 index c47cb18e82997..0000000000000 --- a/projects/js-packages/components/changelog/renovate-jest-monorepo +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: changed - -Updated package dependencies. diff --git a/projects/js-packages/components/changelog/renovate-js-unit-testing-packages b/projects/js-packages/components/changelog/renovate-js-unit-testing-packages deleted file mode 100644 index c47cb18e82997..0000000000000 --- a/projects/js-packages/components/changelog/renovate-js-unit-testing-packages +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: changed - -Updated package dependencies. diff --git a/projects/js-packages/components/changelog/renovate-qrcode.react-3.x b/projects/js-packages/components/changelog/renovate-qrcode.react-3.x deleted file mode 100644 index c47cb18e82997..0000000000000 --- a/projects/js-packages/components/changelog/renovate-qrcode.react-3.x +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: changed - -Updated package dependencies. diff --git a/projects/js-packages/components/changelog/renovate-storybook-addon-mock-3.x b/projects/js-packages/components/changelog/renovate-storybook-addon-mock-3.x deleted file mode 100644 index 3b6d778e0f01a..0000000000000 --- a/projects/js-packages/components/changelog/renovate-storybook-addon-mock-3.x +++ /dev/null @@ -1,5 +0,0 @@ -Significance: patch -Type: changed -Comment: Update use of `storybook-addons-mock`. Should be no change to the package itself. - - diff --git a/projects/js-packages/components/changelog/renovate-storybook-monorepo b/projects/js-packages/components/changelog/renovate-storybook-monorepo deleted file mode 100644 index c47cb18e82997..0000000000000 --- a/projects/js-packages/components/changelog/renovate-storybook-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 dd14edd15940e..d3a4525a2aefd 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.26.5-alpha", + "version": "0.26.5", "description": "Jetpack Components Package", "author": "Automattic", "license": "GPL-2.0-or-later", diff --git a/projects/js-packages/config/CHANGELOG.md b/projects/js-packages/config/CHANGELOG.md index 5c28507219388..963e16e4fc226 100644 --- a/projects/js-packages/config/CHANGELOG.md +++ b/projects/js-packages/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). +## 0.1.17 - 2023-01-11 +### Fixed +- Config: Metro JS cannot resolve `./src/index.sj` without adding the path as the `main` property in package.json [#28154] + ## 0.1.16 - 2022-11-28 ### Changed - Updated package dependencies. [#27576] diff --git a/projects/js-packages/config/changelog/fix-react-native-build b/projects/js-packages/config/changelog/fix-react-native-build deleted file mode 100644 index 4c471d8912c65..0000000000000 --- a/projects/js-packages/config/changelog/fix-react-native-build +++ /dev/null @@ -1,5 +0,0 @@ -Significance: patch -Type: fixed - -Config: Metro JS cannot resolve `./src/index.sj` without adding the path as the `main` property in package.json - diff --git a/projects/js-packages/config/package.json b/projects/js-packages/config/package.json index 6aa2155b51205..d6ef95b4d40a5 100644 --- a/projects/js-packages/config/package.json +++ b/projects/js-packages/config/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "@automattic/jetpack-config", - "version": "0.1.17-alpha", + "version": "0.1.17", "description": "Handles Jetpack global configuration shared across all packages", "homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/js-packages/config/#readme", "bugs": { diff --git a/projects/js-packages/connection/CHANGELOG.md b/projects/js-packages/connection/CHANGELOG.md index ba9f6cda72621..6ccfbe72d64bc 100644 --- a/projects/js-packages/connection/CHANGELOG.md +++ b/projects/js-packages/connection/CHANGELOG.md @@ -2,6 +2,13 @@ ### This is a list detailing changes for the Jetpack RNA Connection Component releases. +## 0.24.5 - 2023-01-11 +### Changed +- Updated package dependencies. + +### Fixed +- Connection: Metro JS is unable to build the component SCSS files. Adding a native index file to only export the modules required for the mobile editor build. [#28154] + ## 0.24.4 - 2023-01-02 ### Fixed - Connection: Fix box-sizing layout issue on Manage Connection modal [#28101] diff --git a/projects/js-packages/connection/changelog/fix-react-native-build b/projects/js-packages/connection/changelog/fix-react-native-build deleted file mode 100644 index 0776b3384fdb7..0000000000000 --- a/projects/js-packages/connection/changelog/fix-react-native-build +++ /dev/null @@ -1,5 +0,0 @@ -Significance: patch -Type: fixed - -Connection: Metro JS is unable to build the component SCSS files. Adding a native index file to only export the modules required for the mobile editor build. - diff --git a/projects/js-packages/connection/changelog/renovate-babel-monorepo b/projects/js-packages/connection/changelog/renovate-babel-monorepo deleted file mode 100644 index c47cb18e82997..0000000000000 --- a/projects/js-packages/connection/changelog/renovate-babel-monorepo +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: changed - -Updated package dependencies. diff --git a/projects/js-packages/connection/changelog/renovate-js-unit-testing-packages b/projects/js-packages/connection/changelog/renovate-js-unit-testing-packages deleted file mode 100644 index c47cb18e82997..0000000000000 --- a/projects/js-packages/connection/changelog/renovate-js-unit-testing-packages +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: changed - -Updated package dependencies. diff --git a/projects/js-packages/connection/changelog/renovate-storybook-monorepo b/projects/js-packages/connection/changelog/renovate-storybook-monorepo deleted file mode 100644 index c47cb18e82997..0000000000000 --- a/projects/js-packages/connection/changelog/renovate-storybook-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 f0befe9b6fc65..63fea42733583 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.24.5-alpha", + "version": "0.24.5", "description": "Jetpack Connection Component", "author": "Automattic", "license": "GPL-2.0-or-later", diff --git a/projects/js-packages/i18n-check-webpack-plugin/CHANGELOG.md b/projects/js-packages/i18n-check-webpack-plugin/CHANGELOG.md index 41ac65c55b710..ea47a6d1446d8 100644 --- a/projects/js-packages/i18n-check-webpack-plugin/CHANGELOG.md +++ b/projects/js-packages/i18n-check-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). +## [1.0.25] - 2023-01-11 +### Changed +- Updated package dependencies. [#28127] + ## [1.0.24] - 2022-12-02 ### Changed - Updated package dependencies. [#27576] @@ -121,6 +125,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added - Initial release. +[1.0.25]: https://github.com/Automattic/i18n-check-webpack-plugin/compare/v1.0.24...v1.0.25 [1.0.24]: https://github.com/Automattic/i18n-check-webpack-plugin/compare/v1.0.23...v1.0.24 [1.0.23]: https://github.com/Automattic/i18n-check-webpack-plugin/compare/v1.0.22...v1.0.23 [1.0.22]: https://github.com/Automattic/i18n-check-webpack-plugin/compare/v1.0.21...v1.0.22 diff --git a/projects/js-packages/i18n-check-webpack-plugin/changelog/renovate-babel-monorepo b/projects/js-packages/i18n-check-webpack-plugin/changelog/renovate-babel-monorepo deleted file mode 100644 index c47cb18e82997..0000000000000 --- a/projects/js-packages/i18n-check-webpack-plugin/changelog/renovate-babel-monorepo +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: changed - -Updated package dependencies. diff --git a/projects/js-packages/i18n-check-webpack-plugin/package.json b/projects/js-packages/i18n-check-webpack-plugin/package.json index ee23cf3b735ad..ea330b92e8c69 100644 --- a/projects/js-packages/i18n-check-webpack-plugin/package.json +++ b/projects/js-packages/i18n-check-webpack-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@automattic/i18n-check-webpack-plugin", - "version": "1.0.25-alpha", + "version": "1.0.25", "description": "A Webpack plugin to check that WordPress i18n hasn't been mangled by Webpack optimizations.", "homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/js-packages/i18n-check-webpack-plugin/#readme", "bugs": { diff --git a/projects/js-packages/idc/CHANGELOG.md b/projects/js-packages/idc/CHANGELOG.md index 531f8bd892d78..51d36d05d53bc 100644 --- a/projects/js-packages/idc/CHANGELOG.md +++ b/projects/js-packages/idc/CHANGELOG.md @@ -2,15 +2,17 @@ ### This is a list detailing changes for the Jetpack RNA IDC package releases. +## 0.10.31 - 2023-01-11 +### Changed +- Updated package dependencies. [#28127] + ## 0.10.30 - 2022-12-02 ### Changed - Updated package dependencies. [#27697] ## 0.10.29 - 2022-11-22 ### Changed -- Updated package dependencies. [#26069] -- Updated package dependencies. [#26736] -- Updated package dependencies. [#27043] +- Updated package dependencies. ## 0.10.28 - 2022-11-10 ### Changed diff --git a/projects/js-packages/idc/changelog/renovate-babel-monorepo b/projects/js-packages/idc/changelog/renovate-babel-monorepo deleted file mode 100644 index c47cb18e82997..0000000000000 --- a/projects/js-packages/idc/changelog/renovate-babel-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 a041b0bd4c5fa..b970339bbcc2f 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.10.31-alpha", + "version": "0.10.31", "description": "Jetpack Connection Component", "author": "Automattic", "license": "GPL-2.0-or-later", diff --git a/projects/js-packages/licensing/CHANGELOG.md b/projects/js-packages/licensing/CHANGELOG.md index cff50c298b073..d2ef0b5b596a3 100644 --- a/projects/js-packages/licensing/CHANGELOG.md +++ b/projects/js-packages/licensing/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.7.2 - 2023-01-11 +### Changed +- Updated package dependencies. + +### Fixed +- Fix issue with activation screen failing to activate due to incorrect JP Rest API root and nonce value. [#28014] + ## 0.7.1 - 2022-12-19 ### Changed - Updated package dependencies. diff --git a/projects/js-packages/licensing/changelog/fix-activation-page-error-message b/projects/js-packages/licensing/changelog/fix-activation-page-error-message deleted file mode 100644 index 45fa8183d8128..0000000000000 --- a/projects/js-packages/licensing/changelog/fix-activation-page-error-message +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: fixed - -Fix issue with activation screen failing to activate due to incorrect JP Rest API root and nonce value. diff --git a/projects/js-packages/licensing/changelog/renovate-babel-monorepo b/projects/js-packages/licensing/changelog/renovate-babel-monorepo deleted file mode 100644 index c47cb18e82997..0000000000000 --- a/projects/js-packages/licensing/changelog/renovate-babel-monorepo +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: changed - -Updated package dependencies. diff --git a/projects/js-packages/licensing/changelog/renovate-js-unit-testing-packages b/projects/js-packages/licensing/changelog/renovate-js-unit-testing-packages deleted file mode 100644 index c47cb18e82997..0000000000000 --- a/projects/js-packages/licensing/changelog/renovate-js-unit-testing-packages +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: changed - -Updated package dependencies. diff --git a/projects/js-packages/licensing/package.json b/projects/js-packages/licensing/package.json index 086b87bd4447e..9fd670dbe9838 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.7.2-alpha", + "version": "0.7.2", "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 e7887091b7d11..72cdcbaf130d7 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.36 - 2023-01-11 +### Changed +- Updated package dependencies. + ## 0.2.35 - 2022-12-19 ### Changed - Updated package dependencies. [#27916] diff --git a/projects/js-packages/partner-coupon/changelog/renovate-babel-monorepo b/projects/js-packages/partner-coupon/changelog/renovate-babel-monorepo deleted file mode 100644 index c47cb18e82997..0000000000000 --- a/projects/js-packages/partner-coupon/changelog/renovate-babel-monorepo +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: changed - -Updated package dependencies. diff --git a/projects/js-packages/partner-coupon/changelog/renovate-js-unit-testing-packages b/projects/js-packages/partner-coupon/changelog/renovate-js-unit-testing-packages deleted file mode 100644 index c47cb18e82997..0000000000000 --- a/projects/js-packages/partner-coupon/changelog/renovate-js-unit-testing-packages +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: changed - -Updated package dependencies. diff --git a/projects/js-packages/partner-coupon/package.json b/projects/js-packages/partner-coupon/package.json index 45fe65567d0f0..5dff89505d964 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.36-alpha", + "version": "0.2.36", "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 7838006f2d07c..3cf38c8a445fa 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.13.0] - 2023-01-11 +### Added +- Extended media validation hook to validate videos [#27840] + +### Changed +- Updated package dependencies. + ## [0.12.0] - 2023-01-02 ### Added - Add a review request prompt for Jetpack Social plugin [#28072] @@ -164,6 +171,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed - Updated package dependencies. [#24470] +[0.13.0]: https://github.com/Automattic/jetpack-publicize-components/compare/v0.12.0...v0.13.0 [0.12.0]: https://github.com/Automattic/jetpack-publicize-components/compare/v0.11.1...v0.12.0 [0.11.1]: https://github.com/Automattic/jetpack-publicize-components/compare/v0.11.0...v0.11.1 [0.11.0]: https://github.com/Automattic/jetpack-publicize-components/compare/v0.10.1...v0.11.0 diff --git a/projects/js-packages/publicize-components/changelog/add-video-validation b/projects/js-packages/publicize-components/changelog/add-video-validation deleted file mode 100644 index fd01a5fdfc753..0000000000000 --- a/projects/js-packages/publicize-components/changelog/add-video-validation +++ /dev/null @@ -1,4 +0,0 @@ -Significance: minor -Type: added - -Extended media validation hook to validate videos diff --git a/projects/js-packages/publicize-components/changelog/renovate-babel-monorepo b/projects/js-packages/publicize-components/changelog/renovate-babel-monorepo deleted file mode 100644 index c47cb18e82997..0000000000000 --- a/projects/js-packages/publicize-components/changelog/renovate-babel-monorepo +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: changed - -Updated package dependencies. diff --git a/projects/js-packages/publicize-components/changelog/renovate-js-unit-testing-packages b/projects/js-packages/publicize-components/changelog/renovate-js-unit-testing-packages deleted file mode 100644 index c47cb18e82997..0000000000000 --- a/projects/js-packages/publicize-components/changelog/renovate-js-unit-testing-packages +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: changed - -Updated package dependencies. diff --git a/projects/js-packages/publicize-components/changelog/renovate-react-page-visibility-7.x b/projects/js-packages/publicize-components/changelog/renovate-react-page-visibility-7.x deleted file mode 100644 index c47cb18e82997..0000000000000 --- a/projects/js-packages/publicize-components/changelog/renovate-react-page-visibility-7.x +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: changed - -Updated package dependencies. diff --git a/projects/js-packages/publicize-components/package.json b/projects/js-packages/publicize-components/package.json index f35e9a3f09b04..00f60652d7910 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.13.0-alpha", + "version": "0.13.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/js-packages/shared-extension-utils/CHANGELOG.md b/projects/js-packages/shared-extension-utils/CHANGELOG.md index fd33f5a7ee849..3d2bfcc78b3fe 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.8.1] - 2023-01-11 +### Changed +- Updated package dependencies. [#28127] + ## [0.8.0] - 2023-01-02 ### Added - Add additional methods to useAnalytics hook, allow for view event by passing initial props [#28072] @@ -153,6 +157,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed - Core: prepare utility for release +[0.8.1]: https://github.com/Automattic/jetpack-shared-extension-utils/compare/0.8.0...0.8.1 [0.8.0]: https://github.com/Automattic/jetpack-shared-extension-utils/compare/0.7.0...0.8.0 [0.7.0]: https://github.com/Automattic/jetpack-shared-extension-utils/compare/0.6.10...0.7.0 [0.6.10]: https://github.com/Automattic/jetpack-shared-extension-utils/compare/0.6.9...0.6.10 diff --git a/projects/js-packages/shared-extension-utils/changelog/renovate-babel-monorepo b/projects/js-packages/shared-extension-utils/changelog/renovate-babel-monorepo deleted file mode 100644 index c47cb18e82997..0000000000000 --- a/projects/js-packages/shared-extension-utils/changelog/renovate-babel-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 7ea3d8b4d0f4b..80ef48b31ac16 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.8.1-alpha", + "version": "0.8.1", "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 3b686e6d7233f..e8954195ad5e5 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). +## 1.3.20 - 2023-01-11 +### Changed +- Updated package dependencies. [#28127] + ## 1.3.19 - 2022-12-02 ### Changed - Updated package dependencies. [#27697] diff --git a/projects/js-packages/webpack-config/changelog/renovate-babel-monorepo b/projects/js-packages/webpack-config/changelog/renovate-babel-monorepo deleted file mode 100644 index c47cb18e82997..0000000000000 --- a/projects/js-packages/webpack-config/changelog/renovate-babel-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 e88f153250df2..01be255a24ec2 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": "1.3.20-alpha", + "version": "1.3.20", "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/a8c-mc-stats/CHANGELOG.md b/projects/packages/a8c-mc-stats/CHANGELOG.md index c1f5aa78535ff..afd2ec021d726 100644 --- a/projects/packages/a8c-mc-stats/CHANGELOG.md +++ b/projects/packages/a8c-mc-stats/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). +## [1.4.18] - 2023-01-11 +### Changed +- Updated package dependencies. + ## [1.4.17] - 2022-12-02 ### Changed - Updated package dependencies. [#27688] @@ -107,6 +111,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Creates the MC Stats package +[1.4.18]: https://github.com/Automattic/jetpack-a8c-mc-stats/compare/v1.4.17...v1.4.18 [1.4.17]: https://github.com/Automattic/jetpack-a8c-mc-stats/compare/v1.4.16...v1.4.17 [1.4.16]: https://github.com/Automattic/jetpack-a8c-mc-stats/compare/v1.4.15...v1.4.16 [1.4.15]: https://github.com/Automattic/jetpack-a8c-mc-stats/compare/v1.4.14...v1.4.15 diff --git a/projects/packages/a8c-mc-stats/changelog/update-wpcs-pre-phpcbf b/projects/packages/a8c-mc-stats/changelog/update-wpcs-pre-phpcbf deleted file mode 100644 index 8ae821ee1a3df..0000000000000 --- a/projects/packages/a8c-mc-stats/changelog/update-wpcs-pre-phpcbf +++ /dev/null @@ -1,5 +0,0 @@ -Significance: patch -Type: fixed -Comment: PHPCS: Fix most auto-fixable sniffs coming in new WPCS snapshot. No user-visible change to the project. - - diff --git a/projects/packages/action-bar/CHANGELOG.md b/projects/packages/action-bar/CHANGELOG.md index bb44f49aa3445..c39b4d0d8ef6d 100644 --- a/projects/packages/action-bar/CHANGELOG.md +++ b/projects/packages/action-bar/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] - 2023-01-11 +### Changed +- Updated package dependencies. [#28127] + ## [0.1.7] - 2022-12-06 ### Changed - Updated package dependencies. [#27688, #27696, #27697] @@ -37,6 +41,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added - Adds the Action Bar package and Jetpack plugin module for follows, likes, and comments. Just a scaffold to build on, for now. [#25447] +[0.1.8]: https://github.com/Automattic/jetpack-action-bar/compare/v0.1.7...v0.1.8 [0.1.7]: https://github.com/Automattic/jetpack-action-bar/compare/v0.1.6...v0.1.7 [0.1.6]: https://github.com/Automattic/jetpack-action-bar/compare/v0.1.5...v0.1.6 [0.1.5]: https://github.com/Automattic/jetpack-action-bar/compare/v0.1.4...v0.1.5 diff --git a/projects/packages/action-bar/changelog/renovate-babel-monorepo b/projects/packages/action-bar/changelog/renovate-babel-monorepo deleted file mode 100644 index c47cb18e82997..0000000000000 --- a/projects/packages/action-bar/changelog/renovate-babel-monorepo +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: changed - -Updated package dependencies. diff --git a/projects/packages/action-bar/package.json b/projects/packages/action-bar/package.json index 928650eacfd14..a5776ec684cb3 100644 --- a/projects/packages/action-bar/package.json +++ b/projects/packages/action-bar/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "@automattic/jetpack-action-bar", - "version": "0.1.8-alpha", + "version": "0.1.8", "description": "An easy way for visitors to follow, like, and comment on your WordPress site.", "homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/packages/action-bar/#readme", "bugs": { diff --git a/projects/packages/admin-ui/CHANGELOG.md b/projects/packages/admin-ui/CHANGELOG.md index 1b2c2a15a9283..5f28b59876a9e 100644 --- a/projects/packages/admin-ui/CHANGELOG.md +++ b/projects/packages/admin-ui/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.15] - 2023-01-11 +### Changed +- Updated package dependencies. + ## [0.2.14] - 2022-12-02 ### Changed - Updated package dependencies. [#27688] @@ -84,6 +88,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed - Fixing menu visibility issues. +[0.2.15]: https://github.com/Automattic/jetpack-admin-ui/compare/0.2.14...0.2.15 [0.2.14]: https://github.com/Automattic/jetpack-admin-ui/compare/0.2.13...0.2.14 [0.2.13]: https://github.com/Automattic/jetpack-admin-ui/compare/0.2.12...0.2.13 [0.2.12]: https://github.com/Automattic/jetpack-admin-ui/compare/0.2.11...0.2.12 diff --git a/projects/packages/admin-ui/changelog/update-wpcs-pre-phpcbf b/projects/packages/admin-ui/changelog/update-wpcs-pre-phpcbf deleted file mode 100644 index 8ae821ee1a3df..0000000000000 --- a/projects/packages/admin-ui/changelog/update-wpcs-pre-phpcbf +++ /dev/null @@ -1,5 +0,0 @@ -Significance: patch -Type: fixed -Comment: PHPCS: Fix most auto-fixable sniffs coming in new WPCS snapshot. No user-visible change to the project. - - diff --git a/projects/packages/admin-ui/package.json b/projects/packages/admin-ui/package.json index ad056670221d6..56e7e38d8f63c 100644 --- a/projects/packages/admin-ui/package.json +++ b/projects/packages/admin-ui/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "@automattic/jetpack-admin-ui", - "version": "0.2.15-alpha", + "version": "0.2.15", "description": "Generic Jetpack wp-admin UI elements", "homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/packages/admin-ui/#readme", "bugs": { diff --git a/projects/packages/admin-ui/src/class-admin-menu.php b/projects/packages/admin-ui/src/class-admin-menu.php index fb2403d67f160..b5b32cba9be2c 100644 --- a/projects/packages/admin-ui/src/class-admin-menu.php +++ b/projects/packages/admin-ui/src/class-admin-menu.php @@ -13,7 +13,7 @@ */ class Admin_Menu { - const PACKAGE_VERSION = '0.2.15-alpha'; + const PACKAGE_VERSION = '0.2.15'; /** * Whether this class has been initialized diff --git a/projects/packages/assets/CHANGELOG.md b/projects/packages/assets/CHANGELOG.md index a572128ee4440..c8c577bd8ca7d 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). +## [1.17.29] - 2023-01-11 +### Changed +- Updated package dependencies. + ## [1.17.28] - 2022-12-02 ### Changed - Updated package dependencies. [#27688] @@ -289,6 +293,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Statically access asset tools +[1.17.29]: https://github.com/Automattic/jetpack-assets/compare/v1.17.28...v1.17.29 [1.17.28]: https://github.com/Automattic/jetpack-assets/compare/v1.17.27...v1.17.28 [1.17.27]: https://github.com/Automattic/jetpack-assets/compare/v1.17.26...v1.17.27 [1.17.26]: https://github.com/Automattic/jetpack-assets/compare/v1.17.25...v1.17.26 diff --git a/projects/packages/assets/changelog/update-wpcs-pre-phpcbf b/projects/packages/assets/changelog/update-wpcs-pre-phpcbf deleted file mode 100644 index 8ae821ee1a3df..0000000000000 --- a/projects/packages/assets/changelog/update-wpcs-pre-phpcbf +++ /dev/null @@ -1,5 +0,0 @@ -Significance: patch -Type: fixed -Comment: PHPCS: Fix most auto-fixable sniffs coming in new WPCS snapshot. No user-visible change to the project. - - diff --git a/projects/packages/autoloader/CHANGELOG.md b/projects/packages/autoloader/CHANGELOG.md index 1f4c37f86eac1..fbaf8b2a7a829 100644 --- a/projects/packages/autoloader/CHANGELOG.md +++ b/projects/packages/autoloader/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.11.15] - 2023-01-11 +### Changed +- Updated package dependencies. + ## [2.11.14] - 2022-12-19 ### Changed - Use `Composer\ClassMapGenerator\ClassMapGenerator` when available (i.e. with composer 2.4). [#27812] @@ -292,6 +296,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Add Custom Autoloader +[2.11.15]: https://github.com/Automattic/jetpack-autoloader/compare/v2.11.14...v2.11.15 [2.11.14]: https://github.com/Automattic/jetpack-autoloader/compare/v2.11.13...v2.11.14 [2.11.13]: https://github.com/Automattic/jetpack-autoloader/compare/v2.11.12...v2.11.13 [2.11.12]: https://github.com/Automattic/jetpack-autoloader/compare/v2.11.11...v2.11.12 diff --git a/projects/packages/autoloader/changelog/update-wpcs b/projects/packages/autoloader/changelog/update-wpcs deleted file mode 100644 index 211a1cc7d9e1d..0000000000000 --- a/projects/packages/autoloader/changelog/update-wpcs +++ /dev/null @@ -1,5 +0,0 @@ -Significance: patch -Type: fixed -Comment: PHPCS fixes for new WPCS sniffs. Should be no user-visible changes. - - diff --git a/projects/packages/autoloader/changelog/update-wpcs-pre-phpcbf-3 b/projects/packages/autoloader/changelog/update-wpcs-pre-phpcbf-3 deleted file mode 100644 index 3492e90195b8c..0000000000000 --- a/projects/packages/autoloader/changelog/update-wpcs-pre-phpcbf-3 +++ /dev/null @@ -1,5 +0,0 @@ -Significance: patch -Type: changed -Comment: Globally ignore WordPress.WP.AlternativeFunctions sniff, no code here runs inside of WordPress so we'll never want those functions. - - diff --git a/projects/packages/backup/CHANGELOG.md b/projects/packages/backup/CHANGELOG.md index bc3af92083fde..7d0a67f5abdc0 100644 --- a/projects/packages/backup/CHANGELOG.md +++ b/projects/packages/backup/CHANGELOG.md @@ -5,6 +5,14 @@ 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). +## [1.10.7] - 2023-01-11 +### Added +- Setup js tests and add some tests to existing reducers, selectors and hooks [#28130] + +### Changed +- Updated package dependencies. [#28127] +- Use `WP_Filesystem` more consistently in `Helper_Script_Manager`. [#28198] + ## [1.10.6] - 2022-12-19 ### Changed - Update Backup logo [#27802] @@ -308,6 +316,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… +[1.10.7]: https://github.com/Automattic/jetpack-backup/compare/v1.10.6...v1.10.7 [1.10.6]: https://github.com/Automattic/jetpack-backup/compare/v1.10.5...v1.10.6 [1.10.5]: https://github.com/Automattic/jetpack-backup/compare/v1.10.4...v1.10.5 [1.10.4]: https://github.com/Automattic/jetpack-backup/compare/v1.10.3...v1.10.4 diff --git a/projects/packages/backup/changelog/add-backup-package-js-tests b/projects/packages/backup/changelog/add-backup-package-js-tests deleted file mode 100644 index e5b50a2bf051b..0000000000000 --- a/projects/packages/backup/changelog/add-backup-package-js-tests +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: added - -Setup js tests and add some tests to existing reducers, selectors and hooks diff --git a/projects/packages/backup/changelog/fix-packages-backup-package.json b/projects/packages/backup/changelog/fix-packages-backup-package.json deleted file mode 100644 index b6145813ff222..0000000000000 --- a/projects/packages/backup/changelog/fix-packages-backup-package.json +++ /dev/null @@ -1,5 +0,0 @@ -Significance: patch -Type: fixed -Comment: Fix JS deps added in #28130. - - diff --git a/projects/packages/backup/changelog/renovate-babel-monorepo b/projects/packages/backup/changelog/renovate-babel-monorepo deleted file mode 100644 index c47cb18e82997..0000000000000 --- a/projects/packages/backup/changelog/renovate-babel-monorepo +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: changed - -Updated package dependencies. diff --git a/projects/packages/backup/changelog/update-wpcs-pre-phpcbf b/projects/packages/backup/changelog/update-wpcs-pre-phpcbf deleted file mode 100644 index 8ae821ee1a3df..0000000000000 --- a/projects/packages/backup/changelog/update-wpcs-pre-phpcbf +++ /dev/null @@ -1,5 +0,0 @@ -Significance: patch -Type: fixed -Comment: PHPCS: Fix most auto-fixable sniffs coming in new WPCS snapshot. No user-visible change to the project. - - diff --git a/projects/packages/backup/changelog/update-wpcs-pre-phpcbf-3 b/projects/packages/backup/changelog/update-wpcs-pre-phpcbf-3 deleted file mode 100644 index d7ecc8dbc998e..0000000000000 --- a/projects/packages/backup/changelog/update-wpcs-pre-phpcbf-3 +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: changed - -Use `WP_Filesystem` more consistently in `Helper_Script_Manager`. diff --git a/projects/packages/backup/src/class-package-version.php b/projects/packages/backup/src/class-package-version.php index 3a356f7f59a0e..64cc77a1fa35b 100644 --- a/projects/packages/backup/src/class-package-version.php +++ b/projects/packages/backup/src/class-package-version.php @@ -12,7 +12,7 @@ */ class Package_Version { - const PACKAGE_VERSION = '1.10.7-alpha'; + const PACKAGE_VERSION = '1.10.7'; const PACKAGE_SLUG = 'backup'; diff --git a/projects/packages/blaze/CHANGELOG.md b/projects/packages/blaze/CHANGELOG.md index 76b582773d548..168ff7ec622f7 100644 --- a/projects/packages/blaze/CHANGELOG.md +++ b/projects/packages/blaze/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.3.3] - 2023-01-11 +### Changed +- Updated package dependencies. [#28127] + +### Fixed +- Do not load the Blaze panel in the site editor or the widget editor. [#28187] + ## [0.3.2] - 2023-01-04 ### Changed - Editor panel: update Blaze icon and wording. [#28155] @@ -27,6 +34,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed - Updated package dependencies. [#27906] +[0.3.3]: https://github.com/automattic/jetpack-blaze/compare/v0.3.2...v0.3.3 [0.3.2]: https://github.com/automattic/jetpack-blaze/compare/v0.3.1...v0.3.2 [0.3.1]: https://github.com/automattic/jetpack-blaze/compare/v0.3.0...v0.3.1 [0.3.0]: https://github.com/automattic/jetpack-blaze/compare/v0.2.0...v0.3.0 diff --git a/projects/packages/blaze/changelog/fix-fatal-site-editor-blaze b/projects/packages/blaze/changelog/fix-fatal-site-editor-blaze deleted file mode 100644 index 52122a7719f39..0000000000000 --- a/projects/packages/blaze/changelog/fix-fatal-site-editor-blaze +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: fixed - -Do not load the Blaze panel in the site editor or the widget editor. diff --git a/projects/packages/blaze/changelog/renovate-babel-monorepo b/projects/packages/blaze/changelog/renovate-babel-monorepo deleted file mode 100644 index c47cb18e82997..0000000000000 --- a/projects/packages/blaze/changelog/renovate-babel-monorepo +++ /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 9aad9dfbc5ec0..581c8a7a15d65 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.3.3-alpha", + "version": "0.3.3", "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-blaze.php b/projects/packages/blaze/src/class-blaze.php index 49a094ab16e9f..99deccb3b96a0 100644 --- a/projects/packages/blaze/src/class-blaze.php +++ b/projects/packages/blaze/src/class-blaze.php @@ -16,7 +16,7 @@ */ class Blaze { - const PACKAGE_VERSION = '0.3.3-alpha'; + const PACKAGE_VERSION = '0.3.3'; /** * The configuration method that is called from the jetpack-config package. diff --git a/projects/packages/blocks/CHANGELOG.md b/projects/packages/blocks/CHANGELOG.md index b814cdd0fea59..4e68ee5955509 100644 --- a/projects/packages/blocks/CHANGELOG.md +++ b/projects/packages/blocks/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). +## [1.4.19] - 2023-01-11 +### Changed +- Updated package dependencies. + ## [1.4.18] - 2022-12-06 ### Changed - Updated package dependencies. [#27688] @@ -128,6 +132,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Blocks: introduce new package for block management +[1.4.19]: https://github.com/Automattic/jetpack-blocks/compare/v1.4.18...v1.4.19 [1.4.18]: https://github.com/Automattic/jetpack-blocks/compare/v1.4.17...v1.4.18 [1.4.17]: https://github.com/Automattic/jetpack-blocks/compare/v1.4.16...v1.4.17 [1.4.16]: https://github.com/Automattic/jetpack-blocks/compare/v1.4.15...v1.4.16 diff --git a/projects/packages/blocks/changelog/update-wpcs-pre-phpcbf b/projects/packages/blocks/changelog/update-wpcs-pre-phpcbf deleted file mode 100644 index 8ae821ee1a3df..0000000000000 --- a/projects/packages/blocks/changelog/update-wpcs-pre-phpcbf +++ /dev/null @@ -1,5 +0,0 @@ -Significance: patch -Type: fixed -Comment: PHPCS: Fix most auto-fixable sniffs coming in new WPCS snapshot. No user-visible change to the project. - - diff --git a/projects/packages/changelogger/CHANGELOG.md b/projects/packages/changelogger/CHANGELOG.md index c7e2345f426a7..8f87be245d5f3 100644 --- a/projects/packages/changelogger/CHANGELOG.md +++ b/projects/packages/changelogger/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [3.3.1] - 2023-01-11 +### Changed +- Updated package dependencies. + ## [3.3.0] - 2022-12-26 ### Changed - Support merge strategy for jetpack changelogger, assuming that merge commits contains the pr number in the merge commit with format (#{pr_number}) towards the end. [#27881] @@ -139,6 +143,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm ### Added - Initial version. +[3.3.1]: https://github.com/Automattic/jetpack-changelogger/compare/3.3.0...3.3.1 [3.3.0]: https://github.com/Automattic/jetpack-changelogger/compare/3.2.3...3.3.0 [3.2.3]: https://github.com/Automattic/jetpack-changelogger/compare/3.2.2...3.2.3 [3.2.2]: https://github.com/Automattic/jetpack-changelogger/compare/3.2.1...3.2.2 diff --git a/projects/packages/changelogger/changelog/update-wpcs-pre-phpcbf b/projects/packages/changelogger/changelog/update-wpcs-pre-phpcbf deleted file mode 100644 index 8ae821ee1a3df..0000000000000 --- a/projects/packages/changelogger/changelog/update-wpcs-pre-phpcbf +++ /dev/null @@ -1,5 +0,0 @@ -Significance: patch -Type: fixed -Comment: PHPCS: Fix most auto-fixable sniffs coming in new WPCS snapshot. No user-visible change to the project. - - diff --git a/projects/packages/changelogger/src/Application.php b/projects/packages/changelogger/src/Application.php index 47fe0c2967ad2..14d4916ec138b 100644 --- a/projects/packages/changelogger/src/Application.php +++ b/projects/packages/changelogger/src/Application.php @@ -18,7 +18,7 @@ */ class Application extends SymfonyApplication { - const VERSION = '3.3.1-alpha'; + const VERSION = '3.3.1'; /** * Constructor. diff --git a/projects/packages/connection/CHANGELOG.md b/projects/packages/connection/CHANGELOG.md index c742a57ba6cf2..8ea2312b61c39 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). +## [1.49.0] - 2023-01-11 +### Added +- Add new method to get a connected site's blog ID. [#28208] + ## [1.48.1] - 2022-12-27 ### Removed - Remove src/js files from final bundle [#27931] @@ -745,6 +749,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Separate the connection library into its own package. +[1.49.0]: https://github.com/Automattic/jetpack-connection/compare/v1.48.1...v1.49.0 [1.48.1]: https://github.com/Automattic/jetpack-connection/compare/v1.48.0...v1.48.1 [1.48.0]: https://github.com/Automattic/jetpack-connection/compare/v1.47.1...v1.48.0 [1.47.1]: https://github.com/Automattic/jetpack-connection/compare/v1.47.0...v1.47.1 diff --git a/projects/packages/connection/changelog/add-shared-get-blog-id b/projects/packages/connection/changelog/add-shared-get-blog-id deleted file mode 100644 index b4e5f841ab31e..0000000000000 --- a/projects/packages/connection/changelog/add-shared-get-blog-id +++ /dev/null @@ -1,4 +0,0 @@ -Significance: minor -Type: added - -Add new method to get a connected site's blog ID. diff --git a/projects/packages/connection/changelog/update-wpcs b/projects/packages/connection/changelog/update-wpcs deleted file mode 100644 index 211a1cc7d9e1d..0000000000000 --- a/projects/packages/connection/changelog/update-wpcs +++ /dev/null @@ -1,5 +0,0 @@ -Significance: patch -Type: fixed -Comment: PHPCS fixes for new WPCS sniffs. Should be no user-visible changes. - - diff --git a/projects/packages/connection/changelog/update-wpcs-pre-phpcbf b/projects/packages/connection/changelog/update-wpcs-pre-phpcbf deleted file mode 100644 index 8ae821ee1a3df..0000000000000 --- a/projects/packages/connection/changelog/update-wpcs-pre-phpcbf +++ /dev/null @@ -1,5 +0,0 @@ -Significance: patch -Type: fixed -Comment: PHPCS: Fix most auto-fixable sniffs coming in new WPCS snapshot. No user-visible change to the project. - - diff --git a/projects/packages/connection/changelog/update-wpcs-pre-phpcbf-2 b/projects/packages/connection/changelog/update-wpcs-pre-phpcbf-2 deleted file mode 100644 index db5606cfacbc7..0000000000000 --- a/projects/packages/connection/changelog/update-wpcs-pre-phpcbf-2 +++ /dev/null @@ -1,5 +0,0 @@ -Significance: patch -Type: fixed -Comment: PHPCS: Fix DisallowLonelyIf sniff coming in new WPCS snapshot. No user-visible change to the project itself. - - diff --git a/projects/packages/connection/src/class-package-version.php b/projects/packages/connection/src/class-package-version.php index d6304ba0f13f9..a345268a20b18 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 = '1.49.0-alpha'; + const PACKAGE_VERSION = '1.49.0'; const PACKAGE_SLUG = 'connection'; diff --git a/projects/packages/device-detection/CHANGELOG.md b/projects/packages/device-detection/CHANGELOG.md index b096a6ccd83b4..07279765f89cb 100644 --- a/projects/packages/device-detection/CHANGELOG.md +++ b/projects/packages/device-detection/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). +## [1.4.23] - 2023-01-11 +### Changed +- Updated package dependencies. + ## [1.4.22] - 2022-12-02 ### Changed - Updated package dependencies. [#27688] @@ -143,6 +147,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Moving jetpack_is_mobile into a package +[1.4.23]: https://github.com/Automattic/jetpack-device-detection/compare/v1.4.22...v1.4.23 [1.4.22]: https://github.com/Automattic/jetpack-device-detection/compare/v1.4.21...v1.4.22 [1.4.21]: https://github.com/Automattic/jetpack-device-detection/compare/v1.4.20...v1.4.21 [1.4.20]: https://github.com/Automattic/jetpack-device-detection/compare/v1.4.19...v1.4.20 diff --git a/projects/packages/device-detection/changelog/update-wpcs-pre-phpcbf b/projects/packages/device-detection/changelog/update-wpcs-pre-phpcbf deleted file mode 100644 index 8ae821ee1a3df..0000000000000 --- a/projects/packages/device-detection/changelog/update-wpcs-pre-phpcbf +++ /dev/null @@ -1,5 +0,0 @@ -Significance: patch -Type: fixed -Comment: PHPCS: Fix most auto-fixable sniffs coming in new WPCS snapshot. No user-visible change to the project. - - diff --git a/projects/packages/device-detection/changelog/update-wpcs-pre-phpcbf-2 b/projects/packages/device-detection/changelog/update-wpcs-pre-phpcbf-2 deleted file mode 100644 index db5606cfacbc7..0000000000000 --- a/projects/packages/device-detection/changelog/update-wpcs-pre-phpcbf-2 +++ /dev/null @@ -1,5 +0,0 @@ -Significance: patch -Type: fixed -Comment: PHPCS: Fix DisallowLonelyIf sniff coming in new WPCS snapshot. No user-visible change to the project itself. - - diff --git a/projects/packages/identity-crisis/CHANGELOG.md b/projects/packages/identity-crisis/CHANGELOG.md index a9ed7db760722..5dc852886c451 100644 --- a/projects/packages/identity-crisis/CHANGELOG.md +++ b/projects/packages/identity-crisis/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.8.34] - 2023-01-11 +### Changed +- Updated package dependencies. [#28127] + ## [0.8.33] - 2022-12-02 ### Changed - Updated package dependencies. [#27688] @@ -308,6 +312,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Updated package dependencies. - Use Connection/Urls for home_url and site_url functions migrated from Sync. +[0.8.34]: https://github.com/Automattic/jetpack-identity-crisis/compare/v0.8.33...v0.8.34 [0.8.33]: https://github.com/Automattic/jetpack-identity-crisis/compare/v0.8.32...v0.8.33 [0.8.32]: https://github.com/Automattic/jetpack-identity-crisis/compare/v0.8.31...v0.8.32 [0.8.31]: https://github.com/Automattic/jetpack-identity-crisis/compare/v0.8.30...v0.8.31 diff --git a/projects/packages/identity-crisis/changelog/renovate-babel-monorepo b/projects/packages/identity-crisis/changelog/renovate-babel-monorepo deleted file mode 100644 index c47cb18e82997..0000000000000 --- a/projects/packages/identity-crisis/changelog/renovate-babel-monorepo +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: changed - -Updated package dependencies. diff --git a/projects/packages/identity-crisis/changelog/update-wpcs-pre-phpcbf b/projects/packages/identity-crisis/changelog/update-wpcs-pre-phpcbf deleted file mode 100644 index 8ae821ee1a3df..0000000000000 --- a/projects/packages/identity-crisis/changelog/update-wpcs-pre-phpcbf +++ /dev/null @@ -1,5 +0,0 @@ -Significance: patch -Type: fixed -Comment: PHPCS: Fix most auto-fixable sniffs coming in new WPCS snapshot. No user-visible change to the project. - - diff --git a/projects/packages/identity-crisis/package.json b/projects/packages/identity-crisis/package.json index bf84372f1a9af..2915672ae7f2b 100644 --- a/projects/packages/identity-crisis/package.json +++ b/projects/packages/identity-crisis/package.json @@ -1,6 +1,6 @@ { "name": "jetpack-identity-crisis", - "version": "0.8.34-alpha", + "version": "0.8.34", "description": "Jetpack Identity Crisis", "main": "_inc/admin.jsx", "repository": { diff --git a/projects/packages/identity-crisis/src/class-identity-crisis.php b/projects/packages/identity-crisis/src/class-identity-crisis.php index 19707b80bda33..80d31d64305b4 100644 --- a/projects/packages/identity-crisis/src/class-identity-crisis.php +++ b/projects/packages/identity-crisis/src/class-identity-crisis.php @@ -28,7 +28,7 @@ class Identity_Crisis { /** * Package Version */ - const PACKAGE_VERSION = '0.8.34-alpha'; + const PACKAGE_VERSION = '0.8.34'; /** * Instance of the object. diff --git a/projects/packages/jitm/CHANGELOG.md b/projects/packages/jitm/CHANGELOG.md index b40bf9b0c897a..3b0a9153429cd 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). +## [2.2.37] - 2023-01-11 +### Changed +- Updated package dependencies. + ## [2.2.36] - 2022-12-27 ### Removed - Remove src/js files from final bundle [#27930] @@ -518,6 +522,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Update Jetpack to use new JITM package +[2.2.37]: https://github.com/Automattic/jetpack-jitm/compare/v2.2.36...v2.2.37 [2.2.36]: https://github.com/Automattic/jetpack-jitm/compare/v2.2.35...v2.2.36 [2.2.35]: https://github.com/Automattic/jetpack-jitm/compare/v2.2.34...v2.2.35 [2.2.34]: https://github.com/Automattic/jetpack-jitm/compare/v2.2.33...v2.2.34 diff --git a/projects/packages/jitm/changelog/update-wpcs-pre-phpcbf b/projects/packages/jitm/changelog/update-wpcs-pre-phpcbf deleted file mode 100644 index 8ae821ee1a3df..0000000000000 --- a/projects/packages/jitm/changelog/update-wpcs-pre-phpcbf +++ /dev/null @@ -1,5 +0,0 @@ -Significance: patch -Type: fixed -Comment: PHPCS: Fix most auto-fixable sniffs coming in new WPCS snapshot. No user-visible change to the project. - - diff --git a/projects/packages/jitm/src/class-jitm.php b/projects/packages/jitm/src/class-jitm.php index 37934302ffc97..8d68cb7256199 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 = '2.2.37-alpha'; + const PACKAGE_VERSION = '2.2.37'; /** * The configuration method that is called from the jetpack-config package. diff --git a/projects/packages/licensing/CHANGELOG.md b/projects/packages/licensing/CHANGELOG.md index ecf70f9cafbaa..59819d725e54f 100644 --- a/projects/packages/licensing/CHANGELOG.md +++ b/projects/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). +## [1.7.14] - 2023-01-11 +### Changed +- Updated package dependencies. + ## [1.7.13] - 2022-12-02 ### Changed - Updated package dependencies. [#27688] @@ -226,6 +230,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Licensing: Add support for Jetpack licenses +[1.7.14]: https://github.com/Automattic/jetpack-licensing/compare/v1.7.13...v1.7.14 [1.7.13]: https://github.com/Automattic/jetpack-licensing/compare/v1.7.12...v1.7.13 [1.7.12]: https://github.com/Automattic/jetpack-licensing/compare/v1.7.11...v1.7.12 [1.7.11]: https://github.com/Automattic/jetpack-licensing/compare/v1.7.10...v1.7.11 diff --git a/projects/packages/licensing/changelog/update-wpcs-pre-phpcbf b/projects/packages/licensing/changelog/update-wpcs-pre-phpcbf deleted file mode 100644 index 8ae821ee1a3df..0000000000000 --- a/projects/packages/licensing/changelog/update-wpcs-pre-phpcbf +++ /dev/null @@ -1,5 +0,0 @@ -Significance: patch -Type: fixed -Comment: PHPCS: Fix most auto-fixable sniffs coming in new WPCS snapshot. No user-visible change to the project. - - diff --git a/projects/packages/my-jetpack/CHANGELOG.md b/projects/packages/my-jetpack/CHANGELOG.md index 469924505bdcd..e488e90858585 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). +## [2.7.3] - 2023-01-11 +### Changed +- Updated package dependencies. + ## [2.7.2] - 2023-01-02 ### Added - My Jetpack: Move VideoPress from Hybrid [#28097] @@ -717,6 +721,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added - Created package +[2.7.3]: https://github.com/Automattic/jetpack-my-jetpack/compare/2.7.2...2.7.3 [2.7.2]: https://github.com/Automattic/jetpack-my-jetpack/compare/2.7.1...2.7.2 [2.7.1]: https://github.com/Automattic/jetpack-my-jetpack/compare/2.7.0...2.7.1 [2.7.0]: https://github.com/Automattic/jetpack-my-jetpack/compare/2.6.1...2.7.0 diff --git a/projects/packages/my-jetpack/changelog/renovate-babel-monorepo b/projects/packages/my-jetpack/changelog/renovate-babel-monorepo deleted file mode 100644 index c47cb18e82997..0000000000000 --- a/projects/packages/my-jetpack/changelog/renovate-babel-monorepo +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: changed - -Updated package dependencies. diff --git a/projects/packages/my-jetpack/changelog/renovate-js-unit-testing-packages b/projects/packages/my-jetpack/changelog/renovate-js-unit-testing-packages deleted file mode 100644 index c47cb18e82997..0000000000000 --- a/projects/packages/my-jetpack/changelog/renovate-js-unit-testing-packages +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: changed - -Updated package dependencies. diff --git a/projects/packages/my-jetpack/changelog/renovate-storybook-addon-mock-3.x b/projects/packages/my-jetpack/changelog/renovate-storybook-addon-mock-3.x deleted file mode 100644 index 3b6d778e0f01a..0000000000000 --- a/projects/packages/my-jetpack/changelog/renovate-storybook-addon-mock-3.x +++ /dev/null @@ -1,5 +0,0 @@ -Significance: patch -Type: changed -Comment: Update use of `storybook-addons-mock`. Should be no change to the package itself. - - diff --git a/projects/packages/my-jetpack/changelog/renovate-storybook-monorepo b/projects/packages/my-jetpack/changelog/renovate-storybook-monorepo deleted file mode 100644 index c47cb18e82997..0000000000000 --- a/projects/packages/my-jetpack/changelog/renovate-storybook-monorepo +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: changed - -Updated package dependencies. diff --git a/projects/packages/my-jetpack/changelog/renovate-storybook-testing-react-1.x b/projects/packages/my-jetpack/changelog/renovate-storybook-testing-react-1.x deleted file mode 100644 index c47cb18e82997..0000000000000 --- a/projects/packages/my-jetpack/changelog/renovate-storybook-testing-react-1.x +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: changed - -Updated package dependencies. diff --git a/projects/packages/my-jetpack/changelog/update-wpcs-pre-phpcbf b/projects/packages/my-jetpack/changelog/update-wpcs-pre-phpcbf deleted file mode 100644 index 8ae821ee1a3df..0000000000000 --- a/projects/packages/my-jetpack/changelog/update-wpcs-pre-phpcbf +++ /dev/null @@ -1,5 +0,0 @@ -Significance: patch -Type: fixed -Comment: PHPCS: Fix most auto-fixable sniffs coming in new WPCS snapshot. No user-visible change to the project. - - diff --git a/projects/packages/my-jetpack/changelog/update-wpcs-pre-phpcbf-3 b/projects/packages/my-jetpack/changelog/update-wpcs-pre-phpcbf-3 deleted file mode 100644 index 32d0c9f549baf..0000000000000 --- a/projects/packages/my-jetpack/changelog/update-wpcs-pre-phpcbf-3 +++ /dev/null @@ -1,5 +0,0 @@ -Significance: patch -Type: fixed -Comment: Ignore WordPress.WP.AlternativeFunctions sniff in tests. No need to use WordPress's filesystem functions there. - - diff --git a/projects/packages/my-jetpack/package.json b/projects/packages/my-jetpack/package.json index 0ccaf73991863..9a444b86bd276 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": "2.7.3-alpha", + "version": "2.7.3", "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 b3fefd980170f..3d6cc736dab95 100644 --- a/projects/packages/my-jetpack/src/class-initializer.php +++ b/projects/packages/my-jetpack/src/class-initializer.php @@ -30,7 +30,7 @@ class Initializer { * * @var string */ - const PACKAGE_VERSION = '2.7.3-alpha'; + const PACKAGE_VERSION = '2.7.3'; /** * Initialize My Jetpack diff --git a/projects/packages/password-checker/CHANGELOG.md b/projects/packages/password-checker/CHANGELOG.md index 8e39f1f4fce83..ff7a9833c5811 100644 --- a/projects/packages/password-checker/CHANGELOG.md +++ b/projects/packages/password-checker/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.10] - 2023-01-11 +### Changed +- Updated package dependencies. + ## [0.2.9] - 2022-12-02 ### Changed - Updated package dependencies. [#27688] @@ -88,6 +92,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed - Use `composer update` rather than `install` in scripts, as composer.lock isn't checked in. +[0.2.10]: https://github.com/Automattic/jetpack-password-checker/compare/v0.2.9...v0.2.10 [0.2.9]: https://github.com/Automattic/jetpack-password-checker/compare/v0.2.8...v0.2.9 [0.2.8]: https://github.com/Automattic/jetpack-password-checker/compare/v0.2.7...v0.2.8 [0.2.7]: https://github.com/Automattic/jetpack-password-checker/compare/v0.2.6...v0.2.7 diff --git a/projects/packages/password-checker/changelog/update-wpcs-pre-phpcbf b/projects/packages/password-checker/changelog/update-wpcs-pre-phpcbf deleted file mode 100644 index 8ae821ee1a3df..0000000000000 --- a/projects/packages/password-checker/changelog/update-wpcs-pre-phpcbf +++ /dev/null @@ -1,5 +0,0 @@ -Significance: patch -Type: fixed -Comment: PHPCS: Fix most auto-fixable sniffs coming in new WPCS snapshot. No user-visible change to the project. - - diff --git a/projects/packages/publicize/CHANGELOG.md b/projects/packages/publicize/CHANGELOG.md index 3d8aff1ea9adc..52b663577ddb9 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.19.1] - 2023-01-11 +### Changed +- Changed attached_media type [#27840] + ## [0.19.0] - 2023-01-02 ### Added - Added already shared meta value for post editor api. [#28072] @@ -207,6 +211,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Updated package dependencies. - Update package.json metadata. +[0.19.1]: https://github.com/Automattic/jetpack-publicize/compare/v0.19.0...v0.19.1 [0.19.0]: https://github.com/Automattic/jetpack-publicize/compare/v0.18.4...v0.19.0 [0.18.4]: https://github.com/Automattic/jetpack-publicize/compare/v0.18.3...v0.18.4 [0.18.3]: https://github.com/Automattic/jetpack-publicize/compare/v0.18.2...v0.18.3 diff --git a/projects/packages/publicize/changelog/add-video-validation b/projects/packages/publicize/changelog/add-video-validation deleted file mode 100644 index 27f4f5e5df920..0000000000000 --- a/projects/packages/publicize/changelog/add-video-validation +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: changed - -Changed attached_media type diff --git a/projects/packages/publicize/changelog/update-wpcs b/projects/packages/publicize/changelog/update-wpcs deleted file mode 100644 index 211a1cc7d9e1d..0000000000000 --- a/projects/packages/publicize/changelog/update-wpcs +++ /dev/null @@ -1,5 +0,0 @@ -Significance: patch -Type: fixed -Comment: PHPCS fixes for new WPCS sniffs. Should be no user-visible changes. - - diff --git a/projects/packages/publicize/changelog/update-wpcs-pre-phpcbf b/projects/packages/publicize/changelog/update-wpcs-pre-phpcbf deleted file mode 100644 index 8ae821ee1a3df..0000000000000 --- a/projects/packages/publicize/changelog/update-wpcs-pre-phpcbf +++ /dev/null @@ -1,5 +0,0 @@ -Significance: patch -Type: fixed -Comment: PHPCS: Fix most auto-fixable sniffs coming in new WPCS snapshot. No user-visible change to the project. - - diff --git a/projects/packages/publicize/changelog/update-wpcs-pre-phpcbf-2 b/projects/packages/publicize/changelog/update-wpcs-pre-phpcbf-2 deleted file mode 100644 index db5606cfacbc7..0000000000000 --- a/projects/packages/publicize/changelog/update-wpcs-pre-phpcbf-2 +++ /dev/null @@ -1,5 +0,0 @@ -Significance: patch -Type: fixed -Comment: PHPCS: Fix DisallowLonelyIf sniff coming in new WPCS snapshot. No user-visible change to the project itself. - - diff --git a/projects/packages/publicize/package.json b/projects/packages/publicize/package.json index d9bc73408a990..1072ff903b5dd 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.19.1-alpha", + "version": "0.19.1", "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/redirect/CHANGELOG.md b/projects/packages/redirect/CHANGELOG.md index 2f10830d99909..b9d6ca0299d88 100644 --- a/projects/packages/redirect/CHANGELOG.md +++ b/projects/packages/redirect/CHANGELOG.md @@ -5,9 +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). +## [1.7.23] - 2023-01-11 +### Changed +- Updated package dependencies. + ## [1.7.22] - 2022-12-19 ### Changed -- Updated package dependencies. +- Updated package dependencies. ## [1.7.21] - 2022-12-02 ### Changed @@ -168,6 +172,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Create Jetpack Redirect package +[1.7.23]: https://github.com/Automattic/jetpack-redirect/compare/v1.7.22...v1.7.23 [1.7.22]: https://github.com/Automattic/jetpack-redirect/compare/v1.7.21...v1.7.22 [1.7.21]: https://github.com/Automattic/jetpack-redirect/compare/v1.7.20...v1.7.21 [1.7.20]: https://github.com/Automattic/jetpack-redirect/compare/v1.7.19...v1.7.20 diff --git a/projects/packages/redirect/changelog/update-wpcs-pre-phpcbf b/projects/packages/redirect/changelog/update-wpcs-pre-phpcbf deleted file mode 100644 index 8ae821ee1a3df..0000000000000 --- a/projects/packages/redirect/changelog/update-wpcs-pre-phpcbf +++ /dev/null @@ -1,5 +0,0 @@ -Significance: patch -Type: fixed -Comment: PHPCS: Fix most auto-fixable sniffs coming in new WPCS snapshot. No user-visible change to the project. - - diff --git a/projects/packages/roles/CHANGELOG.md b/projects/packages/roles/CHANGELOG.md index 1f8aee734d4f3..cc0b7998f738e 100644 --- a/projects/packages/roles/CHANGELOG.md +++ b/projects/packages/roles/CHANGELOG.md @@ -5,9 +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). +## [1.4.21] - 2023-01-11 +### Changed +- Updated package dependencies. + ## [1.4.20] - 2022-12-19 ### Changed -- Updated package dependencies. +- Updated package dependencies. ## [1.4.19] - 2022-12-02 ### Changed @@ -135,6 +139,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Jetpack DNA: Introduce a Roles package +[1.4.21]: https://github.com/Automattic/jetpack-roles/compare/v1.4.20...v1.4.21 [1.4.20]: https://github.com/Automattic/jetpack-roles/compare/v1.4.19...v1.4.20 [1.4.19]: https://github.com/Automattic/jetpack-roles/compare/v1.4.18...v1.4.19 [1.4.18]: https://github.com/Automattic/jetpack-roles/compare/v1.4.17...v1.4.18 diff --git a/projects/packages/roles/changelog/update-wpcs b/projects/packages/roles/changelog/update-wpcs deleted file mode 100644 index 211a1cc7d9e1d..0000000000000 --- a/projects/packages/roles/changelog/update-wpcs +++ /dev/null @@ -1,5 +0,0 @@ -Significance: patch -Type: fixed -Comment: PHPCS fixes for new WPCS sniffs. Should be no user-visible changes. - - diff --git a/projects/packages/search/CHANGELOG.md b/projects/packages/search/CHANGELOG.md index 858594fee8009..d17bc47e6cd6c 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.31.3] - 2023-01-11 +### Changed +- Updated package dependencies. + ## [0.31.2] - 2022-12-19 ### Changed - Updated package dependencies. [#27887, #27916, #27962] @@ -632,6 +636,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.31.3]: https://github.com/Automattic/jetpack-search/compare/v0.31.2...v0.31.3 [0.31.2]: https://github.com/Automattic/jetpack-search/compare/v0.31.1...v0.31.2 [0.31.1]: https://github.com/Automattic/jetpack-search/compare/v0.31.0...v0.31.1 [0.31.0]: https://github.com/Automattic/jetpack-search/compare/v0.30.2...v0.31.0 diff --git a/projects/packages/search/changelog/fix-28108-php-errors b/projects/packages/search/changelog/fix-28108-php-errors deleted file mode 100644 index ca45759040a1a..0000000000000 --- a/projects/packages/search/changelog/fix-28108-php-errors +++ /dev/null @@ -1,5 +0,0 @@ -Significance: patch -Type: fixed -Comment: Replace null with empty string on first param in some add_submenu_page() call to prevent PHP notice. - - diff --git a/projects/packages/search/changelog/renovate-babel-monorepo b/projects/packages/search/changelog/renovate-babel-monorepo deleted file mode 100644 index c47cb18e82997..0000000000000 --- a/projects/packages/search/changelog/renovate-babel-monorepo +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: changed - -Updated package dependencies. diff --git a/projects/packages/search/changelog/renovate-js-unit-testing-packages b/projects/packages/search/changelog/renovate-js-unit-testing-packages deleted file mode 100644 index c47cb18e82997..0000000000000 --- a/projects/packages/search/changelog/renovate-js-unit-testing-packages +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: changed - -Updated package dependencies. diff --git a/projects/packages/search/changelog/renovate-postcss-8.x b/projects/packages/search/changelog/renovate-postcss-8.x deleted file mode 100644 index c47cb18e82997..0000000000000 --- a/projects/packages/search/changelog/renovate-postcss-8.x +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: changed - -Updated package dependencies. diff --git a/projects/packages/search/changelog/update-wpcs-pre-phpcbf b/projects/packages/search/changelog/update-wpcs-pre-phpcbf deleted file mode 100644 index 8ae821ee1a3df..0000000000000 --- a/projects/packages/search/changelog/update-wpcs-pre-phpcbf +++ /dev/null @@ -1,5 +0,0 @@ -Significance: patch -Type: fixed -Comment: PHPCS: Fix most auto-fixable sniffs coming in new WPCS snapshot. No user-visible change to the project. - - diff --git a/projects/packages/search/package.json b/projects/packages/search/package.json index 9549aaca7198e..4699408ed1056 100644 --- a/projects/packages/search/package.json +++ b/projects/packages/search/package.json @@ -1,6 +1,6 @@ { "name": "jetpack-search", - "version": "0.31.3-alpha", + "version": "0.31.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 b0ed7bd93af22..6c8a87b4f0e35 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.31.3-alpha'; + const VERSION = '0.31.3'; const SLUG = 'search'; /** diff --git a/projects/packages/stats-admin/CHANGELOG.md b/projects/packages/stats-admin/CHANGELOG.md index ed53651b4ff97..9e16657cf50df 100644 --- a/projects/packages/stats-admin/CHANGELOG.md +++ b/projects/packages/stats-admin/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.0 - 2023-01-11 +### Added +- Stats: add loading spinner for Stats Dashboard [#28219] + ## 0.2.1 - 2022-12-27 ### Changed - Stats: added more dependencies to be loaded for stats bundle [#28065] diff --git a/projects/packages/stats-admin/changelog/add-loading-spinner-for-stats b/projects/packages/stats-admin/changelog/add-loading-spinner-for-stats deleted file mode 100644 index 13ad2a2af0f99..0000000000000 --- a/projects/packages/stats-admin/changelog/add-loading-spinner-for-stats +++ /dev/null @@ -1,4 +0,0 @@ -Significance: minor -Type: added - -Stats: add loading spinner for Stats Dashboard diff --git a/projects/packages/stats-admin/changelog/update-wpcs-pre-phpcbf b/projects/packages/stats-admin/changelog/update-wpcs-pre-phpcbf deleted file mode 100644 index 8ae821ee1a3df..0000000000000 --- a/projects/packages/stats-admin/changelog/update-wpcs-pre-phpcbf +++ /dev/null @@ -1,5 +0,0 @@ -Significance: patch -Type: fixed -Comment: PHPCS: Fix most auto-fixable sniffs coming in new WPCS snapshot. No user-visible change to the project. - - diff --git a/projects/packages/stats-admin/package.json b/projects/packages/stats-admin/package.json index b465a43edf32d..b234211f518e8 100644 --- a/projects/packages/stats-admin/package.json +++ b/projects/packages/stats-admin/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "@automattic/jetpack-stats-admin", - "version": "0.3.0-alpha", + "version": "0.3.0", "description": "Stats Dashboard", "homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/packages/stats-admin/#readme", "bugs": { diff --git a/projects/packages/stats-admin/src/class-main.php b/projects/packages/stats-admin/src/class-main.php index a830bcf31b6f0..e153252110bf8 100644 --- a/projects/packages/stats-admin/src/class-main.php +++ b/projects/packages/stats-admin/src/class-main.php @@ -18,7 +18,7 @@ class Main { /** * Stats version. */ - const VERSION = '0.3.0-alpha'; + const VERSION = '0.3.0'; /** * Singleton Main instance. diff --git a/projects/packages/stats/CHANGELOG.md b/projects/packages/stats/CHANGELOG.md index 36cd414b95b7c..505e42fc22f8e 100644 --- a/projects/packages/stats/CHANGELOG.md +++ b/projects/packages/stats/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.4.1] - 2023-01-11 +### Changed +- Updated package dependencies. + ## [0.4.0] - 2022-12-06 ### Added - Stats: added streak, highlights, insights for WPCOM_Stats [#27604] @@ -48,6 +52,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed - Fixing static method which was called without self reference. [#26640] +[0.4.1]: https://github.com/Automattic/jetpack-stats/compare/v0.4.0...v0.4.1 [0.4.0]: https://github.com/Automattic/jetpack-stats/compare/v0.3.3...v0.4.0 [0.3.3]: https://github.com/Automattic/jetpack-stats/compare/v0.3.2...v0.3.3 [0.3.2]: https://github.com/Automattic/jetpack-stats/compare/v0.3.1...v0.3.2 diff --git a/projects/packages/stats/changelog/update-wpcs-pre-phpcbf b/projects/packages/stats/changelog/update-wpcs-pre-phpcbf deleted file mode 100644 index 8ae821ee1a3df..0000000000000 --- a/projects/packages/stats/changelog/update-wpcs-pre-phpcbf +++ /dev/null @@ -1,5 +0,0 @@ -Significance: patch -Type: fixed -Comment: PHPCS: Fix most auto-fixable sniffs coming in new WPCS snapshot. No user-visible change to the project. - - diff --git a/projects/packages/status/CHANGELOG.md b/projects/packages/status/CHANGELOG.md index ef4d82ed3905b..7086cc9468c60 100644 --- a/projects/packages/status/CHANGELOG.md +++ b/projects/packages/status/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). +## [1.15.4] - 2023-01-11 +### Changed +- Modules: Allow for deactivating multiple plugins when activating a module. [#28181] + ## [1.15.3] - 2022-12-19 ### Changed - Updated package dependencies. @@ -224,6 +228,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Packages: Introduce a status package +[1.15.4]: https://github.com/Automattic/jetpack-status/compare/v1.15.3...v1.15.4 [1.15.3]: https://github.com/Automattic/jetpack-status/compare/v1.15.2...v1.15.3 [1.15.2]: https://github.com/Automattic/jetpack-status/compare/v1.15.1...v1.15.2 [1.15.1]: https://github.com/Automattic/jetpack-status/compare/v1.15.0...v1.15.1 diff --git a/projects/packages/status/changelog/fix-jetpack-old-plugin-deactivation b/projects/packages/status/changelog/fix-jetpack-old-plugin-deactivation deleted file mode 100644 index 4a06e01f4148d..0000000000000 --- a/projects/packages/status/changelog/fix-jetpack-old-plugin-deactivation +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: changed - -Modules: Allow for deactivating multiple plugins when activating a module. diff --git a/projects/packages/status/changelog/update-wpcs b/projects/packages/status/changelog/update-wpcs deleted file mode 100644 index 211a1cc7d9e1d..0000000000000 --- a/projects/packages/status/changelog/update-wpcs +++ /dev/null @@ -1,5 +0,0 @@ -Significance: patch -Type: fixed -Comment: PHPCS fixes for new WPCS sniffs. Should be no user-visible changes. - - diff --git a/projects/packages/sync/CHANGELOG.md b/projects/packages/sync/CHANGELOG.md index 16b927aebc1f9..ac28b44d8ae26 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). +## [1.46.1] - 2023-01-11 +### Changed +- Updated package dependencies. + ## [1.46.0] - 2022-12-27 ### Added - Added woocommerce_cod_settings to the options whitelist. [#27988] @@ -799,6 +803,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Packages: Move sync to a classmapped package +[1.46.1]: https://github.com/Automattic/jetpack-sync/compare/v1.46.0...v1.46.1 [1.46.0]: https://github.com/Automattic/jetpack-sync/compare/v1.45.0...v1.46.0 [1.45.0]: https://github.com/Automattic/jetpack-sync/compare/v1.44.2...v1.45.0 [1.44.2]: https://github.com/Automattic/jetpack-sync/compare/v1.44.1...v1.44.2 diff --git a/projects/packages/sync/changelog/update-wpcs b/projects/packages/sync/changelog/update-wpcs deleted file mode 100644 index 211a1cc7d9e1d..0000000000000 --- a/projects/packages/sync/changelog/update-wpcs +++ /dev/null @@ -1,5 +0,0 @@ -Significance: patch -Type: fixed -Comment: PHPCS fixes for new WPCS sniffs. Should be no user-visible changes. - - diff --git a/projects/packages/sync/changelog/update-wpcs-pre-phpcbf b/projects/packages/sync/changelog/update-wpcs-pre-phpcbf deleted file mode 100644 index 8ae821ee1a3df..0000000000000 --- a/projects/packages/sync/changelog/update-wpcs-pre-phpcbf +++ /dev/null @@ -1,5 +0,0 @@ -Significance: patch -Type: fixed -Comment: PHPCS: Fix most auto-fixable sniffs coming in new WPCS snapshot. No user-visible change to the project. - - diff --git a/projects/packages/sync/changelog/update-wpcs-pre-phpcbf-2 b/projects/packages/sync/changelog/update-wpcs-pre-phpcbf-2 deleted file mode 100644 index db5606cfacbc7..0000000000000 --- a/projects/packages/sync/changelog/update-wpcs-pre-phpcbf-2 +++ /dev/null @@ -1,5 +0,0 @@ -Significance: patch -Type: fixed -Comment: PHPCS: Fix DisallowLonelyIf sniff coming in new WPCS snapshot. No user-visible change to the project itself. - - diff --git a/projects/packages/sync/src/class-package-version.php b/projects/packages/sync/src/class-package-version.php index 54ad2571cc830..e98c8692bdf7b 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 = '1.46.1-alpha'; + const PACKAGE_VERSION = '1.46.1'; const PACKAGE_SLUG = 'sync'; diff --git a/projects/packages/videopress/CHANGELOG.md b/projects/packages/videopress/CHANGELOG.md index e76cfdb7af10d..b46dbf3169c08 100644 --- a/projects/packages/videopress/CHANGELOG.md +++ b/projects/packages/videopress/CHANGELOG.md @@ -5,6 +5,46 @@ 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.10.2] - 2023-01-11 +### Added +- VideoPress: add Cancel button to uploading file component when replacing file [#28188] +- VideoPress: add Replace control to video block [#28162] +- VideoPress: minor TS enhancement in the useSearchParams() hook [#28250] +- VideoPress: re-implemnt useResumableUploader(). + VideoPress: Iterate over resumable file uploader + * Re implement useResumableUploader() hook with TS + * Update VideoPress uploader to use this hook + * Update getMediaToken() to support jwt-upload one + * Fixes VideoPress: Editor hits the jwt endpoint unneeded #28131 + * Move upload to resumableFileUploader() + * More TypeScript Changes [#28135] +- VideoPress: re-write VideoPress block with TypeScript [#28229] +- VideoPress: Route search query parameter so search results can be shared. [#28064] +- VideoPress: set block video by providing a GUID value [#28233] +- VideoPress: Support replace the video by setting an URL from the replace control [#28221] + +### Changed +- Updated package dependencies. [#28127] +- Updated package dependencies. [#28128] +- Updated package dependencies. [#28129] +- Updated package dependencies. [#28268] +- Updated package dependencies. [#28278] +- VideoPress: set video URL in the Replace control based on the privacy [#28239] +- VideoPress: Support edit privacy on edit details page [#28240] +- VideoPress: TS enhancements in use Video data hooks [#28143] +- VideoPress: update libs used to upload a video in the dashboard context [#28163] +- VideoPress: Update no video dashboard UI to have one CTA [#28236] + +### Removed +- VideoPress: remove video chapters block [#28206] + +### Fixed +- VideoPress: Adjust number of placeholders when loading [#28165] +- VideoPress: change the way to detect when the media is a File instance [#28194] +- VideoPress: clean video attributes that are not options when replacing the video file [#28249] +- VideoPress: fix duplicating uploaded file when replacing the video [#28196] +- VideoPress: Fix local video listed as VideoPress video [#28237] + ## [0.10.1] - 2023-01-02 ### Fixed - VideoPress: fix plugin presence check and default height. [#28083] @@ -572,6 +612,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added - Created empty package [#24952] +[0.10.2]: https://github.com/Automattic/jetpack-videopress/compare/v0.10.1...v0.10.2 [0.10.1]: https://github.com/Automattic/jetpack-videopress/compare/v0.10.0...v0.10.1 [0.10.0]: https://github.com/Automattic/jetpack-videopress/compare/v0.9.2...v0.10.0 [0.9.2]: https://github.com/Automattic/jetpack-videopress/compare/v0.9.1...v0.9.2 diff --git a/projects/packages/videopress/changelog/add-route-video-search b/projects/packages/videopress/changelog/add-route-video-search deleted file mode 100644 index a02a7ae108220..0000000000000 --- a/projects/packages/videopress/changelog/add-route-video-search +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: added - -VideoPress: Route search query parameter so search results can be shared. diff --git a/projects/packages/videopress/changelog/fix-videopress-local-video-listed b/projects/packages/videopress/changelog/fix-videopress-local-video-listed deleted file mode 100644 index 7b561f2d36e8f..0000000000000 --- a/projects/packages/videopress/changelog/fix-videopress-local-video-listed +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: fixed - -VideoPress: Fix local video listed as VideoPress video diff --git a/projects/packages/videopress/changelog/fix-videopress-placeholders-count b/projects/packages/videopress/changelog/fix-videopress-placeholders-count deleted file mode 100644 index 997f75a654854..0000000000000 --- a/projects/packages/videopress/changelog/fix-videopress-placeholders-count +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: fixed - -VideoPress: Adjust number of placeholders when loading diff --git a/projects/packages/videopress/changelog/renovate-babel-monorepo b/projects/packages/videopress/changelog/renovate-babel-monorepo deleted file mode 100644 index c47cb18e82997..0000000000000 --- a/projects/packages/videopress/changelog/renovate-babel-monorepo +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: changed - -Updated package dependencies. diff --git a/projects/packages/videopress/changelog/renovate-jest-monorepo b/projects/packages/videopress/changelog/renovate-jest-monorepo deleted file mode 100644 index c47cb18e82997..0000000000000 --- a/projects/packages/videopress/changelog/renovate-jest-monorepo +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: changed - -Updated package dependencies. diff --git a/projects/packages/videopress/changelog/renovate-js-unit-testing-packages b/projects/packages/videopress/changelog/renovate-js-unit-testing-packages deleted file mode 100644 index c47cb18e82997..0000000000000 --- a/projects/packages/videopress/changelog/renovate-js-unit-testing-packages +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: changed - -Updated package dependencies. diff --git a/projects/packages/videopress/changelog/renovate-postcss-8.x b/projects/packages/videopress/changelog/renovate-postcss-8.x deleted file mode 100644 index c47cb18e82997..0000000000000 --- a/projects/packages/videopress/changelog/renovate-postcss-8.x +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: changed - -Updated package dependencies. diff --git a/projects/packages/videopress/changelog/renovate-storybook-monorepo b/projects/packages/videopress/changelog/renovate-storybook-monorepo deleted file mode 100644 index c47cb18e82997..0000000000000 --- a/projects/packages/videopress/changelog/renovate-storybook-monorepo +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: changed - -Updated package dependencies. diff --git a/projects/packages/videopress/changelog/update-video-minot-ty-enhancements-in-use-search-params-hook b/projects/packages/videopress/changelog/update-video-minot-ty-enhancements-in-use-search-params-hook deleted file mode 100644 index 8baaa566c32c2..0000000000000 --- a/projects/packages/videopress/changelog/update-video-minot-ty-enhancements-in-use-search-params-hook +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: added - -VideoPress: minor TS enhancement in the useSearchParams() hook diff --git a/projects/packages/videopress/changelog/update-videopress-add-cancel-replace-video b/projects/packages/videopress/changelog/update-videopress-add-cancel-replace-video deleted file mode 100644 index e7ee12d2a0fe0..0000000000000 --- a/projects/packages/videopress/changelog/update-videopress-add-cancel-replace-video +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: added - -VideoPress: add Cancel button to uploading file component when replacing file diff --git a/projects/packages/videopress/changelog/update-videopress-add-replace-control b/projects/packages/videopress/changelog/update-videopress-add-replace-control deleted file mode 100644 index 98c00196effee..0000000000000 --- a/projects/packages/videopress/changelog/update-videopress-add-replace-control +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: added - -VideoPress: add Replace control to video block diff --git a/projects/packages/videopress/changelog/update-videopress-first-video-ui b/projects/packages/videopress/changelog/update-videopress-first-video-ui deleted file mode 100644 index 694106a7d757e..0000000000000 --- a/projects/packages/videopress/changelog/update-videopress-first-video-ui +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: changed - -VideoPress: Update no video dashboard UI to have one CTA diff --git a/projects/packages/videopress/changelog/update-videopress-fix-replace-by-uploading-issue b/projects/packages/videopress/changelog/update-videopress-fix-replace-by-uploading-issue deleted file mode 100644 index 5e1642a0d8026..0000000000000 --- a/projects/packages/videopress/changelog/update-videopress-fix-replace-by-uploading-issue +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: fixed - -VideoPress: clean video attributes that are not options when replacing the video file diff --git a/projects/packages/videopress/changelog/update-videopress-fix-use-media-data-ts b/projects/packages/videopress/changelog/update-videopress-fix-use-media-data-ts deleted file mode 100644 index 893a7f4f05dce..0000000000000 --- a/projects/packages/videopress/changelog/update-videopress-fix-use-media-data-ts +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: changed - -VideoPress: TS enhancements in use Video data hooks diff --git a/projects/packages/videopress/changelog/update-videopress-fix-weird-instance-of-file-issue b/projects/packages/videopress/changelog/update-videopress-fix-weird-instance-of-file-issue deleted file mode 100644 index 1df42970c7f51..0000000000000 --- a/projects/packages/videopress/changelog/update-videopress-fix-weird-instance-of-file-issue +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: fixed - -VideoPress: change the way to detect when the media is a File instance diff --git a/projects/packages/videopress/changelog/update-videopress-privacy-edit-page b/projects/packages/videopress/changelog/update-videopress-privacy-edit-page deleted file mode 100644 index 452e1cbebd873..0000000000000 --- a/projects/packages/videopress/changelog/update-videopress-privacy-edit-page +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: changed - -VideoPress: Support edit privacy on edit details page diff --git a/projects/packages/videopress/changelog/update-videopress-refact-use-resumable-uploader b/projects/packages/videopress/changelog/update-videopress-refact-use-resumable-uploader deleted file mode 100644 index 8275c5679c08b..0000000000000 --- a/projects/packages/videopress/changelog/update-videopress-refact-use-resumable-uploader +++ /dev/null @@ -1,11 +0,0 @@ -Significance: patch -Type: added - -VideoPress: re-implemnt useResumableUploader(). -VideoPress: Iterate over resumable file uploader - * Re implement useResumableUploader() hook with TS - * Update VideoPress uploader to use this hook - * Update getMediaToken() to support jwt-upload one - * Fixes VideoPress: Editor hits the jwt endpoint unneeded #28131 - * Move upload to resumableFileUploader() - * More TypeScript Changes diff --git a/projects/packages/videopress/changelog/update-videopress-remove-video-chapter-beta-block b/projects/packages/videopress/changelog/update-videopress-remove-video-chapter-beta-block deleted file mode 100644 index 2728f5f20ea7d..0000000000000 --- a/projects/packages/videopress/changelog/update-videopress-remove-video-chapter-beta-block +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: removed - -VideoPress: remove video chapters block diff --git a/projects/packages/videopress/changelog/update-videopress-replace-by-url-from-toolbar b/projects/packages/videopress/changelog/update-videopress-replace-by-url-from-toolbar deleted file mode 100644 index 88973091f726d..0000000000000 --- a/projects/packages/videopress/changelog/update-videopress-replace-by-url-from-toolbar +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: added - -VideoPress: Support replace the video by setting an URL from the replace control diff --git a/projects/packages/videopress/changelog/update-videopress-set-url-based-on-privacy b/projects/packages/videopress/changelog/update-videopress-set-url-based-on-privacy deleted file mode 100644 index ebeb9d54611db..0000000000000 --- a/projects/packages/videopress/changelog/update-videopress-set-url-based-on-privacy +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: changed - -VideoPress: set video URL in the Replace control based on the privacy diff --git a/projects/packages/videopress/changelog/update-videopress-set-video-by-pasting-guid b/projects/packages/videopress/changelog/update-videopress-set-video-by-pasting-guid deleted file mode 100644 index 963066d96f2ab..0000000000000 --- a/projects/packages/videopress/changelog/update-videopress-set-video-by-pasting-guid +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: added - -VideoPress: set block video by providing a GUID value diff --git a/projects/packages/videopress/changelog/update-videopress-ts-video-block b/projects/packages/videopress/changelog/update-videopress-ts-video-block deleted file mode 100644 index ff40ee63c18a9..0000000000000 --- a/projects/packages/videopress/changelog/update-videopress-ts-video-block +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: added - -VideoPress: re-write VideoPress block with TypeScript diff --git a/projects/packages/videopress/changelog/update-wpcs b/projects/packages/videopress/changelog/update-wpcs deleted file mode 100644 index 211a1cc7d9e1d..0000000000000 --- a/projects/packages/videopress/changelog/update-wpcs +++ /dev/null @@ -1,5 +0,0 @@ -Significance: patch -Type: fixed -Comment: PHPCS fixes for new WPCS sniffs. Should be no user-visible changes. - - diff --git a/projects/packages/videopress/changelog/update-wpcs-pre-phpcbf b/projects/packages/videopress/changelog/update-wpcs-pre-phpcbf deleted file mode 100644 index 8ae821ee1a3df..0000000000000 --- a/projects/packages/videopress/changelog/update-wpcs-pre-phpcbf +++ /dev/null @@ -1,5 +0,0 @@ -Significance: patch -Type: fixed -Comment: PHPCS: Fix most auto-fixable sniffs coming in new WPCS snapshot. No user-visible change to the project. - - diff --git a/projects/packages/videopress/changelog/update-wpcs-pre-phpcbf-2 b/projects/packages/videopress/changelog/update-wpcs-pre-phpcbf-2 deleted file mode 100644 index db5606cfacbc7..0000000000000 --- a/projects/packages/videopress/changelog/update-wpcs-pre-phpcbf-2 +++ /dev/null @@ -1,5 +0,0 @@ -Significance: patch -Type: fixed -Comment: PHPCS: Fix DisallowLonelyIf sniff coming in new WPCS snapshot. No user-visible change to the project itself. - - diff --git a/projects/packages/videopress/changelog/videopress-fix-duplicated-file-when-replacing b/projects/packages/videopress/changelog/videopress-fix-duplicated-file-when-replacing deleted file mode 100644 index cb733e8078bab..0000000000000 --- a/projects/packages/videopress/changelog/videopress-fix-duplicated-file-when-replacing +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: fixed - -VideoPress: fix duplicating uploaded file when replacing the video diff --git a/projects/packages/videopress/changelog/videopress-update-uploading-process-in-dashboard b/projects/packages/videopress/changelog/videopress-update-uploading-process-in-dashboard deleted file mode 100644 index 6e318e55bd2b6..0000000000000 --- a/projects/packages/videopress/changelog/videopress-update-uploading-process-in-dashboard +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: changed - -VideoPress: update libs used to upload a video in the dashboard context diff --git a/projects/packages/videopress/package.json b/projects/packages/videopress/package.json index 93f2ee046ea4f..fc44c791bb434 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.10.2-alpha", + "version": "0.10.3-alpha", "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 eb25df8e63903..4640586f92a78 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.10.2-alpha'; + const PACKAGE_VERSION = '0.10.3-alpha'; const PACKAGE_SLUG = 'videopress'; diff --git a/projects/packages/waf/CHANGELOG.md b/projects/packages/waf/CHANGELOG.md index 2cb70aabb65e3..b8d847e348f5e 100644 --- a/projects/packages/waf/CHANGELOG.md +++ b/projects/packages/waf/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.8.3] - 2023-01-11 +### Fixed +- Fixed the WAF package's PHP tests and Composer requirements [#28185] + ## [0.8.2] - 2023-01-09 ### Fixed - Fix firewall activation hooks on first option updates. [#28234] @@ -135,6 +139,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed - Core: do not ship .phpcs.dir.xml in production builds. +[0.8.3]: https://github.com/Automattic/jetpack-waf/compare/v0.8.2...v0.8.3 [0.8.2]: https://github.com/Automattic/jetpack-waf/compare/v0.8.1...v0.8.2 [0.8.1]: https://github.com/Automattic/jetpack-waf/compare/v0.8.0...v0.8.1 [0.8.0]: https://github.com/Automattic/jetpack-waf/compare/v0.7.2...v0.8.0 diff --git a/projects/packages/waf/changelog/fix-waf-tests b/projects/packages/waf/changelog/fix-waf-tests deleted file mode 100644 index 5647d62078609..0000000000000 --- a/projects/packages/waf/changelog/fix-waf-tests +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: fixed - -Fixed the WAF package's PHP tests and Composer requirements diff --git a/projects/packages/wordads/CHANGELOG.md b/projects/packages/wordads/CHANGELOG.md index 685e1186d4d06..5d42c9cfc1da0 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.2.28] - 2023-01-11 +### Changed +- Updated package dependencies. + ## [0.2.27] - 2022-12-19 ### Changed - Updated package dependencies. [#27887, #27916] @@ -141,6 +145,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - PHPCS: Fix `WordPress.Security.ValidatedSanitizedInput` - Updated package dependencies. +[0.2.28]: https://github.com/Automattic/jetpack-wordads/compare/v0.2.27...v0.2.28 [0.2.27]: https://github.com/Automattic/jetpack-wordads/compare/v0.2.26...v0.2.27 [0.2.26]: https://github.com/Automattic/jetpack-wordads/compare/v0.2.25...v0.2.26 [0.2.25]: https://github.com/Automattic/jetpack-wordads/compare/v0.2.24...v0.2.25 diff --git a/projects/packages/wordads/changelog/renovate-babel-monorepo b/projects/packages/wordads/changelog/renovate-babel-monorepo deleted file mode 100644 index c47cb18e82997..0000000000000 --- a/projects/packages/wordads/changelog/renovate-babel-monorepo +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: changed - -Updated package dependencies. diff --git a/projects/packages/wordads/changelog/renovate-js-unit-testing-packages b/projects/packages/wordads/changelog/renovate-js-unit-testing-packages deleted file mode 100644 index c47cb18e82997..0000000000000 --- a/projects/packages/wordads/changelog/renovate-js-unit-testing-packages +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: changed - -Updated package dependencies. diff --git a/projects/packages/wordads/changelog/renovate-postcss-8.x b/projects/packages/wordads/changelog/renovate-postcss-8.x deleted file mode 100644 index c47cb18e82997..0000000000000 --- a/projects/packages/wordads/changelog/renovate-postcss-8.x +++ /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 43cce7304a49a..3f826c3ac1945 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.2.28-alpha", + "version": "0.2.28", "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 04aa9762167cb..4fdbd86aa32db 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.2.28-alpha'; + const VERSION = '0.2.28'; const SLUG = 'wordads'; /** diff --git a/projects/plugins/jetpack/CHANGELOG.md b/projects/plugins/jetpack/CHANGELOG.md index ce87ff530b4af..394a8a81d00bd 100644 --- a/projects/plugins/jetpack/CHANGELOG.md +++ b/projects/plugins/jetpack/CHANGELOG.md @@ -2,9 +2,41 @@ ### This is a list detailing changes for all Jetpack releases. -## [11.7] - 2023-01-10 +## 11.8-a.1 - 2023-01-11 ### Enhancements +- Adding new URL scheme for iCloud Keynote [#28067] +- Adds a few relevant keywords to the 'Newsletter Sign-up' block [#28204] +- Prepare for video validation [#27840] +- Remove Jetpack Blocks section on At a Glance page [#28153] +- Several UI and UX improvements for the Dropdown block [#28010] +- Widgets: add Mastodon to Social Icons Widget and Social Menu [#28175] + +### Improved compatibility +- Disabled Odyssey Stats for Atomic sites [#28180] +### Bug fixes +- Calendar Library: various fixes [#28274] +- Modules: Allow for deactivating multiple plugins when activating a module. [#28181] +- Widgets: avoid errors with the Top Posts Widget when activating Offline mode on your site. [#28169] + +### Other changes +- Add subscription_options to the site settings endpoint [#28036] +- Blaze: remove extension from extension list. [#28174] +- General: switch to shared method for getting a WordPress.com blog ID. [#28208] +- Introduce AI-powered blocks for WordPress.com customers. [#28043] +- Jetpack: Do not try to regiter video chapters block [#28206] +- Site Settings API: Exposing `page_for_posts' option [#28096] +- Social Menu Theme Tool: allow specifying a regex instead of a sisimmple host name for services that have logos. [#28172] +- Updated composer.lock [#28185] +- Updated package dependencies. [#28127] +- Updated package dependencies. [#28128] +- Updated package dependencies. [#28129] +- Updated package dependencies. [#28218] +- Updated package dependencies. [#28278] +- Update playwright version [#28094] + +## [11.7] - 2023-01-10 +### Enhancements - Contact form: update the description on the response data export modal under CSV section, on the Feedback page. [#28214] - Contact form: add a polling function to ensure a successful Google Drive connection, resulting in a usable 'Export' button on the Feedback page. [#28177] - Stats: make the toggle for enabling Odyssey Stats visible for all users. [#28105] @@ -7531,8 +7563,8 @@ Other bugfixes and enhancements at https://github.com/Automattic/jetpack/commits - Initial release -[11.7]: https://wp.me/p1moTy-Q9t [11.6]: https://wp.me/p1moTy-PLI +[11.7]: https://wp.me/p1moTy-Q9t [11.5]: https://wp.me/p1moTy-Ppq [11.4]: https://wp.me/p1moTy-O5I [11.3]: https://wp.me/p1moTy-M5i diff --git a/projects/plugins/jetpack/_inc/lib/class-jetpack-ai-helper.php b/projects/plugins/jetpack/_inc/lib/class-jetpack-ai-helper.php index 4b3dd796ed711..d7e4d88615431 100644 --- a/projects/plugins/jetpack/_inc/lib/class-jetpack-ai-helper.php +++ b/projects/plugins/jetpack/_inc/lib/class-jetpack-ai-helper.php @@ -3,7 +3,7 @@ * API helper for the AI blocks. * * @package automattic/jetpack - * @since $$next-version$$ + * @since 11.8 */ use Automattic\Jetpack\Connection\Client; @@ -13,7 +13,7 @@ /** * Class Jetpack_AI_Helper * - * @since $$next-version$$ + * @since 11.8 */ class Jetpack_AI_Helper { /** diff --git a/projects/plugins/jetpack/_inc/lib/core-api/wpcom-endpoints/class-wpcom-rest-api-v2-endpoint-ai.php b/projects/plugins/jetpack/_inc/lib/core-api/wpcom-endpoints/class-wpcom-rest-api-v2-endpoint-ai.php index 53cc5e2da5085..ee7fc360f0db2 100644 --- a/projects/plugins/jetpack/_inc/lib/core-api/wpcom-endpoints/class-wpcom-rest-api-v2-endpoint-ai.php +++ b/projects/plugins/jetpack/_inc/lib/core-api/wpcom-endpoints/class-wpcom-rest-api-v2-endpoint-ai.php @@ -3,7 +3,7 @@ * REST API endpoint for the Jetpack AI blocks. * * @package automattic/jetpack - * @since $$next-version$$ + * @since 11.8 */ /** diff --git a/projects/plugins/jetpack/changelog/add-ai-blocks b/projects/plugins/jetpack/changelog/add-ai-blocks deleted file mode 100644 index 11e3867cf3a9a..0000000000000 --- a/projects/plugins/jetpack/changelog/add-ai-blocks +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: other - -Introduce AI-powered blocks for WordPress.com customers. diff --git a/projects/plugins/jetpack/changelog/add-backup-package-js-tests b/projects/plugins/jetpack/changelog/add-backup-package-js-tests deleted file mode 100644 index a1c1831fa1ef7..0000000000000 --- a/projects/plugins/jetpack/changelog/add-backup-package-js-tests +++ /dev/null @@ -1,5 +0,0 @@ -Significance: patch -Type: other -Comment: Updated composer.lock. - - diff --git a/projects/plugins/jetpack/changelog/add-e2e-tiled-gallery-block-test b/projects/plugins/jetpack/changelog/add-e2e-tiled-gallery-block-test deleted file mode 100644 index c894cc9412462..0000000000000 --- a/projects/plugins/jetpack/changelog/add-e2e-tiled-gallery-block-test +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: other - -Update playwright version diff --git a/projects/plugins/jetpack/changelog/add-loading-spinner-for-stats b/projects/plugins/jetpack/changelog/add-loading-spinner-for-stats deleted file mode 100644 index a1c1831fa1ef7..0000000000000 --- a/projects/plugins/jetpack/changelog/add-loading-spinner-for-stats +++ /dev/null @@ -1,5 +0,0 @@ -Significance: patch -Type: other -Comment: Updated composer.lock. - - diff --git a/projects/plugins/jetpack/changelog/add-mastodon-social-icon-menu b/projects/plugins/jetpack/changelog/add-mastodon-social-icon-menu deleted file mode 100644 index c5e480ec5aa7e..0000000000000 --- a/projects/plugins/jetpack/changelog/add-mastodon-social-icon-menu +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: enhancement - -Widgets: add Mastodon to Social Icons Widget and Social Menu diff --git a/projects/plugins/jetpack/changelog/add-new-icloud-oembed-url-scheme b/projects/plugins/jetpack/changelog/add-new-icloud-oembed-url-scheme deleted file mode 100644 index 4a0ec140290d8..0000000000000 --- a/projects/plugins/jetpack/changelog/add-new-icloud-oembed-url-scheme +++ /dev/null @@ -1,4 +0,0 @@ -Significance: minor -Type: enhancement - -Adding new URL scheme for iCloud Keynote diff --git a/projects/plugins/jetpack/changelog/add-newsletter-signup-block-keywords b/projects/plugins/jetpack/changelog/add-newsletter-signup-block-keywords deleted file mode 100644 index 7163d9a802d6f..0000000000000 --- a/projects/plugins/jetpack/changelog/add-newsletter-signup-block-keywords +++ /dev/null @@ -1,4 +0,0 @@ -Significance: minor -Type: enhancement - -Adds a few relevant keywords to the 'Newsletter Sign-up' block diff --git a/projects/plugins/jetpack/changelog/add-shared-get-blog-id b/projects/plugins/jetpack/changelog/add-shared-get-blog-id deleted file mode 100644 index 067c71e1165d1..0000000000000 --- a/projects/plugins/jetpack/changelog/add-shared-get-blog-id +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: other - -General: switch to shared method for getting a WordPress.com blog ID. diff --git a/projects/plugins/jetpack/changelog/add-shared-get-blog-id#2 b/projects/plugins/jetpack/changelog/add-shared-get-blog-id#2 deleted file mode 100644 index a1c1831fa1ef7..0000000000000 --- a/projects/plugins/jetpack/changelog/add-shared-get-blog-id#2 +++ /dev/null @@ -1,5 +0,0 @@ -Significance: patch -Type: other -Comment: Updated composer.lock. - - diff --git a/projects/plugins/jetpack/changelog/add-social-menu-add-regex-option b/projects/plugins/jetpack/changelog/add-social-menu-add-regex-option deleted file mode 100644 index e1743f04fb52f..0000000000000 --- a/projects/plugins/jetpack/changelog/add-social-menu-add-regex-option +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: other - -Social Menu Theme Tool: allow specifying a regex instead of a sisimmple host name for services that have logos. diff --git a/projects/plugins/jetpack/changelog/add-subscription-options-to-site-settings-endpoint b/projects/plugins/jetpack/changelog/add-subscription-options-to-site-settings-endpoint deleted file mode 100644 index bc866354cbc93..0000000000000 --- a/projects/plugins/jetpack/changelog/add-subscription-options-to-site-settings-endpoint +++ /dev/null @@ -1,4 +0,0 @@ -Significance: minor -Type: other - -Add subscription_options to the site settings endpoint diff --git a/projects/plugins/jetpack/changelog/add-video-validation b/projects/plugins/jetpack/changelog/add-video-validation deleted file mode 100644 index 0e892b5e1aca5..0000000000000 --- a/projects/plugins/jetpack/changelog/add-video-validation +++ /dev/null @@ -1,4 +0,0 @@ -Significance: minor -Type: enhancement - -Prepare for video validation diff --git a/projects/plugins/jetpack/changelog/disable-odyssey-on-woa b/projects/plugins/jetpack/changelog/disable-odyssey-on-woa deleted file mode 100644 index 5a3a4165edac6..0000000000000 --- a/projects/plugins/jetpack/changelog/disable-odyssey-on-woa +++ /dev/null @@ -1,4 +0,0 @@ -Significance: minor -Type: compat - -Disabled Odyssey Stats for Atomic sites diff --git a/projects/plugins/jetpack/changelog/e2e-remove-complete-plan-selection b/projects/plugins/jetpack/changelog/e2e-remove-complete-plan-selection deleted file mode 100644 index 4adf82cf4b0c2..0000000000000 --- a/projects/plugins/jetpack/changelog/e2e-remove-complete-plan-selection +++ /dev/null @@ -1,5 +0,0 @@ -Significance: patch -Type: other -Comment: small e2e test update - - diff --git a/projects/plugins/jetpack/changelog/fix-28108-php-errors b/projects/plugins/jetpack/changelog/fix-28108-php-errors deleted file mode 100644 index c2371454da80d..0000000000000 --- a/projects/plugins/jetpack/changelog/fix-28108-php-errors +++ /dev/null @@ -1,5 +0,0 @@ -Significance: patch -Type: other -Comment: Replace null with empty string on first param in some add_submenu_page() calls - - diff --git a/projects/plugins/jetpack/changelog/fix-jetpack-old-plugin-deactivation b/projects/plugins/jetpack/changelog/fix-jetpack-old-plugin-deactivation deleted file mode 100644 index 4e173a9e01dbf..0000000000000 --- a/projects/plugins/jetpack/changelog/fix-jetpack-old-plugin-deactivation +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: bugfix - -Modules: Allow for deactivating multiple plugins when activating a module. diff --git a/projects/plugins/jetpack/changelog/fix-top-posts-offline b/projects/plugins/jetpack/changelog/fix-top-posts-offline deleted file mode 100644 index dd15176ca99a0..0000000000000 --- a/projects/plugins/jetpack/changelog/fix-top-posts-offline +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: bugfix - -Widgets: avoid errors with the Top Posts Widget when activating Offline mode on your site. diff --git a/projects/plugins/jetpack/changelog/fix-waf-tests b/projects/plugins/jetpack/changelog/fix-waf-tests deleted file mode 100644 index c066912682ac2..0000000000000 --- a/projects/plugins/jetpack/changelog/fix-waf-tests +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: other - -Updated composer.lock diff --git a/projects/plugins/jetpack/changelog/improve-ical-reader b/projects/plugins/jetpack/changelog/improve-ical-reader deleted file mode 100644 index f4af487de3a7a..0000000000000 --- a/projects/plugins/jetpack/changelog/improve-ical-reader +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: bugfix - -Calendar Library: various fixes diff --git a/projects/plugins/jetpack/changelog/init-release-cycle b/projects/plugins/jetpack/changelog/init-release-cycle index 76fea95b9d385..75cc8526247d6 100644 --- a/projects/plugins/jetpack/changelog/init-release-cycle +++ b/projects/plugins/jetpack/changelog/init-release-cycle @@ -1,5 +1,5 @@ Significance: patch Type: other -Comment: Init 11.8-a.0 +Comment: Init 11.8-a.2 diff --git a/projects/plugins/jetpack/changelog/remove-jetpack-blocks-section-at-a-glance b/projects/plugins/jetpack/changelog/remove-jetpack-blocks-section-at-a-glance deleted file mode 100644 index 293532f0b3e3d..0000000000000 --- a/projects/plugins/jetpack/changelog/remove-jetpack-blocks-section-at-a-glance +++ /dev/null @@ -1,4 +0,0 @@ -Significance: minor -Type: enhancement - -Remove Jetpack Blocks section on At a Glance page diff --git a/projects/plugins/jetpack/changelog/renovate-babel-monorepo b/projects/plugins/jetpack/changelog/renovate-babel-monorepo deleted file mode 100644 index 1eaea6a769e84..0000000000000 --- a/projects/plugins/jetpack/changelog/renovate-babel-monorepo +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: other - -Updated package dependencies. diff --git a/projects/plugins/jetpack/changelog/renovate-jest-monorepo b/projects/plugins/jetpack/changelog/renovate-jest-monorepo deleted file mode 100644 index 1eaea6a769e84..0000000000000 --- a/projects/plugins/jetpack/changelog/renovate-jest-monorepo +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: other - -Updated package dependencies. diff --git a/projects/plugins/jetpack/changelog/renovate-js-unit-testing-packages b/projects/plugins/jetpack/changelog/renovate-js-unit-testing-packages deleted file mode 100644 index 1eaea6a769e84..0000000000000 --- a/projects/plugins/jetpack/changelog/renovate-js-unit-testing-packages +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: other - -Updated package dependencies. diff --git a/projects/plugins/jetpack/changelog/renovate-lock-file-maintenance b/projects/plugins/jetpack/changelog/renovate-lock-file-maintenance deleted file mode 100644 index 1eaea6a769e84..0000000000000 --- a/projects/plugins/jetpack/changelog/renovate-lock-file-maintenance +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: other - -Updated package dependencies. diff --git a/projects/plugins/jetpack/changelog/renovate-postcss-8.x b/projects/plugins/jetpack/changelog/renovate-postcss-8.x deleted file mode 100644 index 1eaea6a769e84..0000000000000 --- a/projects/plugins/jetpack/changelog/renovate-postcss-8.x +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: other - -Updated package dependencies. diff --git a/projects/plugins/jetpack/changelog/rm-blaze-jetpack-extension b/projects/plugins/jetpack/changelog/rm-blaze-jetpack-extension deleted file mode 100644 index 7bcf9114bbd32..0000000000000 --- a/projects/plugins/jetpack/changelog/rm-blaze-jetpack-extension +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: other - -Blaze: remove extension from extension list. diff --git a/projects/plugins/jetpack/changelog/update-form-dropdown b/projects/plugins/jetpack/changelog/update-form-dropdown deleted file mode 100644 index e17391becc1da..0000000000000 --- a/projects/plugins/jetpack/changelog/update-form-dropdown +++ /dev/null @@ -1,4 +0,0 @@ -Significance: minor -Type: enhancement - -Several UI and UX improvements for the Dropdown block diff --git a/projects/plugins/jetpack/changelog/update-settings-api-expose-page-for-posts-option b/projects/plugins/jetpack/changelog/update-settings-api-expose-page-for-posts-option deleted file mode 100644 index 786991804f319..0000000000000 --- a/projects/plugins/jetpack/changelog/update-settings-api-expose-page-for-posts-option +++ /dev/null @@ -1,4 +0,0 @@ -Significance: minor -Type: other - -Site Settings API: Exposing `page_for_posts' option diff --git a/projects/plugins/jetpack/changelog/update-videopress-remove-video-chapter-beta-block b/projects/plugins/jetpack/changelog/update-videopress-remove-video-chapter-beta-block deleted file mode 100644 index a1b20cb90c420..0000000000000 --- a/projects/plugins/jetpack/changelog/update-videopress-remove-video-chapter-beta-block +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: other - -Jetpack: Do not try to regiter video chapters block diff --git a/projects/plugins/jetpack/changelog/update-wpcs b/projects/plugins/jetpack/changelog/update-wpcs deleted file mode 100644 index 95919879cb565..0000000000000 --- a/projects/plugins/jetpack/changelog/update-wpcs +++ /dev/null @@ -1,5 +0,0 @@ -Significance: patch -Type: other -Comment: PHPCS fixes for new WPCS sniffs. Should be no user-visible changes. - - diff --git a/projects/plugins/jetpack/changelog/update-wpcs-pre-phpcbf b/projects/plugins/jetpack/changelog/update-wpcs-pre-phpcbf deleted file mode 100644 index 219d34a888cd2..0000000000000 --- a/projects/plugins/jetpack/changelog/update-wpcs-pre-phpcbf +++ /dev/null @@ -1,5 +0,0 @@ -Significance: patch -Type: other -Comment: PHPCS: Fix most auto-fixable sniffs coming in new WPCS snapshot. No user-visible change to the project. - - diff --git a/projects/plugins/jetpack/changelog/update-wpcs-pre-phpcbf-2 b/projects/plugins/jetpack/changelog/update-wpcs-pre-phpcbf-2 deleted file mode 100644 index 913020a19c4e8..0000000000000 --- a/projects/plugins/jetpack/changelog/update-wpcs-pre-phpcbf-2 +++ /dev/null @@ -1,5 +0,0 @@ -Significance: patch -Type: other -Comment: PHPCS: Fix DisallowLonelyIf sniff coming in new WPCS snapshot. No user-visible change to the project itself. - - diff --git a/projects/plugins/jetpack/composer.json b/projects/plugins/jetpack/composer.json index 371f518c76c6c..56437bd2927f0 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ⓥ11_8_a_0", + "autoloader-suffix": "f11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ11_8_a_2", "allow-plugins": { "automattic/jetpack-autoloader": true, "automattic/jetpack-composer-plugin": true diff --git a/projects/plugins/jetpack/extensions/blocks/ai-image/ai-image.php b/projects/plugins/jetpack/extensions/blocks/ai-image/ai-image.php index 862b13d55b5fa..136633a9fe852 100644 --- a/projects/plugins/jetpack/extensions/blocks/ai-image/ai-image.php +++ b/projects/plugins/jetpack/extensions/blocks/ai-image/ai-image.php @@ -2,7 +2,7 @@ /** * Jetpack AI Image Block. * - * @since $$next-version$$ + * @since 11.8 * * @package automattic/jetpack */ diff --git a/projects/plugins/jetpack/extensions/blocks/ai-paragraph/ai-paragraph.php b/projects/plugins/jetpack/extensions/blocks/ai-paragraph/ai-paragraph.php index d00b634f384a0..774f524a0feb2 100644 --- a/projects/plugins/jetpack/extensions/blocks/ai-paragraph/ai-paragraph.php +++ b/projects/plugins/jetpack/extensions/blocks/ai-paragraph/ai-paragraph.php @@ -2,7 +2,7 @@ /** * Jetpack AI Paragraph Block. * - * @since $$next-version$$ + * @since 11.8 * * @package automattic/jetpack */ diff --git a/projects/plugins/jetpack/functions.global.php b/projects/plugins/jetpack/functions.global.php index 3aa1f3df3e67d..2b1f6a0e67134 100644 --- a/projects/plugins/jetpack/functions.global.php +++ b/projects/plugins/jetpack/functions.global.php @@ -433,7 +433,7 @@ function jetpack_is_frontend() { * Build a list of Mastodon instance hosts. * That list can be extended via a filter. * - * @since $$next-version$$ + * @since 11.8 * * @return array */ @@ -455,7 +455,7 @@ function jetpack_mastodon_get_instance_list() { /** * Filter the list of Mastodon instances. * - * @since $$next-version$$ + * @since 11.8 * * @module widgets, theme-tools * diff --git a/projects/plugins/jetpack/jetpack.php b/projects/plugins/jetpack/jetpack.php index 8cb4c33f2d397..0fabf7904aa63 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: 11.8-a.0 + * Version: 11.8-a.2 * Author URI: https://jetpack.com * License: GPL2+ * Text Domain: jetpack @@ -32,7 +32,7 @@ define( 'JETPACK__MINIMUM_WP_VERSION', '6.0' ); define( 'JETPACK__MINIMUM_PHP_VERSION', '5.6' ); -define( 'JETPACK__VERSION', '11.8-a.0' ); +define( 'JETPACK__VERSION', '11.8-a.2' ); /** * Constant used to fetch the connection owner token diff --git a/projects/plugins/jetpack/package.json b/projects/plugins/jetpack/package.json index 8802e6f4b5a33..ca7fd000076e3 100644 --- a/projects/plugins/jetpack/package.json +++ b/projects/plugins/jetpack/package.json @@ -1,6 +1,6 @@ { "name": "Jetpack", - "version": "11.8.0-a.0", + "version": "11.8.0-a.2", "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", From c99fbf243fc89cde4e4d02af5f54c93cbbe404c8 Mon Sep 17 00:00:00 2001 From: Nate Weller Date: Wed, 11 Jan 2023 10:03:56 -0700 Subject: [PATCH 05/32] Protect: Round ProgressBar percentage values (#28273) --- .../protect/changelog/fix-protect-progress-bar-decimals | 4 ++++ .../plugins/protect/src/js/components/progress-bar/index.jsx | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 projects/plugins/protect/changelog/fix-protect-progress-bar-decimals diff --git a/projects/plugins/protect/changelog/fix-protect-progress-bar-decimals b/projects/plugins/protect/changelog/fix-protect-progress-bar-decimals new file mode 100644 index 0000000000000..b3b32d6868bd3 --- /dev/null +++ b/projects/plugins/protect/changelog/fix-protect-progress-bar-decimals @@ -0,0 +1,4 @@ +Significance: patch +Type: fixed + +Round percentage values in progress bar component diff --git a/projects/plugins/protect/src/js/components/progress-bar/index.jsx b/projects/plugins/protect/src/js/components/progress-bar/index.jsx index a2a5c11a849b7..c01ab4e33aca7 100644 --- a/projects/plugins/protect/src/js/components/progress-bar/index.jsx +++ b/projects/plugins/protect/src/js/components/progress-bar/index.jsx @@ -16,7 +16,7 @@ const ProgressBar = ( { className, total = 100, value } ) => { } // The percentage should not be allowed to be more than 100 - const progress = Math.min( ( value / total ) * 100, 100 ); + const progress = Math.min( Math.round( ( value / total ) * 100 ), 100 ); const style = { width: `${ progress }%`, From 14dc9a5efee0dc4051bebf9c909bead4aca428de Mon Sep 17 00:00:00 2001 From: Brad Jorsch Date: Wed, 11 Jan 2023 12:30:05 -0500 Subject: [PATCH 06/32] build: Use PR commit SHA in plugin artifact version numbers (#28294) We intend for the version number in the plugin artifacts to include the short hash for the PR head, but the logic used was picking up the merge commit GitHub creates instead. Fix that. --- .github/workflows/build.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9fb41633766d4..627dc46943575 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -202,13 +202,15 @@ jobs: - name: Prepare plugin zips id: prepare + env: + SHA: ${{ github.event.pull_request.head.sha || github.sha }} run: | mkdir work mkdir zips # Current version must compare greather than any previously used current version for this PR. # Assume GH run IDs are monotonic. - VERSUFFIX="${GITHUB_RUN_ID}-g$(cd monorepo && git rev-parse --short HEAD)" + VERSUFFIX="${GITHUB_RUN_ID}-g${SHA:0:8}" # Plugin data is passed as a JSON object. PLUGIN_DATA="{}" @@ -276,9 +278,10 @@ jobs: SECRET: ${{ secrets.JPBETA_SECRET }} PLUGIN_DATA: ${{ steps.prepare.outputs.plugin-data }} PR: ${{ github.event.number }} + SHA: ${{ github.event.pull_request.head.sha || github.sha }} run: | curl -v --fail -L \ - --url "https://betadownload.jetpack.me/gh-action.php?run_id=$GITHUB_RUN_ID&pr=$PR&commit=$GITHUB_SHA" \ + --url "https://betadownload.jetpack.me/gh-action.php?run_id=$GITHUB_RUN_ID&pr=$PR&commit=$SHA" \ --form-string "repo=$GITHUB_REPOSITORY" \ --form-string "branch=${GITHUB_REF#refs/heads/}" \ --form-string "plugins=$PLUGIN_DATA" \ From fbbafd68df9dc9eefec9d5ef37f61ce04111c266 Mon Sep 17 00:00:00 2001 From: Samiff Date: Wed, 11 Jan 2023 10:47:05 -0700 Subject: [PATCH 07/32] Jetpack: 11.8-a.1 changelog editorial (#28300) * Jetpack: 11.8-a.1 changelog editorial * changelog * Fix missing backtick messing with MD display. --- projects/plugins/jetpack/CHANGELOG.md | 39 +++++------ ...pdate-jetpack-11.8-a.1-changelog-editorial | 5 ++ projects/plugins/jetpack/readme.txt | 68 ++----------------- 3 files changed, 29 insertions(+), 83 deletions(-) create mode 100644 projects/plugins/jetpack/changelog/update-jetpack-11.8-a.1-changelog-editorial diff --git a/projects/plugins/jetpack/CHANGELOG.md b/projects/plugins/jetpack/CHANGELOG.md index 394a8a81d00bd..93a9210c3a307 100644 --- a/projects/plugins/jetpack/CHANGELOG.md +++ b/projects/plugins/jetpack/CHANGELOG.md @@ -4,36 +4,31 @@ ## 11.8-a.1 - 2023-01-11 ### Enhancements -- Adding new URL scheme for iCloud Keynote [#28067] -- Adds a few relevant keywords to the 'Newsletter Sign-up' block [#28204] -- Prepare for video validation [#27840] -- Remove Jetpack Blocks section on At a Glance page [#28153] -- Several UI and UX improvements for the Dropdown block [#28010] -- Widgets: add Mastodon to Social Icons Widget and Social Menu [#28175] +- Contact form: UI improvements for the dropdown field. [#28010] +- Form block: add relevant keywords to the 'Newsletter Sign-up' block variation. [#28204] +- Widgets: add Mastodon to Social Icons Widget and Social Menu. [#28175] ### Improved compatibility -- Disabled Odyssey Stats for Atomic sites [#28180] +- oEmbeds: add new URL scheme for iCloud Keynote embeds. [#28067] ### Bug fixes -- Calendar Library: various fixes [#28274] -- Modules: Allow for deactivating multiple plugins when activating a module. [#28181] -- Widgets: avoid errors with the Top Posts Widget when activating Offline mode on your site. [#28169] +- Modules: allow for deactivating multiple plugins when activating a module. [#28181] +- Widgets: avoid errors with the Top Posts Widget when activating Offline mode on a site. [#28169] ### Other changes -- Add subscription_options to the site settings endpoint [#28036] +- Add subscription_options to the site settings endpoint. [#28036] - Blaze: remove extension from extension list. [#28174] +- Calendar library: various bug fixes. [#28274] - General: switch to shared method for getting a WordPress.com blog ID. [#28208] -- Introduce AI-powered blocks for WordPress.com customers. [#28043] -- Jetpack: Do not try to regiter video chapters block [#28206] -- Site Settings API: Exposing `page_for_posts' option [#28096] -- Social Menu Theme Tool: allow specifying a regex instead of a sisimmple host name for services that have logos. [#28172] -- Updated composer.lock [#28185] -- Updated package dependencies. [#28127] -- Updated package dependencies. [#28128] -- Updated package dependencies. [#28129] -- Updated package dependencies. [#28218] -- Updated package dependencies. [#28278] -- Update playwright version [#28094] +- Add groundwork for AI-powered blocks for WordPress.com customers. [#28043] +- VideoPress: do not register video chapters block. [#28206] +- Publicize: prepare for validation of videos. [#27840] +- Remove Jetpack Blocks section on At a Glance page. [#28153] +- Site Settings API: expose `page_for_posts` option. [#28096] +- Social Menu Theme Tool: allow specifying a regex instead of a simple host name for services that have logos. [#28172] +- Updated package dependencies. +- Update Playwright version. [#28094] +- WoA: disabled Odyssey Stats for Atomic sites. [#28180] ## [11.7] - 2023-01-10 ### Enhancements diff --git a/projects/plugins/jetpack/changelog/update-jetpack-11.8-a.1-changelog-editorial b/projects/plugins/jetpack/changelog/update-jetpack-11.8-a.1-changelog-editorial new file mode 100644 index 0000000000000..c09fc25c5744f --- /dev/null +++ b/projects/plugins/jetpack/changelog/update-jetpack-11.8-a.1-changelog-editorial @@ -0,0 +1,5 @@ +Significance: patch +Type: other +Comment: Jetpack: 11.8-a.1 changelog editorial + + diff --git a/projects/plugins/jetpack/readme.txt b/projects/plugins/jetpack/readme.txt index 1bc1959f14f36..af0a1b0f8ad2c 100644 --- a/projects/plugins/jetpack/readme.txt +++ b/projects/plugins/jetpack/readme.txt @@ -242,72 +242,18 @@ Jetpack Backup can do a full website migration to a new host, migrate theme file 4. Promote your newest posts, pages, and products across your social media channels. == Changelog == -### 11.7 - 2023-01-10 -#### Major Enhancements -- Blocks: add launchpad on save modal. -- Revue block: remove functionality due to Revue shutting down, add placeholder messaging instead. - +### 11.8-a.1 - 2023-01-11 #### Enhancements -- Assistant: update Akismet and Backup names. -- Block editor: add a new panel that gives the ability to promote posts after publishing them. -- Contact form: add a polling function to ensure a successful Google Drive connection, resulting in a usable 'Export' button on the Feedback page. -- Contact form: move responses export to a modal triggered by a single "Export" button. -- Contact form: update the description on the response data export modal under CSV section, on the Feedback page. -- Dashboard: activate license key dropdown selector in the main Jetpack dashboard licenses activation page. -- Dashboard: hide agencies module on Jetpack dashboard if site is WoA. -- Dashboard: update Backup, Anti-spam, and VideoPress logos. -- Dashboard: use minimized CSS for the stats widget. -- Form block: styling adjustments including placeholder icon and link color adjustments, placeholder background color, placeholder styles and form fields styles updated to comply with WYSIWYG. -- Form block: allow the required field text to be changed. -- Form block: move contact-form/salesforce-lead-form out of beta blocks and into production. Add beta badge on settings. -- Form block: simplify Form block sidebar to make the UI easier to use. -- Form block: update Form blocks descriptions and child blocks icons. -- Form block: update the default labels logic to allow fields without any label. -- Global Styles: add new fonts for better i18n. -- Google fonts: add new fonts to Global Style options. -- Slideshow block: implement pagination styles when a gallery has more than five images. -- Slideshow block: reduce bullet size and change the CSS justify-content to flex-start, plus replace pencil icon with edit text. -- Slideshow block: update block description. -- Stats: make the toggle for enabling Odyssey Stats visible for all users. -- Subscription block: add a checkbox to include/exclude social followers. -- Subscriptions block: change the label "email subscribers" to "subscribers" in the pre/post publish panel, as it also includes followers. -- VideoPress: do not convert core/embed to videopress/video on-the-fly (WordPress.com sites). -- VideoPress: fix cover attribute on player and add muted attribute on video shortcode. -- Writing prompts: add a writing setting to disable showing prompts when starting a new post. -- Writing prompts: add context to blogging prompt placeholder. -- Writing prompts: add filter for whether prompts are enabled or not. +- Contact form: UI improvements for the dropdown field. +- Form block: add relevant keywords to the 'Newsletter Sign-up' block variation. +- Widgets: add Mastodon to Social Icons Widget and Social Menu. #### Improved compatibility -- Launchpad: Sync Launchpad-related options: `launchpad_screen` and `launchpad_checklist_tasks_statuses`. -- Site Editor: dashboard link points to wordpress.com. -- Styling: Replaced custom maybe_inline_style() with wp_maybe_inline_styles() which is available in WP core since 5.8.0. -- VideoPress: make sure the Videopress shortcode is not registered if standalone VideoPress plugin already registered it. -- Writing prompts: hide placeholder prompts by default. +- oEmbeds: add new URL scheme for iCloud Keynote embeds. #### Bug fixes -- Admin Page: avoid querying for WAF settings when the feature is not active. -- Contact form: fix redirect for "Connect Google Drive" export modal's link on the Feedback page, leading directly to the site's marketing/connections page. -- Contact form: use separate nonce names for export options to ensure modal buttons work as expected. -- Dashboard: add translation context to Security product name. -- Dashboard: fix icon allignment on at a glance page. -- Form block: add line breaks back to plain text email submissions. -- Form block: adjust Form placeholder footer links style to prevent theme clashes. -- Form block: fix contact form view responses URL. -- Form block: fix email formatting for contact form submissions, and removing extra colon for form fields without label. -- Form block: fix patterns modal scrollbar behavior and update form patterns modal filter query. -- General: fix deprecation warnings when running with PHP 8.2. -- Hovercards: fix minor Hovercards & AMP compatibility bug. -- Internationalization: fix context for translated product name. -- Payment block: fix the upgrade nudge for Payment blocks in the Site Editor on WordPress.com sites. -- Premium Content block: fix bug in JWT library encode() method. -- Premium subscriptions / paid newsletters: Reverting previously merged changes which caused fatal errors in production. -- Shortcodes: update the Mixcloud oEmbed API Endpoint to the new version. -- Subscription block: ensure custom button spacing is correct when the button is on its own line. -- Subscription block: fix PHP Warning. -- VideoPress block: fix video player issue in some VideoMaker theme patterns. -- WAF: fix Jetpack Settings WAF module plan check, and the initialization of the firewall. -- WAF: fix WPA click tracking in Agencies card. -- Writing prompts: do not display within mobile app. +- Modules: allow for deactivating multiple plugins when activating a module. +- Widgets: avoid errors with the Top Posts Widget when activating Offline mode on a site. -------- From 7d615cf3ec7433d24a486e01514a9ab68ecee5a6 Mon Sep 17 00:00:00 2001 From: Adrian Moldovan <3854374+adimoldovan@users.noreply.github.com> Date: Wed, 11 Jan 2023 20:02:36 +0200 Subject: [PATCH 08/32] E2E tests: remove check for post page (#28299) --- tools/e2e-commons/bin/e2e-env.sh | 1 - tools/e2e-commons/pages/page-actions.js | 2 +- tools/e2e-commons/pages/postFrontend.js | 2 +- tools/e2e-commons/pages/wp-admin/blocks/word-ads.js | 2 +- 4 files changed, 3 insertions(+), 4 deletions(-) diff --git a/tools/e2e-commons/bin/e2e-env.sh b/tools/e2e-commons/bin/e2e-env.sh index b7fcd64689ada..4128ec446489c 100755 --- a/tools/e2e-commons/bin/e2e-env.sh +++ b/tools/e2e-commons/bin/e2e-env.sh @@ -70,7 +70,6 @@ configure_wp_env() { fi $BASE_CMD wp option set permalink_structure "" $BASE_CMD wp jetpack module deactivate sso - $BASE_CMD wp theme activate twentytwentyone echo $BASE_CMD wp plugin status diff --git a/tools/e2e-commons/pages/page-actions.js b/tools/e2e-commons/pages/page-actions.js index 01dd157b0225e..0f60b4e0322c9 100644 --- a/tools/e2e-commons/pages/page-actions.js +++ b/tools/e2e-commons/pages/page-actions.js @@ -58,7 +58,7 @@ export default class PageActions { await this.waitForDomContentLoaded(); } - if ( checkSelectors ) { + if ( checkSelectors && this.selectors ) { for ( const selector of this.selectors ) { await this.waitForElementToBeVisible( selector ); } diff --git a/tools/e2e-commons/pages/postFrontend.js b/tools/e2e-commons/pages/postFrontend.js index aba8856450dfe..eeb2730afacdc 100644 --- a/tools/e2e-commons/pages/postFrontend.js +++ b/tools/e2e-commons/pages/postFrontend.js @@ -4,7 +4,7 @@ import { resolveSiteUrl } from '../helpers/utils-helper.cjs'; export default class PostFrontendPage extends WpPage { constructor( page ) { const url = resolveSiteUrl(); - super( page, { expectedSelectors: [ '.post' ], url } ); + super( page, { url } ); } /** diff --git a/tools/e2e-commons/pages/wp-admin/blocks/word-ads.js b/tools/e2e-commons/pages/wp-admin/blocks/word-ads.js index 16f0ac925b414..0704851bac766 100644 --- a/tools/e2e-commons/pages/wp-admin/blocks/word-ads.js +++ b/tools/e2e-commons/pages/wp-admin/blocks/word-ads.js @@ -37,7 +37,7 @@ export default class WordAdsBlock extends PageActions { */ static async isRendered( page ) { // We check for either the ads placeholder div, or the iframes if the ads are loaded. - const containerSelector = ".entry-content iframe[src*='wordads'],article .wpa"; + const containerSelector = ".entry-content iframe[src*='wordads'],main .wpa .wpa-about"; await page.waitForSelector( containerSelector ); } } From 6ca174344f0a2de781ddf97981959c241450f877 Mon Sep 17 00:00:00 2001 From: Jeremy Herve Date: Wed, 11 Jan 2023 20:07:40 +0100 Subject: [PATCH 09/32] Blaze: only display UI to English customers. (#28266) --- .../blaze/changelog/update-blaze-conditions | 4 ++++ projects/packages/blaze/package.json | 2 +- projects/packages/blaze/src/class-blaze.php | 21 ++++++++++++++++--- 3 files changed, 23 insertions(+), 4 deletions(-) create mode 100644 projects/packages/blaze/changelog/update-blaze-conditions diff --git a/projects/packages/blaze/changelog/update-blaze-conditions b/projects/packages/blaze/changelog/update-blaze-conditions new file mode 100644 index 0000000000000..84e7c74f2395e --- /dev/null +++ b/projects/packages/blaze/changelog/update-blaze-conditions @@ -0,0 +1,4 @@ +Significance: patch +Type: changed + +Only display the Blaze UI if the connected user's language is English. diff --git a/projects/packages/blaze/package.json b/projects/packages/blaze/package.json index 581c8a7a15d65..4e51a80e47051 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.3.3", + "version": "0.3.4-alpha", "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-blaze.php b/projects/packages/blaze/src/class-blaze.php index 99deccb3b96a0..2b3fea1def45c 100644 --- a/projects/packages/blaze/src/class-blaze.php +++ b/projects/packages/blaze/src/class-blaze.php @@ -16,7 +16,7 @@ */ class Blaze { - const PACKAGE_VERSION = '0.3.3'; + const PACKAGE_VERSION = '0.3.4-alpha'; /** * The configuration method that is called from the jetpack-config package. @@ -64,9 +64,24 @@ public function register() { */ public static function should_initialize() { $should_initialize = true; + $user_data = ( defined( 'IS_WPCOM' ) && IS_WPCOM ) + ? array( 'user_locale' => get_user_locale() ) + : ( new Jetpack_Connection() )->get_connected_user_data(); - // These features currently only work on WordPress.com, so they should be connected for best experience. - if ( ! ( new Jetpack_Connection() )->is_user_connected() ) { + /* + * These features currently only work on WordPress.com, + * so the user should either be connected to WordPress.com for things to work, + * or be on a WordPress.com site where we have direct access to user data such as user locale. + */ + if ( ! $user_data ) { + $should_initialize = false; + } + + // We currently do not show the UI for non-English WordPress.com users. + if ( + ! empty( $user_data['user_locale'] ) + && ! in_array( $user_data['user_locale'], array( 'en', 'en-gb' ), true ) + ) { $should_initialize = false; } From 70f44b80abf3175f02efc0dfa866a02f18e94c47 Mon Sep 17 00:00:00 2001 From: Renato Augusto Gama dos Santos Date: Wed, 11 Jan 2023 16:59:41 -0300 Subject: [PATCH 10/32] VideoPress: Fix app breaking when deleting last page video. (#28281) * VideoPress: Push back page if deleting last video * changelog * VideoPress: Update totalPages and total, and move to action --- .../fix-videopress-delete-last-video | 4 +++ .../admin/components/admin-page/index.tsx | 23 ++++++++++--- .../videopress/src/client/state/actions.js | 7 ++-- .../videopress/src/client/state/constants.js | 1 + .../videopress/src/client/state/reducers.js | 33 +++++++++++++++++++ 5 files changed, 61 insertions(+), 7 deletions(-) create mode 100644 projects/packages/videopress/changelog/fix-videopress-delete-last-video diff --git a/projects/packages/videopress/changelog/fix-videopress-delete-last-video b/projects/packages/videopress/changelog/fix-videopress-delete-last-video new file mode 100644 index 0000000000000..d11d43fbd4bb8 --- /dev/null +++ b/projects/packages/videopress/changelog/fix-videopress-delete-last-video @@ -0,0 +1,4 @@ +Significance: patch +Type: changed + +VideoPress: Fix exception when deleting last video of page diff --git a/projects/packages/videopress/src/client/admin/components/admin-page/index.tsx b/projects/packages/videopress/src/client/admin/components/admin-page/index.tsx index 368a22ef3f064..f54c729c842f0 100644 --- a/projects/packages/videopress/src/client/admin/components/admin-page/index.tsx +++ b/projects/packages/videopress/src/client/admin/components/admin-page/index.tsx @@ -22,7 +22,7 @@ import { FormFileUpload } from '@wordpress/components'; import { useDispatch } from '@wordpress/data'; import { __ } from '@wordpress/i18n'; import classnames from 'classnames'; -import { useEffect, useState } from 'react'; +import { useEffect, useRef, useState } from 'react'; /** * Internal dependencies */ @@ -58,11 +58,15 @@ const useDashboardVideos = () => { const { items: localVideos, uploadedLocalVideoCount } = useLocalVideos(); const { hasVideoPressPurchase } = usePlan(); + // Use a tempPage to catch changes in page from store and not URL + const tempPage = useRef( page ); + /** Get the page number from the search parameters and set it to the state when the state is outdated */ const searchParams = useSearchParams(); const pageFromSearchParam = parseInt( searchParams.getParam( 'page', '1' ) ); const searchFromSearchParam = searchParams.getParam( 'q', '' ); const totalOfPages = Math.ceil( total / itemsPerPage ); + useEffect( () => { // when there are no search results, ensure that the current page number is 1 if ( total === 0 && pageFromSearchParam !== 1 ) { @@ -82,9 +86,18 @@ const useDashboardVideos = () => { // react to a page param change if ( page !== pageFromSearchParam ) { - setVideosQuery( { - page: pageFromSearchParam, - } ); + // store changed and not url + // update url to match store update + if ( page !== tempPage.current ) { + tempPage.current = page; + searchParams.setParam( 'page', page ); + searchParams.update(); + } else { + tempPage.current = pageFromSearchParam; + setVideosQuery( { + page: pageFromSearchParam, + } ); + } return; } @@ -97,7 +110,7 @@ const useDashboardVideos = () => { return; } - }, [ totalOfPages, page, pageFromSearchParam, search, searchFromSearchParam ] ); + }, [ totalOfPages, page, pageFromSearchParam, search, searchFromSearchParam, tempPage.current ] ); // Do not show uploading videos if not in the first page or searching let videos = page > 1 || Boolean( search ) ? items : [ ...uploading, ...items ]; diff --git a/projects/packages/videopress/src/client/state/actions.js b/projects/packages/videopress/src/client/state/actions.js index 90f627ab6ad92..2d219a97d7237 100644 --- a/projects/packages/videopress/src/client/state/actions.js +++ b/projects/packages/videopress/src/client/state/actions.js @@ -50,6 +50,7 @@ import { SET_VIDEO_UPLOAD_PROGRESS, SET_VIDEOPRESS_SETTINGS, WP_REST_API_VIDEOPRESS_SETTINGS_ENDPOINT, + UPDATE_PAGINATION_AFTER_DELETE, } from './constants'; import { mapVideoFromWPV2MediaEndpoint } from './utils/map-videos'; @@ -220,9 +221,11 @@ const deleteVideo = id => async ( { dispatch } ) => { // dispach action to invalidate the cache if ( ! resp?.deleted ) { - return dispatch( { type: DELETE_VIDEO, id, hasBeenDeleted: false, video: {} } ); + dispatch( { type: DELETE_VIDEO, id, hasBeenDeleted: false, video: {} } ); + } else { + dispatch( { type: UPDATE_PAGINATION_AFTER_DELETE } ); + dispatch( { type: DELETE_VIDEO, id, hasBeenDeleted: true, video: resp?.previous } ); } - dispatch( { type: DELETE_VIDEO, id, hasBeenDeleted: true, video: resp?.previous } ); } catch ( error ) { // @todo: implement error handling / UI console.error( error ); // eslint-disable-line no-console diff --git a/projects/packages/videopress/src/client/state/constants.js b/projects/packages/videopress/src/client/state/constants.js index f339886e3afa1..194f75dc98536 100644 --- a/projects/packages/videopress/src/client/state/constants.js +++ b/projects/packages/videopress/src/client/state/constants.js @@ -40,6 +40,7 @@ export const SET_VIDEO_PRIVACY = 'SET_VIDEO_PRIVACY'; export const UPDATE_VIDEO_PRIVACY = 'UPDATE_VIDEO_PRIVACY'; export const DELETE_VIDEO = 'DELETE_VIDEO'; export const REMOVE_VIDEO = 'REMOVE_VIDEO'; +export const UPDATE_PAGINATION_AFTER_DELETE = 'UPDATE_PAGINATION_AFTER_DELETE'; export const SET_VIDEO_UPLOADING = 'SET_VIDEO_UPLOADING'; export const SET_VIDEO_PROCESSING = 'SET_VIDEO_PROCESSING'; diff --git a/projects/packages/videopress/src/client/state/reducers.js b/projects/packages/videopress/src/client/state/reducers.js index 167fd5d0441bd..8353bd55a8440 100644 --- a/projects/packages/videopress/src/client/state/reducers.js +++ b/projects/packages/videopress/src/client/state/reducers.js @@ -41,6 +41,7 @@ import { EXPIRE_PLAYBACK_TOKEN, SET_VIDEOPRESS_SETTINGS, DISMISS_FIRST_VIDEO_POPOVER, + UPDATE_PAGINATION_AFTER_DELETE, } from './constants'; /** @@ -294,6 +295,38 @@ const videos = ( state, action ) => { }; } + /* + * Check if query and pagination should change + * after deleting video + */ + case UPDATE_PAGINATION_AFTER_DELETE: { + const { items = [], query = {}, pagination = {} } = state; + + // If is the last video, reduce the page per 1 + // Being optimistic here + const isLastVideo = items?.length === 1; + const currentPage = query?.page ?? 1; + const currentTotalPage = pagination?.totalPages ?? 1; + const currentTotal = pagination?.total; + + const page = isLastVideo && currentPage > 1 ? currentPage - 1 : currentPage; + const totalPages = + isLastVideo && currentTotalPage > 1 ? currentTotalPage - 1 : currentTotalPage; + + return { + ...state, + query: { + ...query, + page, + }, + pagination: { + ...pagination, + total: currentTotal - 1, + totalPages, + }, + }; + } + case SET_VIDEOS_STORAGE_USED: { return { ...state, From 90f7b439934a69e7b2eeae9ebc3e17ee1848f654 Mon Sep 17 00:00:00 2001 From: Calypso Bot Date: Wed, 11 Jan 2023 14:12:33 -0600 Subject: [PATCH 11/32] Update react-router monorepo (#28303) Co-authored-by: Renovate Bot --- pnpm-lock.yaml | 79 +++++-------------- .../changelog/renovate-react-router-monorepo | 4 + projects/packages/my-jetpack/package.json | 4 +- .../my-jetpack/src/class-initializer.php | 2 +- .../changelog/renovate-react-router-monorepo | 4 + projects/plugins/jetpack/package.json | 2 +- .../changelog/renovate-react-router-monorepo | 4 + projects/plugins/protect/package.json | 2 +- 8 files changed, 37 insertions(+), 64 deletions(-) create mode 100644 projects/packages/my-jetpack/changelog/renovate-react-router-monorepo create mode 100644 projects/plugins/jetpack/changelog/renovate-react-router-monorepo create mode 100644 projects/plugins/protect/changelog/renovate-react-router-monorepo diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 13f46efa30c4f..116e9602e861d 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1021,7 +1021,7 @@ importers: prop-types: 15.8.1 react: 17.0.2 react-dom: 17.0.2 - react-router-dom: 6.2.2 + react-router-dom: 6.6.2 react-test-renderer: 17.0.2 require-from-string: 2.0.2 sass: 1.43.3 @@ -1043,7 +1043,7 @@ importers: '@wordpress/icons': 9.13.0 classnames: 2.3.1 prop-types: 15.8.1 - react-router-dom: 6.2.2_sfoxds7t5ydpegc3knd667wn6m + react-router-dom: 6.6.2_sfoxds7t5ydpegc3knd667wn6m devDependencies: '@automattic/jetpack-webpack-config': link:../../js-packages/webpack-config '@babel/core': 7.20.7 @@ -1654,7 +1654,7 @@ importers: react: 17.0.2 react-dom: 17.0.2 react-redux: 7.2.8 - react-router-dom: 5.2.0 + react-router-dom: 5.3.4 react-test-renderer: 17.0.2 redux: 4.0.5 redux-thunk: 2.3.0 @@ -1721,7 +1721,7 @@ importers: postcss-custom-properties: 12.1.7_postcss@8.4.21 prop-types: 15.7.2 react-redux: 7.2.8_sfoxds7t5ydpegc3knd667wn6m - react-router-dom: 5.2.0_react@17.0.2 + react-router-dom: 5.3.4_react@17.0.2 redux: 4.0.5 redux-thunk: 2.3.0_redux@4.0.5 refx: 3.1.1 @@ -1825,7 +1825,7 @@ importers: prop-types: 15.8.1 react: 17.0.2 react-dom: 17.0.2 - react-router-dom: 6.2.2 + react-router-dom: 6.6.2 sass: 1.43.3 sass-loader: 12.4.0 webpack: 5.72.1 @@ -1849,7 +1849,7 @@ importers: prop-types: 15.8.1 react: 17.0.2 react-dom: 17.0.2_react@17.0.2 - react-router-dom: 6.2.2_sfoxds7t5ydpegc3knd667wn6m + react-router-dom: 6.6.2_sfoxds7t5ydpegc3knd667wn6m devDependencies: '@automattic/jetpack-webpack-config': link:../../js-packages/webpack-config '@babel/core': 7.20.7 @@ -6157,6 +6157,11 @@ packages: react: 17.0.2 react-dom: 17.0.2_react@17.0.2 + /@remix-run/router/1.2.1: + resolution: {integrity: sha512-XiY0IsyHR+DXYS5vBxpoBe/8veTeoRpMHP+vDosLZxL5bnpetzI0igkxkLZS235ldLzyfkxF+2divEwWHP3vMQ==} + engines: {node: '>=14'} + dev: false + /@rollup/plugin-babel/5.3.1_dpjo4snoggnyqakrzkratzdwwa: resolution: {integrity: sha512-WFfdLWU/xVWKeRQnKmIAQULUI7Il0gZnBIH/ZFO069wYIfPu+8zrfp/KMW0atmELoRDq8FbiP3VCss9MhCut7Q==} engines: {node: '>= 10.0.0'} @@ -17044,19 +17049,6 @@ packages: engines: {node: '>=4'} dev: true - /mini-create-react-context/0.4.1_at7mkepldmzoo6silmqc5bca74: - resolution: {integrity: sha512-YWCYEmd5CQeHGSAKrYvXgmzzkrvssZcuuQDDeqkT+PziKGMgE+0MCCtcKbROzocGBG1meBLl2FotlRwf4gAzbQ==} - deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info. - peerDependencies: - prop-types: ^15.0.0 - react: ^0.14.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 - dependencies: - '@babel/runtime': 7.20.7 - prop-types: 15.8.1 - react: 17.0.2 - tiny-warning: 1.0.3 - dev: false - /mini-css-extract-plugin/2.4.5_webpack@5.72.1: resolution: {integrity: sha512-oEIhRucyn1JbT/1tU2BhnwO6ft1jjH1iCX9Gc59WFMg0n5773rQU0oyQ0zzeYFFuBfONaRbQJyGoPtuNseMxjA==} engines: {node: '>= 12.13.0'} @@ -19003,21 +18995,6 @@ packages: engines: {node: '>=0.10.0'} dev: true - /react-router-dom/5.2.0_react@17.0.2: - resolution: {integrity: sha512-gxAmfylo2QUjcwxI63RhQ5G85Qqt4voZpUXSEqCwykV0baaOTQDR1f0PmY8AELqIyVc0NEZUj0Gov5lNGcXgsA==} - peerDependencies: - react: '>=15' - dependencies: - '@babel/runtime': 7.20.7 - history: 4.10.1 - loose-envify: 1.4.0 - prop-types: 15.7.2 - react: 17.0.2 - react-router: 5.2.0_react@17.0.2 - tiny-invariant: 1.3.1 - tiny-warning: 1.0.3 - dev: false - /react-router-dom/5.3.4_react@17.0.2: resolution: {integrity: sha512-m4EqFMHv/Ih4kpcBCONHbkT68KoAeHN4p3lAGoNryfHi0dMy0kCzEZakiKRsvg5wHZ/JLrLW8o8KomWiz/qbYQ==} peerDependencies: @@ -19033,34 +19010,17 @@ packages: tiny-warning: 1.0.3 dev: false - /react-router-dom/6.2.2_sfoxds7t5ydpegc3knd667wn6m: - resolution: {integrity: sha512-AtYEsAST7bDD4dLSQHDnk/qxWLJdad5t1HFa1qJyUrCeGgEuCSw0VB/27ARbF9Fi/W5598ujvJOm3ujUCVzuYQ==} + /react-router-dom/6.6.2_sfoxds7t5ydpegc3knd667wn6m: + resolution: {integrity: sha512-6SCDXxRQqW5af8ImOqKza7icmQ47/EMbz572uFjzvcArg3lZ+04PxSPp8qGs+p2Y+q+b+S/AjXv8m8dyLndIIA==} + engines: {node: '>=14'} peerDependencies: react: '>=16.8' react-dom: '>=16.8' dependencies: - history: 5.3.0 + '@remix-run/router': 1.2.1 react: 17.0.2 react-dom: 17.0.2_react@17.0.2 - react-router: 6.2.2_react@17.0.2 - dev: false - - /react-router/5.2.0_react@17.0.2: - resolution: {integrity: sha512-smz1DUuFHRKdcJC0jobGo8cVbhO3x50tCL4icacOlcwDOEQPq4TMqwx3sY1TP+DvtTgz4nm3thuo7A+BK2U0Dw==} - peerDependencies: - react: '>=15' - dependencies: - '@babel/runtime': 7.20.7 - history: 4.10.1 - hoist-non-react-statics: 3.3.2 - loose-envify: 1.4.0 - mini-create-react-context: 0.4.1_at7mkepldmzoo6silmqc5bca74 - path-to-regexp: 1.8.0 - prop-types: 15.8.1 - react: 17.0.2 - react-is: 16.13.1 - tiny-invariant: 1.3.1 - tiny-warning: 1.0.3 + react-router: 6.6.2_react@17.0.2 dev: false /react-router/5.3.4_react@17.0.2: @@ -19080,12 +19040,13 @@ packages: tiny-warning: 1.0.3 dev: false - /react-router/6.2.2_react@17.0.2: - resolution: {integrity: sha512-/MbxyLzd7Q7amp4gDOGaYvXwhEojkJD5BtExkuKmj39VEE0m3l/zipf6h2WIB2jyAO0lI6NGETh4RDcktRm4AQ==} + /react-router/6.6.2_react@17.0.2: + resolution: {integrity: sha512-uJPG55Pek3orClbURDvfljhqFvMgJRo59Pktywkk8hUUkTY2aRfza8Yhl/vZQXs+TNQyr6tu+uqz/fLxPICOGQ==} + engines: {node: '>=14'} peerDependencies: react: '>=16.8' dependencies: - history: 5.3.0 + '@remix-run/router': 1.2.1 react: 17.0.2 dev: false diff --git a/projects/packages/my-jetpack/changelog/renovate-react-router-monorepo b/projects/packages/my-jetpack/changelog/renovate-react-router-monorepo new file mode 100644 index 0000000000000..c47cb18e82997 --- /dev/null +++ b/projects/packages/my-jetpack/changelog/renovate-react-router-monorepo @@ -0,0 +1,4 @@ +Significance: patch +Type: changed + +Updated package dependencies. diff --git a/projects/packages/my-jetpack/package.json b/projects/packages/my-jetpack/package.json index 9a444b86bd276..0ba65e25501ca 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": "2.7.3", + "version": "2.7.4-alpha", "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": { @@ -35,7 +35,7 @@ "@wordpress/icons": "9.13.0", "classnames": "2.3.1", "prop-types": "15.8.1", - "react-router-dom": "6.2.2" + "react-router-dom": "6.6.2" }, "sideEffects": [ "*.css", diff --git a/projects/packages/my-jetpack/src/class-initializer.php b/projects/packages/my-jetpack/src/class-initializer.php index 3d6cc736dab95..965bb942f05c0 100644 --- a/projects/packages/my-jetpack/src/class-initializer.php +++ b/projects/packages/my-jetpack/src/class-initializer.php @@ -30,7 +30,7 @@ class Initializer { * * @var string */ - const PACKAGE_VERSION = '2.7.3'; + const PACKAGE_VERSION = '2.7.4-alpha'; /** * Initialize My Jetpack diff --git a/projects/plugins/jetpack/changelog/renovate-react-router-monorepo b/projects/plugins/jetpack/changelog/renovate-react-router-monorepo new file mode 100644 index 0000000000000..1eaea6a769e84 --- /dev/null +++ b/projects/plugins/jetpack/changelog/renovate-react-router-monorepo @@ -0,0 +1,4 @@ +Significance: patch +Type: other + +Updated package dependencies. diff --git a/projects/plugins/jetpack/package.json b/projects/plugins/jetpack/package.json index ca7fd000076e3..7bf29077c9b9c 100644 --- a/projects/plugins/jetpack/package.json +++ b/projects/plugins/jetpack/package.json @@ -94,7 +94,7 @@ "postcss-custom-properties": "12.1.7", "prop-types": "15.7.2", "react-redux": "7.2.8", - "react-router-dom": "5.2.0", + "react-router-dom": "5.3.4", "redux": "4.0.5", "redux-thunk": "2.3.0", "refx": "3.1.1", diff --git a/projects/plugins/protect/changelog/renovate-react-router-monorepo b/projects/plugins/protect/changelog/renovate-react-router-monorepo new file mode 100644 index 0000000000000..c47cb18e82997 --- /dev/null +++ b/projects/plugins/protect/changelog/renovate-react-router-monorepo @@ -0,0 +1,4 @@ +Significance: patch +Type: changed + +Updated package dependencies. diff --git a/projects/plugins/protect/package.json b/projects/plugins/protect/package.json index e4fad05398d9c..e08d7fad2506b 100644 --- a/projects/plugins/protect/package.json +++ b/projects/plugins/protect/package.json @@ -43,7 +43,7 @@ "prop-types": "15.8.1", "react": "17.0.2", "react-dom": "17.0.2", - "react-router-dom": "6.2.2" + "react-router-dom": "6.6.2" }, "devDependencies": { "@automattic/jetpack-webpack-config": "workspace:*", From 41f3afbb906bcda8f933194e95414afa6ea69539 Mon Sep 17 00:00:00 2001 From: Samiff Date: Wed, 11 Jan 2023 14:21:04 -0700 Subject: [PATCH 12/32] Adjust phpcs:ignore usage for wpcom compat (#28304) --- .../changelog/update-patch-phpcs-usage-for-wpcom-compat | 5 +++++ .../jetpack/modules/simple-payments/simple-payments.php | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 projects/plugins/jetpack/changelog/update-patch-phpcs-usage-for-wpcom-compat diff --git a/projects/plugins/jetpack/changelog/update-patch-phpcs-usage-for-wpcom-compat b/projects/plugins/jetpack/changelog/update-patch-phpcs-usage-for-wpcom-compat new file mode 100644 index 0000000000000..3e238c5456db9 --- /dev/null +++ b/projects/plugins/jetpack/changelog/update-patch-phpcs-usage-for-wpcom-compat @@ -0,0 +1,5 @@ +Significance: patch +Type: other +Comment: Move a phpcs ignore so that wpcom doesn't throw linting error. + + diff --git a/projects/plugins/jetpack/modules/simple-payments/simple-payments.php b/projects/plugins/jetpack/modules/simple-payments/simple-payments.php index 9485e95db1655..1fd9ced244682 100644 --- a/projects/plugins/jetpack/modules/simple-payments/simple-payments.php +++ b/projects/plugins/jetpack/modules/simple-payments/simple-payments.php @@ -93,7 +93,7 @@ private function register_scripts_and_styles() { * * @see https://developer.paypal.com/docs/integration/direct/express-checkout/integration-jsv4/add-paypal-button/ */ - wp_register_script( + wp_register_script( // phpcs:ignore WordPress.WP.EnqueuedResourceParameters.MissingVersion -- Ignored here instead of on the $ver param line since wpcom isn't in sync with ruleset changes in: https://github.com/Automattic/jetpack/pull/28199 'paypal-checkout-js', 'https://www.paypalobjects.com/api/checkout.js', array(), From 7ad128e5a3c71992a0193f827951a66bb2ca29a7 Mon Sep 17 00:00:00 2001 From: Peter Petrov Date: Thu, 12 Jan 2023 02:44:32 +0200 Subject: [PATCH 13/32] [Boost] Fix toggling Image Guide from requesting page speed refresh (#28261) * Fix toggling image guide requesting a page speed score refresh * changelog --- .../src/js/pages/settings/sections/Score.svelte | 12 ++++++++---- ...t-toggling-image-guide-from-refreshing-page-speed | 4 ++++ 2 files changed, 12 insertions(+), 4 deletions(-) create mode 100644 projects/plugins/boost/changelog/prevent-toggling-image-guide-from-refreshing-page-speed diff --git a/projects/plugins/boost/app/assets/src/js/pages/settings/sections/Score.svelte b/projects/plugins/boost/app/assets/src/js/pages/settings/sections/Score.svelte index 25032d375bead..afd25cfc184dc 100644 --- a/projects/plugins/boost/app/assets/src/js/pages/settings/sections/Score.svelte +++ b/projects/plugins/boost/app/assets/src/js/pages/settings/sections/Score.svelte @@ -54,13 +54,17 @@ */ const scoreConfigString = derived( [ modules, criticalCssStatus ], - ( [ $modules, $criticalCssStatus ] ) => - JSON.stringify( { - modules: $modules, + ( [ $modules, $criticalCssStatus ] ) => { + const scoreModules = Object.assign( {}, $modules ); + delete scoreModules[ 'image-guide' ]; + + return JSON.stringify( { + modules: scoreModules, criticalCss: { created: $criticalCssStatus.created, }, - } ) + } ); + } ); /** diff --git a/projects/plugins/boost/changelog/prevent-toggling-image-guide-from-refreshing-page-speed b/projects/plugins/boost/changelog/prevent-toggling-image-guide-from-refreshing-page-speed new file mode 100644 index 0000000000000..f1313851365d3 --- /dev/null +++ b/projects/plugins/boost/changelog/prevent-toggling-image-guide-from-refreshing-page-speed @@ -0,0 +1,4 @@ +Significance: patch +Type: fixed + +Fix enabling/disabling image guide from the Settings page requesting a page speed score refresh. From 5a209fffb17b37ce6a31c208e9fef4e41806aceb Mon Sep 17 00:00:00 2001 From: Peter Petrov Date: Thu, 12 Jan 2023 03:20:52 +0200 Subject: [PATCH 14/32] [Boost] Update image guide tooltip presentation (#28297) * Update image guide tooltip documentation link position (bottom) and text * Add icon to image guide tooltip documentation link * changelog * Update description text for small images * Update changelog * Update tooltip link color --- .../app/features/image-guide/src/ui/Popup.svelte | 15 +++++++++++---- .../image-guide/src/ui/assets/External.svelte | 15 +++++++++++++++ .../image-guide-tooltip-link-presentation | 4 ++++ 3 files changed, 30 insertions(+), 4 deletions(-) create mode 100644 projects/plugins/boost/app/features/image-guide/src/ui/assets/External.svelte create mode 100644 projects/plugins/boost/changelog/image-guide-tooltip-link-presentation diff --git a/projects/plugins/boost/app/features/image-guide/src/ui/Popup.svelte b/projects/plugins/boost/app/features/image-guide/src/ui/Popup.svelte index 1775388603cdc..14c777fa25932 100644 --- a/projects/plugins/boost/app/features/image-guide/src/ui/Popup.svelte +++ b/projects/plugins/boost/app/features/image-guide/src/ui/Popup.svelte @@ -2,6 +2,7 @@ import { backOut } from 'svelte/easing'; import { fly } from 'svelte/transition'; import JetpackLogo from './JetpackLogo.svelte'; + import External from './assets/External.svelte'; import type { MeasurableImageStore } from '../stores/MeasurableImageStore'; import type { GuideSize } from '../types'; @@ -70,11 +71,10 @@ {:else} {@const stretchedBy = maybeDecimals( 1 / $oversizedRatio ) }
- The image file is {stretchedBy}x smaller than expected on this screen. This might be okay, - but pay attention whether the image appears blurry. + The image file is {stretchedBy}x smaller than expected on this screen. This might be fine, + but you may want to check if the image appears blurry.
{/if} - Learn more {#if $imageURL} + {#if imageOrigin !== origin}
Unable to estimate file size savings because the image is hosted on a different domain.
{/if} + + diff --git a/projects/plugins/boost/changelog/image-guide-tooltip-link-presentation b/projects/plugins/boost/changelog/image-guide-tooltip-link-presentation new file mode 100644 index 0000000000000..1ef4a609055f6 --- /dev/null +++ b/projects/plugins/boost/changelog/image-guide-tooltip-link-presentation @@ -0,0 +1,4 @@ +Significance: patch +Type: changed + +Updated image guide tooltip link position, text and included an icon. Also updated description text for small images. From d2c33a789dd01f9be03469b1701c13506c21b5d7 Mon Sep 17 00:00:00 2001 From: Peter Petrov Date: Thu, 12 Jan 2023 09:33:39 +0200 Subject: [PATCH 15/32] [Boost] Update image guide tooltip link to use jetpack redirect (#28284) * Fix image guide build not working properly with automattic packages * Update image guide tooltip url to use jetpack redirect manager * changelog * Fix changelog tense --- .../boost/app/features/image-guide/src/ui/Popup.svelte | 3 ++- ...boost-update-image-guide-tooltip-link-use-jetpack-redirect | 4 ++++ projects/plugins/boost/rollup.config.js | 4 ++++ 3 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 projects/plugins/boost/changelog/boost-update-image-guide-tooltip-link-use-jetpack-redirect diff --git a/projects/plugins/boost/app/features/image-guide/src/ui/Popup.svelte b/projects/plugins/boost/app/features/image-guide/src/ui/Popup.svelte index 14c777fa25932..226e46b1cf756 100644 --- a/projects/plugins/boost/app/features/image-guide/src/ui/Popup.svelte +++ b/projects/plugins/boost/app/features/image-guide/src/ui/Popup.svelte @@ -1,4 +1,5 @@
diff --git a/projects/plugins/boost/changelog/boost-update-image-guide-tooltip-link-use-jetpack-redirect b/projects/plugins/boost/changelog/boost-update-image-guide-tooltip-link-use-jetpack-redirect new file mode 100644 index 0000000000000..c42323b9336c2 --- /dev/null +++ b/projects/plugins/boost/changelog/boost-update-image-guide-tooltip-link-use-jetpack-redirect @@ -0,0 +1,4 @@ +Significance: patch +Type: fixed + +Updated image guide front-end tooltip link to use jetpack redirect. diff --git a/projects/plugins/boost/rollup.config.js b/projects/plugins/boost/rollup.config.js index e40701da055c4..24a3b24c54883 100644 --- a/projects/plugins/boost/rollup.config.js +++ b/projects/plugins/boost/rollup.config.js @@ -219,7 +219,11 @@ export default [ format: 'iife', name: 'app', file: `${ GUIDE_PATH }/dist/guide.js`, + globals: { + '@wordpress/components': 'wp.components', + }, }, + external: [ '@wordpress/components' ], plugins: [ replace( { preventAssignment: true, From 8bb94bce6af64dc1d5a7f3980aceb8dc5636191e Mon Sep 17 00:00:00 2001 From: Peter Petrov Date: Thu, 12 Jan 2023 09:42:16 +0200 Subject: [PATCH 16/32] [Boost] Mention live chat on premium purchase success page (#28228) * Update wpcom summary text on purchase successful page * changelog * Update description text style to match requirements --- .../plugins/boost/app/admin/class-config.php | 2 ++ .../purchase-success/PurchaseSuccess.svelte | 21 ++++++++++++++++++- ...e-chat-on-purchase-success-page-wpcom-only | 4 ++++ 3 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 projects/plugins/boost/changelog/mention-live-chat-on-purchase-success-page-wpcom-only diff --git a/projects/plugins/boost/app/admin/class-config.php b/projects/plugins/boost/app/admin/class-config.php index 323f929c518d2..2361edaa725a5 100644 --- a/projects/plugins/boost/app/admin/class-config.php +++ b/projects/plugins/boost/app/admin/class-config.php @@ -3,6 +3,7 @@ namespace Automattic\Jetpack_Boost\Admin; use Automattic\Jetpack\Status; +use Automattic\Jetpack\Status\Host; use Automattic\Jetpack_Boost\Features\Optimizations\Optimizations; use Automattic\Jetpack_Boost\Lib\Premium_Features; use Automattic\Jetpack_Boost\REST_API\Permissions\Nonce; @@ -46,6 +47,7 @@ public function constants() { 'online' => ! ( new Status() )->is_offline_mode(), 'assetPath' => plugins_url( $internal_path, JETPACK_BOOST_PATH ), 'getStarted' => self::is_getting_started(), + 'isAtomic' => ( new Host() )->is_woa_site(), ), 'preferences' => array( 'prioritySupport' => Premium_Features::has_feature( Premium_Features::PRIORITY_SUPPORT ), diff --git a/projects/plugins/boost/app/assets/src/js/pages/purchase-success/PurchaseSuccess.svelte b/projects/plugins/boost/app/assets/src/js/pages/purchase-success/PurchaseSuccess.svelte index b077b0aa6473a..cde1ff739c040 100644 --- a/projects/plugins/boost/app/assets/src/js/pages/purchase-success/PurchaseSuccess.svelte +++ b/projects/plugins/boost/app/assets/src/js/pages/purchase-success/PurchaseSuccess.svelte @@ -1,12 +1,17 @@ @@ -107,23 +107,22 @@

- {#if $isImageGuideActive} -
- -

{__( 'Image Guide', 'jetpack-boost' )}Beta

-

- {__( - `This feature helps you discover the images are too large. When you browse your site, the image guide will show you an overlay with information about each image's size.`, - 'jetpack-boost' - )} -

- - {#if false === Jetpack_Boost.site.canResizeImages} - - {/if} -
-
- {/if} +
+ +

{__( 'Image Guide', 'jetpack-boost' )}Beta

+

+ {__( + `This feature helps you discover the images are too large. When you browse your site, the image guide will show you an overlay with information about each image's size.`, + 'jetpack-boost' + )} +

+ + {#if false === Jetpack_Boost.site.canResizeImages} + + {/if} +
+
+
diff --git a/projects/plugins/boost/changelog/fix-image-guide-gate-leftovers b/projects/plugins/boost/changelog/fix-image-guide-gate-leftovers new file mode 100644 index 0000000000000..5ad85664a4a0d --- /dev/null +++ b/projects/plugins/boost/changelog/fix-image-guide-gate-leftovers @@ -0,0 +1,5 @@ +Significance: patch +Type: fixed +Comment: Remove leftovers from the image-guide feature gate + + diff --git a/projects/plugins/boost/rollup.config.js b/projects/plugins/boost/rollup.config.js index 24a3b24c54883..06be52bf54c3f 100644 --- a/projects/plugins/boost/rollup.config.js +++ b/projects/plugins/boost/rollup.config.js @@ -65,10 +65,6 @@ if ( ! production ) { } const GUIDE_PATH = `app/features/image-guide`; -/** - * Replace the variable with `production` when publishing. - */ -const imageGuideProduction = false; export default [ /** @@ -215,7 +211,7 @@ export default [ { input: `${ GUIDE_PATH }/src/index.ts`, output: { - sourcemap: ! imageGuideProduction, + sourcemap: ! production, format: 'iife', name: 'app', file: `${ GUIDE_PATH }/dist/guide.js`, @@ -255,21 +251,21 @@ export default [ postcss( { extensions: [ '.css', '.sss', '.pcss', '.sass', '.scss' ], extract: path.resolve( `${ GUIDE_PATH }/dist/guide.css` ), - minimize: imageGuideProduction, + minimize: production, } ), svelteSVG(), svelte( { - preprocess: sveltePreprocess( { sourceMap: ! imageGuideProduction } ), + preprocess: sveltePreprocess( { sourceMap: ! production } ), compilerOptions: { // enable run-time checks when not in production - dev: ! imageGuideProduction, + dev: ! production, }, } ), typescript( { - sourceMap: ! imageGuideProduction, - inlineSources: ! imageGuideProduction, + sourceMap: ! production, + inlineSources: ! production, // In order to let @rollup/plugin-typescript hanlde TS files from js-packages // we need to include those here and pass the custom tsconfig as well include: tsconfig.include, From f04913c649e84161d565ebf58dddd55e2b65e19b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dami=C3=A1n=20Su=C3=A1rez?= Date: Fri, 13 Jan 2023 11:17:23 +0000 Subject: [PATCH 30/32] VideoPress: tweak the footer of the uploader component (#28337) * debounce generating frame call * tweak uploader component footer * changelog --- ...videopress-tweak-uploader-component-footer | 4 + .../components/videopress-uploader/style.scss | 3 - .../videopress-uploader/uploader-progress.js | 103 +++++++++--------- 3 files changed, 54 insertions(+), 56 deletions(-) create mode 100644 projects/packages/videopress/changelog/update-videopress-tweak-uploader-component-footer diff --git a/projects/packages/videopress/changelog/update-videopress-tweak-uploader-component-footer b/projects/packages/videopress/changelog/update-videopress-tweak-uploader-component-footer new file mode 100644 index 0000000000000..79b96a498cb7b --- /dev/null +++ b/projects/packages/videopress/changelog/update-videopress-tweak-uploader-component-footer @@ -0,0 +1,4 @@ +Significance: patch +Type: changed + +VideoPress: tweak the footer of the uploader component diff --git a/projects/packages/videopress/src/client/block-editor/blocks/video/components/videopress-uploader/style.scss b/projects/packages/videopress/src/client/block-editor/blocks/video/components/videopress-uploader/style.scss index 4aafb8a5dee86..6752ce27dcc3d 100644 --- a/projects/packages/videopress/src/client/block-editor/blocks/video/components/videopress-uploader/style.scss +++ b/projects/packages/videopress/src/client/block-editor/blocks/video/components/videopress-uploader/style.scss @@ -9,9 +9,6 @@ align-items: center; justify-content: space-between; border-top: 1px solid $gray-200; - padding: 1em; - margin: 0 -1em -1em; - min-height: 27px; gap: 16px; &__file-info { diff --git a/projects/packages/videopress/src/client/block-editor/blocks/video/components/videopress-uploader/uploader-progress.js b/projects/packages/videopress/src/client/block-editor/blocks/video/components/videopress-uploader/uploader-progress.js index a6448f3cedee6..653ef869d4eb3 100644 --- a/projects/packages/videopress/src/client/block-editor/blocks/video/components/videopress-uploader/uploader-progress.js +++ b/projects/packages/videopress/src/client/block-editor/blocks/video/components/videopress-uploader/uploader-progress.js @@ -2,7 +2,8 @@ * External dependencies */ import apiFetch from '@wordpress/api-fetch'; -import { Button, Spinner, TextControl } from '@wordpress/components'; +import { Button, TextControl } from '@wordpress/components'; +import { useDebounce } from '@wordpress/compose'; import { useState, useEffect } from '@wordpress/element'; import { escapeHTML } from '@wordpress/escape-html'; import { __, sprintf } from '@wordpress/i18n'; @@ -80,6 +81,10 @@ const usePosterAndTitleUpdate = ( { setAttributes, videoData, onDone } ) => { } ); }; + const debouncedSsendUpdatePoster = useDebounce( posterData => { + sendUpdatePoster( posterData ); + }, 1000 ); + const sendUpdateTitleRequest = () => { return updateMeta( { title } ); }; @@ -119,12 +124,12 @@ const usePosterAndTitleUpdate = ( { setAttributes, videoData, onDone } ) => { } if ( videoPosterImageData ) { - return sendUpdatePoster( { poster_attachment_id: videoPosterImageData?.id } ); + return debouncedSsendUpdatePoster( { poster_attachment_id: videoPosterImageData?.id } ); } // Check if videoFrameMs is not undefined or null instead of bool check to allow 0ms. selection if ( 'undefined' !== typeof videoFrameMs && null !== videoFrameMs ) { - sendUpdatePoster( { at_time: videoFrameMs, is_millisec: true } ); + debouncedSsendUpdatePoster( { at_time: videoFrameMs, is_millisec: true } ); } }, [ videoPosterImageData, videoFrameMs, guid ] ); @@ -194,64 +199,56 @@ const UploaderProgress = ( { />
- { uploadedVideoData ? ( + { roundedProgress < 100 ? ( <> - { __( 'Upload Complete!', 'jetpack-videopress-pkg' ) } 🎉 +
+
+
+
+
+ { sprintf( + /* translators: Placeholder is an upload progress percenatage number, from 0-100. */ + __( 'Uploading (%1$s%%)', 'jetpack-videopress-pkg' ), + roundedProgress + ) } +
+
{ fileSizeLabel }
+
+ { isReplacing && ( +
+ +
+ ) } +
+ { roundedProgress < 100 && ( + + ) } +
+ + ) : ( + <> + { uploadedVideoData ? ( + { __( 'Upload Complete!', 'jetpack-videopress-pkg' ) } 🎉 + ) : ( + { __( 'Finishing up …', 'jetpack-videopress-pkg' ) } 🎬 + ) } - ) : ( - <> - { roundedProgress < 100 ? ( - <> -
-
-
-
-
- { sprintf( - /* translators: Placeholder is an upload progress percenatage number, from 0-100. */ - __( 'Uploading (%1$s%%)', 'jetpack-videopress-pkg' ), - roundedProgress - ) } -
-
{ fileSizeLabel }
-
- { isReplacing && ( -
- -
- ) } -
- { roundedProgress < 100 && ( - - ) } -
- - ) : ( - <> - { __( 'Finishing up …', 'jetpack-videopress-pkg' ) } 🎬 - - - ) } - ) }
From 8774e6865fbeeb2ba6dc216d495a30da7c119c10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dami=C3=A1n=20Su=C3=A1rez?= Date: Fri, 13 Jan 2023 13:29:02 +0000 Subject: [PATCH 31/32] Jetpack: fix VideoPress fullscreen option when using shortcode (#28342) * fix setting fullscreen player when using shortcode * changelog --- .../changelog/update-ideopress-fix-fullscreen-option-issue | 4 ++++ .../jetpack/modules/videopress/class.videopress-player.php | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 projects/plugins/jetpack/changelog/update-ideopress-fix-fullscreen-option-issue diff --git a/projects/plugins/jetpack/changelog/update-ideopress-fix-fullscreen-option-issue b/projects/plugins/jetpack/changelog/update-ideopress-fix-fullscreen-option-issue new file mode 100644 index 0000000000000..95075f00400a7 --- /dev/null +++ b/projects/plugins/jetpack/changelog/update-ideopress-fix-fullscreen-option-issue @@ -0,0 +1,4 @@ +Significance: patch +Type: bugfix + +Jetpack: fix the fullscreen option when using videopress shortcode diff --git a/projects/plugins/jetpack/modules/videopress/class.videopress-player.php b/projects/plugins/jetpack/modules/videopress/class.videopress-player.php index 25558b5ae58bf..4d251be3209f4 100644 --- a/projects/plugins/jetpack/modules/videopress/class.videopress-player.php +++ b/projects/plugins/jetpack/modules/videopress/class.videopress-player.php @@ -700,9 +700,9 @@ public function html5_dynamic_next() { . "' width='" . esc_attr( $videopress_options['width'] ) . "' height='" . esc_attr( $videopress_options['height'] ) . "' src='" . esc_attr( $iframe_url ) - . "' frameborder='0' allowfullscreen'" + . "' frameborder='0' allowfullscreen" . $cover - . "' allow='clipboard-write'>" + . " allow='clipboard-write'>" . ""; } else { From 90ea52f868b690def481b0e4dd754448aac96d56 Mon Sep 17 00:00:00 2001 From: Maciej Grabowski Date: Fri, 13 Jan 2023 14:40:02 +0100 Subject: [PATCH 32/32] JSON Endpoint: Create `GET /sites/%s/dropdown-pages/` endpoint (#28132) * JSON Endpoint: Create 'GET /sites/%s/dropdown-pages' endpoint * changelog * Fix return for the endpoint * For each page return 'title' instead of 'post_title' prop. * Instead of making direct db query make a call to get_pages. Return a list of tree-like page objects. * Ignore unused variable warning * Correct condition to check if page has a parent * Reverse the if clause for building pages_by_parent map * Fix up types * Update projects/plugins/jetpack/json-endpoints/class.wpcom-json-api-list-dropdown-pages-endpoint.php Co-authored-by: Ivan Ottinger <25105483+ivan-ottinger@users.noreply.github.com> * Update projects/plugins/jetpack/json-endpoints/class.wpcom-json-api-list-dropdown-pages-endpoint.php Co-authored-by: Ivan Ottinger <25105483+ivan-ottinger@users.noreply.github.com> * Update projects/plugins/jetpack/json-endpoints/class.wpcom-json-api-list-dropdown-pages-endpoint.php Co-authored-by: Ivan Ottinger <25105483+ivan-ottinger@users.noreply.github.com> * Update projects/plugins/jetpack/json-endpoints/class.wpcom-json-api-list-dropdown-pages-endpoint.php Co-authored-by: Ivan Ottinger <25105483+ivan-ottinger@users.noreply.github.com> Co-authored-by: Ivan Ottinger <25105483+ivan-ottinger@users.noreply.github.com> --- .../add-json-endpoint-get-dropdown-pages | 4 + projects/plugins/jetpack/json-endpoints.php | 1 + ...-json-api-list-dropdown-pages-endpoint.php | 200 ++++++++++++++++++ 3 files changed, 205 insertions(+) create mode 100644 projects/plugins/jetpack/changelog/add-json-endpoint-get-dropdown-pages create mode 100644 projects/plugins/jetpack/json-endpoints/class.wpcom-json-api-list-dropdown-pages-endpoint.php diff --git a/projects/plugins/jetpack/changelog/add-json-endpoint-get-dropdown-pages b/projects/plugins/jetpack/changelog/add-json-endpoint-get-dropdown-pages new file mode 100644 index 0000000000000..1479a14e39678 --- /dev/null +++ b/projects/plugins/jetpack/changelog/add-json-endpoint-get-dropdown-pages @@ -0,0 +1,4 @@ +Significance: minor +Type: other + +JSON Endpoint: Introducing new '/sites/%s/dropdown-pages/' endpoint diff --git a/projects/plugins/jetpack/json-endpoints.php b/projects/plugins/jetpack/json-endpoints.php index d426229b939ea..03f757799305f 100644 --- a/projects/plugins/jetpack/json-endpoints.php +++ b/projects/plugins/jetpack/json-endpoints.php @@ -34,6 +34,7 @@ require_once $json_endpoints_dir . 'class.wpcom-json-api-get-taxonomy-endpoint.php'; require_once $json_endpoints_dir . 'class.wpcom-json-api-get-term-endpoint.php'; require_once $json_endpoints_dir . 'class.wpcom-json-api-list-comments-endpoint.php'; +require_once $json_endpoints_dir . 'class.wpcom-json-api-list-dropdown-pages-endpoint.php'; require_once $json_endpoints_dir . 'class.wpcom-json-api-list-media-endpoint.php'; require_once $json_endpoints_dir . 'class.wpcom-json-api-list-post-types-endpoint.php'; require_once $json_endpoints_dir . 'class.wpcom-json-api-list-post-type-taxonomies-endpoint.php'; diff --git a/projects/plugins/jetpack/json-endpoints/class.wpcom-json-api-list-dropdown-pages-endpoint.php b/projects/plugins/jetpack/json-endpoints/class.wpcom-json-api-list-dropdown-pages-endpoint.php new file mode 100644 index 0000000000000..d0fc7026bf3a6 --- /dev/null +++ b/projects/plugins/jetpack/json-endpoints/class.wpcom-json-api-list-dropdown-pages-endpoint.php @@ -0,0 +1,200 @@ + 'Get a list of pages to be displayed as options in a select-a-page-dropdown.', + 'min_version' => '1.1', + 'max_version' => '1.1', + + 'group' => 'posts', + 'stat' => 'posts:dropdown-pages', + + 'method' => 'GET', + 'path' => '/sites/%s/dropdown-pages/', + 'path_labels' => array( + '$site' => '(int|string) Site ID or domain', + ), + + 'allow_fallback_to_jetpack_blog_token' => true, + + 'example_request' => 'https://public-api.wordpress.com/rest/v1.1/sites/en.blog.wordpress.com/dropdown-pages/', + ) +); + +/** + * Endpoint class responsible for listing pages to be displayed as options in a select-a-page-dropdown. + * + * /sites/%s/dropdown-pages/ -> $blog_id + */ +class WPCOM_JSON_API_List_Dropdown_Pages_Endpoint extends WPCOM_JSON_API_Post_Endpoint { + /** + * The response format. + * + * @var array + */ + public $response_format = array( + 'dropdown_pages' => '(array:page) An array of page objects.', + ); + + /** + * List of pages indexed by their page ID. + * + * @var array + */ + private $pages_by_id = array(); + + /** + * List of pages indexed by their parent page ID. + * + * @var array + */ + private $pages_by_parent = array(); + + /** + * API callback. + * + * @param string $path - the path. + * @param int $blog_id - the blog ID. + * @return stdClass[] $pages - An array of page objects. Each page object includes ID and title properties and may include children property. This makes each page object a tree-like data structure. + */ + public function callback( $path = '', $blog_id = 0 ) { + $blog_id = $this->api->switch_to_blog_and_validate_user( $this->api->get_blog_id( $blog_id ) ); + if ( is_wp_error( $blog_id ) ) { + return $blog_id; + } + + $pages = get_pages(); + + if ( empty( $pages ) ) { + return array(); + } + + $this->pages_by_id = self::to_pages_by_id( $pages ); + $this->pages_by_parent = self::to_pages_by_parent( $pages ); + $dropdown_pages = $this->create_dropdown_pages(); + return $dropdown_pages; + } + + /** + * Convert a list of pages to a list of pages by page ID. + * + * @param array $pages - array of pages. + * @return array $pages_by_page_id - indexed array of pages by page ID where index is page ID. + */ + private static function to_pages_by_id( $pages ) { + $pages_by_page_id = array(); + foreach ( $pages as $page ) { + if ( isset( $page->ID ) ) { + $pages_by_page_id[ $page->ID ] = $page; + } + } + return $pages_by_page_id; + } + + /** + * Convert a list of pages to a list of pages by parent. + * + * @param array $pages - array of pages. + * @return array $pages_by_parent - indexed array of pages by parent where index is page ID. + */ + private static function to_pages_by_parent( $pages ) { + $pages_by_parent = array(); + foreach ( $pages as $page ) { + if ( empty( $page->post_parent ) ) { + $pages_by_parent['root'][] = $page; + } else { + $pages_by_parent[ $page->post_parent ][] = $page; + } + } + return $pages_by_parent; + } + + /** + * Convert a list of pages to a list of dropdown pages. + * + * @return array $dropdown_pages - array of dropdown pages. + */ + private function create_dropdown_pages() { + $dropdown_pages = array(); + + if ( ! empty( $this->pages_by_parent['root'] ) ) { + foreach ( $this->pages_by_parent['root'] as $root_page ) { + $dropdown_pages[] = $this->to_dropdown_page( $root_page ); + } + } + + if ( ! empty( $this->pages_by_id ) ) { + // In case there were some orphans + // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable + foreach ( $this->pages_by_id as $_page_id => $page ) { + $dropdown_pages[] = $this->to_dropdown_page( $page ); + } + } + + return $dropdown_pages; + } + + /** + * Convert a page to a dropdown page. + * + * @param WP_Post $page - the page. + * @return stdClass|false $dropdown_page - the dropdown page. + */ + private function to_dropdown_page( $page ) { + if ( ! isset( $page->ID ) ) { + return false; + } + + $title = $this->get_page_title( $page ); + + if ( ! isset( $this->pages_by_parent[ $page->ID ] ) ) { + unset( $this->pages_by_id[ $page->ID ] ); + return (object) array( + 'ID' => $page->ID, + 'title' => $title, + ); + } + + $children = array(); + foreach ( $this->pages_by_parent[ $page->ID ] as $child_page ) { + $children[] = $this->to_dropdown_page( $child_page ); + } + + unset( $this->pages_by_id[ $page->ID ] ); + unset( $this->pages_by_parent[ $page->ID ] ); + return (object) array( + 'ID' => $page->ID, + 'title' => $title, + 'children' => $children, + ); + } + + /** + * Get the page title. + * + * @param WP_Post $page - the page. + * @return string $page_title - the page title. + */ + private function get_page_title( $page ) { + $title = $page->post_title; + if ( '' === $title ) { + /* translators: %d: ID of a post. */ + $title = sprintf( __( '#%d (no title)', 'jetpack' ), $page->ID ); + } + + /** + * Filters the page title when creating an HTML drop-down list of pages. + * + * @since 3.1.0 + * + * @param string $title Page title. + * @param WP_Post $page Page data object. + */ + $title = apply_filters( 'list_pages', $title, $page ); + return $title; + } +}