- 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
. - The
sensio/distribution-bundle
package was removed from our dependencies as it was unused since version 5.0. If your code depends onsensio/distribution-bundle
for executing composer after update/install scripts, add the dependency to your projectcomposer.json
. - The version constraint for
fos/user-bundle
is updated to^2.0
to allow new minor releases. If your code isn't compatible with the new changes of the user-bundle, update/add a custom version constraint for thefos/user-bundle
in yourcomposer.json
. Eg"friendsofsymfony/user-bundle": "2.0.*"
- 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. - Instantiating the
AbstractAuthor
,AbstractCategory
,AbstractTag
entities without extending is deprecated and these classes will be made abstract in 6.0. Extend your implementation from this class instead.
- Passing the
container
as the sixth argument inKunstmaan\ConfigBundle\Controller\ConfigController
is deprecated in and will be removed in 6.0.
DashboardCommand::__construct()
now takes an instance ofWidgetManager
as the first argument. Not passing it is deprecated and will throw aTypeError
in 6.0.GoogleAnalyticsConfigFlushCommand::__construct()
now takes an instance ofEntityManagerInterface
as the first argument. Not passing it is deprecated and will throw aTypeError
in 6.0.GoogleAnalyticsConfigsListCommand::__construct()
now takes an instance ofEntityManagerInterface
as the first argument. Not passing it is deprecated and will throw aTypeError
in 6.0.GoogleAnalyticsDataCollectCommand::__construct()
now takes an instance ofEntityManagerInterface
as the first argument. Not passing it is deprecated and will throw aTypeError
in 6.0.GoogleAnalyticsDataFlushCommand::__construct()
now takes an instance ofEntityManagerInterface
as the first argument. Not passing it is deprecated and will throw aTypeError
in 6.0.GoogleAnalyticsOverviewsGenerateCommand::__construct()
now takes an instance ofEntityManagerInterface
as the first argument. Not passing it is deprecated and will throw aTypeError
in 6.0.GoogleAnalyticsOverviewsListCommand::__construct()
now takes an instance ofEntityManagerInterface
as the first argument. Not passing it is deprecated and will throw aTypeError
in 6.0.GoogleAnalyticsSegmentsListCommand::__construct()
now takes an instance ofEntityManagerInterface
as the first argument. Not passing it is deprecated and will throw aTypeError
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. - The
BackgroundFilterLoader
override is no longer necessary 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. - Button to export page template is now disabled by default. You can enable it by setting the
enable_export_page_template
value to true inside thekunstmaan_node
configuration. - Injecting the
TemplateEngine
as the first argument in theRenderContextListener
is deprecated and will be removed in 6.0. Remove theTemplateEngine
as the first service argument.
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.