- The supported Symfony version is 5.4.
- Make sure to switch your swiftmailer email config to symfony mailer config after upgrading to avoid breaking email sending from the CMS.
To avoid any BC breaks the
Kunstmaan\FormBundle\Helper\FormMailerstill uses swiftmailer as the default mailer. If you want to supress the deprecation warning, alias@kunstmaan_mailerto the symfony mailer service. In 7.0@kunstmaan_mailerwill be removed and the symfony mailer will be used by default. - We replaced the abandoned
twig/extensionspackages by the replacement sub packages. If you use any of the twig filters/functions of thetwig/extensionspackage, make sure to require the necessary replacement package in your project. - Removed unused
egulias/email-validatordependency. If you use this in your project, addegulias/email-validatorto your project composer.json.
- The
Kunstmaan\AdminBundle\Service\AuthenticationMailer\SwiftmailerServiceauthentication mailer service is deprecated, useKunstmaan\AdminBundle\Service\AuthenticationMailer\SymfonyMailerServiceinstead. - The default value of
kunstmaan_admin.authentication.mailer.servicewill change toKunstmaan\AdminBundle\Service\AuthenticationMailer\SymfonyMailerServicein 7.0.
- The
Kunstmaan\CookieBundle\Controller\LegalController::legalPageActionmethod is deprecated and will be removed. Is replaced byKunstmaan\CookieBundle\ViewDataProvider\LegalPageViewDataProvider.
- Not passing the required services to
Kunstmaan\FormBundle\Helper\FormHandler::__constructis deprecated and those parameters will be required in 7.0. Injected the required services in the constructor instead.
- The
Kunstmaan\MultiDomainBundle\Helper\HostOverrideCleanupHandlerclass is deprecated and is replaced by theKunstmaan\MultiDomainBundle\EventSubscriber\LogoutHostOverrideCleanupEventSubscribersubscriber with the new authentication system.
-
The redirect-bundle has now some improved logic in the router itself. Using the old router logic is deprecated and the new will be the default in 7.0. To enable the new and improved router, set the
kunstmaan_redirect.enable_improved_routerconfig totrue.This improved router has the following changes:
- Huge speed improvement with larger sets of cms redirects. See #3239
- Each redirect path in the database should start with a
/so the improved redirect lookup will work. When migrating an existing website to the new router setup, execute the following queries to prefix all redirects.UPDATE kuma_redirects SET origin = CONCAT('/', origin) WHERE origin NOT LIKE '/%'; UPDATE kuma_redirects SET target = CONCAT('/', target) WHERE target NOT LIKE '/%' AND target NOT LIKE '%://%';
- Changed the wildcard redirect to be more correct for all usecases. See this comparisson in behaviour
Old:
| Origin | Target | Request url | Result |
|---|---|---|---|
| /news/* | /blog | /news/article1 | /blog/article1 |
| /news/* | /blog/* | /news/article1 | /blog/*/article1 |
| /news | /blog | /news | /blog |
New:
| Origin | Target | Request url | Result |
|---|---|---|---|
| /news/* | /blog | /news/article1 | /blog |
| /news/* | /blog/* | /news/article1 | /blog/article1 |
| /news | /blog | /news | /blog |
- The
Kunstmaan\UtilitiesBundle\Helper\UrlTransactionNamingStrategyclass is deprecated and will be removed in 7.0. If you need the class, copy and implement it in your project.