Skip to content

Releases: franzose/ClosureTable

Fixed hardcoded table column names in the ClosureTable model

06 Oct 01:25
35356b4
Compare
Choose a tag to compare

Thanks to @devig who pointed this out in #234. This issue has been moved to #238 and fixed by this release.

Minor tweaks

05 Oct 14:48
d3b4c9e
Compare
Choose a tag to compare
  1. Laravel 8 support in tests, thanks to @avvertix
  2. Entity::parent() many-to-one relationship to the direct ancestor node
  3. Minor tweaks

Fixed regression in the Collection::toTree() method

11 May 13:50
e342cd9
Compare
Choose a tag to compare

This is a small release which brings a fix to the regression pointed out by @ritterg.

ClosureTable 6

04 May 07:09
de50cfc
Compare
Choose a tag to compare

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.

Fixes and improvements

27 Aug 20:20
7a97e6f
Compare
Choose a tag to compare

Fixes and improvements by @dcanaud and @gulch.

Compatibility with Laravel 5.5

10 Sep 23:02
Compare
Choose a tag to compare

Thanks to @dcanaud, the package now supports Laravel 5.5.

Minor fix

13 Jul 22:31
Compare
Choose a tag to compare
Merge pull request #194 from sh-ogawa/#193

changed: #193

Laravel 5.4 support

10 Feb 21:53
Compare
Choose a tag to compare

Thanks to @krutuzick pull request, the library now supports Laravel 5.4+.

Rolled back bindings due to PostgreSQL behavior

08 Jul 08:44
Compare
Choose a tag to compare

A fix for raw DB queries

06 Jul 13:07
Compare
Choose a tag to compare

I introduced params binding for raw queries in ClosureTable model.