10 development at the same time, such as 4.5.x and 5.0. |
10 development at the same time, such as 4.5.x and 5.0. |
11 |
11 |
12 .. When updating the "Unreleased" header to a specific version, use this |
12 .. When updating the "Unreleased" header to a specific version, use this |
13 .. format. Don't forget the jump target: |
13 .. format. Don't forget the jump target: |
14 .. |
14 .. |
15 .. .. _changes_981: |
15 .. .. _changes_9-8-1: |
16 .. |
16 .. |
17 .. Version 9.8.1 — 2027-07-27 |
17 .. Version 9.8.1 — 2027-07-27 |
18 .. -------------------------- |
18 .. -------------------------- |
|
19 |
|
20 .. _changes_6-4-2: |
|
21 |
|
22 Version 6.4.2 — 2022-07-12 |
|
23 -------------------------- |
|
24 |
|
25 - Updated for a small change in Python 3.11.0 beta 4: modules now start with a |
|
26 line with line number 0, which is ignored. This line cannnot be executed, so |
|
27 coverage totals were thrown off. This line is now ignored by coverage.py, |
|
28 but this also means that truly empty modules (like ``__init__.py``) have no |
|
29 lines in them, rather than one phantom line. Fixes `issue 1419`_. |
|
30 |
|
31 - Internal debugging data added to sys.modules is now an actual module, to |
|
32 avoid confusing code that examines everything in sys.modules. Thanks, |
|
33 Yilei Yang (`pull 1399`_). |
|
34 |
|
35 .. _pull 1399: https://github.com/nedbat/coveragepy/pull/1399 |
|
36 .. _issue 1419: https://github.com/nedbat/coveragepy/issues/1419 |
|
37 |
|
38 |
|
39 .. _changes_6-4-1: |
|
40 |
|
41 Version 6.4.1 — 2022-06-02 |
|
42 -------------------------- |
|
43 |
|
44 - Greatly improved performance on PyPy, and other environments that need the |
|
45 pure Python trace function. Thanks, Carl Friedrich Bolz-Tereick (`pull |
|
46 1381`_ and `pull 1388`_). Slightly improved performance when using the C |
|
47 trace function, as most environments do. Closes `issue 1339`_. |
|
48 |
|
49 - The conditions for using tomllib from the standard library have been made |
|
50 more precise, so that 3.11 alphas will continue to work. Closes `issue |
|
51 1390`_. |
|
52 |
|
53 .. _issue 1339: https://github.com/nedbat/coveragepy/issues/1339 |
|
54 .. _pull 1381: https://github.com/nedbat/coveragepy/pull/1381 |
|
55 .. _pull 1388: https://github.com/nedbat/coveragepy/pull/1388 |
|
56 .. _issue 1390: https://github.com/nedbat/coveragepy/issues/1390 |
|
57 |
19 |
58 |
20 .. _changes_64: |
59 .. _changes_64: |
21 |
60 |
22 Version 6.4 — 2022-05-22 |
61 Version 6.4 — 2022-05-22 |
23 ------------------------ |
62 ------------------------ |
77 |
116 |
78 - Fix: adapt to pypy3.9's decorator tracing behavior. It now traces function |
117 - Fix: adapt to pypy3.9's decorator tracing behavior. It now traces function |
79 decorators like CPython 3.8: both the @-line and the def-line are traced. |
118 decorators like CPython 3.8: both the @-line and the def-line are traced. |
80 Fixes `issue 1326`_. |
119 Fixes `issue 1326`_. |
81 |
120 |
82 - Debug: added ``pybehave`` to the list of :ref:`cmd_debug` and |
121 - Debug: added ``pybehave`` to the list of :ref:`coverage debug <cmd_debug>` |
83 :ref:`cmd_run_debug` options. |
122 and :ref:`cmd_run_debug` options. |
84 |
123 |
85 - Fix: show an intelligible error message if ``--concurrency=multiprocessing`` |
124 - Fix: show an intelligible error message if ``--concurrency=multiprocessing`` |
86 is used without a configuration file. Closes `issue 1320`_. |
125 is used without a configuration file. Closes `issue 1320`_. |
87 |
126 |
88 .. _issue 1320: https://github.com/nedbat/coveragepy/issues/1320 |
127 .. _issue 1320: https://github.com/nedbat/coveragepy/issues/1320 |