Skip to content

Releases: obmarg/cynic

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

cynic-parser-v0.5.2

25 Sep 15:59
275fa17
Compare
Choose a tag to compare

New Features

  • Description is now Display (#1044)

Bug Fixes

  • Iter::with_ids now takes self by reference, which works better with
    Iter no longer being Copy (#1045)

cynic-parser-v0.5.1

25 Sep 15:36
7703c10
Compare
Choose a tag to compare

Bug Fixes

  • Added the Description convenience functions that were missed in v0.5.0
    (#1041)

cynic-parser-v0.5.0

25 Sep 15:22
73ab55d
Compare
Choose a tag to compare

Breaking Changes

  • Integer values are now represented by IntValue rather than an i32.
    Although the GraphQl Int type is represented by i32 this restriction is
    not specified for the grammar.
    (#1037)
  • Iter is no longer Copy as this could cause subtle bugs. It remains
    Clone so you can use that if you need to.
    (#1036)
  • IdRange now implements IntoIterator 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

  • Support ints larger than i32 in parser (#1037)
  • use Iter in more places in parser (#1030)

v3.8.0

29 Aug 09:31
c91f2f3
Compare
Choose a tag to compare

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

19 Jun 11:52
e297a56
Compare
Choose a tag to compare

New Features

  • Add Iter::with_ids for iterating over readers and their corresponding Ids
    (#984)