diff --git a/plugins/performance-lab/includes/admin/load.php b/plugins/performance-lab/includes/admin/load.php index 39467c5410..1ba31613f7 100644 --- a/plugins/performance-lab/includes/admin/load.php +++ b/plugins/performance-lab/includes/admin/load.php @@ -475,7 +475,7 @@ function perflab_get_plugin_settings_url( string $plugin_slug ): ?string { /** * Prints the Performance Lab install notice after each feature plugin's row meta. * - * @since n.e.x.t + * @since 3.2.0 * * @param string $plugin_file Plugin file. */ diff --git a/plugins/performance-lab/includes/server-timing/class-perflab-server-timing.php b/plugins/performance-lab/includes/server-timing/class-perflab-server-timing.php index 15661c5af6..987546099a 100644 --- a/plugins/performance-lab/includes/server-timing/class-perflab-server-timing.php +++ b/plugins/performance-lab/includes/server-timing/class-perflab-server-timing.php @@ -234,7 +234,7 @@ public function use_output_buffer(): bool { * assured that other plugins' output buffer callbacks will run before the Server-Timing one that sends the * Server-Timing header. * - * @since n.e.x.t + * @since 3.2.0 */ public function add_hooks(): void { if ( $this->use_output_buffer() ) { @@ -264,7 +264,7 @@ public function on_template_include( $passthrough = null ) { /** * Starts output buffering to send the Server-Timing header right before returning the buffer. * - * @since n.e.x.t + * @since 3.2.0 */ public function start_output_buffer(): void { ob_start( diff --git a/plugins/performance-lab/load.php b/plugins/performance-lab/load.php index e202e2729e..9b3eea02e0 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.4 * Requires PHP: 7.2 - * Version: 3.1.0 + * Version: 3.2.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.1.0' ); +define( 'PERFLAB_VERSION', '3.2.0' ); define( 'PERFLAB_MAIN_FILE', __FILE__ ); define( 'PERFLAB_PLUGIN_DIR_PATH', plugin_dir_path( PERFLAB_MAIN_FILE ) ); define( 'PERFLAB_SCREEN', 'performance-lab' ); @@ -108,7 +108,6 @@ function perflab_get_standalone_plugin_data(): array { 'constant' => 'IMAGE_PRIORITIZER_VERSION', 'experimental' => true, ), - // TODO: Add image loading optimization plugin, dependent of Optimization Detective, once ready for end users. 'performant-translations' => array( 'constant' => 'PERFORMANT_TRANSLATIONS_VERSION', ), diff --git a/plugins/performance-lab/readme.txt b/plugins/performance-lab/readme.txt index 5ca19473bc..4fbfa52ca5 100644 --- a/plugins/performance-lab/readme.txt +++ b/plugins/performance-lab/readme.txt @@ -4,7 +4,7 @@ Contributors: wordpressdotorg Requires at least: 6.4 Tested up to: 6.5 Requires PHP: 7.2 -Stable tag: 3.1.0 +Stable tag: 3.2.0 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Tags: performance, site health, measurement, optimization, diagnostics @@ -62,6 +62,16 @@ Contributions are always welcome! Learn more about how to get involved in the [C = 3.2.0 = +**Enhancements** + +* Add install note after each PerfLab feature plugin in the plugin list table. ([1265](https://github.com/WordPress/performance/pull/1265)) +* Update plugins with new banners and icons. ([1272](https://github.com/WordPress/performance/pull/1272)) + +**Bug Fixes** + +* Fix Server-Timing compatibility with other plugins that do output buffering. ([1260](https://github.com/WordPress/performance/pull/1260)) +* Harden autoloaded-options site health test for incorrectly implemented external object cache plugins. ([1238](https://github.com/WordPress/performance/pull/1238)) + = 3.1.0 = **Enhancements** diff --git a/plugins/speculation-rules/load.php b/plugins/speculation-rules/load.php index 91cf17da90..5b0192d003 100644 --- a/plugins/speculation-rules/load.php +++ b/plugins/speculation-rules/load.php @@ -5,7 +5,7 @@ * Description: Enables browsers to speculatively prerender or prefetch pages when hovering over links. * Requires at least: 6.4 * Requires PHP: 7.2 - * Version: 1.3.1-alpha + * Version: 1.3.1 * 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 } )( 'plsr_pending_plugin_info', - '1.3.1-alpha', + '1.3.1', static function ( string $version ): void { // Define the constant. diff --git a/plugins/speculation-rules/readme.txt b/plugins/speculation-rules/readme.txt index dfbdf2b703..9383c68b26 100644 --- a/plugins/speculation-rules/readme.txt +++ b/plugins/speculation-rules/readme.txt @@ -4,7 +4,7 @@ Contributors: wordpressdotorg Requires at least: 6.4 Tested up to: 6.5 Requires PHP: 7.2 -Stable tag: 1.3.0 +Stable tag: 1.3.1 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Tags: performance, javascript, speculation rules, prerender, prefetch @@ -114,6 +114,12 @@ Contributions are always welcome! Learn more about how to get involved in the [C == Changelog == += 1.3.1 = + +**Bug Fixes** + +* Check if rel contains nofollow instead of being just nofollow when excluding speculative loading. ([1232](https://github.com/WordPress/performance/pull/1232)) + = 1.3.0 = **Enhancements** diff --git a/plugins/webp-uploads/helper.php b/plugins/webp-uploads/helper.php index 5c4e0611e2..0b164d7060 100644 --- a/plugins/webp-uploads/helper.php +++ b/plugins/webp-uploads/helper.php @@ -16,7 +16,7 @@ * for example an image/jpeg can be converted into an image/webp. * * @since 1.0.0 - * @since n.e.x.t Added support for AVIF. + * @since 2.0.0 Added support for AVIF. * * @return array> An array of valid mime types, where the key is the mime type and the value is the extension type. */ @@ -334,7 +334,7 @@ function webp_uploads_should_discard_additional_image_file( array $original, arr * * Includes special handling for false positives on AVIF support. * - * @since n.e.x.t + * @since 2.0.0 * * @param string $mime_type The mime type to check. * @return bool Whether the server supports a given mime type. @@ -364,7 +364,7 @@ function webp_uploads_mime_type_supported( string $mime_type ): bool { /** * Get the image output format setting from the option. Default is avif. * - * @since n.e.x.t + * @since 2.0.0 * * @return string The image output format. One of 'webp' or 'avif'. */ @@ -376,7 +376,7 @@ function webp_uploads_get_image_output_format(): string { /** * Sanitizes the image format. * - * @since n.e.x.t + * @since 2.0.0 * * @param string $image_format The image format to check. * @return string Supported image format. @@ -388,7 +388,7 @@ function webp_uploads_sanitize_image_format( string $image_format ): string { /** * Checks if the `webp_uploads_use_picture_element` option is enabled. * - * @since n.e.x.t + * @since 2.0.0 * * @return bool True if the option is enabled, false otherwise. */ @@ -399,7 +399,7 @@ function webp_uploads_is_picture_element_enabled(): bool { /** * Checks if the `perflab_generate_webp_and_jpeg` option is enabled. * - * @since n.e.x.t + * @since 2.0.0 * * @return bool True if the option is enabled, false otherwise. */ diff --git a/plugins/webp-uploads/load.php b/plugins/webp-uploads/load.php index 595903fa60..c9188c3b6e 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.4 * Requires PHP: 7.2 - * Version: 1.1.1 + * Version: 2.0.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', '1.1.1' ); +define( 'WEBP_UPLOADS_VERSION', '2.0.0' ); define( 'WEBP_UPLOADS_MAIN_FILE', plugin_basename( __FILE__ ) ); require_once __DIR__ . '/helper.php'; diff --git a/plugins/webp-uploads/picture-element.php b/plugins/webp-uploads/picture-element.php index 4a7843c7f2..459385f2b9 100644 --- a/plugins/webp-uploads/picture-element.php +++ b/plugins/webp-uploads/picture-element.php @@ -4,13 +4,13 @@ * * @package webp-uploads * - * @since n.e.x.t + * @since 2.0.0 */ /** * Potentially wrap an image tag in a picture element. * - * @since n.e.x.t + * @since 2.0.0 * * @param string $image The image tag. * @param string $context The context for the image tag. @@ -49,7 +49,7 @@ function webp_uploads_wrap_image_in_picture( string $image, string $context, int * The mime types will output in the picture element in the order they are provided. * The original image will be used as the fallback image for browsers that don't support the picture element. * - * @since n.e.x.t + * @since 2.0.0 * @param string[] $mime_types Mime types than can be used. * @param int $attachment_id The id of the image being evaluated. */ diff --git a/plugins/webp-uploads/readme.txt b/plugins/webp-uploads/readme.txt index 80b70a6437..51da7960ac 100644 --- a/plugins/webp-uploads/readme.txt +++ b/plugins/webp-uploads/readme.txt @@ -63,8 +63,17 @@ By default, the Modern Image Formats plugin will only generate WebP versions of == Changelog == = 2.0.0 = + +**Features** + +* Add `picture` element support. ([73](https://github.com/WordPress/performance/pull/73)) * Add AVIF image format support. Add setting for output image format to choose between WebP and AVIF. ([1176](https://github.com/WordPress/performance/pull/1176)) +**Enhancements** + +* Improve Settings->Media controls for Modern Image Formats. ([1273](https://github.com/WordPress/performance/pull/1273)) +* Remove obsolete fallback script now that picture element is supported. ([1269](https://github.com/WordPress/performance/pull/1269)) + = 1.1.1 = **Enhancements** @@ -114,4 +123,4 @@ By default, the Modern Image Formats plugin will only generate WebP versions of = 2.0.0 = -This release adds support for AVIF images and enables selecting the the output image format to choose between WebP and AVIF when both are available. AVIF is used as the default when the server supports it. \ No newline at end of file +This release adds support for AVIF images and enables selecting the the output image format to choose between WebP and AVIF when both are available. AVIF is used as the default when the server supports it. diff --git a/plugins/webp-uploads/settings.php b/plugins/webp-uploads/settings.php index 92a32ab8ee..2bfe0140d8 100644 --- a/plugins/webp-uploads/settings.php +++ b/plugins/webp-uploads/settings.php @@ -15,10 +15,9 @@ * Registers setting for generating JPEG in addition to the selected modern format for image uploads. * * @since 1.0.0 - * @since n.e.x.t The setting was made more general to cover outputting JPEG as a secondary type. The "webp" option naming - * was left unchanged for backward compatibility. - * @since n.e.x.t The `perflab_modern_image_format` was added to enable selecting an output format. - * Currently includes AVIF and WebP. + * @since 2.0.0 The setting was made more general to cover outputting JPEG as a secondary type. The "webp" option naming + * was left unchanged for backward compatibility. Also, the `perflab_modern_image_format` was added to + * enable selecting an output format. Currently includes AVIF and WebP. */ function webp_uploads_register_media_settings_field(): void { register_setting( @@ -112,7 +111,7 @@ function webp_uploads_add_media_settings_fields(): void { /** * Renders the settings field for the 'perflab_modern_image_format' setting. * - * @since n.e.x.t + * @since 2.0.0 */ function webp_uploads_generate_avif_webp_setting_callback(): void { @@ -193,7 +192,7 @@ function webp_uploads_generate_webp_jpeg_setting_callback(): void { /** * Renders the settings field for the 'webp_uploads_use_picture_element' setting. * - * @since n.e.x.t + * @since 2.0.0 */ function webp_uploads_use_picture_element_callback(): void { // Picture element support requires the JPEG output to be enabled.