NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI · #2266 most downloaded on PyPI
Hypothesis strategies for GraphQL queries
Last release 28 days ago
06 Sep 2026
Release timing varies
gaps range from 2 months to 1.5 years
Nearly every release is documented
notes for 27 of 28 stable releases
Nothing withdrawn
no release was ever pulled
6 years old
28 releases · first in 2020
One column per quarter.
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
Your coding agent can read these notes before it upgrades. Set up the MCP server →