18 .. |
18 .. |
19 .. .. _changes_981: |
19 .. .. _changes_981: |
20 .. |
20 .. |
21 .. Version 9.8.1 --- 2027-07-27 |
21 .. Version 9.8.1 --- 2027-07-27 |
22 .. ---------------------------- |
22 .. ---------------------------- |
|
23 |
|
24 .. _changes_55: |
|
25 |
|
26 Version 5.5 --- 2021-02-28 |
|
27 -------------------------- |
|
28 |
|
29 - ``coverage combine`` has a new option, ``--keep`` to keep the original data |
|
30 files after combining them. The default is still to delete the files after |
|
31 they have been combined. This was requested in `issue 1108`_ and implemented |
|
32 in `pull request 1110`_. Thanks, Éric Larivière. |
|
33 |
|
34 - When reporting missing branches in ``coverage report``, branches aren't |
|
35 reported that jump to missing lines. This adds to the long-standing behavior |
|
36 of not reporting branches from missing lines. Now branches are only reported |
|
37 if both the source and destination lines are executed. Closes both `issue |
|
38 1065`_ and `issue 955`_. |
|
39 |
|
40 - Minor improvements to the HTML report: |
|
41 |
|
42 - The state of the line visibility selector buttons is saved in local storage |
|
43 so you don't have to fiddle with them so often, fixing `issue 1123`_. |
|
44 |
|
45 - It has a little more room for line numbers so that 4-digit numbers work |
|
46 well, fixing `issue 1124`_. |
|
47 |
|
48 - Improved the error message when combining line and branch data, so that users |
|
49 will be more likely to understand what's happening, closing `issue 803`_. |
|
50 |
|
51 .. _issue 803: https://github.com/nedbat/coveragepy/issues/803 |
|
52 .. _issue 955: https://github.com/nedbat/coveragepy/issues/955 |
|
53 .. _issue 1065: https://github.com/nedbat/coveragepy/issues/1065 |
|
54 .. _issue 1108: https://github.com/nedbat/coveragepy/issues/1108 |
|
55 .. _pull request 1110: https://github.com/nedbat/coveragepy/pull/1110 |
|
56 .. _issue 1123: https://github.com/nedbat/coveragepy/issues/1123 |
|
57 .. _issue 1124: https://github.com/nedbat/coveragepy/issues/1124 |
|
58 |
|
59 |
|
60 .. _changes_54: |
|
61 |
|
62 Version 5.4 --- 2021-01-24 |
|
63 -------------------------- |
|
64 |
|
65 - The text report produced by ``coverage report`` now always outputs a TOTAL |
|
66 line, even if only one Python file is reported. This makes regex parsing |
|
67 of the output easier. Thanks, Judson Neer. This had been requested a number |
|
68 of times (`issue 1086`_, `issue 922`_, `issue 732`_). |
|
69 |
|
70 - The ``skip_covered`` and ``skip_empty`` settings in the configuration file |
|
71 can now be specified in the ``[html]`` section, so that text reports and HTML |
|
72 reports can use separate settings. The HTML report will still use the |
|
73 ``[report]`` settings if there isn't a value in the ``[html]`` section. |
|
74 Closes `issue 1090`_. |
|
75 |
|
76 - Combining files on Windows across drives now works properly, fixing `issue |
|
77 577`_. Thanks, `Valentin Lab <pr1080_>`_. |
|
78 |
|
79 - Fix an obscure warning from deep in the _decimal module, as reported in |
|
80 `issue 1084`_. |
|
81 |
|
82 - Update to support Python 3.10 alphas in progress, including `PEP 626: Precise |
|
83 line numbers for debugging and other tools <pep626_>`_. |
|
84 |
|
85 .. _issue 577: https://github.com/nedbat/coveragepy/issues/577 |
|
86 .. _issue 732: https://github.com/nedbat/coveragepy/issues/732 |
|
87 .. _issue 922: https://github.com/nedbat/coveragepy/issues/922 |
|
88 .. _issue 1084: https://github.com/nedbat/coveragepy/issues/1084 |
|
89 .. _issue 1086: https://github.com/nedbat/coveragepy/issues/1086 |
|
90 .. _issue 1090: https://github.com/nedbat/coveragepy/issues/1090 |
|
91 .. _pr1080: https://github.com/nedbat/coveragepy/pull/1080 |
|
92 .. _pep626: https://www.python.org/dev/peps/pep-0626/ |
|
93 |
23 |
94 |
24 .. _changes_531: |
95 .. _changes_531: |
25 |
96 |
26 Version 5.3.1 --- 2020-12-19 |
97 Version 5.3.1 --- 2020-12-19 |
27 ---------------------------- |
98 ---------------------------- |