Releases: WordPress/performance
Releases · WordPress/performance
2.0.0
Enhancements
- 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)
Bug Fixes
- 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)
- Infrastructure: Fix incorrect usage of
plugin_action_links_*
filter. (647)
Documentation
- Infrastructure: Add file header to object-cache drop-in to clarify purpose. (649)
1.9.0
1.8.0
1.7.0
Enhancements
- 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)
Bug Fixes
- 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)
1.6.0
Enhancements
- 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)
1.5.0
1.4.0
Enhancements
- 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 forplugin_dir_path()
. (429) - Infrastructure: Rename Site Health check modules for language and consistency. (423)
Bug Fixes
- 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)
- Images: Fix REST API support for plain permalinks. (457)
- Infrastructure: Remove plugin option network-wide for Multisite during uninstall. (458)
1.3.0
Enhancements
- 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) - Images: Remove experimental label from Dominant Color module and turn on by default for new installs. (425)
- Site Health: Remove
perflab_aea_get_resource_file_size()
in favor ofwp_filesize()
. (380) - Site Health: Update documentation link for autoloaded options. (408)
- Infrastructure: Implement mechanism to not load module if core version is available. (390)
Bug Fixes
- Images: Ensure incorrect usage of
webp_uploads_upload_image_mime_transforms
filter is treated correctly. (393) - Images: Fix PHP notice and bug in logic for when
webp_uploads_prefer_smaller_image_file
filter is set totrue
. (397) - Images: Fix an infinite loop in the WebP fallback mechanism. (433)
- Images: Fix dominant color upload process to not override potential third-party editors. (401)
- Images: Remove additional image backup sources & sizes files when attachment deleted. (411)
- Infrastructure: Avoid including .husky directory in plugin ZIP. (421)
- Infrastructure: Do not show admin pointer in multisite Network Admin. (394)
1.2.0
Features
- 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)
Enhancements
- 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 offilesize
if available. (376)
Bug Fixes
1.1.0
Features
- Infrastructure: Add Performance Lab generator meta tag to
wp_head
output. (322)
Enhancements
- 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)
- Infrastructure: Avoid unnecessarily early escape of Site Health check labels. (332)
Bug Fixes