Releases: obmarg/cynic
Releases · obmarg/cynic
v3.4.3
Bug Fixes
- Handle disabled introspection better in
cynic-introspection
&cynic-cli
.
This is technically a breaking change, but it's small and fixes a bug so I'll
allow it.
v3.4.2
Changes
- If you accidentally write a recursive query without the
recurse
attribute
you'll now get a panic suggesting to userecurse
. This may cause false
positives if you're writing a particularly large query - users should raise
an issue if I've picked a number that's too low.
Bug Fixes
- The
recurse
attribute now works if anInlineFragments
derive is used in
the recursive path.
v3.4.1
Bug Fixes
- Fixed an issue with object literals inside arguments
v3.4.0
New Features
Enum
s can now opt out of exhaustiveness checking with thenon_exhaustive
attribute
v3.3.3
Bug Fixes
cynic-introspection
now omits the{}
if a definition is empty.
v3.3.2
Changes
GraphQlResponse
is nowClone
provided its contents are also
v3.3.1
Bug Fixes
- Fixed an issue where
#[cynic(flatten)]
would not work on scalar fields.
v3.3.0
New Features
- The
QueryVariables
derive now supportsskip_serializing_if
cynic-cli
has a newquerygen
command as an alternative to the
web-based generator (Note: this is experimental and may be subject
to change)
Changes
- Operations generated by cynic will now omit un-used variables
- The
#[cynic(spread)]
attribute now outputs an inline fragment in GraphQL
Fixes
- Using
#[cynic(spread)]
more than once no longer results in rust compile
errors. - The generator won't output an incorrect comma in between attributes in
certain circumstances. - The generator now uses the same re-casing as codegen - leading to less bugs.
- The generator will now rename more QueryFragment fields that require it.
cynic-introspection
now escapes deprecated strings that require it in SDL.
v3.2.2
Bug Fixes
- Various SDL output fixes in
cynic-introspection
:- It no longer prints
?
where it means!
- It omits the schema definition if all the root operation types are using
default names - Enum values no longer have empty lines between them
- We no longer erronously print the
Boolean
scalar - Fields now have a hacky heuristic that decides when to wrap them
- Unions also have a wrapping heuristic
- Deprecation reasons will now correclty be wrapped in strings
- It no longer prints
v3.2.1
Changes
- Building binaries with different GitHub action