Skip to content

Releases: WordPress/performance

3.5.1

21 Oct 18:17
70ca5b5
Compare
Choose a tag to compare

This release fixes an issue with Performance Lab v3.5.0 which was only discovered after it was released:

  • Account for plugin dependencies when storing relevant plugin info. (1613)

3.5.0

21 Oct 17:14
6cc4ba5
Compare
Choose a tag to compare

Update: v3.5.1 was released shortly after this to fix a bug with installing Image Prioritizer from the Performance features screen.

There are 5 plugins included with this release:

Performance Lab (performance-lab) v3.5.0

Enhancements

  • Add Web Worker Offloading to list of Performance features. (1577)
  • Only store info for relevant standalone plugins in the transient cache. (1573)
  • Use a single WordPress.org API request to get information for all plugins. (1562)

Embed Optimizer (embed-optimizer) v0.3.0

Enhancements

  • Leverage URL metrics to reserve space for embeds to reduce CLS. (1373)
  • Avoid lazy-loading images and embeds unless there are URL Metrics for both mobile and desktop. (1604)

Image Prioritizer (image-prioritizer) v0.2.0

Enhancements

  • Lazy load videos and video posters. (1596)
  • Prioritize loading poster image of video LCP elements. (1498)
  • Choose smaller video poster image size based on actual dimensions. (1595)
  • Add fetchpriority=low to occluded initial-viewport images (e.g. images in hidden carousel slides). (1482)
  • Avoid lazy-loading images and embeds unless there are URL Metrics for both mobile and desktop. (1604)

Optimization Detective (optimization-detective) v0.7.0

Enhancements

  • Send gathered URL metric data when the page is hidden/unloaded as opposed to once the page has loaded; this enables the ability to track layout shifts and INP scores over the life of the page. (1373)
  • Introduce client-side extensions in the form of script modules which are loaded when the detection logic runs. (1373)
  • Add an od_init action for extensions to load their code. (1373)
  • Introduce OD_Element class and improve PHP API. (1585)
  • Add group collection helper methods to get the first/last groups. (1602)

Bug Fixes

  • Fix Optimization Detective compatibility with WooCommerce when Coming Soon page is served. (1565)
  • Fix storage of URL Metric when plain non-pretty permalinks are enabled. (1574)

Web Worker Offloading (web-worker-offloading) v0.1.1

Enhancements

  • Add Web Worker Offloading meta generator. (1598)

3.4.1

23 Sep 17:48
d495214
Compare
Choose a tag to compare

There are 6 plugins included with this release:

Performance Lab (performance-lab) v3.4.1

Bug Fixes

  • Fix Incorrect use of _n(). (1491)

Enhanced Responsive Images (auto-sizes) v1.3.0

Enhancements

  • Move Auto Sizes logic from Enhanced Responsive Images to Image Prioritizer. (1476)
  • Update auto sizes logic in Enhanced Responsive Images plugin to no longer load if already in Core. (1547)

Image Placeholders (dominant-color-images) v1.1.2

Enhancements

  • Use more robust HTML Tag Processor for Image Placeholders. (1477)

Bug Fixes

  • Re-remove unneeded phpcs:ignore. (1231)
  • Update PHPStan to 1.11.5. (1318)

Image Prioritizer (image-prioritizer) v0.1.4

Enhancements

  • Move Auto Sizes logic from Enhanced Responsive Images to Image Prioritizer. (1476)

Optimization Detective (optimization-detective) v0.6.0

Enhancements

  • Allow URL metric schema to be extended. (1492)
  • Clarify docs around a tag visitor's boolean return value. (1479)
  • Include UUID with each URL metric. (1489)
  • Introduce get_cursor_move_count() to use instead of get_seek_count() and get_next_token_count(). (1478)

Bug Fixes

  • Add missing global documentation for delete_all_posts(). (1522)
  • Introduce viewport aspect ratio validation for URL Metrics. (1494)

Modern Image Formats (webp-uploads) v2.2.0

Enhancements

  • Convert uploaded PNG files to AVIF or WebP. (1421)

Bug Fixes

  • Account for responsive images being disabled when generating a PICTURE element. (1449)

3.4.0

19 Aug 17:14
f714ce2
Compare
Choose a tag to compare

