|
1 | 1 | Refcycle changelog |
2 | 2 | ================== |
3 | 3 |
|
4 | | -What's new in 0.2.0 |
5 | | -------------------- |
| 4 | +Release 0.2.0 |
| 5 | +------------- |
| 6 | + |
| 7 | +This is a minor release, containing a few new helper methods and |
| 8 | +bugfixes. Highlights include the ``shortest_path`` and ``shortest_cycle`` |
| 9 | +methods, improved annotations, and fixes for performance bugs that make |
| 10 | +linear-time algorithms take quadratic time or worse. |
| 11 | + |
| 12 | +Features |
| 13 | +++++++++ |
| 14 | + |
| 15 | +- Support Python 3.4 through 3.6. (#65, #55) |
6 | 16 |
|
7 | | -- Add annotations for getset_descriptor referents. |
| 17 | +- New ``ObjectGraph`` methods: ``shortest_cycle``, ``find_by_typename`` |
| 18 | + and ``count_by_typename``. (#64) |
| 19 | + |
| 20 | +- New ``shortest_path`` method. (#61) |
8 | 21 |
|
9 | 22 | - Reduce memory usage of the AnnotatedGraph object by adding __slots__ |
10 | 23 | to the AnnotatedEdge and AnnotatedVertex types. |
11 | 24 |
|
| 25 | +- Add specific annotation for ``module`` objects. |
| 26 | + |
| 27 | +- Add specific annotations for ``getset_descriptor`` objects. |
| 28 | + |
| 29 | +Changes |
| 30 | ++++++++ |
| 31 | + |
| 32 | +- Use the current line number instead of the first line number in |
| 33 | + the annotations for ``frame`` objects. (#50) |
| 34 | + |
| 35 | +Fixes |
| 36 | ++++++ |
| 37 | + |
| 38 | +- Fix quadratic-time behaviour in ``DirectedGraph.full_subgraph``. (#63) |
| 39 | + |
| 40 | +- Fix non-linear (exponential, in extreme cases) running time in |
| 41 | + ``descendants`` and ``ancestors`` methods. (#62) |
| 42 | + |
| 43 | +- Fix annotations for functions with no ``__name__`` attribute. (#59) |
| 44 | + |
| 45 | +- In Python 2, fix annotations for bound methods with no ``im_class`` |
| 46 | + attribute. (#56) |
12 | 47 |
|
13 | | -Changes since 0.1.2 |
14 | | -------------------- |
| 48 | +- Fix annotations for some peculiar ``frame`` objects whose ``f_locals`` dict |
| 49 | + has been replaced with a dict-like object. (The Enaml package does this.) (#51) |
15 | 50 |
|
16 | 51 | - Fix missing annotation for f_trace on frames. This was causing one |
17 | | - of the tests to fail when run under coverage. |
| 52 | + of the tests to fail when run under coverage. (#41) |
18 | 53 |
|
19 | 54 |
|
20 | 55 | Release 0.1.2 |
|
0 commit comments