Releases: Stranger6667/hypothesis-graphql
Releases · Stranger6667/hypothesis-graphql
Release 0.6.1
🔧 Performance
- Improve performance on recent Hypothesis versions.
Release 0.6.0
This release adds support for GraphQL mutations, fixes a few missed aliases in generated queries, and improves performance by more than twice.
🚀 Features
- Python 3.10 support.
- Mutations support. #51
- Support PEP-561. #26
🐛 Bug fixes
- Fields with the same name, but different types. #49
- Fields with the same name, and the same arguments that have different enum values. #57
🔧 Performance
- Avoid using
st.builds
in internal strategies. It gives ~65% data generation time reduction in schemas from the test suite. #14
📦 Other
- Rename
strategies.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.
- Cache parsed GraphQL schemas.
v0.5.1
🐛 Bug fixes
🔧 Chores and Improvements
v0.5.0
🚀 Features
🐛 Bug fixes
- 4c7bb6e Always generate required fields in argument types
- 76d99ff Generate only 32-bit signed integers for the
Int
type
🔧 Chores and Improvements
📦 Other
- 99410a7 (test) Reduce tests nesting & reuse code
- 7d2d6e4 Mark the
Contentful
schema as XFAIL
- 846ca3f Mark the
HIVDB
schema as XFAIL
- d7ce673 Remove obsolete tox envs from CONTRIBUTING.rst
- 258d9c9 Add test corpus
v0.4.2
🐛 Bug fixes
- f3e294f Generating invalid queries for nullable enum types as arguments
🔧 Chores and Improvements
📦 Other
- daa10c7 Avoid filtering out empty nodes
v0.4.1
🐛 Bug fixes
- 5cee239 Do not generate Unicode surrogates for
String
types
🔧 Chores and Improvements
v0.4.0
🚀 Features
- 85edbeb Restricting fields in the
query
output via the fields
argument.
🔧 Chores and Improvements
📦 Other
- 82b6125 Disable the
too_slow
health check
v0.3.3
🔧 Chores and Improvements
v0.3.2
🔧 Chores and Improvements
📦 Other
v0.3.1
🚀 Features
- 8a0db3e Support creating
query
strategy from GraphQLSchema
instances
🔧 Chores and Improvements
📦 Other