diff options
-rw-r--r-- | CHANGES.rst | 4 | ||||
-rw-r--r-- | doc/changes.rst | 50 | ||||
-rw-r--r-- | doc/conf.py | 2 | ||||
-rw-r--r-- | doc/index.rst | 3 |
4 files changed, 55 insertions, 4 deletions
diff --git a/CHANGES.rst b/CHANGES.rst index f5836b14..1859ef21 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -6,8 +6,8 @@ Change history for Coverage.py ============================== -Version 4.0.1 -------------- +Version 4.0.1 --- 13 October 2015 +--------------------------------- - When combining data files, unreadable files will now generate a warning instead of failing the command. This is more in line with the older diff --git a/doc/changes.rst b/doc/changes.rst index d7ba8193..3e25149d 100644 --- a/doc/changes.rst +++ b/doc/changes.rst @@ -34,6 +34,7 @@ Major change history for coverage.py .. :history: 20150802T174700, updated for 4.0b1 .. :history: 20150822T092800, updated for 4.0b2 .. :history: 20150919T072700, updated for 4.0 +.. :history: 20151013T103000, updated for 4.0.1 These are the major changes for coverage.py. For a more complete change @@ -43,6 +44,55 @@ history, see the `CHANGES.rst`_ file in the source tree. .. module:: coverage +.. _changes_401: + +Version 4.0.1 --- 13 October 2015 +--------------------------------- + +- When combining data files, unreadable files will now generate a warning + instead of failing the command. This is more in line with the older + coverage.py v3.7.1 behavior, which silently ignored unreadable files. + Prompted by `issue 418`_. + +- The --skip-covered option would skip reporting on 100% covered files, but + also skipped them when calculating total coverage. This was wrong, it should + only remove lines from the report, not change the final answer. This is now + fixed, closing `issue 423`_. + +- In 4.0, the data file recorded a summary of the system on which it was run. + Combined data files would keep all of those summaries. This could lead to + enormous data files consisting of mostly repetitive useless information. That + summary is now gone, fixing `issue 415`_. If you want summary information, + get in touch, and we'll figure out a better way to do it. + +- Test suites that mocked os.path.exists would experience strange failures, due + to coverage.py using their mock inadvertently. This is now fixed, closing + `issue 416`_. + +- Importing a ``__init__`` module explicitly would lead to an error: + ``AttributeError: 'module' object has no attribute '__path__'``, as reported + in `issue 410`_. This is now fixed. + +- Code that uses ``sys.settrace(sys.gettrace())`` used to incur a more than 2x + speed penalty. Now there's no penalty at all. Fixes `issue 397`_. + +- Pyexpat C code will no longer be recorded as a source file, fixing + `issue 419`_. + +- The source kit now contains all of the files needed to have a complete source + tree, re-fixing `issue 137`_ and closing `issue 281`_. + +.. _issue 137: https://bitbucket.org/ned/coveragepy/issues/137/provide-docs-with-source-distribution +.. _issue 281: https://bitbucket.org/ned/coveragepy/issues/281/supply-scripts-for-testing-in-the +.. _issue 397: https://bitbucket.org/ned/coveragepy/issues/397/stopping-and-resuming-coverage-with +.. _issue 410: https://bitbucket.org/ned/coveragepy/issues/410/attributeerror-module-object-has-no +.. _issue 415: https://bitbucket.org/ned/coveragepy/issues/415/repeated-coveragedataupdates-cause +.. _issue 416: https://bitbucket.org/ned/coveragepy/issues/416/mocking-ospathexists-causes-failures +.. _issue 418: https://bitbucket.org/ned/coveragepy/issues/418/json-parse-error +.. _issue 419: https://bitbucket.org/ned/coveragepy/issues/419/nosource-no-source-for-code-path-to-c +.. _issue 423: https://bitbucket.org/ned/coveragepy/issues/423/skip_covered-changes-reported-total + + .. _changes_40: Version 4.0 --- 20 September 2015 diff --git a/doc/conf.py b/doc/conf.py index 70ce6987..be00403a 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -58,7 +58,7 @@ copyright = u'2009\N{EN DASH}2015, Ned Batchelder' # The short X.Y version. version = '4.0' # The full version, including alpha/beta/rc tags. -release = '4.0' +release = '4.0.1' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/doc/index.rst b/doc/index.rst index 56952c82..725db71f 100644 --- a/doc/index.rst +++ b/doc/index.rst @@ -40,6 +40,7 @@ Coverage.py .. :history: 20150802T160200, Updated for 4.0b1 .. :history: 20150822T092900, Updated for 4.0b2 .. :history: 20150918T072700, Updated for 4.0 +.. :history: 20151013T103200, Updated for 4.0.1 Coverage.py is a tool for measuring code coverage of Python programs. It @@ -52,7 +53,7 @@ not. .. ifconfig:: not prerelease - The latest version is coverage.py 4.0, released 20 September 2015. + The latest version is coverage.py 4.0.1, released 13 October 2015. It is supported on Python versions 2.6, 2.7, 3.3, 3.4, and 3.5, as well as PyPy 2.4 and 2.6, and PyPy3 2.4. |