16 .. |
16 .. |
17 .. .. _changes_981: |
17 .. .. _changes_981: |
18 .. |
18 .. |
19 .. Version 9.8.1 — 2027-07-27 |
19 .. Version 9.8.1 — 2027-07-27 |
20 .. -------------------------- |
20 .. -------------------------- |
|
21 |
|
22 .. _changes_62: |
|
23 |
|
24 Version 6.2 — 2021-11-26 |
|
25 ------------------------ |
|
26 |
|
27 - Feature: Now the ``--concurrency`` setting can now have a list of values, so |
|
28 that threads and another lightweight threading package can be measured |
|
29 together, such as ``--concurrency=gevent,thread``. Closes `issue 1012`_ and |
|
30 `issue 1082`_. |
|
31 |
|
32 - Fix: A module specified as the ``source`` setting is imported during startup, |
|
33 before the user program imports it. This could cause problems if the rest of |
|
34 the program isn't ready yet. For example, `issue 1203`_ describes a Django |
|
35 setting that is accessed before settings have been configured. Now the early |
|
36 import is wrapped in a try/except so errors then don't stop execution. |
|
37 |
|
38 - Fix: A colon in a decorator expression would cause an exclusion to end too |
|
39 early, preventing the exclusion of the decorated function. This is now fixed. |
|
40 |
|
41 - Fix: The HTML report now will not overwrite a .gitignore file that already |
|
42 exists in the HTML output directory (follow-on for `issue 1244`_). |
|
43 |
|
44 - API: The exceptions raised by Coverage.py have been specialized, to provide |
|
45 finer-grained catching of exceptions by third-party code. |
|
46 |
|
47 - API: Using ``suffix=False`` when constructing a Coverage object with |
|
48 multiprocessing wouldn't suppress the data file suffix (`issue 989`_). This |
|
49 is now fixed. |
|
50 |
|
51 - Debug: The `coverage debug data` command will now sniff out combinable data |
|
52 files, and report on all of them. |
|
53 |
|
54 - Debug: The `coverage debug` command used to accept a number of topics at a |
|
55 time, and show all of them, though this was never documented. This no longer |
|
56 works, to allow for command-line options in the future. |
|
57 |
|
58 .. _issue 989: https://github.com/nedbat/coveragepy/issues/989 |
|
59 .. _issue 1012: https://github.com/nedbat/coveragepy/issues/1012 |
|
60 .. _issue 1082: https://github.com/nedbat/coveragepy/issues/1802 |
|
61 .. _issue 1203: https://github.com/nedbat/coveragepy/issues/1203 |
|
62 |
21 |
63 |
22 .. _changes_612: |
64 .. _changes_612: |
23 |
65 |
24 Version 6.1.2 — 2021-11-10 |
66 Version 6.1.2 — 2021-11-10 |
25 -------------------------- |
67 -------------------------- |