Skip to content

Commit

Permalink
Bump hypothesis-python version to 6.84.0 and update changelog
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
DRMacIver committed Sep 4, 2023
1 parent 09d9cd5 commit 56c065a
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 14 deletions.
13 changes: 0 additions & 13 deletions hypothesis-python/RELEASE.rst

This file was deleted.

18 changes: 18 additions & 0 deletions hypothesis-python/docs/changes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,24 @@ Hypothesis 6.x

.. include:: ../RELEASE.rst

.. _v6.84.0:

-------------------
6.84.0 - 2023-09-04
-------------------

The :func:`~hypothesis.strategies.from_regex` strategy now takes an optional
``alphabet=characters(codec="utf-8")`` argument for unicode strings, like
:func:`~hypothesis.strategies.text`.

This offers more and more-consistent control over the generated strings,
removing previously-hard-coded limitations. With ``fullmatch=False`` and
``alphabet=characters()``, surrogate characters are now possible in leading
and trailing text as well as the body of the match. Negated character classes
such as ``[^A-Z]`` or ``\S`` had a hard-coded exclusion of control characters
and surrogate characters; now they permit anything in ``alphabet=`` consistent
with the class, and control characters are permitted by default.

.. _v6.83.2:

-------------------
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 @@ -8,5 +8,5 @@
# v. 2.0. If a copy of the MPL was not distributed with this file, You can
# obtain one at https://mozilla.org/MPL/2.0/.

__version_info__ = (6, 83, 2)
__version_info__ = (6, 84, 0)
__version__ = ".".join(map(str, __version_info__))

0 comments on commit 56c065a

Please sign in to comment.