This patch improves the type hints and documentation for the :doc:`django extra. <django>` There is no runtime change.
4.57.0
Not secure
-------------------
This release improves support for the SupportsOp protocols from the :mod:`python:typing` module when using on :func:`~hypothesis.strategies.from_type` as outlined in :issue:`2292`. The following types now generate much more varied strategies when called with :func:`~hypothesis.strategies.from_type`:
Note that using :func:`~hypothesis.strategies.from_type` with one of the above strategies will not ensure that the the specified function will execute successfully (ie : the strategy returned for ``from_type(typing.SupportsAbs)`` may include NaNs or things which cause the :func:`python:abs` function to error. )
Thanks to Lea Provenzano for this patch.
4.56.3
Not secure
-------------------
This release fixes a small internal bug in shrinking which could have caused it to perform slightly more tests than were necessary. Fixing this shouldn't have much effect but it will make shrinking slightly faster.
4.56.2
Not secure
-------------------
This release removes an internal heuristic that was no longer providing much benefit. It is unlikely that there will be any user visible effect.
4.56.1
Not secure
-------------------
This release further improves the optimisation algorithm for :ref:`targeted property-based testing <targeted-search>`.
4.56.0
Not secure
-------------------
This release enables deprecation warnings even when the :obj:`~hypothesis.settings.verbosity` setting is ``quiet``, in preparation for Hypothesis 5.0 (:issue:`2218`).
Warnings can still be filtered by the standard mechanisms provided in the standard-library :mod:`python:warnings` module.