Skip to content

Commit

Permalink
Merge pull request #1480 from WordPress/publish/3.4.0
Browse files Browse the repository at this point in the history
Prepare 3.4.0 release
  • Loading branch information
westonruter committed Aug 19, 2024
2 parents d6c1b0d + fe2f03c commit f714ce2
Show file tree
Hide file tree
Showing 14 changed files with 79 additions and 19 deletions.
4 changes: 2 additions & 2 deletions plugins/auto-sizes/auto-sizes.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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';

Expand Down
2 changes: 1 addition & 1 deletion plugins/auto-sizes/hooks.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
13 changes: 12 additions & 1 deletion plugins/auto-sizes/readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -52,6 +52,17 @@ Contributions are always welcome! Learn more about how to get involved in the [C

== Changelog ==

= 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 responsive images are disabled. ([1399](https://github.com/WordPress/performance/pull/1399))

= 1.1.0 =

**Features**
Expand Down
4 changes: 2 additions & 2 deletions plugins/image-prioritizer/load.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* Requires at least: 6.5
* Requires PHP: 7.2
* Requires Plugins: optimization-detective
* Version: 0.1.2
* Version: 0.1.3
* Author: WordPress Performance Team
* Author URI: https://make.wordpress.org/performance/
* License: GPLv2 or later
Expand Down Expand Up @@ -66,7 +66,7 @@ static function ( string $global_var_name, string $version, Closure $load ): voi
}
)(
'image_prioritizer_pending_plugin',
'0.1.2',
'0.1.3',
static function ( string $version ): void {

// Define the constant.
Expand Down
8 changes: 7 additions & 1 deletion plugins/image-prioritizer/readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Contributors: wordpressdotorg
Tested up to: 6.6
Stable tag: 0.1.2
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
Expand Down Expand Up @@ -62,6 +62,12 @@ The [plugin source code](https://github.com/WordPress/performance/tree/trunk/plu

== Changelog ==

= 0.1.3 =

**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))
Expand Down
4 changes: 2 additions & 2 deletions plugins/optimization-detective/load.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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.
Expand Down
15 changes: 14 additions & 1 deletion plugins/optimization-detective/readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -134,6 +134,19 @@ The [plugin source code](https://github.com/WordPress/performance/tree/trunk/plu

== Changelog ==

= 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**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions plugins/performance-lab/load.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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' );
Expand Down
14 changes: 13 additions & 1 deletion plugins/performance-lab/readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -70,6 +70,18 @@ Contributions are always welcome! Learn more about how to get involved in the [C

== Changelog ==

= 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**
Expand Down
2 changes: 1 addition & 1 deletion plugins/webp-uploads/hooks.php
Original file line number Diff line number Diff line change
Expand Up @@ -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() ) {
Expand Down
4 changes: 2 additions & 2 deletions plugins/webp-uploads/load.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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';
Expand Down
2 changes: 1 addition & 1 deletion plugins/webp-uploads/picture-element.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
20 changes: 19 additions & 1 deletion plugins/webp-uploads/readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -60,6 +60,24 @@ By default, the Modern Image Formats plugin will only generate WebP versions of

== Changelog ==

= 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**
Expand Down

0 comments on commit f714ce2

Please sign in to comment.