Read the official Contao announcements.
Contao 4.5.0-beta1 is available
by Leo Feyer – Announcements
Contao version 4.5.0-beta1 is available. Here is a list of the most important changes.
Contao 4.5 requires at least PHP 7.1.
Use ausi/slug-generator to auto-generate aliases #1016
We now use the slug generator of our core developer Martin Auswöger to auto-generate aliases. In the root page settings, you can define the alias format and how special characters are converted (e.g. "ä" to "ae").
Store the request token as cookie instead of in the session #1065
In Contao 4.5 we store the request token as double submit cookie instead of in the PHP session, which allows us to use the front end without a session.
Improve the locale handling #1064
To find the installed languages, Contao had to go through several directories. In Contao 4.5 we are storing the result in the Symfony container, so it is no longer necessary to traverse directories at runtime.
Symfony translator #1072
You can use the Symfony translator in Contao 4.5 to output Contao translations.
Use a service to build the back end menu #1066
We now use the KnpMenuBundle to generate the back end menu. As common in Symfony, new menu items can be added with an event listener. In combination with the custom back end routes, developers can now add custom routes without having to create a Contao-specific
Add the insert tag flag for absolute URLs #970
All insert tags rendering links now support the
|absolute flag, which makes them generate an absolute link instead of a relative one.
Allow to register hooks listeners as tagged services #1094
To use a Contao hook, you can now create an event listener and tag it as
contao.hook in the Symfony container.
Allow to sort news items by date, headline or randomly #13
In Contao 4.5 news can be sorted ascending or descending by date or headline or randomly.
The contao/test-case package provides a PHPUnit test case for Contao 4, which allows you to mock the Contao framework, the Symfony container and adapter classes. In addition, we are now using Gulp in all bundles and components to minify files and images.
You can install Contao 4.5.0-beta1 using Composer:
php composer.phar create-project contao/managed-edition <ziel> 4.5.0-beta1
Back to the news overview.