Skip to content

Releases: obmarg/cynic

v2.2.8

03 Mar 18:21
Compare
Choose a tag to compare

Bug Fixes

  • GraphQlErrorLocation & GraphQlErrorPathSegment are no longer accidentally private.

v2.2.7

27 Feb 17:34
Compare
Choose a tag to compare

Bug Fixes

  • You no longer have to specify the Extensions parameter on GraphQLError if
    you don't have any extensions.

v2.2.6

17 Feb 13:21
Compare
Choose a tag to compare

Bug Fixes

  • A QueryFragment used inside an InlineFragment can now have a __typename
    field.

v2.2.5

16 Feb 17:36
Compare
Choose a tag to compare

Bug Fixes

  • The macro generated code now compiles under -D rust-2018-idioms

v2.2.4

18 Jan 21:42
Compare
Choose a tag to compare

Bug Fixes

  • Fix an issue where you'd get extremely weird compiler errors if your
    QueryFragment had fields named key or map.

v2.2.3

03 Jan 20:13
Compare
Choose a tag to compare

Bug Fixes

  • The generator and derive macros are now aware of the implicit __typename
    that every object & interface type gets.
  • Fixed support for support fields with one or more leading underscores in the
    derives. This would have been possible before but only by using a rename
    attribute.

v2.2.2

28 Dec 14:22
Compare
Choose a tag to compare

Bug Fixes

  • Fixed a compilation error when targeting wasm with the http-reqwest feature
    enabled.

v2.2.1

16 Nov 17:51
Compare
Choose a tag to compare

Bug Fixes

  • Exposed the StreamingOperation type which was accidentally not exported in
    the move to v2.0.

v2.2.0

14 Nov 11:23
Compare
Choose a tag to compare

Changes

  • The use_schema output has been re-organised to reduce the chances of
    clashes. This is technically a breaking change, but only if you're writing
    queries by hand rather than using the derives.

v2.1.0

09 Nov 13:05
Compare
Choose a tag to compare

New Features

  • InlineFragments derives for union types now allow a fallback that receives
    the __typename

Bug Fixes

  • schema_for_derives no longer ignores QueryVariables structs.
  • A slight improvement on the error spans if you refer to a missing variable
    in some QueryFragment arguments.