Skip to content

Releases: Stranger6667/hypothesis-graphql

Release 0.6.1

25 Apr 22:51
v0.6.1
693cde9
Compare
Choose a tag to compare

🔧 Performance

  • Improve performance on recent Hypothesis versions.

Release 0.6.0

25 Apr 15:16
v0.6.0
e315d27
Compare
Choose a tag to compare

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

05 Aug 09:15
v0.5.1
f909fda
Compare
Choose a tag to compare

🐛 Bug fixes

  • d3259b5 Relax dependency on attrs

🔧 Chores and Improvements

v0.5.0

30 Apr 11:21
v0.5.0
509d172
Compare
Choose a tag to compare

🚀 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

21 Apr 17:54
v0.4.2
f7bfba4
Compare
Choose a tag to compare

🐛 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

15 Apr 16:53
v0.4.1
41771a1
Compare
Choose a tag to compare

🐛 Bug fixes

  • 5cee239 Do not generate Unicode surrogates for String types

🔧 Chores and Improvements

v0.4.0

27 Mar 10:30
v0.4.0
00091f9
Compare
Choose a tag to compare

🚀 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

15 Jan 10:36
v0.3.3
7b5d2f6
Compare
Choose a tag to compare

🔧 Chores and Improvements

v0.3.2

27 Sep 16:34
v0.3.2
0e77fc2
Compare
Choose a tag to compare

🔧 Chores and Improvements

📦 Other

v0.3.1

04 Jun 15:06
v0.3.1
64c8bfa
Compare
Choose a tag to compare

🚀 Features

  • 8a0db3e Support creating query strategy from GraphQLSchema instances

🔧 Chores and Improvements

📦 Other