Skip to content

Releases: Stranger6667/hypothesis-graphql

Release 0.11.0

29 Nov 19:58
v0.11.0
4c86ef1
Compare
Choose a tag to compare

Added

  • Support for Python 3.12.
  • Include tests in the source tarball. #82
  • A way to control what characters are used for string generation via the allow_x00 and codec arguments to queries, mutations, and from_schema.

Changed

  • Bump the minimum supported Hypothesis version to 6.84.3.

Removed

  • Python 3.7 support.

Release 0.10.0

12 Apr 18:57
v0.10.0
2659d51
Compare
Choose a tag to compare

Changed

  • Build: Switch the build backend to Hatch.

Removed

  • Python 3.6 support.
  • Dependency on attrs.

Release 0.9.2

07 Nov 21:18
v0.9.2
26f4f88
Compare
Choose a tag to compare

Python 3.11 support

Release 0.9.1

02 Sep 07:38
v0.9.1
39be230
Compare
Choose a tag to compare

Use poetry-core for building the package.

Release 0.9.0

29 Apr 19:40
v0.9.0
64157fe
Compare
Choose a tag to compare

🚀 Added

  • The from_schema function which takes a GraphQL schema and returns a Hypothesis strategy for defined queries and mutations.

🔧 Changed

  • Use Hypothesis' InvalidArgument exception when invalid input is passed to the generator functions.

🗑️ Removed

  • hypothesis_graphql.schemas as it is not complete and not tested well.

Release 0.8.2

29 Apr 11:32
v0.8.2
e9c5304
Compare
Choose a tag to compare

🐛 Bug fixes

  • Internal error on invalid schemas that contain interfaces without fields.

Release 0.8.1

27 Apr 14:55
v0.8.1
fd01402
Compare
Choose a tag to compare

🚀 Features

  • Expose validate_scalar_strategy in the public API

Release 0.8.0

27 Apr 13:16
v0.8.0
b66ed3d
Compare
Choose a tag to compare

🚀 Features

  • Support for using default values of arguments and input fields. #71

🐛 Bug fixes

  • Duplicated inline fragments that may miss aliases. #69
  • Queries missing required fields in their inputs when these fields are custom scalars.

Release 0.7.1

26 Apr 23:10
v0.7.1
20cddbb
Compare
Choose a tag to compare

🚀 Features

  • hypothesis_graphql.nodes module to simplify working with custom scalars.

Release 0.7.0

26 Apr 19:54
v0.7.0
1dc5626
Compare
Choose a tag to compare

🚀 Features

  • Support for custom query printers. #21
  • Support for custom scalars. #22

📦 Other

  • Do not generate fields inside inputs if they have custom scalar types. #38
  • Generate null for nullable custom scalars in the argument position. #35

🔧 Performance

  • Additional strategy cache.