From 34ab7042e7589e82ff9bf059a70abfe1274d1d69 Mon Sep 17 00:00:00 2001 From: Weston Ruter Date: Fri, 16 Aug 2024 16:47:56 -0700 Subject: [PATCH 1/5] Bump versions --- plugins/auto-sizes/auto-sizes.php | 4 ++-- plugins/auto-sizes/readme.txt | 4 +++- plugins/image-prioritizer/load.php | 4 ++-- plugins/image-prioritizer/readme.txt | 4 +++- plugins/optimization-detective/load.php | 4 ++-- plugins/optimization-detective/readme.txt | 4 +++- plugins/performance-lab/load.php | 4 ++-- plugins/performance-lab/readme.txt | 4 +++- plugins/webp-uploads/load.php | 4 ++-- plugins/webp-uploads/readme.txt | 4 +++- 10 files changed, 25 insertions(+), 15 deletions(-) diff --git a/plugins/auto-sizes/auto-sizes.php b/plugins/auto-sizes/auto-sizes.php index 095805105..6abd2300c 100644 --- a/plugins/auto-sizes/auto-sizes.php +++ b/plugins/auto-sizes/auto-sizes.php @@ -5,7 +5,7 @@ * Description: Improves responsive images with better sizes calculations and auto-sizes for lazy-loaded images. * Requires at least: 6.5 * Requires PHP: 7.2 - * Version: 1.1.0 + * Version: 1.2.0 * Author: WordPress Performance Team * Author URI: https://make.wordpress.org/performance/ * License: GPLv2 or later @@ -25,7 +25,7 @@ return; } -define( 'IMAGE_AUTO_SIZES_VERSION', '1.1.0' ); +define( 'IMAGE_AUTO_SIZES_VERSION', '1.2.0' ); require_once __DIR__ . '/hooks.php'; diff --git a/plugins/auto-sizes/readme.txt b/plugins/auto-sizes/readme.txt index a69ec3f60..73fa5cc2e 100644 --- a/plugins/auto-sizes/readme.txt +++ b/plugins/auto-sizes/readme.txt @@ -2,7 +2,7 @@ Contributors: wordpressdotorg Tested up to: 6.6 -Stable tag: 1.1.0 +Stable tag: 1.2.0 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Tags: performance, images, auto-sizes @@ -52,6 +52,8 @@ Contributions are always welcome! Learn more about how to get involved in the [C == Changelog == += 1.2.0 = + = 1.1.0 = **Features** diff --git a/plugins/image-prioritizer/load.php b/plugins/image-prioritizer/load.php index fef6d3edc..51175d517 100644 --- a/plugins/image-prioritizer/load.php +++ b/plugins/image-prioritizer/load.php @@ -6,7 +6,7 @@ * Requires at least: 6.5 * Requires PHP: 7.2 * Requires Plugins: optimization-detective - * Version: 0.1.2 + * Version: 0.2.0 * Author: WordPress Performance Team * Author URI: https://make.wordpress.org/performance/ * License: GPLv2 or later @@ -66,7 +66,7 @@ static function ( string $global_var_name, string $version, Closure $load ): voi } )( 'image_prioritizer_pending_plugin', - '0.1.2', + '0.2.0', static function ( string $version ): void { // Define the constant. diff --git a/plugins/image-prioritizer/readme.txt b/plugins/image-prioritizer/readme.txt index 628c3d108..88eb557fd 100644 --- a/plugins/image-prioritizer/readme.txt +++ b/plugins/image-prioritizer/readme.txt @@ -2,7 +2,7 @@ Contributors: wordpressdotorg Tested up to: 6.6 -Stable tag: 0.1.2 +Stable tag: 0.2.0 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Tags: performance, optimization, image, lcp, lazy-load @@ -62,6 +62,8 @@ The [plugin source code](https://github.com/WordPress/performance/tree/trunk/plu == Changelog == += 0.2.0 = + = 0.1.2 = * Update PHP logic to account for changes in Optimization Detective API. ([1302](https://github.com/WordPress/performance/pull/1302)) diff --git a/plugins/optimization-detective/load.php b/plugins/optimization-detective/load.php index a105461ee..59e5405e7 100644 --- a/plugins/optimization-detective/load.php +++ b/plugins/optimization-detective/load.php @@ -5,7 +5,7 @@ * Description: Provides an API for leveraging real user metrics to detect optimizations to apply on the frontend to improve page performance. * Requires at least: 6.5 * Requires PHP: 7.2 - * Version: 0.4.1 + * Version: 0.5.0 * Author: WordPress Performance Team * Author URI: https://make.wordpress.org/performance/ * License: GPLv2 or later @@ -65,7 +65,7 @@ static function ( string $global_var_name, string $version, Closure $load ): voi } )( 'optimization_detective_pending_plugin', - '0.4.1', + '0.5.0', static function ( string $version ): void { // Define the constant. diff --git a/plugins/optimization-detective/readme.txt b/plugins/optimization-detective/readme.txt index 0bb7601ec..db6757728 100644 --- a/plugins/optimization-detective/readme.txt +++ b/plugins/optimization-detective/readme.txt @@ -2,7 +2,7 @@ Contributors: wordpressdotorg Tested up to: 6.6 -Stable tag: 0.4.1 +Stable tag: 0.5.0 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Tags: performance, optimization, rum @@ -134,6 +134,8 @@ The [plugin source code](https://github.com/WordPress/performance/tree/trunk/plu == Changelog == += 0.5.0 = + = 0.4.1 = **Enhancements** diff --git a/plugins/performance-lab/load.php b/plugins/performance-lab/load.php index 67146438a..8afe83c0b 100644 --- a/plugins/performance-lab/load.php +++ b/plugins/performance-lab/load.php @@ -5,7 +5,7 @@ * Description: Performance plugin from the WordPress Performance Team, which is a collection of standalone performance features. * Requires at least: 6.5 * Requires PHP: 7.2 - * Version: 3.3.1 + * Version: 3.4.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', '3.3.1' ); +define( 'PERFLAB_VERSION', '3.4.0' ); define( 'PERFLAB_MAIN_FILE', __FILE__ ); define( 'PERFLAB_PLUGIN_DIR_PATH', plugin_dir_path( PERFLAB_MAIN_FILE ) ); define( 'PERFLAB_SCREEN', 'performance-lab' ); diff --git a/plugins/performance-lab/readme.txt b/plugins/performance-lab/readme.txt index 372c39b83..99ad65018 100644 --- a/plugins/performance-lab/readme.txt +++ b/plugins/performance-lab/readme.txt @@ -2,7 +2,7 @@ Contributors: wordpressdotorg Tested up to: 6.6 -Stable tag: 3.3.1 +Stable tag: 3.4.0 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Tags: performance, site health, measurement, optimization, diagnostics @@ -70,6 +70,8 @@ Contributions are always welcome! Learn more about how to get involved in the [C == Changelog == += 3.4.0 = + = 3.3.1 = **Enhancements** diff --git a/plugins/webp-uploads/load.php b/plugins/webp-uploads/load.php index 6150b6185..a0d83c642 100644 --- a/plugins/webp-uploads/load.php +++ b/plugins/webp-uploads/load.php @@ -5,7 +5,7 @@ * Description: Converts images to more modern formats such as WebP or AVIF during upload. * Requires at least: 6.5 * Requires PHP: 7.2 - * Version: 2.0.2 + * Version: 2.1.0 * Author: WordPress Performance Team * Author URI: https://make.wordpress.org/performance/ * License: GPLv2 or later @@ -25,7 +25,7 @@ return; } -define( 'WEBP_UPLOADS_VERSION', '2.0.2' ); +define( 'WEBP_UPLOADS_VERSION', '2.1.0' ); define( 'WEBP_UPLOADS_MAIN_FILE', plugin_basename( __FILE__ ) ); require_once __DIR__ . '/helper.php'; diff --git a/plugins/webp-uploads/readme.txt b/plugins/webp-uploads/readme.txt index 77bb6db11..a038aada9 100644 --- a/plugins/webp-uploads/readme.txt +++ b/plugins/webp-uploads/readme.txt @@ -2,7 +2,7 @@ Contributors: wordpressdotorg Tested up to: 6.6 -Stable tag: 2.0.2 +Stable tag: 2.1.0 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Tags: performance, images, webp, avif, modern image formats @@ -60,6 +60,8 @@ By default, the Modern Image Formats plugin will only generate WebP versions of == Changelog == += 2.1.0 = + = 2.0.2 = **Enhancements** From be9f55eb8d81fcec5d9abffbb26066206fec8e6f Mon Sep 17 00:00:00 2001 From: Weston Ruter Date: Fri, 16 Aug 2024 16:49:43 -0700 Subject: [PATCH 2/5] Do npm run since, omitting speculation-rules change --- plugins/auto-sizes/hooks.php | 2 +- .../includes/site-health/audit-autoloaded-options/hooks.php | 2 +- plugins/webp-uploads/hooks.php | 2 +- plugins/webp-uploads/picture-element.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/auto-sizes/hooks.php b/plugins/auto-sizes/hooks.php index 41b653e45..66d4d1efd 100644 --- a/plugins/auto-sizes/hooks.php +++ b/plugins/auto-sizes/hooks.php @@ -92,7 +92,7 @@ function auto_sizes_update_content_img_tag( $html ): string { * * Per the HTML spec, if present it must be the first entry. * - * @since n.e.x.t + * @since 1.2.0 * * @param string $sizes_attr The 'sizes' attribute value. * @return bool True if the 'auto' keyword is present, false otherwise. diff --git a/plugins/performance-lab/includes/site-health/audit-autoloaded-options/hooks.php b/plugins/performance-lab/includes/site-health/audit-autoloaded-options/hooks.php index d1acf58e2..3a46b9586 100644 --- a/plugins/performance-lab/includes/site-health/audit-autoloaded-options/hooks.php +++ b/plugins/performance-lab/includes/site-health/audit-autoloaded-options/hooks.php @@ -136,7 +136,7 @@ function perflab_aao_extend_core_check( string $description ): string { * This filter modifies the 'option_perflab_aao_disabled_options' to ensure * that autoloaded options are not included in the disabled options list. * - * @since n.e.x.t + * @since 3.4.0 * * @param string[]|mixed $disabled_options Array of disabled options. * @return string[] Filtered array of disabled options excluding autoloaded options. diff --git a/plugins/webp-uploads/hooks.php b/plugins/webp-uploads/hooks.php index 8c40a585e..8354eea92 100644 --- a/plugins/webp-uploads/hooks.php +++ b/plugins/webp-uploads/hooks.php @@ -767,7 +767,7 @@ function webp_uploads_render_generator(): void { /** * Initializes custom functionality for handling image uploads and content filters. * - * @since n.e.x.t + * @since 2.1.0 */ function webp_uploads_init(): void { if ( webp_uploads_is_picture_element_enabled() ) { diff --git a/plugins/webp-uploads/picture-element.php b/plugins/webp-uploads/picture-element.php index b60c1c58b..b954732af 100644 --- a/plugins/webp-uploads/picture-element.php +++ b/plugins/webp-uploads/picture-element.php @@ -62,7 +62,7 @@ function webp_uploads_wrap_image_in_picture( string $image, string $context, int * The original image will be used as the fallback image for browsers that don't support the picture element. * * @since 2.0.0 - * @since n.e.x.t The default value was updated, removing 'image/jpeg'. + * @since 2.1.0 The default value was updated, removing 'image/jpeg'. * * @param string[] $mime_types Mime types than can be used. * @param int $attachment_id The id of the image being evaluated. From 7eded13ed06bfd32d79abb87d437c6f162d5127c Mon Sep 17 00:00:00 2001 From: Weston Ruter Date: Fri, 16 Aug 2024 16:51:40 -0700 Subject: [PATCH 3/5] Do npm run readme for 5 pending plugin releases --- plugins/auto-sizes/readme.txt | 9 +++++++++ plugins/image-prioritizer/readme.txt | 4 ++++ plugins/optimization-detective/readme.txt | 11 +++++++++++ plugins/performance-lab/readme.txt | 10 ++++++++++ plugins/webp-uploads/readme.txt | 16 ++++++++++++++++ 5 files changed, 50 insertions(+) diff --git a/plugins/auto-sizes/readme.txt b/plugins/auto-sizes/readme.txt index 73fa5cc2e..90df36229 100644 --- a/plugins/auto-sizes/readme.txt +++ b/plugins/auto-sizes/readme.txt @@ -54,6 +54,15 @@ Contributions are always welcome! Learn more about how to get involved in the [C = 1.2.0 = +**Enhancements** + +* Harden logic to add `auto` keyword to `sizes` attribute to prevent duplicate keyword. ([1445](https://github.com/WordPress/performance/pull/1445)) +* Use more robust HTML Tag Processor for auto sizes injection. ([1471](https://github.com/WordPress/performance/pull/1471)) + +**Bug Fixes** + +* Remove sizes attribute when the responsive image disabled. ([1399](https://github.com/WordPress/performance/pull/1399)) + = 1.1.0 = **Features** diff --git a/plugins/image-prioritizer/readme.txt b/plugins/image-prioritizer/readme.txt index 88eb557fd..affcb5df8 100644 --- a/plugins/image-prioritizer/readme.txt +++ b/plugins/image-prioritizer/readme.txt @@ -64,6 +64,10 @@ The [plugin source code](https://github.com/WordPress/performance/tree/trunk/plu = 0.2.0 = +**Bug Fixes** + +* Fix handling of image prioritization when only some viewport groups are populated. ([1404](https://github.com/WordPress/performance/pull/1404)) + = 0.1.2 = * Update PHP logic to account for changes in Optimization Detective API. ([1302](https://github.com/WordPress/performance/pull/1302)) diff --git a/plugins/optimization-detective/readme.txt b/plugins/optimization-detective/readme.txt index db6757728..5af82ef2f 100644 --- a/plugins/optimization-detective/readme.txt +++ b/plugins/optimization-detective/readme.txt @@ -136,6 +136,17 @@ The [plugin source code](https://github.com/WordPress/performance/tree/trunk/plu = 0.5.0 = +**Enhancements** + +* Bump web-vitals from 4.2.1 to 4.2.2. ([1386](https://github.com/WordPress/performance/pull/1386)) + +**Bug Fixes** + +* Disable Optimization Detective by default on the embed template. ([1472](https://github.com/WordPress/performance/pull/1472)) +* Ensure only HTML documents are processed by Optimization Detective. ([1442](https://github.com/WordPress/performance/pull/1442)) +* Ensure the entire template is passed to the output buffer callback for Optimization Detective to process. ([1317](https://github.com/WordPress/performance/pull/1317)) +* Implement full support for intersectionRect/boundingClientRect, fix viewportRect typing, and harden JSON schema. ([1411](https://github.com/WordPress/performance/pull/1411)) + = 0.4.1 = **Enhancements** diff --git a/plugins/performance-lab/readme.txt b/plugins/performance-lab/readme.txt index 99ad65018..3d8f4d1f4 100644 --- a/plugins/performance-lab/readme.txt +++ b/plugins/performance-lab/readme.txt @@ -72,6 +72,16 @@ Contributions are always welcome! Learn more about how to get involved in the [C = 3.4.0 = +**Enhancements** + +* Remove Server-Timing metric for the autoloaded options query time. ([1456](https://github.com/WordPress/performance/pull/1456)) + +**Bug Fixes** + +* Avoid sending Server-Timing header when buffer is being cleaned. ([1443](https://github.com/WordPress/performance/pull/1443)) +* Fix disabled options from reappearing in Site Health after external update. ([1374](https://github.com/WordPress/performance/pull/1374)) +* Improve Performance screen when external requests to WordPress.org fail. ([1474](https://github.com/WordPress/performance/pull/1474)) + = 3.3.1 = **Enhancements** diff --git a/plugins/webp-uploads/readme.txt b/plugins/webp-uploads/readme.txt index a038aada9..97ddad2d9 100644 --- a/plugins/webp-uploads/readme.txt +++ b/plugins/webp-uploads/readme.txt @@ -62,6 +62,22 @@ By default, the Modern Image Formats plugin will only generate WebP versions of = 2.1.0 = +**Enhancements** + +* Improve disabling checkbox for Picture Element on Media settings screen. ([1470](https://github.com/WordPress/performance/pull/1470)) + +**Bug Fixes** + +* Add missing full size image in PICTURE > SOURCE srcset. ([1437](https://github.com/WordPress/performance/pull/1437)) +* Correct the fallback image in PICTURE element. ([1408](https://github.com/WordPress/performance/pull/1408)) +* Don't wrap PICTURE element if JPEG fallback is not available. ([1450](https://github.com/WordPress/performance/pull/1450)) +* Fix setting sizes attribute on PICTURE > SOURCE elements. ([1354](https://github.com/WordPress/performance/pull/1354)) +* Remove string type hint from webp_uploads_sanitize_image_format() to prevent possible fatal error. ([1410](https://github.com/WordPress/performance/pull/1410)) + +**Documentation** + +* Explain how to regenerate images in the Modern Image Formats readme. ([1348](https://github.com/WordPress/performance/pull/1348)) + = 2.0.2 = **Enhancements** From 6c9e5faba92262412f2163707283a42cafed5aa7 Mon Sep 17 00:00:00 2001 From: Weston Ruter Date: Mon, 19 Aug 2024 08:23:12 -0700 Subject: [PATCH 4/5] Use 0.1.3 as image-prioritizer version instead of 0.2.0 Co-authored-by: felixarntz --- plugins/image-prioritizer/load.php | 4 ++-- plugins/image-prioritizer/readme.txt | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/image-prioritizer/load.php b/plugins/image-prioritizer/load.php index 51175d517..550a26c8b 100644 --- a/plugins/image-prioritizer/load.php +++ b/plugins/image-prioritizer/load.php @@ -6,7 +6,7 @@ * Requires at least: 6.5 * Requires PHP: 7.2 * Requires Plugins: optimization-detective - * Version: 0.2.0 + * Version: 0.1.3 * Author: WordPress Performance Team * Author URI: https://make.wordpress.org/performance/ * License: GPLv2 or later @@ -66,7 +66,7 @@ static function ( string $global_var_name, string $version, Closure $load ): voi } )( 'image_prioritizer_pending_plugin', - '0.2.0', + '0.1.3', static function ( string $version ): void { // Define the constant. diff --git a/plugins/image-prioritizer/readme.txt b/plugins/image-prioritizer/readme.txt index affcb5df8..02838b6fc 100644 --- a/plugins/image-prioritizer/readme.txt +++ b/plugins/image-prioritizer/readme.txt @@ -2,7 +2,7 @@ Contributors: wordpressdotorg Tested up to: 6.6 -Stable tag: 0.2.0 +Stable tag: 0.1.3 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Tags: performance, optimization, image, lcp, lazy-load @@ -62,7 +62,7 @@ The [plugin source code](https://github.com/WordPress/performance/tree/trunk/plu == Changelog == -= 0.2.0 = += 0.1.3 = **Bug Fixes** From fe2f03cd04e7722dfda80f28fbcff2a8523d7716 Mon Sep 17 00:00:00 2001 From: Weston Ruter Date: Mon, 19 Aug 2024 08:24:30 -0700 Subject: [PATCH 5/5] Fix auto-sizes readme entry Co-authored-by: felixarntz --- plugins/auto-sizes/readme.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/auto-sizes/readme.txt b/plugins/auto-sizes/readme.txt index 90df36229..46c9ed1b0 100644 --- a/plugins/auto-sizes/readme.txt +++ b/plugins/auto-sizes/readme.txt @@ -61,7 +61,7 @@ Contributions are always welcome! Learn more about how to get involved in the [C **Bug Fixes** -* Remove sizes attribute when the responsive image disabled. ([1399](https://github.com/WordPress/performance/pull/1399)) +* Remove sizes attribute when responsive images are disabled. ([1399](https://github.com/WordPress/performance/pull/1399)) = 1.1.0 =