Skip to content

Releases: graphql-rust/graphql-client

2018 edition, web feature in graphql_client

24 May 19:16
5a1484b
Compare
Choose a tag to compare

graphql_client_web initial release, CLI improvements, fixes

30 Dec 12:59
9a0acd4
Compare
Choose a tag to compare
0.6.0

Move examples directory back to the repo root

0.5.0

01 Oct 20:27
2c2f00a
Compare
Choose a tag to compare

Lots of improvements on many fronts. Thanks to all contributors! See the changelog for more details.

Custom scalars, arbitrary custom derives, operation selection and bug fixes

25 Aug 12:57
db7ccbb
Compare
Choose a tag to compare

There are a number of breaking changes due to the new features, read the Added section attentively if you are upgrading.

Added

  • (breaking) Control over which types custom scalars deserialize to is given to the user: you now have to provide type aliases for the custom scalars in the scope of the struct under derive.
  • (breaking) Support for multi-operations documents. You can select a particular operation by naming the struct under derive after it. In case there is no match, we revert to the current behaviour: select the first operation.
  • (breaking) Support arbitrary derives on the generated response types via the response_derives option on the graphql attribute. If you were relying on the Debug impl on generated structs before, you need to add response_derives = "Debug" in the #[graphql()] attributes in your structs.

Fixed

Fixed codegen of fields with leading underscores - they were ignored, leading to wrong derived types for deserialization.

Better documentation, error extensions, bug fixes

24 Jul 21:07
9594d09
Compare
Choose a tag to compare

See the changelog for more details.

Subscriptions and rustdoc support

22 Jul 08:04
98373aa
Compare
Choose a tag to compare

Initial release

24 Jul 21:10
6b832ef
Compare
Choose a tag to compare

See CHANGELOG.md