Skip to content

5.0.0

Choose a tag to compare

@spryker-release-bot spryker-release-bot released this 12 Feb 10:44
· 1344 commits to master since this release

Included commits: 4.21.0...5.0.0

Breaking Changes

  • Adjusted spy_category.fk_category_template field so now it is mandatory field.
  • Removed CategoryClient::getTemplatePathByNodeId() client method.
  • Removed \Spryker\Shared\Category\CategoryConstants file.
  • Removed Presentation, Communication layers.
  • Removed the following CategoryFacade facade 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 CategoryQueryContainer query 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_store table.
  • Added Store and Transfer module to dependencies.
  • Introduced Category.storeRelation and CategoryCriteria.isMain transfer properties.
  • Introduced CategoryNodeCriteria, CategoryNodeUrlCriteria, CategoryNodeUrlPathCriteria, StoreRelation, Store, UpdateCategoryStoreRelationRequest transfers.
  • Introduced the following CategoryFacade facade methods: updateCategoryStoreRelation(), updateCategoryStoreRelationWithMainChildrenPropagation(), getCategoryNodesWithRelativeNodes(), getCategoryNodes().
  • Introduced MainChildrenPropagationCategoryStoreAssignerPlugin plugin in order to update category store relation for passed category.
  • Adjusted CategoryUrlPathPrefixUpdaterPlugin plugin 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.