Skip to content

Releases: obmarg/cynic

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)

cynic-parser-v0.4.4

10 Jun 10:48
738e280
Compare
Choose a tag to compare

New Features

  • impl Ord for parser id types (#981)

v3.7.3

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

Changes

  • update Cargo.toml dependencies
  • update rust crate trycmd to 0.15 (#971)

cynic-parser-v0.4.3

04 Jun 12:56
037dcca
Compare
Choose a tag to compare

Bug Fixes

  • FragmentSpread::fragment had a missing lifetime
    (#978)

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)