All Versions
18
Latest Version
Avg Release Cycle
236 days
Latest Release
1628 days ago

Changelog History
Page 1

  • v2.0.0-alpha1

    November 08, 2019
  • v1.1.1 Changes

    March 04, 2015

    Mar 4 2015

    • 🐛 bug fixes
      • Fix README.md typos [PR #134 and #131]
      • Use table prefixes in rebuild command [PR #133]
      • Fix limitDepth query scope [PR #125]
  • v1.1.0 Changes

    March 04, 2015

    Mar 3 2015

    • ✨ enhancements
      • Add support for Laravel 5.x, leave a 1.0.x branch for backwards compatibility.
  • v1.0.15

    March 04, 2015
  • v1.0.14

    March 03, 2015
  • v1.0.13 Changes

    September 30, 2014

    Sep 30 2014

    • 🐛 bug fixes
      • Fix node depth recomputation when moving nodes. Closes [#109] & [#106].
      • Laravel 5, composer compatibility.
  • v1.0.12 Changes

    August 25, 2014

    Aug 25 2014

    • 🐛 bug fixes

      • Fix check for Node->storeNewParent() to avoid moving a node which was already root. Fixes [#79] and closes [#81].
      • Several git fixes by @GrahamCampbell [PR #96].
      • .travis.yml improvements by @GrahamCampbell [PR #95].
      • Rename isValid static method to isValidNestedSet to avoid name clashes with validator packages. Closes [#89].
      • Moving to root has been now reimplemented to be more consistent.
    • ✨ enhancements

      • Add pessimistic locking into the library. Closes [#89].
      • Add trunks family of methods: allTrunks, trunks, getTrunks and isTrunk. Closes [#59].
      • Add a force option to the rebuild static method.
  • v1.0.11 Changes

    July 03, 2014

    Jul 3 2014

    • 🐛 bug fixes

      • Target Laravel stable version in composer.json file. Merges [#67].
      • Use qualified order column name on newNestedSetQuery method. Merges [#70].
      • Cleaned up migration stub. Merges [#84].
      • Enforce sorting for $orderColumn when calling toHierarchy. Merges [#73], fixing [#71].
    • ✨ enhancements

      • [#77] Add makeFirstChildOf and makeLastChildOf helper methods.
      • [#62] Implement limitDepth query scope to allow query depth limiting for huge descendancy chains. Also allow to pass the depth limit as the first parameter of getDescendants and getDescendantsAndSelf.
      • [#67] Should work with Laravel 4.2
      • [#68] Implement buildTree, makeTree mass-assignment (seeding) methods.
  • v1.0.10 Changes

    May 02, 2014

    May 2 2014

    • 🐛 bug fixes

      • Fix inserting a new model with a defined scope. Fixes [#27].
      • Static methods now do not take into account scoped column values, which would not make sense.
      • Properly set a model's relations when reloading an instance via reload().
      • Fix getObservableEvents() function to include node's moving and moved events.
      • Fix reload() to consider trashed node objects via soft-delete operations. Fixes [#35].
      • Preliminar support for soft-delete operations. Should fix [#23].
      • Assigning null to the parent_id column value and saving the node now performs the same operation as makeRoot(). Fixes [#54].
      • Reimplement toHierarchy as yielded inconsistent results, even worse with custom sorting of the collection results. Merges [#61], fixes [#63].
    • ✨ enhancements

      • Implement tree structure validation via Node::isValid.
      • Implement tree index rebuilding via Node::rebuild. Very useful when a tree structure has been messed up or to convert from a parent_id only table.
      • Preliminar support for soft-delete operations.
      • Allow the user to change the default sorting column name (defaulting to lft).
      • Add support for non-numeric keys. Merges & fixes [#52].
  • v1.0.9 Changes

    January 15, 2014

    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.
    • ✨ 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 regular Eloquent\Model::all method but sorts for the lft column.