Releases: HypothesisWorks/hypothesis
Hypothesis for Python - version 6.127.2
Adjust type hints for the pub-sub database implementation in version
6.126.0, and remove a remnant debug print in its implementation.
The canonical version of these notes (with links) is on readthedocs.
Hypothesis for Python - version 6.127.1
Improve the clarity of printing counterexamples in stateful testing,
by avoiding confusing "Bundle" references with equivalent values drawn
from a regular strategy.
For example, we now print:
instead of
if the "unrelated" rule draws from a regular strategy such as
"integers()" instead of the "a" bundle.
The canonical version of these notes (with links) is on readthedocs.
Hypothesis for Python - version 6.127.0
This releases adds support for type aliases created with the "type"
statement (new in python 3.12) to "from_type()" and
"register_type_strategy()".
The canonical version of these notes (with links) is on readthedocs.
Hypothesis for Python - version 6.126.0
The Hypothesis database now supports a pub-sub interface to
efficiently listen for changes in the database, via ".add_listener"
and ".remove_listener". While all databases that ship with Hypothesis
support this interface, implementing it is not required for custom
database subclasses. Hypothesis will warn when trying to listen on a
database without support.
This feature is currently only used downstream in hypofuzz.
The canonical version of these notes (with links) is on readthedocs.
Hypothesis for Python - version 6.125.3
Improves sharing of some internal cache behavior.
The canonical version of these notes (with links) is on readthedocs.
Hypothesis for Python - version 6.125.2
Optimize performance (improves speed by ~5%) and clarify the wording
in an error message.
The canonical version of these notes (with links) is on readthedocs.
Hypothesis for Python - version 6.125.1
Fixes a bug since around version 6.124.4 where we might have generated
"-0.0" for "st.floats(min_value=0.0)", which is unsound.
The canonical version of these notes (with links) is on readthedocs.
Hypothesis for Python - version 6.125.0
Add 2024.12 to the list of recognized Array API versions in
"hypothesis.extra.array_api".
The canonical version of these notes (with links) is on readthedocs.
Hypothesis for Python - version 6.124.9
Registration of experimental Alternative backends for Hypothesis is
now done via
"hypothesis.internal.conjecture.providers.AVAILABLE_PROVIDERS" instead
of "hypothesis.internal.conjecture.data.AVAILABLE_PROVIDERS".
The canonical version of these notes (with links) is on readthedocs.
Hypothesis for Python - version 6.124.8
Refactor some internals for better type hinting.
The canonical version of these notes (with links) is on readthedocs.