Jan 14 2014
-
bug fixes
- [#26] Prevent impossible moves to the left or right. Now moving a node too
further to the left or right raises a
MoveNotPossibleException
. Thanks to @ziadoz for spotting this issue and providing a patch.
- [#26] Prevent impossible moves to the left or right. Now moving a node too
further to the left or right raises a
-
enhancenments
- [#5] Implement
toHierarchy
method which returns a nested collection representing the queried tree. Great thanks go to @Surt for his patch on this. - Add a static
all
method which works as the regularEloquent\Model::all
method but sorts for thelft
column.
- [#5] Implement
Oct 11 2013
- bug fixes
- Properly wrap column names when used inside raw queries.
- Correct examples from README.
July 31 2013
- enhancements
- Implement
withoutNode
,withoutRoot
,withoutSelf
query scopes. - [#15] Add
Node::getNestedList
static method thanks to @gerp.
- Implement
July 22 2013
- enhancements
- Implement simple means to implement "scopes" for a Nested Set tree, allowing for multiple trees in the same database table.
July 18 2013
- bug fixes
- Full support for PHP >= 5.3.7. Baum should work if Eloquent works.
July 5th 2013
-
enhanments
- Add support for PHP 5.3 to make Baum match the requirements of Eloquent.
- Improve Postgres friendliness
-
bug fixes
insideSubtree
was inside incorrectly to guard against impossible moves. Fixed.- Due to default ordering by
lft
column, Postgres complained when using aggregate methods on queries which had SORT BY clauses. Now those are pruned before running aggregates.
July 3rd 2013
-
enhancements
- Add
immediateDescendants
, 'getImmediateDescendants' methods. - Implement a test suite.
- Add
-
bug fixes
- [#8] Add
lft
logic ordering by default to every scope method. Thanks to @dirkpostma for spotting this out. - [#9], [#10] Fix an SQL generation bug when moving root nodes between them. Thanks to @daxborges for providing the fix.
- Fix
getLeftSibling
method which was not behaving properly because of the previosly stated bugs.
- [#8] Add
May 7th 2013
-
enhancements
- Add indexes to
parent_id
,lft
,rgt
columns by default on generated migration.
- Add indexes to
-
bug fix
- [#1] Fix a bug which caused model events not to fire on subclassed instances
of
Baum\Node
.
- [#1] Fix a bug which caused model events not to fire on subclassed instances
of
May 4th 2013
- First release.