Skip to content

Releases: WordPress/performance

3.7.0

18 Dec 18:21
3b786fc
Compare
Choose a tag to compare

There are 8 plugin updates included with this release:

Performance Lab (performance-lab) v3.7.0

Enhancements

  • Add guidance for managing Performance feature plugins. (1734)
  • Automatically discover plugin dependencies when obtaining Performance feature plugins from WordPress.org. (1680)
  • Disregard transient cache in perflab_query_plugin_info() when a plugin is absent. (1694)
  • Minify script used for ajax activation of features; warn if absent and serve original file when SCRIPT_DEBUG is enabled. (1658)

Bug Fixes

  • Fix latest plugin version not being downloaded consistently. (1693)

Enhanced Responsive Images (auto-sizes) v1.4.0

Features

  • Accurate Sizes: Incorporate layout constraints in image sizes calculations. (1738)

Enhancements

  • Accurate sizes: Pass parent alignment context to images. (1701)
  • Accurate sizes: Reorganize file structure by feature. (1699)
  • Accurate sizes: Support relative alignment widths. (1737)
  • Remove auto_sizes_get_layout_settings(). (1743)

Bug Fixes

  • Accurate sizes: Disable layout calculations for classic themes. (1744)

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

Enhancements

  • Enhance admin media UI with dominant color support. (1719)

Embed Optimizer (embed-optimizer) v0.4.0

Enhancements

  • Incorporate media queries into preconnect links to account for whether embeds are in viewport. (1654)
  • Serve unminified scripts when SCRIPT_DEBUG is enabled. (1643)

Image Prioritizer (image-prioritizer) v0.3.0

Enhancements

  • Add preload links LCP picture elements. (1707)
  • Harden validation of user-submitted LCP background image URL. (1713)
  • Lazy load background images added via inline style attributes. (1708)
  • Preload image URLs for LCP elements with external background images. (1697)
  • Serve unminified scripts when SCRIPT_DEBUG is enabled. (1643)

Optimization Detective (optimization-detective) v0.9.0

Enhancements

  • Add fetchpriority=high to IMG when it is the LCP element on desktop and mobile with other viewport groups empty. (1723)
  • Improve debugging stored URL Metrics in Optimization Detective. (1656)
  • Incorporate page state into ETag computation. (1722)
  • Mark existing URL Metrics as stale when a new tag visitor is registered. (1705)
  • Set development mode to 'plugin' in the dev environment and allow pages to be optimized when admin is logged-in (when in plugin dev mode). (1700)
  • Add get_xpath_elements_map() helper methods to OD_URL_Metric_Group_Collection and OD_URL_Metric_Group, and add get_all_element_max_intersection_ratios/get_element_max_intersection_ratio methods to OD_URL_Metric_Group. (1654)
  • Add get_breadcrumbs() method to OD_HTML_Tag_Processor. (1707)
  • Add get_sample_size() and get_freshness_ttl() methods to OD_URL_Metric_Group. (1697)
  • Expose onTTFB, onFCP, onLCP, onINP, and onCLS from web-vitals.js to extension JS modules via args their initialize functions. (1697)

Bug Fixes

  • Prevent submitting URL Metric if viewport size changed. (1712)
  • Fix construction of XPath expressions for implicitly closed paragraphs. (1707)

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

Enhancements

  • Integrate Web Worker Offloading with Google Site Kit. (1686)
  • Integrate Web Worker Offloading with Rank Math SEO. (1685)
  • Serve unminified scripts when SCRIPT_DEBUG is enabled. (1643)

Bug Fixes

  • Fix tracking events like add_to_cart in WooCommerce integration. (1740)

Modern Image Formats (webp-uploads) v2.4.0

Enhancements

  • Automatically opt into 1536x1536 and 2048x2048 sizes when generating fallback images. (1679)
  • Convert WebP to AVIF on upload. (1724)
  • Enable end user opt-in to generate all sizes in fallback format. (1689)

3.6.1

20 Nov 18:05
8ee549f
Compare
Choose a tag to compare

There is 1 plugin included with this release:

Performance Lab (performance-lab) v3.6.1

Bug Fixes

  • Fix race condition bug where activating multiple features sequentially could fail to activate some features. (#1675)

3.6.0

18 Nov 18:36
7cc9c76
Compare
Choose a tag to compare

There are 3 plugins included with this release:

Performance Lab (performance-lab) v3.6.0

Enhancements

  • Use AJAX for activating features / plugins in Performance Lab. (1646)
  • Introduce AVIF header health check. (1612)
  • Install and activate Optimization Detective when the Embed Optimizer feature is activated from the Performance screen. (1644)

Bug Fixes

  • Fix uses of 'Plugin not found' string. (1651)

Optimization Detective (optimization-detective) v0.8.0

Enhancements

  • Serve unminified scripts when SCRIPT_DEBUG is enabled. (1643)
  • Bump web-vitals from 4.2.3 to 4.2.4. (1628)

Bug Fixes

  • Eliminate the detection time window which prevented URL Metrics from being gathered when page caching is present. (1640)
  • Revise the use of nonces in requests to store a URL Metric and block cross-origin requests. (1637)
  • Send post ID of queried object or first post in loop in URL Metric storage request to schedule page cache validation. (1641)
  • Fix phpstan errors. (1627)

Modern Image Formats (webp-uploads) v2.3.0

Enhancements

  • Introduce webp_uploads_get_file_mime_type helper function. (1642)
  • Rename webp_uploads_get_file_mime_type to webp_uploads_get_attachment_file_mime_type to clarify scope. (1662)

Bug Fixes

  • Fix bug that would prevent uploaded images from being converted to the intended output format when having fallback formats enabled. (1635)

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)