- The
symfony/assetic-bundle
package was removed from our dependencies as it was unused since version 5.0. If your code depends on assetic, add the dependency to your projectcomposer.json
.
- Passing the
logger
service as the second argument inKunstmaan\AdminBundle\Toolbar\BundleVersionDataCollector
is deprecated and will be removed in 6.0. - Injecting the container in the
DomainConfiguration
is deprecated and will be removed in 6.0. Inject the required parameters instead. CreateUserCommand::__construct()
,CreateRoleCommand::__construct()
,CreateGroupCommand::__construct()
andExceptionCommand::__construct()
now take an instance ofDoctrine\ORM\EntityManagerInterface
as the first argument. Not passing it is deprecated and will throw aTypeError
in 6.0.CreateUserCommand::__construct()
,CreateRoleCommand::__construct()
,CreateGroupCommand::__construct()
andExceptionCommand::__construct()
have been marked as final.- Injecting the container in the
ApplyAclCommand
is deprecated and will be removed in 6.0. Inject the required parameters instead. - Injecting the container in the
UpdateAclCommand
is deprecated and will be removed in 6.0. Inject the required parameters instead.
- Getting services directly from the container in list controllers is deprecated and will be removed in 6.0. Register your controllers as services and inject the necessary dependencies.
- Getting parameters directly from the container in list controllers is deprecated and will be removed in 6.0. Register your controllers as services and inject the necessary parameters.
- Passing the
request_stack
service as the third argument inKunstmaan\ArticleBundle\Twig\ArticleTwigExtension
is deprecated and will be removed in 6.0. - The
getAdminListConfigurator
andcreateAdminListConfigurator
method in theAbstractArticleEntityAdminListController
class will change frompublic
toprotected
visibility in 6.0.
- Passing the
container
as the sixth argument inKunstmaan\ConfigBundle\Controller\ConfigController
is deprecated in and will be removed in 6.0.
- Added the optional
deletable_formsubmissions
config parameter, when set to true, form submissions can be deleted from the adminlist.kunstmaan_form: deletable_formsubmissions: true
- The unused
MediaController::moveMedia
action is deprecated and will be removed in 6.0. CleanDeletedMediaCommand::__construct()
now takes an instance ofDoctrine\ORM\EntityManagerInterface
as the first argument. Not passing it is deprecated and will throw aTypeError
in 6.0.CreatePdfPreviewCommand::__construct()
now takes an instance ofDoctrine\ORM\EntityManagerInterface
as the first argument. Not passing it is deprecated and will throw aTypeError
in 6.0.RebuildFolderTreeCommand::__construct()
now takes an instance ofDoctrine\ORM\EntityManagerInterface
as the first argument. Not passing it is deprecated and will throw aTypeError
in 6.0.RenameSoftDeletedCommand::__construct()
now takes an instance ofDoctrine\ORM\EntityManagerInterface
as the first argument. Not passing it is deprecated and will throw aTypeError
in 6.0.CleanDeletedMediaCommand
,CreatePdfPreviewCommand
,RebuildFolderTreeCommand
andRenameSoftDeletedCommand
have been marked as final.
- Injecting the container in the
DomainConfiguration
is deprecated and will be removed in 6.0. Inject the required parameters instead.
CronUpdateNodeCommand::__construct()
now takes an instance ofDoctrine\ORM\EntityManagerInterface
as the first argument. Not passing it is deprecated and will throw aTypeError
in 6.0.InitAclCommand::__construct()
now takes an instance ofDoctrine\ORM\EntityManagerInterface
as the first argument. Not passing it is deprecated and will throw aTypeError
in 6.0.CronUpdateNodeCommand
andInitAclCommand
have been marked as final.Possibility to change the icon of your page.
: The possibility already exists to change the icon in the sidebar tree of your page. This was already available by yml configuration. I've added a new interface, TreeIconInterface that can be implemented and that will return the icon that should be used.- The unused
WidgetsController::selectNodesLazySearch
action is deprecated and will be removed in 6.0. - Injecting the container in the
SlugRouter
is deprecated and will be removed in 6.0. Inject the required services instead. - The
service
method ofKunstmaan\NodeBundle\Entity\PageInterface
is deprecated and will be removed in 6.0. Implement theKunstmaan\NodeBundle\Controller\SlugActionInterface
and use thegetControllerAction
method to specify a controller action with your custom page logic instead.
SetupIndexCommand::__construct()
,PopulateIndexCommand::__construct()
andDeleteIndexCommand::__construct()
now takes an instance ofKunstmaan\SearchBundle\Configuration\SearchConfigurationChain
as the first argument. Not passing it is deprecated and will throw aTypeError
in 6.0.SetupIndexCommand
,PopulateIndexCommand
andDeleteIndexCommand
have been marked as final.
- Getting services directly from the container in list controllers is deprecated and will be removed in 6.0. Register your controllers as services and inject the necessary dependencies.
- Getting parameters directly from the container in list controllers is deprecated and will be removed in 6.0. Register your controllers as services and inject the necessary parameters.
ExportTranslationsCommand::__construct()
now takes an instance ofKunstmaan\TranslatorBundle\Service\Command\Exporter\ExportCommandHandler
as the first argument. Not passing it is deprecated and will throw aTypeError
in 6.0.ImportTranslationsCommand::__construct()
now takes an instance ofKunstmaan\TranslatorBundle\Service\Command\Importer\ImportCommandHandler
as the first argument. Not passing it is deprecated and will throw aTypeError
in 6.0.TranslationCacheCommand::__construct()
now takes an instance ofKunstmaan\TranslatorBundle\Service\Translator\ResourceCacher
as the first argument. Not passing it is deprecated and will throw aTypeError
in 6.0.TranslationFlagCommand::__construct()
now takes an instance ofKunstmaan\TranslatorBundle\Repository\TranslationRepository
as the first argument. Not passing it is deprecated and will throw aTypeError
in 6.0.ExportTranslationsCommand
,ImportTranslationsCommand
,MigrationsDiffCommand
,TranslationCacheCommand
andTranslationFlagCommand
have been marked as final.- The
usedTranslations
request parameter added byKunstmaan\TranslatorBundle\Service\Translator\Translator
is deprecated and will be removed in 6.0. Get the collected messages from theKunstmaan\TranslatorBundle\Toolbar\DataCollectorTranslator
service.
- Getting services directly from the container in list controllers is deprecated and will be removed in 6.0. Register your controllers as services and inject the necessary dependencies.
- Getting parameters directly from the container in list controllers is deprecated and will be removed in 6.0. Register your controllers as services and inject the necessary parameters.
CipherCommand::__construct()
now takes an instance ofKunstmaan\UtilitiesBundle\Helper\Cipher\CipherInterface
as the first argument. Not passing it is deprecated and will throw aTypeError
in 6.0.CipherCommand
has been marked as final.