From a97316a301e24be154c12b92b0578cd596025245 Mon Sep 17 00:00:00 2001 From: Felix Arntz Date: Mon, 16 Oct 2023 12:00:16 -0500 Subject: [PATCH 1/4] Bump version to 2.7.0. --- load.php | 4 ++-- modules/images/webp-uploads/hooks.php | 2 +- readme.txt | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/load.php b/load.php index 84ec8c3641..689fae9fbc 100644 --- a/load.php +++ b/load.php @@ -5,7 +5,7 @@ * Description: Performance plugin from the WordPress Performance Team, which is a collection of standalone performance modules. * Requires at least: 6.3 * Requires PHP: 7.0 - * Version: 2.6.1 + * Version: 2.7.0 * Author: WordPress Performance Team * Author URI: https://make.wordpress.org/performance/ * License: GPLv2 or later @@ -19,7 +19,7 @@ exit; // Exit if accessed directly. } -define( 'PERFLAB_VERSION', '2.6.1' ); +define( 'PERFLAB_VERSION', '2.7.0' ); define( 'PERFLAB_MAIN_FILE', __FILE__ ); define( 'PERFLAB_PLUGIN_DIR_PATH', plugin_dir_path( PERFLAB_MAIN_FILE ) ); define( 'PERFLAB_MODULES_SETTING', 'perflab_modules_settings' ); diff --git a/modules/images/webp-uploads/hooks.php b/modules/images/webp-uploads/hooks.php index fb3b64089b..22ab9acdfc 100644 --- a/modules/images/webp-uploads/hooks.php +++ b/modules/images/webp-uploads/hooks.php @@ -746,7 +746,7 @@ function webp_uploads_get_image_sizes_additional_mime_type_support() { * Updates the quality of WebP image sizes generated by WordPress to 82. * * @since 1.7.0 - * @since n.e.x.t Bump minimum WP to 6.3 so remove WP 6.1 related checks. + * @since 2.7.0 Bump minimum WP to 6.3 so remove WP 6.1 related checks. * * @param int $quality Quality level between 1 (low) and 100 (high). * @param string $mime_type Image mime type. diff --git a/readme.txt b/readme.txt index 43bff2ce2b..74752d652b 100644 --- a/readme.txt +++ b/readme.txt @@ -2,9 +2,9 @@ Contributors: wordpressdotorg Requires at least: 6.3 -Tested up to: 6.3 +Tested up to: 6.4 Requires PHP: 7.0 -Stable tag: 2.6.1 +Stable tag: 2.7.0 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Tags: performance, images, javascript, site health, measurement, object caching From 7bc41e918d8b9b71bbef2b21f3a8389198508487 Mon Sep 17 00:00:00 2001 From: Felix Arntz Date: Mon, 16 Oct 2023 12:01:21 -0500 Subject: [PATCH 2/4] Update default-enabled-modules. --- default-enabled-modules.php | 1 - 1 file changed, 1 deletion(-) diff --git a/default-enabled-modules.php b/default-enabled-modules.php index d841c9e9bc..74c9838232 100644 --- a/default-enabled-modules.php +++ b/default-enabled-modules.php @@ -2,7 +2,6 @@ /* THIS IS A GENERATED FILE. DO NOT EDIT DIRECTLY. */ return array( 'images/dominant-color-images', - 'images/fetchpriority', 'images/webp-support', 'images/webp-uploads', ); From 97bfc4f2b5d9137816c9b3c788bafc8d1b76f23c Mon Sep 17 00:00:00 2001 From: Felix Arntz Date: Mon, 16 Oct 2023 12:01:43 -0500 Subject: [PATCH 3/4] Update module-i18n. --- module-i18n.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/module-i18n.php b/module-i18n.php index 92761f0dfa..5270c77bf1 100644 --- a/module-i18n.php +++ b/module-i18n.php @@ -3,8 +3,6 @@ $generated_i18n_strings = array( _x( 'Dominant Color Images', 'module name', 'performance-lab' ), _x( 'Adds support to store the dominant color of newly uploaded images and create a placeholder background of that color.', 'module description', 'performance-lab' ), - _x( 'Fetchpriority', 'module name', 'performance-lab' ), - _x( 'Adds a fetchpriority hint for the primary content image on the page to load faster.', 'module description', 'performance-lab' ), _x( 'WebP Support Health Check', 'module name', 'performance-lab' ), _x( 'Adds a WebP support check in Site Health status.', 'module description', 'performance-lab' ), _x( 'WebP Uploads', 'module name', 'performance-lab' ), From 487ba3c0323f24121a7b7f80ab638a89c55741c7 Mon Sep 17 00:00:00 2001 From: Felix Arntz Date: Mon, 16 Oct 2023 12:02:32 -0500 Subject: [PATCH 4/4] Update readme with changelog. --- readme.txt | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/readme.txt b/readme.txt index 74752d652b..cd9defdadf 100644 --- a/readme.txt +++ b/readme.txt @@ -18,7 +18,6 @@ The Performance Lab plugin is a collection of modules focused on enhancing perfo Currently the plugin includes the following performance modules: * **Dominant Color Images:** Adds support to store the dominant color of newly uploaded images and create a placeholder background of that color. -* **Fetchpriority:** Adds a fetchpriority hint for the primary content image on the page to load faster. * **WebP Support Health Check:** Adds a WebP support check in Site Health status. * **WebP Uploads:** Creates WebP versions for new JPEG image uploads if supported by the server. * **Enqueued Assets Health Check:** Adds a CSS and JS resource check in Site Health status. @@ -80,6 +79,17 @@ By default, the WebP Uploads module will only generate WebP versions of the imag == Changelog == += 2.7.0 = + +**Enhancements** + +* Images: Remove Fetchpriority module as the functionality is now available in WordPress core. ([854](https://github.com/WordPress/performance/pull/854)) +* Infrastructure: Bump minimum required PHP version to 7.0 and minimum required WP version to 6.3. ([851](https://github.com/WordPress/performance/pull/851)) + +**Documentation** + +* Infrastructure: Publish Dominant Color Images standalone plugin. ([842](https://github.com/WordPress/performance/pull/842)) + = 2.6.1 = **Bug Fixes**