Releases: obmarg/cynic
Releases · obmarg/cynic
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.
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)