🚀 This release upgrades the test statistics available via the
--hypothesis-show-statistics option to include separate information on
each of the "phases" (issue #1555).
This patch teaches the "from_type()" internals to return slightly more
efficient strategies for some generic sets and mappings.
This patch adds a "# noqa" comment for flake8 3.8.0, which disagrees
with mypy about how to write the type of "...".
🚀 This release limits the maximum duration of the shrinking phase to
five minutes, so that Hypothesis does not appear to hang when making
very slow progress shrinking a failing example (issue #2340).
✅ If one of your tests triggers this logic, we would really appreciate a
🐛 bug report to help us improve the shrinker for difficult but realistic
If you have django installed but don't use it, this patch will make
"import hypothesis" a few hundred milliseconds faster (e.g. 0.704s ->
Thanks to importtime-waterfall for highlighting this problem and Jake
Vanderplas for the solution - it's impossible to misuse code from a
module you haven't imported!
🏗 This patch improves the internals of "builds()" type inference, to
🖐 handle recursive forward references in certain dataclasses. This is
👉 useful for e.g. hypothesmith's forthcoming LibCST mode.
🚀 This release reverses the order in which some operations are tried
🐎 during shrinking. This should generally be a slight performance
👌 improvement, but most tests are unlikely to notice much difference.
🛠 This patch fixes issue #2406, where use of "pandas.Timestamp" objects
as bounds for the "datetimes()" strategy caused an internal error.
This bug was introduced in version 5.8.1.
🚀 This release is a small internal refactoring to how shrinking
✅ interacts with targeted property-based testing that should have no
👉 user user visible impact.