Skip to content

Commit

Permalink
release: cynic v3.7.1 & parser v0.3.0 (#946)
Browse files Browse the repository at this point in the history
  • Loading branch information
cynic-releaser[bot] committed May 14, 2024
1 parent 46b72de commit 5ac26f1
Show file tree
Hide file tree
Showing 9 changed files with 48 additions and 21 deletions.
15 changes: 11 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html

## Unreleased - xxxx-xx-xx

## v3.7.1 - 2024-05-14

### Bug Fixes

- Schema file should no longer cause clippy warnings if `clippy::nursery` is on.
([#951](https://github.com/obmarg/cynic/pull/951))

## [v3.7.0](https://github.com/obmarg/cynic/compare/v3.6.1...v3.7.0) - 2024-04-28

### New Features
Expand Down Expand Up @@ -68,7 +75,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html
### Changes

- If you accidentally write a recursive query without the `recurse` attribute
you'll now get a panic suggesting to use `recurse`. This may cause false
you'll now get a panic suggesting to use `recurse`. This may cause false
positives if you're writing a particularly large query - users should raise
an issue if I've picked a number that's too low.

Expand Down Expand Up @@ -113,9 +120,9 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html
### New Features

- The `QueryVariables` derive now supports `skip_serializing_if`
- `cynic-cli` has a new `querygen` command as an alternative to the
web-based generator (Note: this is experimental and may be subject
to change)
- `cynic-cli` has a new `querygen` command as an alternative to the
web-based generator (Note: this is experimental and may be subject
to change)

### Changes

Expand Down
14 changes: 7 additions & 7 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ edition = "2021"
homepage = "https://cynic-rs.dev"
repository = "https://github.com/obmarg/cynic"
license = "MPL-2.0"
version = "3.7.0"
version = "3.7.1"
rust-version = "1.72"

[workspace.dependencies]
cynic-parser = { path = "cynic-parser", version = "0.2.6" }
cynic-parser = { path = "cynic-parser", version = "0.3.0" }
darling = "0.20"
rstest = "0.18"
syn = "2"
Expand Down
6 changes: 3 additions & 3 deletions cynic-cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ path = "src/main.rs"
[dependencies]
clap = { version = "4", features = ["derive"] }
colored = "2"
cynic = { path = "../cynic", version = "3.7.0", features = ["http-reqwest-blocking"] }
cynic-introspection = { path = "../cynic-introspection", version = "3.7.0" }
cynic-querygen = { path = "../cynic-querygen", version = "3.7.0" }
cynic = { path = "../cynic", version = "3.7.1", features = ["http-reqwest-blocking"] }
cynic-introspection = { path = "../cynic-introspection", version = "3.7.1" }
cynic-querygen = { path = "../cynic-querygen", version = "3.7.1" }
reqwest = { version = "0.12", features = ["blocking"] }
thiserror = "1"

Expand Down
22 changes: 21 additions & 1 deletion cynic-parser/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,32 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html

## Unreleased - xxxx-xx-xx

## v0.2.7 - 2024-05-14

### New Features

- Updated most functions to return the named type `Iter` rather than
`impl ExactSizedIterator` ([#945](https://github.com/obmarg/cynic/pull/945))
- All the readers now `impl Debug`
([#923](https://github.com/obmarg/cynic/pull/923))

### Bug Fixes

- Parser now errors on an invalid directive location instead of panicing
([#948](https://github.com/obmarg/cynic/pull/948))
- Pretty printing now formats long arguments correctly
([#947](https://github.com/obmarg/cynic/pull/947))

## [v0.2.6](https://github.com/obmarg/cynic/compare/cynic-parser-v0.2.5...cynic-parser-v0.2.6) - 2024-04-16

### Features

- implement PartialEq for Type and Value ([#924](https://github.com/obmarg/cynic/pull/924))

## [v0.2.5](https://github.com/obmarg/cynic/compare/cynic-parser-v0.2.4...cynic-parser-v0.2.5) - 2024-04-15

### Fixes

- Directives on schema definitions are now parsed correctly
([#921](https://github.com/obmarg/cynic/pull/921))
- Schema extensions without operation definitions are now parsed correctly
Expand All @@ -25,12 +43,14 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html
## [v0.2.4](https://github.com/obmarg/cynic/compare/cynic-parser-v0.2.3...cynic-parser-v0.2.4) - 2024-04-15

### Fixes

- TypeSystemDocument::definitions() now returns an ExactSizeIterator
([#919](https://github.com/obmarg/cynic/pull/919))

## [0.2.3](https://github.com/obmarg/cynic/compare/cynic-parser-v0.2.2...cynic-parser-v0.2.3) - 2024-04-15

### Fixes

- Pretty printing output is now significantly improved, but still not perfect
([#916](https://github.com/obmarg/cynic/pull/916))

Expand All @@ -55,7 +75,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html

### Changes

- Probably a ton of other things. I'm not going to list the changes
- Probably a ton of other things. I'm not going to list the changes
exhaustively because of how early this library is - I'd be surprised
if anyone was using it (if I'm wrong please let me know).

Expand Down
2 changes: 1 addition & 1 deletion cynic-parser/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description = "A fast, correct and easy to use GraphQL parser"
keywords = ["graphql", "parser", "api"]
readme = "README.md"

version = "0.2.6"
version = "0.3.0"

homepage = "https://docs.rs/cynic-parser"
documentation = "https://docs.rs/cynic-parser"
Expand Down
2 changes: 1 addition & 1 deletion cynic-proc-macros/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ rkyv = ["cynic-codegen/rkyv"]
proc-macro = true

[dependencies]
cynic-codegen = { path = "../cynic-codegen", version = "3.7.0" }
cynic-codegen = { path = "../cynic-codegen", version = "3.7.1" }
darling.workspace = true
quote = "1"
syn.workspace = true
2 changes: 1 addition & 1 deletion cynic/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ http-reqwest-blocking = ["http-reqwest", "reqwest/blocking", "serde_json"]
rkyv = ["cynic-proc-macros/rkyv"]

[dependencies]
cynic-proc-macros = { path = "../cynic-proc-macros", version = "3.7.0" }
cynic-proc-macros = { path = "../cynic-proc-macros", version = "3.7.1" }
ref-cast = "1.0.15"
serde = { version = "1.0.136", features = [ "derive" ] }
serde_json = { version = "1.0", optional = true }
Expand Down
2 changes: 1 addition & 1 deletion schemas/github/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ publish = false

[dependencies]
chrono = { version = "0.4", features = ["serde"] }
cynic = { path = "../../cynic", version = "3.7.0" }
cynic = { path = "../../cynic", version = "3.7.1" }

0 comments on commit 5ac26f1

Please sign in to comment.