http://pear.php.net/
pear-webmaster@lists.php.netpear-webmaster@lists.php.neten-usPEAR: Latest releases for linemayrThe latest releases for the PEAR developer linemayr (Lukas Linemayr)DB_NestedSet 1.4.1
http://pear.php.net/package/DB_NestedSet/download/1.4.1/
This is the final stable version of this package. No bugs occured during this long time in RC state and it is considered to be quite solid.<br />
We are currently working on DB_NestedSet2 which will provide a cleaner, pure OOP interface. So watch out for this.<br />
<br />
Again:<br />
ATTENTION: The 1.2 api may not be fully backward compatible to the current 1.3 api. To avoid surprises when we go stable please make sure that you test this release <br />
candidate with your 1.2 apps.<br />
Please look at http://pear.php.net/package/DB_NestedSet/download/1.3 for information on the major changes between<br />
the 1.2 and the 1.3+ releases.<br />
<br />
Changes in this release:<br />
- Changed tests to work with current versions of PHPUnit.
2010-04-25T21:01:41-05:00khanDB_NestedSet 1.4.0RC1
http://pear.php.net/package/DB_NestedSet/download/1.4.0RC1/
ATTENTION: The 1.2 api may not be fully backward compatible to the current 1.3 api. To avoid surprises when we go stable please make sure that you test this release <br />
candidate with your 1.2 apps.<br />
Please look at http://pear.php.net/package/DB_NestedSet/download/1.3 for informations on the major changes between<br />
the 1.2 and the 1.3+ releases.<br />
<br />
The 1.3.6 release is used in many projects and is considered to be quite solid.<br />
This release fixes some minor bugs. Finally there is also an end user documentation available!<br />
Thanks to Lukas Linemayr (ll@shopping.at) for writing and maintaining them.<br />
I'd also like to thank tacker (http://pear.php.net/user/tacker) for providing lots of bug reports and patches.<br />
If everything goes well this will be the last beta release. Please test it and report every problem you have with it!<br />
<br />
Bugs fixed in this release:<br />
<br />
- Bug #2969: Undefined variables<br />
- Bug #3536: getSiblings doesn't work on root level<br />
- Bug #4349: Problem with driver 'Menu'<br />
- Bug #4599: MDB2 Driver broken<br />
- Bug #4702: Fatal error in NestedSet.php:1856<br />
- Bug #4869: Variable references should be returned<br />
- Request #4945: Move DB_NestedSet_Node into own file<br />
- Bug #5766: DB.php doesn't check connection errors<br />
- Bug #6390: options not used<br />
- Bug #6405: Only variable references should be returned by reference<br />
- Bug #9890: dirname(__FILE__) should not be used for include/require
2007-10-21T19:43:25-05:00datenpunkDB_NestedSet 1.3.6
http://pear.php.net/package/DB_NestedSet/download/1.3.6/
Bugfix release<br />
- Fixed #2034: getAllNodes(), getSubBranch() with NESE_SORT_PREORDER and sorting by name<br />
- _secSortCollect() a static array which wasn't reset if called again<br />
- Now really fixed #1441: _getOne() was missing in DB driver
2004-08-10T17:52:44-05:00datenpunkDB_NestedSet 1.3.5
http://pear.php.net/package/DB_NestedSet/download/1.3.5/
o This release adds MDB2 support (Thanks to Lorenzo Alberton)!<br />
Bugs fixed:<br />
- Wrong picknode lock sequence<br />
A possible timing problem which could lead to tree damage<br />
http://pear.php.net/bugs/bug.php?id=1226 <br />
- Wrong generated structure for menu<br />
The HTML_Menu output driver contained a bug.<br />
http://pear.php.net/bugs/bug.php?id=1423
2004-07-25T08:07:08-05:00datenpunkDB_NestedSet 1.3.4
http://pear.php.net/package/DB_NestedSet/download/1.3.4/
This is a quick fix to quoting problems in pgsql.<br />
As MDB doesn't support all needed quoting methods for now it's not possible to use<br />
any reserved words (key, order, group,...) for column names with MDB.<br />
As soon as MDB also supports this it should work,<br />
Please test it as much as possible while I am now finally will finish the docs.<br />
Please file bugs using the great bug reporting system on pear.php.net.<br />
If no further bugs are found this branch will be turned to stable. <br />
<br />
- Fixed Bug #1114: bug fix 561 flawed; single-quoting fields errors in pgsql reported by Andy Crain<br />
+ The TreeMenu output driver now supports all params supported by PEAR::HTML_TreeMenu
2004-04-04T15:29:14-05:00datenpunkDB_NestedSet 1.3.3
http://pear.php.net/package/DB_NestedSet/download/1.3.3/
This is mostly a bugfix release with little additions.<br />
Please test it as much as possible while I am now finally will finish the docs.<br />
Please file bugs using the great bug reporting system on pear.php.net.<br />
If no further bugs are found this branch will be turned to stable. <br />
<br />
+ Added PEAR::HTML_Menu output driver<br />
This driver is also useful if one wants to transform a tree into a nested array.<br />
Use returnStructure() for this.<br />
- Fixed Bug #510: NESE_SORT_PREORDER doesn't work with $aliasFields and $addSQL reported by Beat Kipfer<br />
- Changed the SQL statement for setting a lock to be ANSI compatible. Thank's to Tobias Marquart<br />
- Fixed wrong parameter count in getSiblings which caused $addSQL to be ignored. Thank's to Karsten Fernkorn.<br />
- Fixed Bug #561: Reserved words are now escpaed using the quote() method of the DB layer. Thank's to c dot weyland at gmx dot de.<br />
- Fixed Bug #600: Inconsitency in APPEND between methods. Now there is a new param for $addSQL called $addSQL['where'] which takes a SQL condition<br />
without 'AND' or 'WHERE' at the beginning. Thank' s to Simon Hamilton and Beat Kipfer.<br />
- Fixed Bug #808: use of other DB as mysql (MSSQL). Thank's to j dot forstner at a1 dot net.<br />
- Fixed Bug #1097: getSubBranch does not work with sort_preorder. Thank's to Markus Cecot.
2004-03-31T09:41:26-05:00datenpunkDB_NestedSet 1.3.2
http://pear.php.net/package/DB_NestedSet/download/1.3.2/
- Added Image_GraphViz output driver (Arnaud Limbourg)<br />
- Fixed wrong rootnode order field incremention on rootnode deletion (Daniel Khan)<br />
- Applied a little patch to the CoolMenu output driver (Andy Crain)
2003-12-28T19:15:06-05:00datenpunkDB_NestedSet 1.3.1
http://pear.php.net/package/DB_NestedSet/download/1.3.1/
- Extended Unit Tests<br />
- Added the CoolMenu output driver by Andy Crain<br />
- Added Andy Crain's patch which fixes <br />
+ the can't move a rootnode below another rootnode bug<br />
+ the 'Parent id not updated on move' bug <br />
+ a bug which led to wrong l/r values on tree operations<br />
- Replaces non ANSI (mysql specific) queries.<br />
PLEASE test with other RDBMS than mySQL - this should work now<br />
* Coding style fixes<br />
* Took out a few of the abstract methods and _getmicrotime() to try and cut down on the size of the class.<br />
* Optimized the query for createRootNode() slightly<br />
* Fixed createRootNode() to work when only required parameters are passed, so that now <br />
$db->createRootNode($node) will successfully create a root node at the end of the tree instead of erroring out.<br />
- Fixed [Bug #138]: moveTree doesn't return anything<br />
(Thanks to [thomas at bytefreak dot de] for the report)<br />
- Applied Lukas Smith's MDB patch - MDB support is back again!<br />
- Adopted unit tests for MDB<br />
- Changed the name of the property _flparams back to flparams as some applications may rely on this.
2003-11-26T17:08:07-05:00datenpunkDB_NestedSet 1.3
http://pear.php.net/package/DB_NestedSet/download/1.3/
This release includes many internal changes and some (long demanded) feature additions.<br />
The API and database structure should be fully backward compatible.<br />
Please test this release as much as possible, so that any remaining issues can be<br />
uncovered and resolved prior to the final release.<br />
o Notes:<br />
If you want to use new features like preorder sorting you will<br />
have to convert the tree to meet the new db model.<br />
See docs/migrateDB.txt on how to migrate your existing tree.<br />
o Fixes:<br />
* MDB support is back again.<br />
* Fixed a problem with some move operations where the moving tree gets changed during<br />
the move operation.<br />
* Many small internal fixes.<br />
o New features:<br />
* Added a method setSortMode($mode) where $mode is NESE_SORT_LEVEL or NESE_SORT_PREORDER.<br />
This will change the way the query methods return the tree.<br />
NESE_SORT_LEVEL is the default.<br />
NESE_SORT_PREORDER returns the tree preorder sorted. This sorting method<br />
was often demanded as it's the way one would usually expect the tree to be returned.<br />
Preorder sorting will also work with the property $secondarySort.<br />
So it's possible to get the siblings of one level sorted alphabetically by name.<br />
Note that you will have to switch back to NESE_SORT_LEVEL if you want to display<br />
a tree with the output drivers.<br />
* Added method getParent() to get the immediate parent of a node<br />
* Added method getSiblings() to get all siblings of a node + the node itself<br />
* Added method createLeftNode() to create a node before a node given by it's node id.<br />
* Added method apiVersion() which obviously returns the current API version<br />
* Added convertTreeModel() to convert a tree into the new tree model<br />
* Added magic parent db field. If a column with the field mapping 'parent' is present<br />
the parent id of a node is stored inside this column.<br />
This doesn't exactly meet the nested sets theory and will only be used by some<br />
methods like getParent(). It's recommended to use this column for new installations<br />
or converted trees.<br />
* Now values passed to creation methods are verfified so that a script can't set<br />
params like the parent id by itself<br />
* Added listbox_toHTML() and tree_toHTML() methods to the TreeMenu output driver.<br />
Thanks to Emanuel Zueger for this additions.<br />
* Added regression tests for all public methods and common options<br />
The regression test setup isn't very userfriendly for now.<br />
The db schema can be found under docs and you will have to customize tests/UnitTest.php<br />
to set your database connection params.<br />
* The main class now uses the array representation of the tree for internal operations.<br />
This should gain some performance.<br />
o Notes on next major version (1.3):<br />
* The API will change.<br />
* The class won't return objects anymore. It will act as if $keepAsArray is set to true<br />
when calling the query methods.<br />
It's a good idea to switch to set this param to be mostly compatible.<br />
* Callback handlers will be removed - I don't even know if someone uses them.<br />
Please mail me at dk@webcluster.at if you really see a use.<br />
-- To be continued --
2003-10-07T00:17:00-05:00datenpunkDB_NestedSet 1.2.4
http://pear.php.net/package/DB_NestedSet/download/1.2.4/
o Fixed a problem in re-sorting after node deletion<br />
o Added an example for building a JavaScript tree with TreeMenu
2003-08-13T20:13:00-05:00datenpunk