Repository navigation
14.10.0
Adds PHP 8.5 support and fixes three cases where an image got no sibling, the wrong one, or the original instead of an existing WebP.
Added
- PHP 8.5 support. CI runs the unit, functional and end-to-end tests on PHP 8.5 with TYPO3 13.4 and 14.3.
Fixed
- A conversion that comes out larger than its source no longer blocks the other sizes of the same image. The failed-attempts cache was kept per file, parameters and format, so a small thumbnail that didn't shrink stopped every larger variant with the same settings, and those are the variants that save the most bytes. The cache is now kept per variant.
- Going back to an earlier per-image quality (for example 50 → 70 → 50) converts the image again. Each quality had its own
sys_file_processedfilerow, but all of them pointed to the same sibling file, so the row of the earlier quality looked current while the file still held the later quality. A new upgrade wizard removes the rows that earlier versions left behind. - The nginx rules from
webp:webserver-configand in the documentation fall back to the next format when a sibling is missing. A browser that accepts AVIF and WebP got the original JPEG when there was no AVIF sibling (for example because the AVIF came out larger than the source, or the async queue had not reached it yet), even though a WebP sibling existed. The Apache and Caddy rules already did this.
Changed
- The README is a short landing page now. The reference material moved to
Documentation/: formats and converters, configuration, compression, webserver configuration, operations and troubleshooting.
On upgrade:
- Run the database analyzer.
tx_webp_failedgets a newvariant_hashcolumn. Until you do, a conversion that comes out larger than its source is logged as an error instead of being remembered; pages still render. Entries from earlier versions no longer match any size, so each size is tried once more. - Run the upgrade wizard webp: Remove sibling rows that share one file. The affected images are converted once more on their next render.
- On nginx, replace your
mapandtry_fileslines with the output ofvendor/bin/typo3 webp:webserver-config --server=nginx, or with the rules in Documentation/Webserver.md (also for the Cloudflare and user agent variants). The old rules keep working, but they don't fall back. Apache and Caddy need no change.
Full changelog: 14.9.2...14.10.0