Performance Lab changelog

By WordPress Performance Team, on WordPress.org since 2022. 100,000+ active installs.

Browse code

43 tagged releases, newest first. Dates are when each release was tagged in SVN. Notes come from the plugin's readme, which may not list every release.

  1. 4.2.0
    • Add declare( strict_types = 1 ) to all PHP files. (2424)
    • Bump minimum PHP requirement from 7.2 to 7.4. (2469)
    • Enqueued Assets audit: treat zero-size and no-store responses as errors. (2481)
    • Server Timing – Allow description and make duration optional. (2379)
    Source Diff vs 4.1.0
  2. 4.1.0
    • Fix invalid Server-Timing logic for database query timing when $wpdb->queries is null due to no query having been done yet. (2346)
    • Remove Web Worker Offloading from being featured by Performance Lab. (2404)
    Source Diff vs 4.0.1
  3. 4.0.1
    • Add notices and improved type checking for $wpdb->queries when attempting to compute server-timing for database queries. (2159)
    • Skip stylesheets with empty href attributes in Site Health audit. (2281, 2328)
    • Use proper escape function. (2246)
    Source Diff vs 4.0.0
  4. 4.0.0
    • Add Instant Back/Forward to list of performance feature plugins. (2119)
    • Add admin pointers to promote new Performance Lab features. (2122)
    • Implement opt-in PERFLAB_PLACE_OBJECT_CACHE_DROPIN for Server-Timing object-cache.php placement. (1996)
    • Use wp_is_rest_endpoint() to detect if we are handling a REST API request. (2094)
    • Fix TypeError in perflab_aao_query_autoloaded_options() by serializing non-scalar option values. (1934)
    • Omit admin pointer for new plugin if plugin is already active. (2143)

    And 2 more notes.

    Source Diff vs 3.9.0
  5. 3.9.0
    • Remove experimental flags from Embed Optimizer and Image Prioritizer. (1846)
    Source Diff vs 3.8.0
  6. 3.8.0
    • 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 of plugin_dir_url(). (1761)
    Source Diff vs 3.7.0
  7. 3.7.0
    • 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)
    • Fix latest plugin version not being downloaded consistently. (1693)
    Source Diff vs 3.6.1
  8. 3.6.1
    • Fix race condition bug where activating multiple features sequentially could fail to activate some features. (#1675)
    Source Diff vs 3.6.0
  9. 3.6.0
    • 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)
    • Fix uses of ‘Plugin not found’ string. (1651)
    Source Diff vs 3.5.1
  10. 3.5.1
    • Account for plugin dependencies when storing relevant plugin info. (1613)
    Source Diff vs 3.5.0
  11. 3.5.0
    • 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)
    Source Diff vs 3.4.1
  12. 3.4.1
    • Fix Incorrect use of _n(). (1491)
    Source Diff vs 3.4.0
  13. 3.4.0
    • Remove Server-Timing metric for the autoloaded options query time. (1456)
    • 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)
    Source Diff vs 3.3.1
  14. 3.3.1
    • Add PHPStan strict rules (except for empty.notAllowed). (1241)
    • Allow null to be passed into perflab_admin_pointer(). (1393)
    Source Diff vs 3.3.0
  15. 3.3.0
    • 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)
    • Extend core’s Autoloaded Options Site Health test if present (in WP 6.6). (1298)
    • Fix unit tests for multisite. (1327)
    Source Diff vs 3.2.0
  16. 3.2.0
    • Add install note after each PerfLab feature plugin in the plugin list table. (1265)
    • Update plugins with new banners and icons. (1272)
    • 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)
    Source Diff vs 3.1.0
  17. 3.1.0
    • 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)

    And 5 more notes.

    Source Diff vs 3.0.0
  18. 3.0.0
    • 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)

    And 4 more notes.

    Source Diff vs 2.9.0
  19. 2.9.0
    • Infrastructure: Add standalone plugin version constants for auto-sizes and speculation-rules. (958)
    • Infrastructure: Include standalone plugin slugs in generator tag. (949)
    • Infrastructure: Sanitize metric name for Server-Timing header. (957)
    Source Diff vs 2.8.0
  20. 2.8.0
    • Infrastructure: Introduce UI for managing Performance Lab standalone plugins. (864)
    • 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)

    And 1 more note.

    Source Diff vs 2.7.0
  21. 2.7.0
    • Images: Remove Fetchpriority module as the functionality is now available in WordPress core. (854)
    • Infrastructure: Bump minimum required PHP version to 7.0 and minimum required WP version to 6.3. (851)
    • Infrastructure: Publish Image Placeholders standalone plugin. (842)
    Source Diff vs 2.6.1
  22. 2.6.1
    • Infrastructure: Remove PHPStan config file from plugin directory. (816)
    • Infrastructure: Add standalone plugin assets. (815)
    Source Diff vs 2.6.0
  23. 2.6.0
    • Infrastructure: Add output buffering checkbox to Server-Timing screen. (801)
    • Infrastructure: Implement logic to measure specific hook execution time with Server-Timing controlled by a WP Admin screen. (784)
    • Images: Fix incorrect function prefixes in Image Placeholders. (789)
    • Infrastructure: Add early exit clauses to files with procedural code. (790)
    • Infrastructure: Allow disabling Server-Timing entirely using PERFLAB_DISABLE_SERVER_TIMING constant. (795)
    • Images: Fix WebP handling when editing images based on WordPress 6.3 change. (796)

    And 1 more note.

    Source Diff vs 2.5.0
  24. 2.5.0
    • Images: Check for fetchpriority feature being available in WordPress core before loading the module. (769)
    • Database Optimization: Remove SQLite module. (764)
    • Infrastructure: Bump tested up to version to 6.3. (772)
    Source Diff vs 2.4.0
  25. 2.4.0
    • Database: Implement migration prompt to migrate from SQLite module to standalone plugin due to removal in the following release. (739)
    • Infrastructure: Enhance code quality by adding PHPStan and fixing level 0 issues. (730)
    • Infrastructure: Use static closures for minor performance improvement whenever instance access is not needed. (729)
    • Database: Fix SQLite module deactivation routine to make standalone plugin migration work correctly. (743)
    • Infrastructure: Make Server-Timing header output more robust. (736)
    Source Diff vs 2.3.0
  26. 2.3.0
    • Images: Configure Dominant Color and Fetchpriority modules for their standalone plugins. (704)
    • Infrastructure: Temporarily remove Image Placeholders from standalone plugins.json definition. (719)
    • Infrastructure: Use dynamic version from plugins.json for manual workflow. (710)
    • Images: Add dominant color styling before any existing inline style attributes. (716)
    • Infrastructure: Resolve low-severity security advisory GHSA-66qq-69rw-6×63.
    Source Diff vs 2.2.0
  27. 2.2.0
    • Images: Remove “experimental” flag from Fetchpriority module. (702)
    • Infrastructure: Implement infrastructure for launching standalone plugins from modules, including Modern Image Formats. (699)
    • Infrastructure: Include WordPress-Extra rules in PHPCS configuration and fix resulting problems. (695)
    • Images: Sanitize target param before using it. (690)
    • Images: Change module slug/directory from dominant-color to dominant-color-images. (708)
    • Images: Rename Dominant Color module to Dominant Color images. (705)
    Source Diff vs 2.1.0
  28. 2.1.0
    • Infrastructure: Add wp-total metric to default Server-Timing metrics. (669)
    • Infrastructure: Ensure module load.php files really only load other code to prevent conflicts in standalone plugins. (674)
    • Infrastructure: Fix problems with placing object-cache.php drop-in. (672)
    Source Diff vs 2.0.0
  29. 2.0.0
    • Object Cache: Update WordPress version to 6.1 and remove Cache modules. (641)
    • Measurement: Add perflab_disable_object_cache_dropin filter. (629)
    • Database: Add an indicator in the adminbar to show when using SQLite. (604)
    • Images: Check for existing $metadata['sizes'] to fix PHP warning. (648)
    • Images: Use correct number of arguments in filter callback. (634)
    • Database: Fix invalid docs and return types as highlighted by static analysis. (645)

    And 2 more notes.

    Source Diff vs 1.9.0
  30. 1.9.0
    • Database: Remove warning about multi-server environment from the SQLite module description. (619)
    • Infrastructure: Enhance object-cache.php drop-in interoperability with other plugins. (616)
    Source Diff vs 1.8.0
  31. 1.8.0
    • Measurement: Implement Server-Timing API foundation as well as basic load time metrics. (553)
    • Database: Implement new experimental SQLite integration module. (547)
    • Images: Implement new experimental fetchpriority module. (528)
    • Database: Fix SQLite notices related to undefined properties. (600)
    • Database: Fix incorrect handling of admin_email and actual admin user’s email when original admin_email user was deleted. (603)
    • Database: Make WP filesystem setup more robust to prevent potential errors. (595)
    Source Diff vs 1.7.0
  32. 1.7.0
    • Images: Change WP Image editor quality for mime types. (571)
    • Infrastructure: Introduce database focus area, rename JavaScript focus area to JS & CSS, and phase out Site Health focus area. (566)
    • Images: Avoid potentially adding invalid attributes or duplicates for dominant color images. (578)
    • Images: Fix fatal error in REST API response when an image has no attachment metadata. (568)
    • Images: Fix image focal point bug when dominant color is enabled by not overriding style attribute. (582)
    • Images: Fix opt-in checkbox for generating WebP and JPEG to also show on Multisite. (565)
    Source Diff vs 1.6.0
  33. 1.6.0
    • Site Health: Only load Site Health checks for persistent cache and full page cache when not available in core. (543)
    • Images: Add checkbox to Settings > Media to control whether to generate JPEG in addition to WebP. (537)
    • Images: Generate only WebP images by default for JPEG and WebP uploads. (527)
    • Infrastructure: Bump minimum WordPress requirement to 6.0. (549)
    Source Diff vs 1.5.0
  34. 1.5.0
    • Site Health: Improve autoloaded options check by highlighting largest autoloaded options. (353)
    Source Diff vs 1.4.0
  35. 1.4.0
    • Images: Enhance JS replacement mechanism for WebP to JPEG to more reliably replace full file name. (443)
    • Images: Introduce webp_uploads_get_content_image_mimes() to get content image MIME replacement rules. (420)
    • Infrastructure: Add PERFLAB_PLUGIN_DIR_PATH constant for plugin_dir_path(). (429)
    • Infrastructure: Rename Site Health check modules for language and consistency. (423)
    • Site Health: Fix incorrect usage of badge colors in all Site Health checks. (472)
    • Images: Add the original image’s extension to the WebP file name to ensure it is unique. (444)

    And 2 more notes.

    Source Diff vs 1.3.0
  36. 1.3.0
    • Images: Add replacing of images only in frontend context. (424)
    • Images: Allow control for which image sizes to generate additional MIME type versions. (415)
    • Images: Discard WebP image if it is larger than corresponding JPEG image. (418)
    • Images: Optimize computing dominant color and transparency for images by combining the two functions. (381)
    • Images: Provide fallback JPEG images in frontend when WebP is not supported by the browser. (360)
    • Images: Rely on wp_get_image_editor() methods argument to check whether it supports dominant color methods. (404)

    And 11 more notes.

    Source Diff vs 1.2.0
  37. 1.2.0
    • Images: Add Dominant Color module to provide color background for loading images. (282)
    • Site Health: Add Site Health check for Full Page Cache usage. (263)
    • Images: Update webp_uploads_pre_generate_additional_image_source filter to allow returning file size. (334)
    • Infrastructure: Introduce plugin uninstaller routine. (345)
    • Infrastructure: Use wp_filesize instead of filesize if available. (376)
    • Images: Avoid overwriting existing WebP files when creating WebP images. (359)

    And 1 more note.

    Source Diff vs 1.1.0
  38. 1.1.0
    • Infrastructure: Add Performance Lab generator meta tag to wp_head output. (322)
    • Images: Introduce filter webp_uploads_pre_generate_additional_image_source to short-circuit generating additional image sources on upload. (318)
    • Images: Introduce filter webp_uploads_pre_replace_additional_image_source to short-circuit replacing additional image sources in frontend content. (319)
    • Images: Refine logic to select smaller image file in the frontend based on webp_uploads_prefer_smaller_image_file filter. (302)
    • Images: Replace the featured image with WebP version when available. (316)
    • Site Health: Update Site Health Autoloaded options documentation link. (313)

    And 3 more notes.

    Source Diff vs 1.0.0
  39. 1.0.0
    • Images: Generate secondary image MIME types when editing original image. (235)
    • Images: Introduce webp_uploads_prefer_smaller_image_file filter allowing to opt in to preferring the smaller image file. (287)
    • Images: Select MIME type to use in frontend content based on file size. (243)
    • Site Health: Update Site Health reports copy for more clarity and consistency. (272)
    • Infrastructure: Define the plugin’s version support and backward compatibility policy. (240)
    Source Diff vs 1.0.0-rc.1
  40. 1.0.0-rc.1
    • Images: Change expected order of items in the webp_uploads_content_image_mimes filter. (250)
    • Images: Replace images in frontend content without using an additional regular expression. (262)
    • Images: Restore and backup image sizes alongside the sources properties. (242)
    • Images: Select image editor based on WebP support instead of always using the default one. (259)
    Source Diff vs 1.0.0-beta.3
  41. 1.0.0-beta.3
    • Infrastructure: Ensure default modules are loaded regardless of setting registration. (248)
    Source Diff vs 1.0.0-beta.2
  42. 1.0.0-beta.2
    • Images: Create additional MIME types for the full size image. (194)
    • Site Health: Add module to warn about excessive amount of autoloaded options. (124)
    • Images: Adds sources information to the attachment media details of the REST response. (224)
    • Images: Allow developers to select which image format to use for images in the content. (230)
    • Images: Allow developers to tweak which image formats to generate on upload. (227)
    • Images: Replace the full size image in the_content with additional MIME type if available. (195)

    And 6 more notes.

    Source Diff vs 1.0.0-beta.1
  43. 1.0.0-beta.1
    • Images: Add WebP for uploads module. (32)
    • Images: Support retry mechanism for generating sub-sizes in additional MIME types on constrained environments. (188)
    • Images: Update the_content with the appropriate image format. (152)
    • Site Health: Add WebP support in site health. (141)
    • Site Health: Add module to alert about excessive JS and CSS assets. (54)
    • Object Cache: Add Site Health check module for persistent object cache. (111)

    And 21 more notes.

    Source