File tree 3 files changed +19
-14
lines changed
3 files changed +19
-14
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -18,6 +18,24 @@ Hypothesis 6.x
18
18
19
19
.. include :: ../RELEASE.rst
20
20
21
+ .. _v6.102.0 :
22
+
23
+ --------------------
24
+ 6.102.0 - 2024-05-13
25
+ --------------------
26
+
27
+ This release improves our support for the :pypi: `annotated-types ` iterable
28
+ ``GroupedMetadata `` protocol. In order to treat the elements "as if they
29
+ had been unpacked", if one such element is a :class: `~hypothesis.strategies.SearchStrategy `
30
+ we now resolve to that strategy. Previously, we treated this as an unknown
31
+ filter predicate.
32
+
33
+ We expect this to be useful for libraries implementing custom metadata -
34
+ instead of requiring downstream integration, they can implement the protocol
35
+ and yield a lazily-created strategy. Doing so only if Hypothesis is in
36
+ :obj: `sys.modules ` gives powerful integration with no runtime overhead
37
+ or extra dependencies.
38
+
21
39
.. _v6.101.0 :
22
40
23
41
--------------------
Original file line number Diff line number Diff line change 8
8
# v. 2.0. If a copy of the MPL was not distributed with this file, You can
9
9
# obtain one at https://mozilla.org/MPL/2.0/.
10
10
11
- __version_info__ = (6 , 101 , 0 )
11
+ __version_info__ = (6 , 102 , 0 )
12
12
__version__ = "." .join (map (str , __version_info__ ))
You can’t perform that action at this time.
0 commit comments