summaryrefslogtreecommitdiff
path: root/CHANGES.rst
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2019-10-02 13:49:47 -0400
committerNed Batchelder <ned@nedbatchelder.com>2019-10-02 16:15:03 -0400
commit484e3639deabeccd4bbb3c2183e0e6c0f9407057 (patch)
tree1ad95727dc4303b2358fb6a3e3b8184a80b8d7b0 /CHANGES.rst
parent079b6d8f145f50918461a4568d9a961e1eb38024 (diff)
downloadpython-coveragepy-git-484e3639deabeccd4bbb3c2183e0e6c0f9407057.tar.gz
Context patterns are regexes, not globs
Diffstat (limited to 'CHANGES.rst')
-rw-r--r--CHANGES.rst7
1 files changed, 6 insertions, 1 deletions
diff --git a/CHANGES.rst b/CHANGES.rst
index adcccb1a..5e8ac672 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -20,7 +20,12 @@ development at the same time, such as 4.5.x and 5.0.
Unreleased
----------
-Nothing yet.
+- The :class:`.CoverageData` API has changed how queries are limited to
+ specific contexts. Now you use :meth:`.CoverageData.set_query_context` to
+ set a single exact-match string, or :meth:`.CoverageData.set_query_contexts`
+ to set a list of regular expressions to match contexts. This changes the
+ command-line ``--contexts`` option to use regular expressions instead of
+ filename-style wildcards.
.. _changes_50a7: