Skip to content

Releases: obmarg/cynic

cynic-parser-v0.4.2

04 Jun 10:15
cf2bae9
Compare
Choose a tag to compare

New Features

  • Added FragmentSpread::fragment function that looks up the named fragment
    (#976)

cynic-parser-v0.4.1

31 May 11:36
277024d
Compare
Choose a tag to compare

New Features

  • Added Value::variables_used to find variables used in a value
    (#963)

v3.7.2

22 May 18:48
2f78b91
Compare
Choose a tag to compare

Changes

  • Pulled in the latest cynic-parser, this should have no user facing impact.

cynic-parser-v0.4.0

22 May 18:48
2f78b91
Compare
Choose a tag to compare

Breaking Changes

  • Pretty printing has been moved behind a new feature flag pretty
  • The names of the pretty printing functions have been updated with a _pretty
    prefix.

New Features

  • All of the readers in the executable module now impl Display, allowing you
    to use them with print! and friends. This is hidden behind the print
    feature. (#962)
  • All of the Id types now impl Hash, PartialEq, Eq & Debug
    (#961)
  • All of the readers now have an id function that allows you to retreive an
    Id for that reader. (#959)
  • Iter now exposes a function ids that allows you to retrieve the underlying
    IdRange (#959)

Bug Fixes

  • Fixed a lot of bad formatting in the pretty printing of schema documents
    (#957)
  • Pretty printing will now add whitespace between fields & arguments that have
    a docstring (#954)

Changes

  • update rust crate logos to 0.14 (#942)

v3.7.1

14 May 14:17
5ac26f1
Compare
Choose a tag to compare

Bug Fixes

  • Schema file should no longer cause clippy warnings if clippy::nursery is on.
    (#951)

cynic-parser-v0.3.0

14 May 14:16
5ac26f1
Compare
Choose a tag to compare

New Features

  • Updated most functions to return the named type Iter rather than
    impl ExactSizedIterator (#945)
  • All the readers now impl Debug
    (#923)

Bug Fixes

  • Parser now errors on an invalid directive location instead of panicing
    (#948)
  • Pretty printing now formats long arguments correctly
    (#947)

v3.7.0

28 Apr 16:16
0349500
Compare
Choose a tag to compare

New Features

  • Users of the reqwest integration can now control the type used for error
    extensions (#928)

Changes

  • MSRV is now officially 1.72 (although it was unofficially 1.72 before)

cynic-parser-v0.2.6

16 Apr 09:07
7560003
Compare
Choose a tag to compare

Features

  • implement PartialEq for Type and Value (#924)

v3.6.1

15 Apr 16:49
980ddd0
Compare
Choose a tag to compare

Fixes

  • Fixed a regresion in 3.6.0: schemas with directives on the schema
    definition will now parse

cynic-parser-v0.2.5

15 Apr 16:48
980ddd0
Compare
Choose a tag to compare

Fixes

  • Directives on schema definitions are now parsed correctly (#921)
  • Schema extensions without operation definitions are now parsed correctly (#921)