ClosureTable 6
Improvements
- Fixed a lot of bugs related to positioning and movements between ancestors
- Introduced a bunch of query scopes to ease querying. They allowed to simplify the internals too!
- Introduced some convenient methods to the custom collection in addition to the existing ones
- Fixed bugs in the model and migration generators
- Improved tests and automated Travis CI builds. Many many thanks to @avvertix for the latter!
Deprecations
- Franzose\ClosureTable\Contracts\EntityInteface has been deprecated and will be removed in the next major release
- Franzose\ClosureTable\Contracts\ClosureTableInteface has been deprecated and will be removed in the next major release
- Entity's
real_depth
attribute & database column have been deprecated and are not included in the generated model and migration anymore - The following methods of the Entity model has been deprecated and will be removed in the next major release:
- Entity::getRealDepthColumn()
- Entity::getChildrenRelationIndex()
- Entity::getAncestorsTree()
- Entity::getAncestorsWhere()
- Entity::getDescendantsTree()
- Entity::getDescendantsWhere()
- Entity::hasChildrenRelation()
- Entity::getTree()
- Entity::getTreeByQuery()
- Entity::getTreeWhere()
Other notes
PHP 5.6 support has been dropped. Starting from this release, ClosureTable supports PHP 7.0 and higher.