Skip to content
This repository has been archived by the owner on Sep 16, 2021. It is now read-only.

Latest commit

 

History

History
56 lines (40 loc) · 1.45 KB

UPGRADE-2.0.md

File metadata and controls

56 lines (40 loc) · 1.45 KB

UPGRADE FROM 1.x to 2.0

SonataAdmin Support

  • The Admin extension to edit seo metadata was moved into symfony-cmf/sonata-admin-integration-bundle. With the move, the admin extension service names also changed. If you are using the cmf_seo.admin_extension service, you need to adjust your configuration.

    Before:

         # app/config/config.yml
      
         sonata_admin:
             extensions:
                 cmf_seo.admin_extension:
                    implements:
                        - Symfony\Cmf\Bundle\SeoBundle\SeoAwareInterface

    After:

         # app/config/config.yml
                 
         sonata_admin:
             extensions:
                 cmf_sonata_admin_integration.seo.admin_extension:
                     implements:
                        - Symfony\Cmf\Bundle\SeoBundle\SeoAwareInterface

SuggestionProviderController

  • The showAction has been renamed to listAction and the fourth argument is removed.

    Before:

    twig:
        exception_controller: cmf_seo.error.suggestion_provider.controller:showAction

    After:

    twig:
        exception_controller: cmf_seo.error.suggestion_provider.controller:listAction

Doctrine PHPCR ODM

  • It is no longer possible to add a child to the SeoMetadata document. This behaviour can be changed by overriding the child-class setting of the PHPCR ODM mapping.