Skip to content

Commit

Permalink
Bump hypothesis-python version to 4.28.1 and update changelog
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
DRMacIver committed Jul 12, 2019
1 parent b0bdd58 commit 60cf36a
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 11 deletions.
10 changes: 0 additions & 10 deletions hypothesis-python/RELEASE.rst

This file was deleted.

15 changes: 15 additions & 0 deletions hypothesis-python/docs/changes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,21 @@ Hypothesis APIs come in three flavours:
You should generally assume that an API is internal unless you have specific
information to the contrary.

.. _v4.28.1:

-------------------
4.28.1 - 2019-07-12
-------------------

This patch improves the behaviour of the :func:`~hypothesis.strategies.text`
strategy when passed an ``alphabet`` which is not a strategy. The value is
now interpreted as ``whitelist_characters`` to :func:`~hypothesis.strategies.characters`
instead of a sequence for :func:`~hypothesis.strategies.sampled_from`, which
standardises the distribution of examples and the shrinking behaviour.

You can get the previous behaviour by using
``lists(sampled_from(alphabet)).map("".map)`` instead.

.. _v4.28.0:

-------------------
Expand Down
2 changes: 1 addition & 1 deletion hypothesis-python/src/hypothesis/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@

from __future__ import absolute_import, division, print_function

__version_info__ = (4, 28, 0)
__version_info__ = (4, 28, 1)
__version__ = ".".join(map(str, __version_info__))

0 comments on commit 60cf36a

Please sign in to comment.