From 7c0b2a84c496097dbeba7da373ce3e46c88da82e Mon Sep 17 00:00:00 2001 From: Kuba Birecki Date: Fri, 8 Nov 2024 19:53:31 +0100 Subject: [PATCH] Backport Jetpack 14.0 release changes (#40046) * Prep changelog ahead of 14.0 release * Move new features into major enhancements * Update changelog entries for AI assistant * Update changelog with cherry-picked changes * Update readme.txt * Update Jetpack version to 14.0 * Update changelogs for Jetpack 14.0 * Update stable tag to 14.0 --- projects/plugins/jetpack/CHANGELOG.md | 182 +++++++----------- .../changelog/update-google-analytics-my-plan | 4 - projects/plugins/jetpack/composer.json | 2 +- projects/plugins/jetpack/jetpack.php | 4 +- projects/plugins/jetpack/package.json | 2 +- projects/plugins/jetpack/readme.txt | 56 +++--- 6 files changed, 98 insertions(+), 152 deletions(-) delete mode 100644 projects/plugins/jetpack/changelog/update-google-analytics-my-plan diff --git a/projects/plugins/jetpack/CHANGELOG.md b/projects/plugins/jetpack/CHANGELOG.md index 8ec0e8ed49d29..4570b05e2165b 100644 --- a/projects/plugins/jetpack/CHANGELOG.md +++ b/projects/plugins/jetpack/CHANGELOG.md @@ -2,141 +2,97 @@ ### This is a list detailing changes for all Jetpack releases. -## 14.0-beta - 2024-11-04 +## 14.0 - 2024-11-07 +### Major enhancements +- Newsletters: Add email previews and a floating subscribe button. [#37722] [#39782] +- Social: Add support for Bluesky. [#39659] [#39561] + +### Enhancements +- Newsletters: Allow skipping newsletter modals with the "jetpack_skip_subscription_popup" URL query param. [#39644] +- Newsletters: Update the default "reply to" setting value from not allowed to replies being posted as public comments. [#39657] +- Performance: Optimize CSS for better page load performance and improve sitemap write efficiency. [#39518] [#39572] + ### Improved compatibility -- Embed Blocks: Append 'Embed' to the titles of Facebook and Instagram embed blocks. [#39970] -- Image Block: Make the external media picker button consistent with the other buttons in the image block. [#39985] +- Embed Blocks: Append 'Embed' to Facebook and Instagram embed blocks' titles. [#39970] +- Filters: Update "plugin_action_links" filter parameter to avoid conflicts with other plugins. [#39681] +- General: Ensure correct display of notices when running an old version of WordPress. [#39745] +- General: Indicate compatibility with WordPress 6.7. [#39786] [#39877] +- Image Block: Make the external media picker button consistent with other Image Block buttons. [#39985] +- Image CDN: URL encode image path parts for RSS feed compatibility. [#39560] +- Related Posts: Allow Related Posts on non-post CPTs where the block is already able to be used. [#39730] ### Bug fixes -- Google Fonts: Fix module not loading fully in certain scenarios. [#39977] -- Social: Fix the Instagram maximum video length. [#39930] -- Social: Prevent share status styles from affecting other independent elements on the page. [#39991] +- AI Assistant: Fix false-positive spelling errors in Write Brief. [#39735] [#39880] +- Carousel: Further improve accessibility by being more selective over which images to apply attributes to. [#39913] +- Contact Form: Ensure that submitted forms can only be accessed by logged in users allowed to view form submissions. [#39759] +- General: Include `wp-polyfill` as a script dependency only when needed. [#39629] +- Goodreads Block: Avoid PHP warnings caused by missing attributes when rendering. [#39713] +- Google Fonts: Fix module not fully loading in certain scenarios. [#39977] +- Map Block: Prevent overlap with other blocks placed below. [#39744] +- Newsletters: Fix "Enable featured image on your new post emails" and "Use excerpt" settings. [#39700] [#39815] +- Sharing: Ensure the sharing settings can be accessed even when the user is not connected to WordPress.com. [#39677] +- Slideshow Block: Ensure the block renders correctly inside an iframe editor. [#39551] +- Social: Fix the maximum video length for Instagram Business reels. [#39930] +- Social: Prevent share status styles from causing text overflow or affecting other elements on the page. [#39599] [#39991] +- Stats: Fix top post card on the Insights page. [#39691] - Subscribe Block: Fix styling for the number of subscribers in the post editor sidebar. [#39929] ### Other changes +- Admin Menu: Adding tests to check for 'current' class when menu item selected. [#39374] +- Blocks: Initialize connection assets in Story block. [#39870] +- Blogging Prompt: Preserve language on answers link. [#36730] +- Code: Add missing deps in calls to the `useSelect` React hook. [#39421] +- Code: Add null check to SAL_Site::posts_status_obj to avoid warnings. [#39727] +- Code: Add siteFragment to JP initial state definition, avoid linter warnings. [#39589] - Code: Enable test coverage. [#39961] - Code: Fix PHPUnit coverage warnings. [#39989] - Code: Run coverage tests in parallel. [#39988] +- Code: Updated package dependencies. [#39594] [#39639] [#39649] [#39653] [#39707] - Code: Update testing instructions for Jetpack 14.0. [#39957] -- General: Skip pricing page when connecting from editor blocks. [#39865] -- Jetpack AI: Add instructions to general image generation with styles to to-test file. [#39954] -- Modules: Update any instances where functions are hooked into plugins_loaded, to use a later hook if needed. [#39993] -- Social: Change order of jetpack social connections. [#40020] -- Subscribe Block: adjust margin of the notice appearing in the block sidebar. [#39962] -- Theme Tools: ensure theme-compat files are still loaded when a compatible theme is used. [#39992] -- Write Brief: Load unconfident words from backend and update caching. [#39975] - -## 14.0-a.11 - 2024-10-29 -### Improved compatibility -- Post Editor: Prevent deprecation notices with WordPress 6.7. [#39877] - -### Bug fixes -- Carousel: Further improve accessibility by being more selective over which images to apply attributes to. [#39913] - -### Other changes -- Add site_partner_bundle option to Sites API response. [#39905] -- Jetpack AI: add styles dropdown on AI image generator modal. [#39917] - -## 14.0-a.9 - 2024-10-28 -### Enhancements -- Subscriptions: Add a floating subscribe button. [#37722] - -### Improved Compatibility -- General: Indicate compatibility with WordPress 6.7. [#39786] - -### Other changes -- AI Assistant: Write Brief should not flag words like '2nd' and '100th' as spelling errors. [#39880] -- Blocks: Initialize connection assets in Story block. [#39870] +- Code: Use React setState instead of directly modifying state. [#39421] +- Connection: Add connection nudge for blocks that are missing it. [#39647] +- Connection: Add tracks to connection banner. [#39732] +- Connection: Fix issue where connection banner was showing for simple sites. [#39687] +- Connection: Show connection nudge instead of error if user is not connected on blogroll block. [#39638] +- Connection: Unify connection nudge design on Jetpack Settings. [#39591] +- Connection: Unify connection related CTAs on At A Glance. [#39585] - Contact Info: Change block registration code. [#39892] +- Email preview modal: Improve error state visuals. [#39476] +- General: Skip pricing page when connecting from editor blocks. [#39865] - General: Updated package dependencies. [#39910] - Hooks: Change several action priorities to ensure translation loading is not triggered too early. [#39841] -- Jetpack AI: Add instructions on to-test file. [#39866] +- Infinite Scroll: Add isset checks to validate input data. [#39618] +- Jetpack AI: Add instructions to general image generation with styles to to-test file. [#39954] +- Jetpack AI: Add styles dropdown on AI image generator modal. [#39917] +- Jetpack AI: Add testing instructions to to-test.md. [#39866] +- Jetpack AI: Change constant value for fair usage, accept both values on type definitions. [#39705] - Jetpack AI: Remove reload handler for logo generator modal call. [#39848] - Jetpack AI: Use new exported component for AI generation modal on GP image generation. [#39864] -- REST API: Fix upload media endpoint fatals coming from uploads with invalid media type. [#39858] -- Stats: Optimize the Stats Admin Bar hook by narrowing down the callback. [#39857] -- Subscriptions: Add source attribute for stats to the floating subscribe button. [#39860] -- Verbum Comments: Update resize logic. [#39791] - -## 14.0-a.7 - 2024-10-21 -### Enhancements -- Newsletters: Add an email preview option to the preview menu. [#39782] -- Newsletters: Allow skipping newsletter modals with a URL query param. [#39644] - -### Improved compatibility -- General: Ensure notice displays without errors when running an old version of WordPress. [#39745] -- Plugin action links filters: Update parameter to avoid conflicts with other plugins. [#39681] - -### Bug fixes -- Map Block: Fix issue where blocks placed underneath would overlap with the map block. [#39744] -- Newsletters: Fix "Use excerpt" setting. [#39815] - -### Other changes +- JSON Endpoints: Handle null input for update post endpoint. [#39676] - Map Block: Display a static map image when the block is rendered in a pattern preview. [#39768] -- Map: Remove preview attribute. [#39768] +- Map Block: Remove preview attribute. [#39768] +- Modules: Update any instances where functions are hooked into plugins_loaded, to use a later hook if needed. [#39993] - Newsletters: Fix 'class Jetpack_Subscriptions_Widget not found' fatal error during REST API. [#39765] +- Related Posts: refine how related posts are made available on singular views in block themes. [#39784] +- REST API: Add site_partner_bundle option to Sites API response. [#39905] +- REST API: Fix upload media endpoint fatals coming from uploads with invalid media type. [#39858] +- Scan: Update Jetpack Scan link in the WP Admin menu. [#39619] - Slideshow Block: Fix console warning related to images with the same key. [#39821] +- Social: Change order of jetpack social connections. [#40020] +- Social: Optimize the 'admin_init' hook callback for Sharing module. [#39737] +- Stats: Optimize the Stats Admin Bar hook by narrowing down the callback. [#39857] - Story Block: Avoid error when previewing block styles in development version of the Gutenberg plugin. [#39807] - Story Block: Fix console warning related to 'key' not being a prop. [#39822] +- Subscribe Block: adjust margin of the notice appearing in the block sidebar. [#39962] +- Subscriptions: Add source attribute for stats to the floating subscribe button. [#39860] - Tests: Fix unit tests. [#39799] -- Update VideoPress notice URL on Media Library. [#39731] - -## 14.0-a.5 - 2024-10-16 -### Other changes -- Related Posts: refine how related posts are made available on singular views in block themes. [#39784] - -## 14.0-a.3 - 2024-10-14 -### Enhancements -- Newsletter: Update the default "reply to" setting value from not allowed to replies being posted as public comments. [#39657] -- Social: Add Bluesky to social previews. [#39659] - -### Improved compatibility -- Image CDN: URL encode image path parts for RSS feed compatibility. [#39560] -- Related Posts: Allow Related Posts on non-post CPTs where the block is already able to be used. [#39730] - -### Bug fixes -- Blocks: Fix rendering of the goodreads block to avoid PHP warnings caused by missing attributes. [#39713] -- Blocks: Render the slideshow block correctly inside an iframe editor. [#39551] -- Contact Form: Ensure that submitted forms can only be accessed by logged in users allowed to view form submissions. [#39759] -- General: Only include `wp-polyfill` as a script dependency when needed. [#39629] -- Newsletter: Ensure `Enable featured image on your new post emails` setting displays the right value. [#39700] -- Sharing: Ensure the sharing settings can be accessed even when a user is not connected to WordPress.com. [#39677] -- Stats: Fix top post card on the Insight page. [#39691] - -### Other changes -- Add connection nudge for blocks that are missing it. [#39647] -- Add missing deps in calls to the `useSelect` React hook. [#39421] -- Add tracks to connection banner. [#39732] -- AI Assistant: Make Breve no longer flag single quotes as spelling errors. [#39735] -- Fix issue where connection banner was showing for simple sites. [#39687] -- Infinite-scroll: Add isset checks to validate input data. [#39618] -- Janitorial: Add siteFragment to JP initial state definition, avoid linter warnings. [#39589] -- Jetpack AI: Change constant value for fair usage, accept both values on type definitions. [#39705] -- JSON Endpoints: Handle null input for update post endpoint. [#39676] -- Optimize the 'admin_init' hook callback for Sharing module. [#39737] -- SAL_Site class: Add null check to posts_status_obj to avoid warnings. [#39727] -- Show connection nudge instead of error if user is not connected on blogroll block. [#39638] -- Update package dependencies. [#39649] [#39653] [#39707] -- Use React setState instead of directly modifying state. [#39421] +- Theme Tools: Ensure theme-compat files are still loaded when a compatible theme is used. [#39992] +- Theme Tools: Fix race condition when loading theme compatibility files. [#40075] +- Update "My Plan" page to only show Google Analytics for WoA sites. [#40044] +- Verbum Comments: Update resize logic. [#39791] +- VideoPress: Update VideoPress notice URL on Media Library. [#39731] - Widget Visibility: Add check to ensure post exists before accesing post_author. [#39746] - -## 14.0-a.1 - 2024-10-07 -### Enhancements -- Sitemap: Improve sitemap write efficienty. [#39572] -- CSS: Rely esclusively on individual CSS files instead of a combined one for the features used on each page to improve page loading. [#39518] -- Social: Add support for Bluesky 🎉. [#39561] -- Scan: Update Jetpack Scan link in the WP Admin menu. [#39619] - -### Bug fixes -- Social: Prevent text overflow in the share status tooltip. [#39599] - -### Other changes -- Admin menu: Adding tests to check for 'current' class when menu item selected. [#39374] -- Blogging Prompt: Preserve language on answers link. [#36730] -- Email preview modal: Improve error state visuals. [#39476] -- Unify connection nudge design on Jetpack Settings. [#39591] -- Unify connection related CTAs on At A Glance. [#39585] -- Updated package dependencies. [#39594] [#39639] +- Write Brief: Load unconfident words from backend and update caching. [#39975] ## 13.9.1 - 2024-10-14 ### Bug fixes diff --git a/projects/plugins/jetpack/changelog/update-google-analytics-my-plan b/projects/plugins/jetpack/changelog/update-google-analytics-my-plan deleted file mode 100644 index 75b749ae0af78..0000000000000 --- a/projects/plugins/jetpack/changelog/update-google-analytics-my-plan +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: other - -Update "My Plan" page to only show Google Analytics for WoA sites. diff --git a/projects/plugins/jetpack/composer.json b/projects/plugins/jetpack/composer.json index 345af563c2fc7..84ec261b20cb1 100644 --- a/projects/plugins/jetpack/composer.json +++ b/projects/plugins/jetpack/composer.json @@ -106,7 +106,7 @@ "platform": { "ext-intl": "0.0.0" }, - "autoloader-suffix": "f11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ14_0_beta", + "autoloader-suffix": "f11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ14_0", "allow-plugins": { "automattic/jetpack-autoloader": true, "automattic/jetpack-composer-plugin": true diff --git a/projects/plugins/jetpack/jetpack.php b/projects/plugins/jetpack/jetpack.php index 4ff4a9a0be92c..b280ad144cc84 100644 --- a/projects/plugins/jetpack/jetpack.php +++ b/projects/plugins/jetpack/jetpack.php @@ -4,7 +4,7 @@ * Plugin URI: https://jetpack.com * Description: Security, performance, and marketing tools made by WordPress experts. Jetpack keeps your site protected so you can focus on more important things. * Author: Automattic - * Version: 14.0-beta + * Version: 14.0 * Author URI: https://jetpack.com * License: GPL2+ * Text Domain: jetpack @@ -34,7 +34,7 @@ define( 'JETPACK__MINIMUM_WP_VERSION', '6.5' ); define( 'JETPACK__MINIMUM_PHP_VERSION', '7.0' ); -define( 'JETPACK__VERSION', '14.0-beta' ); +define( 'JETPACK__VERSION', '14.0' ); /** * Constant used to fetch the connection owner token diff --git a/projects/plugins/jetpack/package.json b/projects/plugins/jetpack/package.json index d91264419d35b..b7cc6d514c5bf 100644 --- a/projects/plugins/jetpack/package.json +++ b/projects/plugins/jetpack/package.json @@ -1,6 +1,6 @@ { "name": "Jetpack", - "version": "14.0.0-beta", + "version": "14.0.0", "private": true, "description": "[Jetpack](https://jetpack.com/) is a WordPress plugin that supercharges your self-hosted WordPress site with the awesome cloud power of [WordPress.com](https://wordpress.com).", "homepage": "https://jetpack.com", diff --git a/projects/plugins/jetpack/readme.txt b/projects/plugins/jetpack/readme.txt index 20bca2d920da2..06de8d546023b 100644 --- a/projects/plugins/jetpack/readme.txt +++ b/projects/plugins/jetpack/readme.txt @@ -1,7 +1,7 @@ === Jetpack - WP Security, Backup, Speed, & Growth === Contributors: automattic, adamkheckler, adrianmoldovanwp, aduth, akirk, allendav, alternatekev, andy, annamcphee, annezazu, apeatling, arcangelini, arsihasi, azaozz, barry, batmoo, beaulebens, bindlegirl, biskobe, bjorsch, blobaugh, brbrr, brileyhooper, cainm, cena, cfinke, cgastrell, chaselivingston, chellycat, clickysteve, csonnek, danielbachhuber, daniloercoli, davoraltman, delawski, designsimply, dkmyta, dllh, drawmyface, dsmart, dun2mis, dzver, ebinnion, egregor, eliorivero, enej, eoigal, erania-pinnera, ethitter, fgiannar, gcorne, georgestephanis, gibrown, goldsounds, hew, hugobaeta, hypertextranch, iammattthomas, iandunn, joen, jblz, jeffgolenski, jeherve, jenhooks, jenia, jessefriedman, jgs, jkudish, jmdodd, joanrho, johnjamesjacoby, jshreve, kbrownkd, keoshi, koke, kraftbj, lancewillett, leogermani, lhkowalski, lschuyler, macmanx, martinremy, matt, mattwiebe, matveb, maverick3x6, mcsf, mdawaffe, mdbitz, MichaelArestad, migueluy, miguelxavierpenha, mikeyarce, mkaz, nancythanki, nickmomrik, njweller, nunyvega, obenland, oskosk, pento, professor44, rachelsquirrel, rdcoll, renatoagds, retrofox, richardmtl, richardmuscat, robertbpugh, roccotripaldi, ryancowles, samhotchkiss, samiff, scarstocea, scottsweb, sdixon194, sdquirk, sermitr, simison, stephdau, thehenridev, tmoorewp, tyxla, Viper007Bond, westi, williamvianas, wpkaren, yoavf, zinigor Tags: Security, backup, malware, scan, performance -Stable tag: 13.9.1 +Stable tag: 14.0 Requires at least: 6.5 Requires PHP: 7.0 Tested up to: 6.7 @@ -326,45 +326,39 @@ Jetpack Backup can do a full website migration to a new host, migrate theme file == Changelog == -### 14.0-beta - 2024-11-04 +### 14.0 - 2024-11-07 +#### Major enhancements +- Newsletters: Add email previews and a floating subscribe button. +- Social: Add support for Bluesky. + #### Enhancements -- CSS: Rely esclusively on individual CSS files instead of a combined one for the features used on each page to improve page loading. -- Newsletter: Update the default "reply to" setting value from not allowed to replies being posted as public comments. -- Newsletters: Add an email preview option to the preview menu. -- Newsletters: Allow skipping newsletter modals with a URL query param. -- Scan: Update Jetpack Scan link in the WP Admin menu. -- Sitemap: Improve sitemap write efficienty. -- Social: Add Bluesky to social previews. -- Social: Add support for Bluesky 🎉. -- Subscriptions: Add a floating subscribe button. +- Newsletters: Allow skipping newsletter modals with the "jetpack_skip_subscription_popup" URL query param. +- Newsletters: Update the default "reply to" setting value from not allowed to replies being posted as public comments. +- Performance: Optimize CSS for better page load performance and improve sitemap write efficiency. #### Improved compatibility -- Embed Blocks: Append 'Embed' to the titles of Facebook and Instagram embed blocks. -- General: Ensure notice displays without errors when running an old version of WordPress. -- Image Block: Make the external media picker button consistent with the other buttons in the image block. +- Embed Blocks: Append 'Embed' to Facebook and Instagram embed blocks' titles. +- Filters: Update "plugin_action_links" filter parameter to avoid conflicts with other plugins. +- General: Ensure correct display of notices when running an old version of WordPress. +- General: Indicate compatibility with WordPress 6.7. +- Image Block: Make the external media picker button consistent with other Image Block buttons. - Image CDN: URL encode image path parts for RSS feed compatibility. -- Plugin action links filters: Update parameter to avoid conflicts with other plugins. -- Post Editor: Prevent deprecation notices with WordPress 6.7. - Related Posts: Allow Related Posts on non-post CPTs where the block is already able to be used. -#### Improved Compatibility -- General: Indicate compatibility with WordPress 6.7. - #### Bug fixes -- Blocks: Fix rendering of the goodreads block to avoid PHP warnings caused by missing attributes. -- Blocks: Render the slideshow block correctly inside an iframe editor. +- AI Assistant: Fix false-positive spelling errors in Write Brief. - Carousel: Further improve accessibility by being more selective over which images to apply attributes to. - Contact Form: Ensure that submitted forms can only be accessed by logged in users allowed to view form submissions. -- General: Only include `wp-polyfill` as a script dependency when needed. -- Google Fonts: Fix module not loading fully in certain scenarios. -- Map Block: Fix issue where blocks placed underneath would overlap with the map block. -- Newsletter: Ensure `Enable featured image on your new post emails` setting displays the right value. -- Newsletters: Fix "Use excerpt" setting. -- Sharing: Ensure the sharing settings can be accessed even when a user is not connected to WordPress.com. -- Social: Fix the Instagram maximum video length. -- Social: Prevent share status styles from affecting other independent elements on the page. -- Social: Prevent text overflow in the share status tooltip. -- Stats: Fix top post card on the Insight page. +- General: Include `wp-polyfill` as a script dependency only when needed. +- Goodreads Block: Avoid PHP warnings caused by missing attributes when rendering. +- Google Fonts: Fix module not fully loading in certain scenarios. +- Map Block: Prevent overlap with other blocks placed below. +- Newsletters: Fix "Enable featured image on your new post emails" and "Use excerpt" settings. +- Sharing: Ensure the sharing settings can be accessed even when the user is not connected to WordPress.com. +- Slideshow Block: Ensure the block renders correctly inside an iframe editor. +- Social: Fix the maximum video length for Instagram Business reels. +- Social: Prevent share status styles from causing text overflow or affecting other elements on the page. +- Stats: Fix top post card on the Insights page. - Subscribe Block: Fix styling for the number of subscribers in the post editor sidebar. --------