11UPGRADE FROM 1.x to 2.0
22=======================
33
4+ ### General
5+
6+ * The ` RequestAwarePass ` is removed. Use the ` request_stack ` service provided
7+ by Symfony instead.
8+
9+ * The Doctrine registry and manager name can no longer be passed through the
10+ constructor of ` CmfHelper ` , use the ` setDoctrineRegistry() ` method instead.
11+
412### SonataAdmin Support
513
614 * The Admin extensions where moved into ` symfony-cmf/sonata-admin-integration-bundle ` .
@@ -10,35 +18,39 @@ UPGRADE FROM 1.x to 2.0
1018 Before:
1119
1220 ``` yaml
13- # app/config/config.yml
14-
15- sonata_admin :
16- extensions :
17- cmf_core.admin_extension.child :
18- implements :
19- - Symfony\Cmf\Bundle\CoreBundle\Model\ChildInterface
20- cmf_core.admin_extension.publish_workflow.time_period :
21- implements :
22- - Symfony\Cmf\Bundle\CoreBundle\PublishWorkflow\PublishTimePeriodInterface
23- cmf_core.admin_extension.publish_workflow.publishable :
24- implements :
25- - Symfony\Cmf\Bundle\CoreBundle\PublishWorkflow\PublishableInterface
21+ # app/config/config.yml
22+ sonata_admin :
23+ extensions :
24+ cmf_core.admin_extension.child :
25+ implements :
26+ - Symfony\Cmf\Bundle\CoreBundle\Model\ChildInterface
27+ cmf_core.admin_extension.publish_workflow.time_period :
28+ implements :
29+ - Symfony\Cmf\Bundle\CoreBundle\PublishWorkflow\PublishTimePeriodInterface
30+ cmf_core.admin_extension.publish_workflow.publishable :
31+ implements :
32+ - Symfony\Cmf\Bundle\CoreBundle\PublishWorkflow\PublishableInterface
2633 ` ` `
2734
28- After:
35+ After:
2936
3037 ` ` ` yaml
31- # app/config/config.yml
32-
33- sonata_admin :
34- extensions :
35- cmf_sonata_admin_integration.core.extension.child :
36- implements :
37- - Symfony\Cmf\Bundle\CoreBundle\Model\ChildInterface
38- cmf_sonata_admin_integration.core.extension.publish_workflow.time_period :
39- implements :
40- - Symfony\Cmf\Bundle\CoreBundle\PublishWorkflow\PublishTimePeriodInterface
41- cmf_sonata_admin_integration.core.extension.publish_workflow.publishable :
42- implements :
43- - Symfony\Cmf\Bundle\CoreBundle\PublishWorkflow\PublishableInterface
38+ # app/config/config.yml
39+ sonata_admin :
40+ extensions :
41+ cmf_sonata_admin_integration.core.extension.child :
42+ implements :
43+ - Symfony\Cmf\Bundle\CoreBundle\Model\ChildInterface
44+ cmf_sonata_admin_integration.core.extension.publish_workflow.time_period :
45+ implements :
46+ - Symfony\Cmf\Bundle\CoreBundle\PublishWorkflow\PublishTimePeriodInterface
47+ cmf_sonata_admin_integration.core.extension.publish_workflow.publishable :
48+ implements :
49+ - Symfony\Cmf\Bundle\CoreBundle\PublishWorkflow\PublishableInterface
4450 ` ` `
51+
52+ Slugifier
53+ ---------
54+
55+ * The ` Slugifier` namespace is removed, use the `symfony-cmf/slugifier-api`
56+ package and its interfaces instead.
0 commit comments