All the deprecated code introduced on 3.x is removed on 4.0.
Please read 3.x upgrade guides for more information.
See also the diff code.
If you have implemented a custom model, you must adapt the signature of the following new methods:
CategoryInterface::getId
CollectionInterface::getId
TagInterface::getId
+If you have implemented a custom category manager, you must adapt the signature of the following new methods:
getRootCategoriesPager
getSubCategoriesPager
getRootCategoryWithChildren
getRootCategories
getCategories
getRootCategory
getRootCategoriesForContext
getAllRootCategories
getRootCategoriesSplitByContexts
Some classes are declared as final
and MUST NOT be overridden:
Sonata\ClassificationBundle\Admin\CategoryAdmin
Sonata\ClassificationBundle\Admin\CollectionAdmin
Sonata\ClassificationBundle\Admin\ContextAdmin
Sonata\ClassificationBundle\Admin\TagAdmin
Sonata\ClassificationBundle\Command\FixContextCommand
Sonata\ClassificationBundle\Controller\CategoryAdminController
Sonata\ClassificationBundle\DependencyInjection\Configuration
Sonata\ClassificationBundle\DependencyInjection\SonataClassificationExtension
Sonata\ClassificationBundle\Document\CategoryManager
Sonata\ClassificationBundle\Document\CollectionManager
Sonata\ClassificationBundle\Document\TagManager
Sonata\ClassificationBundle\Entity\CategoryManager
Sonata\ClassificationBundle\Entity\CollectionManager
Sonata\ClassificationBundle\Entity\ContextManager
Sonata\ClassificationBundle\Entity\TagManager
Sonata\ClassificationBundle\Form\Type\Category\SelectorType
Sonata\ClassificationBundle\SonataClassificationBundle
Disallowed null value on foreign keys for associations with Context for Category, Tag and Collection entities.
The media features were removed, to resolve internal circular dependency issues. If you still need these, please have a look at the ClassificationMediaBundle.