OLD | NEW |
1 .. _changes: | 1 .. _changes: |
2 | 2 |
3 ==================================== | 3 ==================================== |
4 Major change history for coverage.py | 4 Major change history for coverage.py |
5 ==================================== | 5 ==================================== |
6 | 6 |
7 :history: 20090524T134300, brand new docs. | 7 :history: 20090524T134300, brand new docs. |
8 :history: 20090613T164000, final touches for 3.0 | 8 :history: 20090613T164000, final touches for 3.0 |
9 :history: 20090706T205000, changes for 3.0.1 | 9 :history: 20090706T205000, changes for 3.0.1 |
10 :history: 20091004T170700, changes for 3.1 | 10 :history: 20091004T170700, changes for 3.1 |
11 :history: 20091128T072200, changes for 3.2 | 11 :history: 20091128T072200, changes for 3.2 |
12 :history: 20091205T161525, 3.2 final | 12 :history: 20091205T161525, 3.2 final |
13 :history: 20100221T151900, changes for 3.3 | 13 :history: 20100221T151900, changes for 3.3 |
14 :history: 20100306T181400, changes for 3.3.1 | 14 :history: 20100306T181400, changes for 3.3.1 |
15 :history: 20100725T211700, updated for 3.4. | 15 :history: 20100725T211700, updated for 3.4. |
16 :history: 20100820T151500, updated for 3.4b1 | 16 :history: 20100820T151500, updated for 3.4b1 |
17 :history: 20100906T133800, updated for 3.4b2 | 17 :history: 20100906T133800, updated for 3.4b2 |
18 :history: 20100919T163400, updated for 3.4 release. | 18 :history: 20100919T163400, updated for 3.4 release. |
19 :history: 20110604T214100, updated for 3.5b1 | 19 :history: 20110604T214100, updated for 3.5b1 |
20 :history: 20110629T082200, updated for 3.5 | 20 :history: 20110629T082200, updated for 3.5 |
21 :history: 20110923T081600, updated for 3.5.1 | 21 :history: 20110923T081600, updated for 3.5.1 |
22 :history: 20120429T162100, updated for 3.5.2b1 | 22 :history: 20120429T162100, updated for 3.5.2b1 |
23 :history: 20120503T233700, updated for 3.5.2 | 23 :history: 20120503T233700, updated for 3.5.2 |
24 :history: 20120929T093100, updated for 3.5.3 | 24 :history: 20120929T093100, updated for 3.5.3 |
25 :history: 20121129T060100, updated for 3.6b1. | 25 :history: 20121129T060100, updated for 3.6b1. |
26 :history: 20121223T180600, updated for 3.6b2. | 26 :history: 20121223T180600, updated for 3.6b2. |
27 :history: 20130105T173500, updated for 3.6 | 27 :history: 20130105T173500, updated for 3.6 |
| 28 :history: 20131005T205700, updated for 3.7 |
| 29 :history: 20131212T213100, updated for 3.7.1 |
28 | 30 |
29 | 31 |
30 These are the major changes for coverage.py. For a more complete change | 32 These are the major changes for coverage.py. For a more complete change |
31 history, see the `CHANGES.txt`_ file in the source tree. | 33 history, see the `CHANGES.txt`_ file in the source tree. |
32 | 34 |
33 .. _CHANGES.txt: http://bitbucket.org/ned/coveragepy/src/tip/CHANGES.txt | 35 .. _CHANGES.txt: http://bitbucket.org/ned/coveragepy/src/tip/CHANGES.txt |
34 | 36 |
35 | 37 |
| 38 .. _changes_371: |
| 39 |
| 40 Version 3.7.1 --- 13 December 2013 |
| 41 ---------------------------------- |
| 42 |
| 43 - Improved the speed of HTML report generation by about 20%. |
| 44 |
| 45 - Fixed the mechanism for finding OS-installed static files for the HTML report |
| 46 so that it will actually find OS-installed static files. |
| 47 |
| 48 |
| 49 .. _changes_37: |
| 50 |
| 51 Version 3.7 --- 6 October 2013 |
| 52 ------------------------------ |
| 53 |
| 54 - Added the ``--debug`` switch to ``coverage run``. It accepts a list of |
| 55 options indicating the type of internal activity to log to stderr. For |
| 56 details, see :ref:`the run --debug options <cmd_run_debug>`. |
| 57 |
| 58 - Improved the branch coverage facility, fixing `issue 92`_ and `issue 175`_. |
| 59 |
| 60 - Running code with ``coverage run -m`` now behaves more like Python does, |
| 61 setting sys.path properly, which fixes `issue 207`_ and `issue 242`_. |
| 62 |
| 63 - Coverage can now run .pyc files directly, closing `issue 264`_. |
| 64 |
| 65 - Coverage properly supports .pyw files, fixing `issue 261`_. |
| 66 |
| 67 - Omitting files within a tree specified with the ``source`` option would |
| 68 cause them to be incorrectly marked as unexecuted, as described in |
| 69 `issue 218`_. This is now fixed. |
| 70 |
| 71 - When specifying paths to alias together during data combining, you can now |
| 72 specify relative paths, fixing `issue 267`_. |
| 73 |
| 74 - Most file paths can now be specified with username expansion (``~/src``, or |
| 75 ``~build/src``, for example), and with environment variable expansion |
| 76 (``build/$BUILDNUM/src``). |
| 77 |
| 78 - Trying to create an XML report with no files to report on, would cause a |
| 79 ZeroDivideError, but no longer does, fixing `issue 250`_. |
| 80 |
| 81 - When running a threaded program under the Python tracer, coverage no longer |
| 82 issues a spurious warning about the trace function changing: "Trace function |
| 83 changed, measurement is likely wrong: None." This fixes `issue 164`_. |
| 84 |
| 85 - Static files necessary for HTML reports are found in system-installed places, |
| 86 to ease OS-level packaging of coverage.py. Closes `issue 259`_. |
| 87 |
| 88 - Source files with encoding declarations, but a blank first line, were not |
| 89 decoded properly. Now they are. Thanks, Roger Hu. |
| 90 |
| 91 - The source kit now includes the ``__main__.py`` file in the root coverage |
| 92 directory, fixing `issue 255`_. |
| 93 |
| 94 .. _issue 92: https://bitbucket.org/ned/coveragepy/issue/92/finally-clauses-aren
t-treated-properly-in |
| 95 .. _issue 164: https://bitbucket.org/ned/coveragepy/issue/164/trace-function-cha
nged-warning-when-using |
| 96 .. _issue 175: https://bitbucket.org/ned/coveragepy/issue/175/branch-coverage-ge
ts-confused-in-certain |
| 97 .. _issue 207: https://bitbucket.org/ned/coveragepy/issue/207/run-m-cannot-find-
module-or-package-in |
| 98 .. _issue 242: https://bitbucket.org/ned/coveragepy/issue/242/running-a-two-leve
l-package-doesnt-work |
| 99 .. _issue 218: https://bitbucket.org/ned/coveragepy/issue/218/run-command-does-n
ot-respect-the-omit-flag |
| 100 .. _issue 250: https://bitbucket.org/ned/coveragepy/issue/250/uncaught-zerodivis
ionerror-when-generating |
| 101 .. _issue 255: https://bitbucket.org/ned/coveragepy/issue/255/directory-level-__
main__py-not-included-in |
| 102 .. _issue 259: https://bitbucket.org/ned/coveragepy/issue/259/allow-use-of-syste
m-installed-third-party |
| 103 .. _issue 261: https://bitbucket.org/ned/coveragepy/issue/261/pyw-files-arent-re
ported-properly |
| 104 .. _issue 264: https://bitbucket.org/ned/coveragepy/issue/264/coverage-wont-run-
pyc-files |
| 105 .. _issue 267: https://bitbucket.org/ned/coveragepy/issue/267/relative-path-alia
ses-dont-work |
| 106 |
| 107 |
36 Version 3.6 --- 5 January 2013 | 108 Version 3.6 --- 5 January 2013 |
37 ------------------------------ | 109 ------------------------------ |
38 | 110 |
39 Features: | 111 Features: |
40 | 112 |
41 - The **report**, **html**, and **xml** commands now accept a ``--fail-under`` | 113 - The **report**, **html**, and **xml** commands now accept a ``--fail-under`` |
42 switch that indicates in the exit status whether the coverage percentage was | 114 switch that indicates in the exit status whether the coverage percentage was |
43 less than a particular value. Closes `issue 139`_. | 115 less than a particular value. Closes `issue 139`_. |
44 | 116 |
45 - The reporting functions coverage.report(), coverage.html_report(), and | 117 - The reporting functions coverage.report(), coverage.html_report(), and |
(...skipping 20 matching lines...) Expand all Loading... |
66 - The coverage.py installer no longer tries to bootstrap setuptools or | 138 - The coverage.py installer no longer tries to bootstrap setuptools or |
67 Distribute. You must have one of them installed first, as `issue 202`_ | 139 Distribute. You must have one of them installed first, as `issue 202`_ |
68 recommended. | 140 recommended. |
69 | 141 |
70 - The coverage.py kit now includes docs (closing `issue 137`_) and tests. | 142 - The coverage.py kit now includes docs (closing `issue 137`_) and tests. |
71 | 143 |
72 Docs: | 144 Docs: |
73 | 145 |
74 - Added a page to the docs about :doc:`contributing <contributing>` to | 146 - Added a page to the docs about :doc:`contributing <contributing>` to |
75 coverage.py, closing `issue 171`_. | 147 coverage.py, closing `issue 171`_. |
76 | 148 |
77 - Added a page to the docs about :doc:`troublesome situations <trouble>`, | 149 - Added a page to the docs about :doc:`troublesome situations <trouble>`, |
78 closing `issue 226`_. | 150 closing `issue 226`_. |
79 | 151 |
80 - Docstrings for the legacy singleton methods are more helpful. Thanks Marius | 152 - Docstrings for the legacy singleton methods are more helpful. Thanks Marius |
81 Gedminas. Closes `issue 205`_. | 153 Gedminas. Closes `issue 205`_. |
82 | 154 |
83 - The pydoc tool can now show docmentation for the class `coverage.coverage`. | 155 - The pydoc tool can now show docmentation for the class `coverage.coverage`. |
84 Closes `issue 206`_. | 156 Closes `issue 206`_. |
85 | 157 |
86 - Added some info to the TODO file, closing `issue 227`_. | 158 - Added some info to the TODO file, closing `issue 227`_. |
87 | 159 |
88 Fixes: | 160 Fixes: |
89 | 161 |
(...skipping 530 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
620 the coverage object itself. | 692 the coverage object itself. |
621 | 693 |
622 - Added clear_exclude() and get_exclude_list() methods for programmatic | 694 - Added clear_exclude() and get_exclude_list() methods for programmatic |
623 manipulation of the exclude regexes. | 695 manipulation of the exclude regexes. |
624 | 696 |
625 - Added coverage.load() to read previously-saved data from the data file. | 697 - Added coverage.load() to read previously-saved data from the data file. |
626 | 698 |
627 - coverage.annotate_file is no longer available. | 699 - coverage.annotate_file is no longer available. |
628 | 700 |
629 - Removed the undocumented cache_file argument to coverage.usecache(). | 701 - Removed the undocumented cache_file argument to coverage.usecache(). |
OLD | NEW |