diff --git a/plugins/auto-sizes/auto-sizes.php b/plugins/auto-sizes/auto-sizes.php index d44f8755a..48dbe6a46 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.2.0 + * Version: 1.3.0 * Author: WordPress Performance Team * Author URI: https://make.wordpress.org/performance/ * License: GPLv2 or later @@ -25,6 +25,6 @@ return; } -define( 'IMAGE_AUTO_SIZES_VERSION', '1.2.0' ); +define( 'IMAGE_AUTO_SIZES_VERSION', '1.3.0' ); require_once __DIR__ . '/hooks.php'; diff --git a/plugins/auto-sizes/readme.txt b/plugins/auto-sizes/readme.txt index 46c9ed1b0..582d84ede 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.2.0 +Stable tag: 1.3.0 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Tags: performance, images, auto-sizes @@ -52,6 +52,13 @@ Contributions are always welcome! Learn more about how to get involved in the [C == Changelog == += 1.3.0 = + +**Enhancements** + +* Move Auto Sizes logic from Enhanced Responsive Images to Image Prioritizer. ([1476](https://github.com/WordPress/performance/pull/1476)) +* Update auto sizes logic in Enhanced Responsive Images plugin to no longer load if already in Core. ([1547](https://github.com/WordPress/performance/pull/1547)) + = 1.2.0 = **Enhancements** diff --git a/plugins/dominant-color-images/load.php b/plugins/dominant-color-images/load.php index b505d94a8..6f36b559e 100644 --- a/plugins/dominant-color-images/load.php +++ b/plugins/dominant-color-images/load.php @@ -5,7 +5,7 @@ * Description: Displays placeholders based on an image's dominant color while the image is loading. * Requires at least: 6.5 * Requires PHP: 7.2 - * Version: 1.1.1 + * Version: 1.1.2 * Author: WordPress Performance Team * Author URI: https://make.wordpress.org/performance/ * License: GPLv2 or later @@ -25,7 +25,7 @@ return; } -define( 'DOMINANT_COLOR_IMAGES_VERSION', '1.1.1' ); +define( 'DOMINANT_COLOR_IMAGES_VERSION', '1.1.2' ); require_once __DIR__ . '/helper.php'; require_once __DIR__ . '/hooks.php'; diff --git a/plugins/dominant-color-images/readme.txt b/plugins/dominant-color-images/readme.txt index 88880c4c4..2ac409272 100644 --- a/plugins/dominant-color-images/readme.txt +++ b/plugins/dominant-color-images/readme.txt @@ -2,7 +2,7 @@ Contributors: wordpressdotorg Tested up to: 6.6 -Stable tag: 1.1.1 +Stable tag: 1.1.2 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Tags: performance, images, dominant color @@ -47,6 +47,17 @@ Contributions are always welcome! Learn more about how to get involved in the [C == Changelog == += 1.1.2 = + +**Enhancements** + +* Use more robust HTML Tag Processor for Image Placeholders. ([1477](https://github.com/WordPress/performance/pull/1477)) + +**Bug Fixes** + +* Re-remove unneeded phpcs:ignore. ([1231](https://github.com/WordPress/performance/pull/1231)) +* Update PHPStan to 1.11.5. ([1318](https://github.com/WordPress/performance/pull/1318)) + = 1.1.1 = **Enhancements** diff --git a/plugins/image-prioritizer/class-image-prioritizer-img-tag-visitor.php b/plugins/image-prioritizer/class-image-prioritizer-img-tag-visitor.php index 43151939b..926e44862 100644 --- a/plugins/image-prioritizer/class-image-prioritizer-img-tag-visitor.php +++ b/plugins/image-prioritizer/class-image-prioritizer-img-tag-visitor.php @@ -163,7 +163,7 @@ static function ( string $value ): bool { * * Per the HTML spec, if present it must be the first entry. * - * @since n.e.x.t + * @since 0.1.4 * * @param string $sizes_attr The 'sizes' attribute value. * @return bool True if the 'auto' keyword is present, false otherwise. diff --git a/plugins/image-prioritizer/load.php b/plugins/image-prioritizer/load.php index 550a26c8b..97b9983ee 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.3 + * Version: 0.1.4 * 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.3', + '0.1.4', static function ( string $version ): void { // Define the constant. diff --git a/plugins/image-prioritizer/readme.txt b/plugins/image-prioritizer/readme.txt index 02838b6fc..7e96509af 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.3 +Stable tag: 0.1.4 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,12 @@ The [plugin source code](https://github.com/WordPress/performance/tree/trunk/plu == Changelog == += 0.1.4 = + +**Enhancements** + +* Move Auto Sizes logic from Enhanced Responsive Images to Image Prioritizer. ([1476](https://github.com/WordPress/performance/pull/1476)) + = 0.1.3 = **Bug Fixes** diff --git a/plugins/optimization-detective/class-od-html-tag-processor.php b/plugins/optimization-detective/class-od-html-tag-processor.php index 900f0a5b1..3996dfdf8 100644 --- a/plugins/optimization-detective/class-od-html-tag-processor.php +++ b/plugins/optimization-detective/class-od-html-tag-processor.php @@ -181,7 +181,7 @@ final class OD_HTML_Tag_Processor extends WP_HTML_Tag_Processor { /** * Count for the number of times that the cursor was moved. * - * @since n.e.x.t + * @since 0.6.0 * @var int * @see self::next_token() * @see self::seek() @@ -342,7 +342,7 @@ public function next_token(): bool { /** * Gets the number of times the cursor has moved. * - * @since n.e.x.t + * @since 0.6.0 * @see self::next_token() * @see self::seek() * diff --git a/plugins/optimization-detective/class-od-strict-url-metric.php b/plugins/optimization-detective/class-od-strict-url-metric.php index d3e0a5a5d..f3ecfede2 100644 --- a/plugins/optimization-detective/class-od-strict-url-metric.php +++ b/plugins/optimization-detective/class-od-strict-url-metric.php @@ -3,7 +3,7 @@ * Optimization Detective: OD_Strict_URL_Metric class * * @package optimization-detective - * @since n.e.x.t + * @since 0.6.0 */ // Exit if accessed directly. @@ -17,7 +17,7 @@ * This is used exclusively in the REST API endpoint for capturing new URL metrics to prevent invalid additional data from being * submitted in the request. For URL metrics which have been stored the looser OD_URL_Metric class is used instead. * - * @since n.e.x.t + * @since 0.6.0 * @access private */ final class OD_Strict_URL_Metric extends OD_URL_Metric { @@ -25,7 +25,7 @@ final class OD_Strict_URL_Metric extends OD_URL_Metric { /** * Gets JSON schema for URL Metric without additionalProperties. * - * @since n.e.x.t + * @since 0.6.0 * * @return array Schema. */ @@ -39,7 +39,7 @@ public static function get_json_schema(): array { * This is a forked version of `rest_default_additional_properties_to_false()` which isn't being used itself because * it does not override `additionalProperties` to be false, but rather only sets it when it is empty. * - * @since n.e.x.t + * @since 0.6.0 * @see rest_default_additional_properties_to_false() * * @param mixed $schema Schema. diff --git a/plugins/optimization-detective/class-od-url-metric.php b/plugins/optimization-detective/class-od-url-metric.php index a64db2f1d..9de7d57a9 100644 --- a/plugins/optimization-detective/class-od-url-metric.php +++ b/plugins/optimization-detective/class-od-url-metric.php @@ -243,7 +243,7 @@ public static function get_json_schema(): array { /** * Filters additional schema properties which should be allowed at the root of a URL metric. * - * @since n.e.x.t + * @since 0.6.0 * * @param array $additional_properties Additional properties. */ @@ -255,7 +255,7 @@ public static function get_json_schema(): array { /** * Filters additional schema properties which should be allowed for an elements item in a URL metric. * - * @since n.e.x.t + * @since 0.6.0 * * @param array $additional_properties Additional properties. */ @@ -274,7 +274,7 @@ public static function get_json_schema(): array { /** * Extends a schema with additional optional properties. * - * @since n.e.x.t + * @since 0.6.0 * * @param array $properties_schema Properties schema to extend. * @param array $additional_properties Additional properties. @@ -287,7 +287,7 @@ protected static function extend_schema_with_optional_properties( array $propert _doing_it_wrong( esc_html( "Filter: '{$filter_name}'" ), esc_html( $message ), - 'Optimization Detective n.e.x.t' + 'Optimization Detective 0.6.0' ); }; foreach ( $additional_properties as $property_key => $property_schema ) { @@ -349,7 +349,7 @@ protected static function extend_schema_with_optional_properties( array $propert * * This is particularly useful in conjunction with the `od_url_metric_schema_root_additional_properties` filter. * - * @since n.e.x.t + * @since 0.6.0 * * @param string $key Property. * @return mixed|null The property value, or null if not set. diff --git a/plugins/optimization-detective/load.php b/plugins/optimization-detective/load.php index 52902fb31..3edf2cf13 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.5.0 + * Version: 0.6.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.5.0', + '0.6.0', static function ( string $version ): void { // Define the constant. diff --git a/plugins/optimization-detective/readme.txt b/plugins/optimization-detective/readme.txt index dcc37e4e4..d23ff3dfc 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.5.0 +Stable tag: 0.6.0 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Tags: performance, optimization, rum @@ -157,6 +157,20 @@ The [plugin source code](https://github.com/WordPress/performance/tree/trunk/plu == Changelog == += 0.6.0 = + +**Enhancements** + +* Allow URL metric schema to be extended. ([1492](https://github.com/WordPress/performance/pull/1492)) +* Clarify docs around a tag visitor's boolean return value. ([1479](https://github.com/WordPress/performance/pull/1479)) +* Include UUID with each URL metric. ([1489](https://github.com/WordPress/performance/pull/1489)) +* Introduce get_cursor_move_count() to use instead of get_seek_count() and get_next_token_count(). ([1478](https://github.com/WordPress/performance/pull/1478)) + +**Bug Fixes** + +* Add missing global documentation for `delete_all_posts()`. ([1522](https://github.com/WordPress/performance/pull/1522)) +* Introduce viewport aspect ratio validation for URL Metrics. ([1494](https://github.com/WordPress/performance/pull/1494)) + = 0.5.0 = **Enhancements** diff --git a/plugins/optimization-detective/storage/data.php b/plugins/optimization-detective/storage/data.php index cbb31f672..5c7920b1b 100644 --- a/plugins/optimization-detective/storage/data.php +++ b/plugins/optimization-detective/storage/data.php @@ -182,7 +182,7 @@ function od_verify_url_metrics_storage_nonce( string $nonce, string $slug, strin /** * Gets the minimum allowed viewport aspect ratio for URL metrics. * - * @since n.e.x.t + * @since 0.6.0 * @access private * * @return float Minimum viewport aspect ratio for URL metrics. @@ -194,7 +194,7 @@ function od_get_minimum_viewport_aspect_ratio(): float { * The 0.4 default value is intended to accommodate the phone with the greatest known aspect * ratio at 21:9 when rotated 90 degrees to 9:21 (0.429). * - * @since n.e.x.t + * @since 0.6.0 * * @param float $minimum_viewport_aspect_ratio Minimum viewport aspect ratio. */ @@ -204,7 +204,7 @@ function od_get_minimum_viewport_aspect_ratio(): float { /** * Gets the maximum allowed viewport aspect ratio for URL metrics. * - * @since n.e.x.t + * @since 0.6.0 * @access private * * @return float Maximum viewport aspect ratio for URL metrics. @@ -216,7 +216,7 @@ function od_get_maximum_viewport_aspect_ratio(): float { * The 2.5 default value is intended to accommodate the phone with the greatest known aspect * ratio at 21:9 (2.333). * - * @since n.e.x.t + * @since 0.6.0 * * @param float $maximum_viewport_aspect_ratio Maximum viewport aspect ratio. */ diff --git a/plugins/optimization-detective/storage/rest-api.php b/plugins/optimization-detective/storage/rest-api.php index 77b7fda2d..654e3647e 100644 --- a/plugins/optimization-detective/storage/rest-api.php +++ b/plugins/optimization-detective/storage/rest-api.php @@ -171,7 +171,7 @@ function od_handle_rest_request( WP_REST_Request $request ) { /** * Fires whenever a URL Metric was successfully collected. * - * @since n.e.x.t + * @since 0.6.0 * * @param array $context { * Context about the successful URL Metric collection. diff --git a/plugins/performance-lab/load.php b/plugins/performance-lab/load.php index 8afe83c0b..ba5a09dba 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.4.0 + * Version: 3.4.1 * 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.4.0' ); +define( 'PERFLAB_VERSION', '3.4.1' ); 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 3d8f4d1f4..f74e3e808 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.4.0 +Stable tag: 3.4.1 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,12 @@ Contributions are always welcome! Learn more about how to get involved in the [C == Changelog == += 3.4.1 = + +**Bug Fixes** + +* Fix Incorrect use of _n(). ([1491](https://github.com/WordPress/performance/pull/1491)) + = 3.4.0 = **Enhancements** diff --git a/plugins/webp-uploads/helper.php b/plugins/webp-uploads/helper.php index 2c11f141c..7669154b6 100644 --- a/plugins/webp-uploads/helper.php +++ b/plugins/webp-uploads/helper.php @@ -17,7 +17,7 @@ * * @since 1.0.0 * @since 2.0.0 Added support for AVIF. - * @since n.e.x.t Added support for PNG. + * @since 2.2.0 Added support for PNG. * * @return array> An array of valid mime types, where the key is the mime type and the value is the extension type. */ @@ -403,7 +403,7 @@ function webp_uploads_is_picture_element_enabled(): bool { * Checks if the `perflab_generate_webp_and_jpeg` option is enabled. * * @since 2.0.0 - * @since n.e.x.t Renamed to webp_uploads_is_fallback_enabled(). + * @since 2.2.0 Renamed to webp_uploads_is_fallback_enabled(). * * @return bool True if the option is enabled, false otherwise. */ @@ -417,7 +417,7 @@ function webp_uploads_is_fallback_enabled(): bool { * This function attempts to locate an alternate image source URL in the * attachment's metadata that matches the provided MIME type. * - * @since n.e.x.t + * @since 2.2.0 * * @param int $attachment_id The ID of the attachment. * @param string $src The original image src url. diff --git a/plugins/webp-uploads/load.php b/plugins/webp-uploads/load.php index a0d83c642..b8319e61a 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.1.0 + * Version: 2.2.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.1.0' ); +define( 'WEBP_UPLOADS_VERSION', '2.2.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 e53deb792..ebf564de4 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.1.0 +Stable tag: 2.2.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,16 @@ By default, the Modern Image Formats plugin will only generate WebP versions of == Changelog == += 2.2.0 = + +**Enhancements** + +* Convert uploaded PNG files to AVIF or WebP. ([1421](https://github.com/WordPress/performance/pull/1421)) + +**Bug Fixes** + +* Account for responsive images being disabled when generating a PICTURE element. ([1449](https://github.com/WordPress/performance/pull/1449)) + = 2.1.0 = **Enhancements**