Enhancements

  • Remove Server-Timing metric for the autoloaded options query time. (1456)

Bug Fixes

  • Avoid sending Server-Timing header when buffer is being cleaned. (1443)
  • Fix disabled options from reappearing in Site Health after external update. (1374)
  • Improve Performance screen when external requests to WordPress.org fail. (1474)

3.3.0

15 Jul 17:16
64a470d
Compare
Choose a tag to compare

Enhancements

  • Bump minimum WP versions and WP version tested up to. (1333)
  • Improve message for WebP site health test. (1249)
  • Remove 'Requires at least' and 'Requires PHP' from plugin readmes. (1334)
  • Upgrade PHPStan to 1.11.6. (1325)

Bug Fixes

  • Extend core's Autoloaded Options Site Health test if present (in WP 6.6). (1298)
  • Generate phpunit-multisite.xml on the fly. (1327)

3.2.0

06 Jun 18:25
fc0e040
Compare
Choose a tag to compare

Enhancements

  • Add install note after each PerfLab feature plugin in the plugin list table. (1265)
  • Update plugins with new banners and icons. (1272)

Bug Fixes

  • Fix Server-Timing compatibility with other plugins that do output buffering. (1260)
  • Harden autoloaded-options site health test for incorrectly implemented external object cache plugins. (1238)

3.1.0

20 May 17:11
be0727f
Compare
Choose a tag to compare

Enhancements

  • Add progress indicator when activating a feature. (1190)
  • Display plugin settings links in the features screen and fix responsive layout for mobile. (1208)
  • Add plugin dependency support for activating performance features. (1184)
  • Add support for AVIF image format in site health. (1177)
  • Add server timing to REST API response. (1206)
  • Bump minimum PHP requirement to 7.2. (1130)
  • Refine logic in perflab_install_activate_plugin_callback() to rely only on validated slug. (1170)
  • Improve overall code quality with stricter static analysis checks. (775)

Bug Fixes

  • Avoid passing incomplete data to perflab_render_plugin_card() and show error when plugin directory API query fails. (1175)
  • Do not show admin pointer on the Performance screen and dismiss the pointer when visited. (1147)
  • Fix WordPress.DB.DirectDatabaseQuery.DirectQuery warning for Autoloaded Options Health Check. (1179)

3.0.0

15 Apr 17:09
490b3b5
Compare
Choose a tag to compare

Enhancements

  • Add caching to the wordpress.org query to get plugin information. (1022)
  • Add support for autoloading enhancements in WordPress 6.6 trunk to autoloaded options Site Health check. (1112)
  • Bump minimum required WordPress version to 6.4. (1062)
  • Enhance object-cache.php drop-in placement logic to support updating to a newer version of the file. (1047)
  • Implement support for annotating certain plugins as experimental. (1111)
  • Migrate Site Health checks from being modules to becoming part of the plugin core. (1042)
  • Remove modules infrastructure and UI from the plugin. (1060)
  • Support changing autoload value for largest autoloaded options in Site Health check. (1048)
  • Use plugin slug for generator tag. (1103)

Documentation

  • Update tested WordPress version to 6.5. (1027)

2.9.0

20 Feb 19:16
e7fcba4
Compare
Choose a tag to compare

Features

  • Infrastructure: Add standalone plugin version constants for auto-sizes and speculation-rules. (958)

Enhancements

  • Infrastructure: Include standalone plugin slugs in generator tag. (949)

Bug Fixes

  • Infrastructure: Sanitize metric name for Server-Timing header. (957)

2.8.0

16 Jan 18:16
135e93f
Compare
Choose a tag to compare

Features

  • Infrastructure: Introduce UI for managing Performance Lab standalone plugins. (864)

Enhancements

  • Infrastructure: Add support for plugin live preview in the plugin directory. (890)
  • Infrastructure: Allow module can-load.php callbacks to return a WP_Error with more information. (891)
  • Infrastructure: Implement admin pointer to indicate to the user they need to migrate modules to their standalone plugins. (910)
  • Infrastructure: Implement migration logic and UI from Performance Lab modules to their standalone plugins. (899)
  • Infrastructure: Reset admin pointer dismissal for module migration when the user activates a module. (915)

Bug Fixes

  • Infrastructure: Fix construction of translation strings in admin/plugins.php. (925)