Skip to content

Releases: obmarg/cynic

v3.9.0

12 Nov 08:13
22dfcea
Compare
Choose a tag to compare

Changes

  • Bumped cynic-parser dependency
  • Removed dependency on counter (#1027)

Changes

  • MSRV is now 1.76

Contributors

Thanks to the people who contributed to this release:

cynic-parser-v0.8.3

12 Nov 11:33
46b5036
Compare
Choose a tag to compare

New Features

  • Added a span for directive arguments

cynic-parser-v0.8.2

12 Nov 09:17
ee0ced7
Compare
Choose a tag to compare

New Features

  • Added a span for directive arguments

cynic-parser-v0.8.1

12 Nov 08:12
22dfcea
Compare
Choose a tag to compare

New Features

  • Added a span for directive arguments

cynic-parser-v0.8.0

07 Nov 19:12
609f661
Compare
Choose a tag to compare

Breaking Changes

  • Lexing failures now include the token that failed to parse
  • Description::raw_str has been renamed raw_untrimmed_str to make its
    purpose clearer.
  • StringLiteral::raw_str has been renamed raw_untrimmed_str to make its
    purpose clearer.
  • Floats are now correctly represented as f64 rather than f32
  • Value::as_f32 & ConstValue::as_f32 are now as_f64

New Features

  • Added convenience functions to SchemaDefintion to get the individual
    definitions from within
  • Added get function to ConstList, List,, ConstObject and Object to
    get the value of an item or field from the list or object
  • ConstList, List, ConstObject and Object now implement IntoIterator,
    which is equivalent to calling items or fields
  • Added as_f64 & as_str & as_bool functions to the respective scalar
    value types.

Bug Fixes

  • Floats are now correctly represented as f64 rather than f32

Changes

  • Iter types are now reexported in the type_system and executable modules
  • Value & ConstValue are now reexported from the crate root.

cynic-parser-v0.7.1

25 Oct 10:48
d7558c8
Compare
Choose a tag to compare

Bug Fixes

  • Added InputValueDefinition::default_value_span again (#1077)
  • Implemented todo! in ConstValue::span (#1076)

Contributors

Thanks to the people who contributed to this release:

cynic-parser-v0.7.0

25 Oct 09:28
f7c61d1
Compare
Choose a tag to compare

Breaking Changes

  • Removed InputValueDefiniton::default_value_span - you should now fetch the
    span from the default_value itself.
  • RootOperationTypeDefinition::span now covers the entire root operation type
    definition. For the old spans, use RootOperationTypeDefinition::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

24 Oct 10:24
3b72158
Compare
Choose a tag to compare

New Features

  • Added Span::overlaps function (#1065)

Changes

  • The IdReader trait now has a lifetime parameter (#1064)

Contributors

cynic-parser-v0.6.1

06 Oct 19:30
95e80e0
Compare
Choose a tag to compare

Bug Fixes

  • Fixed some issues with block string trimming (#1060)

cynic-parser-v0.6.0

03 Oct 17:55
f37b79f
Compare
Choose a tag to compare

New Features

  • Rework Value significantly (#1048)
  • Added ConstValue (#1057)
  • The ExecutableId & TypeSystemId traits have been changed (#1047)

Changes

  • MSRV is now 1.76