Changed compatibility to PHP 8
Changed localizeddate to format_datetime
When upgrading from v1.x to v2.x you should(must) do the following if they apply to your case:
- The parameters entered in
config.ymlare not used anymore as they are managed by c975L/ConfigBundle, so you can delete them. - As the parameters are not in
config.yml, we can't access them via$this[->container]->getParameter(), so you have to replace$this->getParameter('c975_l_page_edit.XXX')by$configService->getParameter('c975LPageEdit.XXX'), where$configServiceis the injection ofc975L\ConfigBundle\Service\ConfigServiceInterface. - The
tinymceApiKeyis now managed by c975L/ConfigBundle, so you can delete if fromparameters.ymlandparameters.yml.dist, but before that, copy/paste it in the config. - Before the first use of parameters, you MUST use the console command
php bin/console config:createto create the config files with default data. - The urls used for Routes (create, delete, etc.) have been changed (pages -> pageedit) except for
pageedit_displayin order to allow any slug for pages. This has an impact only for bookmarked pages, not if you use the navigation provided by the bundle.