Commits

angri  committed cb02c75

updated CHANGES and docstring in setup.py

  • Participants
  • Parent commits 9eee035

Comments (0)

Files changed (2)

 0.6: *not released yet*
 -----------------------
-The most notable change in 0.6 is the full support of SQLAlchemy 0.7.2,
-0.6.8 and 0.5.8. Adding support of 0.7 required some backward-incompatible
-changes in public API, from which the biggest one is inability to use
-:class:`MPClassManager` instances as arguments for `order_by()`. If you use
-`query*` methods from :class:`MPClassManager` and :class:`MPInstanceManager`
-you don't need to worry --- query objects which come from there are properly
-ordered. If you use old semantic like ``session.query(Node).order_by(Node.mp)``
-you will need to convert such code to use :meth:`MPClassManager.query`, like
-``Node.mp.query(session)``.
+The most exciting things in 0.6 are the moving nodes feature, support
+of SQLAlchemy 0.5, 0.6 and 0.7 as well as python 2.4 to 3.
+
+Adding support of 0.7 required some backward-incompatible changes in public
+API, from which the biggest one is inability to use :class:`MPClassManager`
+instances as arguments for `order_by()`. If you use `query*` methods from
+:class:`MPClassManager` and :class:`MPInstanceManager` you don't need
+to worry --- query objects which come from there are properly ordered.
+If you use old semantic like ``session.query(Node).order_by(Node.mp)``
+you will need to convert such code to use :meth:`MPClassManager.query`,
+like ``Node.mp.query(session)``.
 
 Another similar change is that :func:`tree_recursive_iterator` doesn't reorder
 the argument provided, so if you construct your queries by hand (which is not
 recommended) --- make sure that they're properly ordered.
 
-- :meth:`MPClassManager.rebuild_all_trees` and
-  :meth:`MPClassManager.rebuild_subtree` now accept required session parameter.
-  Original patch by Uriy Zhuravlev.
+- Moving nodes support, see `Moving nodes`_.
+- Custom path field length can now be used easily, see `Limits`_.
+- :meth:`MPClassManager.rebuild_subtree` was dropped altogether in favor
+  of real moving nodes API and real :meth:`maintenance
+  <MPClassManager.rebuild_all_trees>` functionality.
+- :meth:`MPClassManager.rebuild_all_trees` now accepts required session
+  parameter. Original patch by Uriy Zhuravlev.
 - Pickling and unpickling of node instances now works.
 - Python branches 2.4 to 2.7 as well as python3 are supported now.
 - :class:`MPClassManager` can not be used as an argument for `order_by()`.
       Relations.
     * Collapsing flat tree returned from query to recursive structure.
     * Node classes may use polymorphic inheritance.
-
-Moving of nodes is not yet implemented.
+    * Nodes and whole trees/subtrees can be moved around or removed
+      entirely.
 
 Known-to-work supported DBMS include `sqlite`_ (tested with 3.6.14),
 `MySQL`_ (tested using both MyISAM and InnoDB with server version 5.1.34)