Releases: obmarg/cynic
Releases · obmarg/cynic
cynic-parser-v0.7.1
cynic-parser-v0.7.0
Breaking Changes
- Removed
InputValueDefiniton::default_value_span
- you should now fetch the
span from thedefault_value
itself. RootOperationTypeDefinition::span
now covers the entire root operation type
definition. For the old spans, useRootOperationTypeDefinition::named_type_span
.
New Features
- Added more spans to the type system AST (#1070)
- Added more spans to the executable AST (#1069)
- Added
Type::definitions
for fetching the definitions associated with a type (#1067)
Bug Fixes
- Fixed an issue where explicit lifetimes had to be used on
Iter<'_, Whatever<'_>>
(#1072) - Fixed some associated type definitions on Iter (#1068)
Contributors
cynic-parser-v0.6.2
cynic-parser-v0.6.1
Bug Fixes
- Fixed some issues with block string trimming (#1060)
cynic-parser-v0.6.0
cynic-parser-v0.5.2
cynic-parser-v0.5.1
Bug Fixes
- Added the
Description
convenience functions that were missed in v0.5.0
(#1041)
cynic-parser-v0.5.0
Breaking Changes
- Integer values are now represented by
IntValue
rather than an i32.
Although the GraphQlInt
type is represented byi32
this restriction is
not specified for the grammar.
(#1037) Iter
is no longerCopy
as this could cause subtle bugs. It remains
Clone
so you can use that if you need to.
(#1036)IdRange
now implementsIntoIterator
instead of directly implementing
Iterator
. (#1036)
New Features
- Pretty printer can now optionally sort definitions & fields in its output
(#1038) - The type ystem AST now has spans in more places
(#998).
Bug Fixes
v3.8.0
New Features
- Added
OperationBuilder::build_with_variables_inlined
which can be used to
build a query string with variables inlined (#1012) - Added
QueryVariableLiterals
, a trait & derive macro that can be used to
enable dynamic fetching of variables (#1009)
Bug Fixes
- The generator now consistently renames arguments that share names with rust
keywords (#1005) - The generator will no longer panic when using a fragment with an interface
as its type condition (#994)
Bug Fixes
- Tidied up the output of object & list literals in the clients GraphQl output.
cynic-parser-v0.4.5
New Features
- Add
Iter::with_ids
for iterating over readers and their correspondingId
s
(#984)