diff --git a/plugins/optimization-detective/class-od-url-metrics-group-collection.php b/plugins/optimization-detective/class-od-url-metrics-group-collection.php index f51900f8db..b419b80544 100644 --- a/plugins/optimization-detective/class-od-url-metrics-group-collection.php +++ b/plugins/optimization-detective/class-od-url-metrics-group-collection.php @@ -454,7 +454,7 @@ public function count(): int { /** * Specifies data which should be serialized to JSON. * - * @since n.e.x.t + * @since 0.3.1 * * @return array{ * breakpoints: positive-int[], @@ -471,7 +471,7 @@ public function count(): int { * complete: bool, * url_metrics: OD_URL_Metric[] * }> - * } Data which can be serialized by json_encode. + * } Data which can be serialized by json_encode(). */ public function jsonSerialize(): array { return array( diff --git a/plugins/optimization-detective/class-od-url-metrics-group.php b/plugins/optimization-detective/class-od-url-metrics-group.php index 6ef38d8b48..e6c5706b38 100644 --- a/plugins/optimization-detective/class-od-url-metrics-group.php +++ b/plugins/optimization-detective/class-od-url-metrics-group.php @@ -339,7 +339,7 @@ public function count(): int { /** * Specifies data which should be serialized to JSON. * - * @since n.e.x.t + * @since 0.3.1 * * @return array{ * freshness_ttl: 0|positive-int, diff --git a/plugins/optimization-detective/load.php b/plugins/optimization-detective/load.php index 454914611b..6d6224039f 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.4 * Requires PHP: 7.2 - * Version: 0.3.0 + * Version: 0.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 } )( 'optimization_detective_pending_plugin', - '0.3.0', + '0.3.1', static function ( string $version ): void { // Define the constant. diff --git a/plugins/optimization-detective/readme.txt b/plugins/optimization-detective/readme.txt index 3a31987c03..1b35b804a1 100644 --- a/plugins/optimization-detective/readme.txt +++ b/plugins/optimization-detective/readme.txt @@ -4,7 +4,7 @@ Contributors: wordpressdotorg Requires at least: 6.4 Tested up to: 6.5 Requires PHP: 7.2 -Stable tag: 0.3.0 +Stable tag: 0.3.1 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Tags: performance, optimization, rum @@ -135,6 +135,16 @@ The [plugin source code](https://github.com/WordPress/performance/tree/trunk/plu == Changelog == += 0.3.1 = + +**Enhancements** + +* Log URL metrics group collection to console when debugging is enabled (`WP_DEBUG` is true). ([1295](https://github.com/WordPress/performance/pull/1295)) + +**Bug Fixes** + +* Include non-intersecting elements in URL metrics to fix lazy-load optimization. ([1293](https://github.com/WordPress/performance/pull/1293)) + = 0.3.0 = * The image optimization features have been split out into a new dependent plugin called [Image Prioritizer](https://wordpress.org/plugins/image-prioritizer/), which also now optimizes image lazy-loading. ([1088](https://github.com/WordPress/performance/issues/1088))