Skip to content

ClosureTable 6

Compare
Choose a tag to compare
@franzose franzose released this 04 May 07:09
· 13 commits to master since this release
de50cfc

Improvements

  1. Fixed a lot of bugs related to positioning and movements between ancestors
  2. Introduced a bunch of query scopes to ease querying. They allowed to simplify the internals too!
  3. Introduced some convenient methods to the custom collection in addition to the existing ones
  4. Fixed bugs in the model and migration generators
  5. Improved tests and automated Travis CI builds. Many many thanks to @avvertix for the latter!

Deprecations

  1. Franzose\ClosureTable\Contracts\EntityInteface has been deprecated and will be removed in the next major release
  2. Franzose\ClosureTable\Contracts\ClosureTableInteface has been deprecated and will be removed in the next major release
  3. Entity's real_depth attribute & database column have been deprecated and are not included in the generated model and migration anymore
  4. 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.