changelog.rst 4.2 KB

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