As always, this release contains all the improvements of the latest 4.13.38. In addition, some performance improvements have been made, especially large page trees and database dumps should be noticeably faster. In addition, the Twig integration has been improved - this applies in particular to the changed order of attrs()
calls, so that it is easier to adapt templates of the core to your own needs. To increase backwards compatibility with the "Personal Data" module, there is a new checkbox to optionally enforce full authentication and bugs in the CSP integration and database migrations have been fixed.
Changelog of the fixed issues in Contao 5.3.1:
- #6982 Cache `Image::getHtml()` to speed up the tree view (Toflar)
- #6963 Fix the newsfeed migration (aschempp)
- #6916 Use `Model::findById()` instead of `Model::findByPk()` (leofeyer)
- #6960 Show the route configuration in the news feed page (aschempp)
- #6969 Fix the `dotenv:dump` command (aschempp)
- #6979 Allow using insert tags in image `alt` and `title` attributes (leofeyer)
- #6975 Deprecate inheriting CSS classes in nested elements (aschempp)
- #6978 Use `UrlUtil::makeAbsolute()` when converting relative URLs (leofeyer)
- #6961 Fix a type error in the login module (aschempp)
- #6956 Use `attrs().mergeWith()` in Twig templates (leofeyer)
- #6962 Make sure the `.env.local.php` is loaded correctly (Toflar)
- #6953 Fix double inheritance of legacy templates in Twig (ausi)
- #6950 Correctly register the `AutoRefreshTemplateHierarchyListener` (m-vo)
- #6951 Fix that the guests migration only migrates one field at a time (aschempp)
- #6943 Correctly generate the URLs to subscribe to comments (leofeyer)
- #6946 Improve the performance of the database dumper (Toflar)
- #6944 Correctly check if a "jump to" page is set when generating event feeds (leofeyer)
- #6919 Make full authentication optional in the personal data module (leofeyer)
- #6941 Handle unicode strings in insert tag flags (ausi)
- #6938 Add a button to the "invalid request token" template (leofeyer)
- #6939 Correctly implement the `ImageFactoryInterface` (leofeyer)
- #6936 Fix the Twig loader infrastructure (m-vo)
- #6927 Use files instead of `data:` resources to avoid breaking CSP (leofeyer)
- #6925 Only make string URL absolute if it does not have a scheme (aschempp)
- #6917 Fix two CSS issues (leofeyer)
About Contao 5.3 LTS
The first stable version of Contao 5.3 has been released on February 16, 2024, replacing Contao 4.13 as the long term support version. As an LTS version, 5.3 will be provided with bug fixes until February 14, 2027 and security-related updates until February 14, 2028. Contao 5.7 will be the next LTS version of Contao and will be released in February 2026, ensuring a stress-free transition.