CHANGELOG for 0.2.12¶
Url to see changes:
- Cms bundle
- Display bundle
- Model bundle
- Model interface
- Front bundle
- Base bundle
- Base api bundle
- Media bundle
- User bundle
- Theme bundle
- Worflow function bundle
Possible BC breaker¶
- The parameters sent by the dataTable are changed
- The namespace of trait ListStatus is now OpenOrchestraApiBundleControllerControllerTrait
- In
ContentRepositoryInterface
: -findByContentTypeInLastVersionForPaginateAndSearch
is deleted and replace byfindByContentTypeAndSiteIdInLastVersionForPaginate
-findByContentTypeInLastVersionForPaginateAndSearchAndSiteId
is deleted and replace byfindByContentTypeInLastVersionForPaginateAndSearchAndSiteId
-countByContentTypeInLastVersionWithSearchFilter
is deleted and replace bycountByContentTypeInLastVersionWithFilter
- In
ApiClientRepositoryInterface
: -findForPaginateAndSearch
is deleted and replace byfindForPaginate
-countWithSearchFilter
is deleted and replace bycountWithFilter
- In
WorkflowFunctionRepositoryInterface
: -findForPaginateAndSearch
is deleted and replace byfindForPaginate
-countWithSearchFilter
is deleted and replace bycountWithFilter
- In
PaginateRepositoryInterface
: -findForPaginateAndSearch
is deleted and replace byfindForPaginate
-countWithSearchFilter
is deleted and replace bycountWithFilter
- In
SiteRepositoryInterfaceInterface
: -findByDeletedForPaginateAndSearch
is deleted and replace byfindByDeletedForPaginate
-countByDeletedWithSearchFilter
is deleted and replace bycountWithSearchFilterByDeleted
-PaginateAndSearchFilterTrait
is deleted and replace byPaginationTrait
Bug fixes¶
- Node preview has been fixed, see configuration changes for more info
New features¶
Other changes¶
Deprecated method¶
ModelBundle/Repository/AbstractRepository
is deprecated will be removed in 0.3.0- The trait
TranslatedValueFilter
is deprecated will be removed in 0.3.0 - In
ContentRepositoryInterface
: -countByDeletedInLastVersionWithSearchFilter
replace bycountNotDeletedInLastVersionWithSearchFilter
- In
ContentTypeRepositoryInterface
: -findAllByDeletedInLastVersionForPaginateAndSearch
replace byfindAllNotDeletedInLastVersionForPaginate
-countByDeletedInLastVersionWithSearchFilter
replace bycountDeletedInLastVersionWithSearchFilter
-findAllByDeletedInLastVersion
replace byfindAllNotDeletedInLastVersion
- In
NodeRepositoryInterface
: -findOneByNodeIdAndLanguageAndSiteIdAndLastVersion
replace byfindOneByNodeIdAndLanguageAndSiteIdInLastVersion
-findLastVersionByDeletedAndSiteId
replace byfindDeletedInLastVersionBySiteId
-findLastVersionByDeletedAndSiteId
replace byfindDeletedInLastVersionBySiteId
-findChildsByPathAndSiteIdAndLanguage
replace byfindChildrenByPathAndSiteIdAndLanguage
-findByParentIdAndRoutePatternAndNotNodeIdAndSiteId
replace byfindByParentIdAndRoutePatternAndNodeIdAndSiteId
-findOneByNodeIdAndLanguageAndVersionAndSiteId
replace byfindOneByNodeIdAndLanguageAndSiteIdAndVersion
- In
ReadNodeRepositoryInterface
: -findOneByNodeIdAndLanguageWithPublishedAndLastVersionAndSiteId
replace byfindOnePublishedByNodeIdAndLanguageAndSiteIdInLastVersion
- The linearized_attributes from the ContentFacade are not use anymore
Suppressed method¶
- All the display block classes from the MediaBundle have been removed
ModelInterface/Form/Type/AbstractOrchestraRoleType
has been removedModelInterface/MongoTrait/Versionnable
has been removed. Replace byModelInterface/MongoTrait/Versionable
- In
AreaInterface
: -setClasses
replace bysetHtmlClass
-getClasses
replace bygetHtmlClass
- In
ReadAreaInterface
:getClasses
replace bygetHtmlClass
- In
ContentTypeRepositoryInterface
: -findOneByContentTypeIdAndVersion
-findOneByContentTypeIdAndVersionfrom
- In
ContentRepositoryInterface
:findByContentTypeInLastVersion
- In
NodeRepositoryInterface
:findOneByParendIdAndRoutePatternAndSiteId
Configuration changes¶
- In order to get the new routing conf, Back Office configuration requires to be updated. In app/config/routing.yml of your back application, add the following lines :
open_orchestra_base:
resource: "@OpenOrchestraBaseBundle/Resources/config/routing.yml"
- The front configuration must also be updated. In app/config/routing.yml of your front application, add the following lines :
open_orchestra_front_preview:
resource: "@OpenOrchestraFrontBundle/Resources/config/preview_routing.yml"
- A MediaModelBundle has been created to store the media document, you should activate the bundle :
new OpenOrchestra\MediaModelBundle\OpenOrchestraMediaModelBundle(),
- A BaseApiModelBundle has been created to store the BaseApi document, you should activate the bundle :
new OpenOrchestra\BaseApiModelBundle\OpenOrchestraBaseApiModelBundle(),
- A WorkflowFunctionModelBundle has been created to store the WorkflowFunction document, you should activate the bundle :
new OpenOrchestra\WorkflowFunctionModelBundle\OpenOrchestraWorkflowFunctionModelBundle(),