Skip to content

Releases: stefangabos/Zebra_Mptt

2.3.7

26 Apr 20:23
Compare
Choose a tag to compare
  • fixed #11 where moving root nodes and using the before / after arguments would yield warnings. Thanks @xVinniVx!
  • fixed an issue because of strict comparisons

2.3.6

08 Jan 08:33
Compare
Choose a tag to compare
  • added show_full_path argument to the to_select method; thanks to Jiri Melcak for suggesting
  • the library will now stop on MySQL errors; previously, because it uses TABLE LOCKs, errors while in a lock would not be reported, making it difficult to debug; thanks to Jiri Melcak for suggesting!

2.3.5

06 Jul 10:13
Compare
Choose a tag to compare
  • fixed #5 where get_previous_sibling was in fact returning the next sibling. Thanks @kinnevo!
  • performance tweaks for get_previous_sibling and get_next_sibling methods
  • escape custom table and column names; thanks @dominikfiala!

2.3.4

20 May 20:27
Compare
Choose a tag to compare
  • unnecessary files are no more included when downloading from GitHub or via Composer

2.3.3

10 May 17:05
Compare
Choose a tag to compare
  • minor source code tweaks
  • documentation is now available in the repository and on GitHub
  • the home of the library is now exclusively on GitHub

Version 2.3.2

19 Feb 09:12
Compare
Choose a tag to compare
  • updated version number

Version 2.3.1b released

19 Feb 09:08
Compare
Choose a tag to compare
  • fixed an issue with auto-loading of the library when used via Composer

Version 2.3.1 released

19 Feb 08:49
Compare
Choose a tag to compare
  • updated references to the minimum required PHP version

Version 2.3.0 released

19 Feb 07:23
Compare
Choose a tag to compare
  • this version breaks compatibility with previous versions
  • "get_children_count" and "get_descendats_count" methods were both replaced by the new get_descendant_count method
  • "get_selectables" method was renamed to to_select
  • added 3 new methods: get_siblings, get_next_sibling and get_previous_sibling
  • the move method can now be used to move nodes before and after another nodes (not just as a child of another node)
  • dropped support for the deprecated "mysql" extension; the library now only works with the "mysqli" extension
  • minimum required PHP version is now 5.0.5 instead of 4.4.9
  • fixed some issues preventing the library from running pn PHP7; thanks Jiri Melcak
  • improved compatibility with Composer
  • some minor performance tweaks

Version 2.2.5 now available

14 Nov 21:20
Compare
Choose a tag to compare
  • added a new update method, useful if you want to change a node’s name