Repository navigation
5.0.0
·
1344 commits
to master
since this release
Included commits: 4.21.0...5.0.0
Breaking Changes
- Adjusted
spy_category.fk_category_templatefield so now it is mandatory field. - Removed
CategoryClient::getTemplatePathByNodeId()client method. - Removed
\Spryker\Shared\Category\CategoryConstantsfile. - Removed
Presentation,Communicationlayers. - Removed the following
CategoryFacadefacade mehods:createCategory(),read(),getNotMainNodesByIdCategory(),getNotMainNodesByIdCategory(),getCategoryIdentifier(),getCategoryNodeIdentifier(),getNodeById(),hasCategoryNode(),updateCategory(),addCategoryAttribute(),deleteCategory(),deleteNodeById(),createCategoryNode(),updateCategoryNode()deleteNode(),renderCategoryTreeVisual(),getRootNodes(),getTree(),getChildren(),getParents(),getTreeNodeChildrenByIdCategoryAndLocale(),rebuildClosureTable(),generatePath(),getCategoryByKey(),getSubTreeByIdCategoryNodeAndLocale(),syncCategoryTemplate(),findCategoryTemplateByName(),hasFirstLevelChildrenByName(). - Removed the following list of controllers:
CreateController,DeleteController,EditController,IndexController,NodeController,ReSortController,RootController,TreeController,ViewController. - Removed the following
CategoryQueryContainerquery container methods:queryNodeWithDirectParent(),queryNodeByIdCategoryAndParentNode(),queryFirstLevelChildrenByIdLocale(),queryChildren(),getChildrenPath(),getParentPath(),queryDescendant(),queryMainNodesByCategoryId(),queryNotMainNodesByCategoryId(),queryCategoryByKey(),queryMainCategoryNodeByCategoryKey(),queryCategoryNodeByNodeId(),queryAttributeByCategoryIdAndLocale(),queryCategoryAttributesByName(),joinCategoryQueryWithChildrenCategories(),joinCategoryQueryWithParentCategories(),joinCategoryQueryWithUrls(),joinLocalizedRelatedCategoryQueryWithAttributes(),joinRelatedCategoryQueryWithUrls(),selectCategoryAttributeColumns(),queryCategoryAttributes(),queryNodeByCategoryName(),queryNodeByCategoryKey(),queryByCategoryKey(),queryUrlByIdCategoryNode(),getCategoryNodesWithOrder(),queryResourceUrlByCategoryNodeAndLocaleId(),queryCategoryTemplateById(),queryFirstLevelChildrenByName().
Improvements
- Introduced
spy_category_storetable. - Added Store and Transfer module to dependencies.
- Introduced
Category.storeRelationandCategoryCriteria.isMaintransfer properties. - Introduced
CategoryNodeCriteria,CategoryNodeUrlCriteria,CategoryNodeUrlPathCriteria,StoreRelation,Store,UpdateCategoryStoreRelationRequesttransfers. - Introduced the following
CategoryFacadefacade methods:updateCategoryStoreRelation(),updateCategoryStoreRelationWithMainChildrenPropagation(),getCategoryNodesWithRelativeNodes(),getCategoryNodes(). - Introduced
MainChildrenPropagationCategoryStoreAssignerPluginplugin in order to update category store relation for passed category. - Adjusted
CategoryUrlPathPrefixUpdaterPluginplugin so now it delegates the business logic to the model. - Adjusted
CategoryFacade::create()facade method so now it saves the store relations for a category. - Adjusted
CategoryFacade::update()facade method so now it updates the store relations for a category. - Adjusted
CategoryFacade::delete()facade method so now it removes the store relations for a category. - Removed Graph, Gui, UtilText, Symfony, KeyBuilder, Storage modules from dependencies.
Deprecations
- Deprecated
CategoryRelationUpdatePluginInterface.