Releases: WordPress/performance
3.8.0
There are 6 plugin updates included with this release:
Performance Lab (performance-lab
): v3.8.0
Enhancements
- Add Site Health test for
Cache-Control: no-store
page response header which disables bfcache. (1807) - Add Site Health test to verify that static assets are served with far-future expires. (1727)
- Enqueue scripts using
plugins_url()
instead ofplugin_dir_url()
. (1761)
Optimization Detective (optimization-detective
): v1.0.0-beta1
Enhancements
- Add site health check to detect blocked REST API and short-circuit optimization when unavailable. (1762)
- Allow extensions to opt in to using the web-vitals attribution build via the
od_use_web_vitals_attribution_build
filter. (1759) - Disambiguate XPaths for children of
BODY
withid
,class
, orrole
attributes. (1797) - Eliminate varying URL Metrics by logged-in state and discontinue disabling optimization by default for admins. (1788)
- Improve test coverage for Optimization Detective. (1817)
- Introduce
OD_Tag_Visitor_Context::track_tag()
method as alternative for returningtrue
in tag visitor callback. (1821) - Omit element node index in XPaths up to children of BODY. (1790)
- Skip visiting tags in the Admin Bar when optimizing a page. (1816)
Bug Fixes
- Ensure optimization is performed in the wp-env local environment and log debug messages to console when disabled. (1822)
- Skip visiting any tags inside of
NOSCRIPT
elements. (1783)
Documentation
Speculative Loading (speculation-rules
) v1.4.0
Enhancements
- Implement speculative loading considerations for safer behavior. (1784)
Modern Image Formats (webp-uploads
): v2.5.0
Enhancements
- Switch to
wp_content_img_tag
filter for improved image handling. (1772)
Embed Optimizer (embed-optimizer
): v0.4.1
Bug Fixes
- Remove requirement for both mobile and desktop URL metrics to be collected for
preconnect
links to be added. (1764)
Image Prioritizer (image-prioritizer
): v0.3.1
Bug Fixes
- Remove erroneous check for resource initiator type when considering whether to submit LCP background image. (1760)
3.7.0
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
toIMG
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 toOD_URL_Metric_Group_Collection
andOD_URL_Metric_Group
, and addget_all_element_max_intersection_ratios
/get_element_max_intersection_ratio
methods toOD_URL_Metric_Group
. (1654) - Add
get_breadcrumbs()
method toOD_HTML_Tag_Processor
. (1707) - Add
get_sample_size()
andget_freshness_ttl()
methods toOD_URL_Metric_Group
. (1697) - Expose
onTTFB
,onFCP
,onLCP
,onINP
, andonCLS
from web-vitals.js to extension JS modules via args theirinitialize
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
3.6.1
3.6.0
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
towebp_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
3.5.0
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
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
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)