Releases: obmarg/cynic
Releases · obmarg/cynic
v3.9.1
cynic-parser-v0.8.7
cynic-parser-v0.8.6
cynic-parser-v0.8.5
New Features
- Every selection set in
ExecutableDocument
now has a span.
Bug Fixes
Type::wrappers
functions now returnTypeWrappersIter
instead ofimpl Iterator
TypeWrappersIter
is nowClone
cynic-parser-v0.8.4
v3.9.0
cynic-parser-v0.8.3
New Features
- Added a span for directive arguments
cynic-parser-v0.8.2
New Features
- Added a span for directive arguments
cynic-parser-v0.8.1
New Features
- Added a span for directive arguments
cynic-parser-v0.8.0
Breaking Changes
- Lexing failures now include the token that failed to parse
Description::raw_str
has been renamedraw_untrimmed_str
to make its
purpose clearer.StringLiteral::raw_str
has been renamedraw_untrimmed_str
to make its
purpose clearer.Float
s are now correctly represented as f64 rather than f32Value::as_f32
&ConstValue::as_f32
are nowas_f64
New Features
- Added convenience functions to
SchemaDefintion
to get the individual
definitions from within - Added
get
function toConstList
,List,
,ConstObject
andObject
to
get the value of an item or field from the list or object ConstList
,List
,ConstObject
andObject
now implementIntoIterator
,
which is equivalent to callingitems
orfields
- Added
as_f64
&as_str
&as_bool
functions to the respective scalar
value types.
Bug Fixes
Float
s are now correctly represented as f64 rather than f32
Changes
Iter
types are now reexported in thetype_system
andexecutable
modulesValue
&ConstValue
are now reexported from the crate root.