1 Release history 2 =============== 3 4 0.12 5 ---- 6 7 - Added ``ObjectGraph.edgeData`` to retrieve the edge data 8 from a specific edge. 9 10 - Added ``AltGraph.update_edge_data`` and ``ObjectGraph.updateEdgeData`` 11 to update the data associated with a graph edge. 12 13 0.11 14 ---- 15 16 - Stabilize the order of elements in dot file exports, 17 patch from bitbucket user 'pombredanne'. 18 19 - Tweak setup.py file to remove dependency on distribute (but 20 keep the dependency on setuptools) 21 22 23 0.10.2 24 ------ 25 26 - There where no classifiers in the package metadata due to a bug 27 in setup.py 28 29 0.10.1 30 ------ 31 32 This is a bugfix release 33 34 Bug fixes: 35 36 - Issue #3: The source archive contains a README.txt 37 while the setup file refers to ReadMe.txt. 38 39 This is caused by a misfeature in distutils, as a 40 workaround I've renamed ReadMe.txt to README.txt 41 in the source tree and setup file. 42 43 44 0.10 45 ----- 46 47 This is a minor feature release 48 49 Features: 50 51 - Do not use "2to3" to support Python 3. 52 53 As a side effect of this altgraph now supports 54 Python 2.6 and later, and no longer supports 55 earlier releases of Python. 56 57 - The order of attributes in the Dot output 58 is now always alphabetical. 59 60 With this change the output will be consistent 61 between runs and Python versions. 62 63 0.9 64 --- 65 66 This is a minor bugfix release 67 68 Features: 69 70 - Added ``altgraph.ObjectGraph.ObjectGraph.nodes``, a method 71 yielding all nodes in an object graph. 72 73 Bugfixes: 74 75 - The 0.8 release didn't work with py2app when using 76 python 3.x. 77 78 79 0.8 80 ----- 81 82 This is a minor feature release. The major new feature 83 is a extensive set of unittests, which explains almost 84 all other changes in this release. 85 86 Bugfixes: 87 88 - Installing failed with Python 2.5 due to using a distutils 89 class that isn't available in that version of Python 90 (issue #1 on the issue tracker) 91 92 - ``altgraph.GraphStat.degree_dist`` now actually works 93 94 - ``altgraph.Graph.add_edge(a, b, create_nodes=False)`` will 95 no longer create the edge when one of the nodes doesn't 96 exist. 97 98 - ``altgraph.Graph.forw_topo_sort`` failed for some sparse graphs. 99 100 - ``altgraph.Graph.back_topo_sort`` was completely broken in 101 previous releases. 102 103 - ``altgraph.Graph.forw_bfs_subgraph`` now actually works. 104 105 - ``altgraph.Graph.back_bfs_subgraph`` now actually works. 106 107 - ``altgraph.Graph.iterdfs`` now returns the correct result 108 when the ``forward`` argument is ``False``. 109 110 - ``altgraph.Graph.iterdata`` now returns the correct result 111 when the ``forward`` argument is ``False``. 112 113 114 Features: 115 116 - The ``altgraph.Graph`` constructor now accepts an argument 117 that contains 2- and 3-tuples instead of requireing that 118 all items have the same size. The (optional) argument can now 119 also be any iterator. 120 121 - ``altgraph.Graph.Graph.add_node`` has no effect when you 122 add a hidden node. 123 124 - The private method ``altgraph.Graph._bfs`` is no longer 125 present. 126 127 - The private method ``altgraph.Graph._dfs`` is no longer 128 present. 129 130 - ``altgraph.ObjectGraph`` now has a ``__contains__`` methods, 131 which means you can use the ``in`` operator to check if a 132 node is part of a graph. 133 134 - ``altgraph.GraphUtil.generate_random_graph`` will raise 135 ``GraphError`` instead of looping forever when it is 136 impossible to create the requested graph. 137 138 - ``altgraph.Dot.edge_style`` raises ``GraphError`` when 139 one of the nodes is not present in the graph. The method 140 silently added the tail in the past, but without ensuring 141 a consistent graph state. 142 143 - ``altgraph.Dot.save_img`` now works when the mode is 144 ``"neato"``. 145 146 0.7.2 147 ----- 148 149 This is a minor bugfix release 150 151 Bugfixes: 152 153 - distutils didn't include the documentation subtree 154 155 0.7.1 156 ----- 157 158 This is a minor feature release 159 160 Features: 161 162 - Documentation is now generated using `sphinx <http://pypi.python.org/pypi/sphinx>`_ 163 and can be viewed at <http://packages.python.org/altgraph>. 164 165 - The repository has moved to bitbucket 166 167 - ``altgraph.GraphStat.avg_hops`` is no longer present, the function had no 168 implementation and no specified behaviour. 169 170 - the module ``altgraph.compat`` is gone, which means altgraph will no 171 longer work with Python 2.3. 172 173 174 0.7.0 175 ----- 176 177 This is a minor feature release. 178 179 Features: 180 181 - Support for Python 3 182 183 - It is now possible to run tests using 'python setup.py test' 184 185 (The actual testsuite is still very minimal though) 186