Skip to content

Commit

Permalink
Merge pull request #1296 from WordPress/publish/optimization-detectiv…
Browse files Browse the repository at this point in the history
…e-0.3.1

Release Optimization Detective v0.3.1
  • Loading branch information
westonruter committed Jun 12, 2024
2 parents e1962ef + 1f09aba commit d11821d
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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[],
Expand All @@ -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(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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,
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.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
Expand Down Expand Up @@ -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.
Expand Down
12 changes: 11 additions & 1 deletion plugins/optimization-detective/readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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))
Expand Down

0 comments on commit d11821d

Please sign in to comment.