From b71df8052b8179b3abff079b704d0942f4009d06 Mon Sep 17 00:00:00 2001 From: Erison Silva Date: Tue, 30 Aug 2022 10:29:04 +0200 Subject: [PATCH 1/2] Adding notes in Upgrade file --- UPGRADE-4.0.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/UPGRADE-4.0.md b/UPGRADE-4.0.md index 5fe5157cc..c60e14dbc 100644 --- a/UPGRADE-4.0.md +++ b/UPGRADE-4.0.md @@ -21,6 +21,9 @@ Please be aware the config ``` sonata_block: context_manager: sonata.page.block.context_manager + +sonata_page: + slugify_service: sonata.page.slugify.cocur ``` won't work anymore then. You should rely on the default value instead. From 9f6a5e40b489982373fe94dd18af53e7b3d7c74a Mon Sep 17 00:00:00 2001 From: Erison Silva Date: Tue, 30 Aug 2022 12:41:11 +0200 Subject: [PATCH 2/2] Adding slugify service section --- UPGRADE-4.0.md | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/UPGRADE-4.0.md b/UPGRADE-4.0.md index c60e14dbc..d8ae23182 100644 --- a/UPGRADE-4.0.md +++ b/UPGRADE-4.0.md @@ -13,17 +13,22 @@ Please read [3.x](https://github.com/sonata-project/SonataPageBundle/tree/3.x) u See also the [diff code](https://github.com/sonata-project/SonataPageBundle/compare/3.x...4.0.0). +## Slugify Service + +This config was removed from sonata page configuration, make sure that, you do not have this anymore into your configs. +```diff +- sonata_page: +- slugify_service: sonata.page.slugify.cocur +``` + ## BlockContextManager The class `Sonata\PageBundle\Block\BlockContextManager` was removed. Please be aware the config -``` -sonata_block: - context_manager: sonata.page.block.context_manager - -sonata_page: - slugify_service: sonata.page.slugify.cocur +```diff +- sonata_block: +- context_manager: sonata.page.block.context_manager ``` won't work anymore then. You should rely on the default value instead.