NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI
PyPI, #1907 most downloaded on PyPI
Hypothesis strategies for GraphQL queries
Latest stable
0.13.6
Last release 25 days ago
28 Oct 2026
Release timing varies
gaps range from 8 days to 1.5 years
Nearly every release is documented
notes for 31 of 32 stable releases
Nothing withdrawn
no release was ever pulled
7 years old
32 releases · first in 2020
Drag across the ruler to compare, or tap a release to open it.
Support for @oneOf input objects.
@oneOf input objects.__all__ in hypothesis_graphql and hypothesis_graphql.strategies .
__all__ in hypothesis_graphql and hypothesis_graphql.strategies.Typing :: Typed classifier.queries, mutations and from_schema return SearchStrategy[T] for a custom print_ast returning T.custom_scalars accepts any Mapping.Your coding agent can read these notes before it upgrades. Set up the MCP server →
Use default values that are input objects for arguments and input fields. #248
Support graphql-core 3.3 alongside 3.1 and 3.2. #245
Valid queries in NEGATIVE mode when a non-null argument has a default value.
NEGATIVE mode when a non-null argument has a default value.Cache min_depths and build_oracle per schema instead of recomputing them for every root field.
min_depths and build_oracle per schema instead of recomputing them for every root field.More even field and violation distribution across schema depth.
Support for Python 3.13 and 3.14.
The allow_null option that controls if optional arguments may be null . True by default.
allow_null option that controls if optional arguments may be null. True by default.Include tests in the source tarball. #82
allow_x00 and codec arguments to queries, mutations, and from_schema.6.84.3.Build : Switch the build backend to Hatch .
### Added - Support for Python 3.11.
Use poetry-core for building the package.
Use poetry-core for building the package.
The from_schema function which takes a GraphQL schema and returns a Hypothesis strategy for defined queries and mutations.
from_schema function which takes a GraphQL schema and returns a Hypothesis strategy for defined queries and mutations.InvalidArgument exception when invalid input is passed to the generator functions.hypothesis_graphql.schemas as it is not complete and not tested well.Internal error on invalid schemas that contain interfaces without fields.
Expose validate_scalar_strategy in the public API
validate_scalar_strategy in the public APIvalidate_scalar_strategy in the public API.Support for using default values of arguments and input fields. #71
hypothesis_graphql.nodes module to simplify working with custom scalars.
hypothesis_graphql.nodes module to simplify working with custom scalars.hypothesis_graphql.nodes module to simplify working with custom scalars.Support for custom query printers. #21
null for nullable custom scalars in the argument position. #35null for nullable custom scalars in the argument position. #35Improve performance on recent Hypothesis versions.
This release adds support for GraphQL mutations, fixes a few missed aliases in generated queries, and improves performance by more than twice.
This release adds support for GraphQL mutations, fixes a few missed aliases in generated queries, and improves performance by more than twice.
st.builds in internal strategies. It gives ~65% data generation time reduction in schemas from the test suite. #14strategies.query to strategies.queries and strategies.schema to strategies.schemas, so they conform with the recommended naming of Hypothesis strategies. Old names are preserved for backward compatibility.Invalid queries:
st.builds in internal strategies. It gives ~65% data generation time reduction in schemas from the test suite. #14strategies.query to strategies.queries and strategies.schema to strategies.schemas, so they conform with the recommended naming of Hypothesis strategies.
Old names are preserved for backward-compatibility.d3259b5 Relax dependency on attrs
attrs4c7bb6e Always generate required fields in argument types
Int typeContentful schema as XFAILHIVDB schema as XFAILInt type. #40f3e294f Generating invalid queries for nullable enum types as arguments
5cee239 Do not generate Unicode surrogates for String types
String typesString types. #3085edbeb Restricting fields in the query output via the fields argument.
query output via the fields argument.too_slow health checkquery output via the fields argument.959e76c Add RST check & blacken-docs
HypothesisHypothesis.29a6805 Shrink enums to their first values
TypeError in such cases.Enum types to their first value instead of the first value in their sorted list.8a0db3e Support creating query strategy from GraphQLSchema instances
query strategy from GraphQLSchema instancesquery strategies from GraphQLSchema instances9860147 Query arguments generation
st.SearchStrategyba7275f Improve error message when a schema has no "Query" type
Nothing published for this version
One column per quarter.