Skip to content

Commit a474795

Browse files
release: cynic v3.10.0 & cynic-parser v0.9.0 (#1118)
1 parent 5bd9005 commit a474795

File tree

11 files changed

+53
-21
lines changed

11 files changed

+53
-21
lines changed

CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,24 @@ This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html
88

99
## Unreleased - xxxx-xx-xx
1010

11+
## v3.10.0 - 2025-02-10
12+
13+
### New Features
14+
15+
- Added initial suppport for directives: `@skip`, `@include` are supported, and
16+
other field level directives can be provided provided they don't require
17+
specific client support (#900)
18+
19+
### Bug Fixes
20+
21+
- Parsing will no longer fail if keywords like `mutation` are used as enum
22+
values. (#1128)
23+
24+
### Changes
25+
26+
- Querygen now parses schemas and queries with `cynic_parser`
27+
(#1124, #1125)
28+
1129
### Changes
1230

1331
- Bumped the MSRV to 1.80

Cargo.lock

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,12 @@ edition = "2021"
3636
homepage = "https://cynic-rs.dev"
3737
repository = "https://github.com/obmarg/cynic"
3838
license = "MPL-2.0"
39-
version = "3.9.1"
39+
version = "3.10.0"
4040
rust-version = "1.80"
4141

4242
[workspace.dependencies]
43-
cynic-parser = { path = "cynic-parser", version = "0.8.7" }
44-
cynic-parser-deser-macros = { path = "cynic-parser-deser-macros", version = "0.8.7" }
43+
cynic-parser = { path = "cynic-parser", version = "0.9.0" }
44+
cynic-parser-deser-macros = { path = "cynic-parser-deser-macros", version = "0.9.0" }
4545
darling = "0.20"
4646
graphql-mocks.path = "graphql-mocks"
4747
rstest = "0.23"

cynic-cli/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ path = "src/main.rs"
2121
[dependencies]
2222
clap = { version = "4", features = ["derive"] }
2323
colored = "2"
24-
cynic = { path = "../cynic", version = "3.9.1", features = ["http-reqwest-blocking"] }
25-
cynic-introspection = { path = "../cynic-introspection", version = "3.9.1" }
26-
cynic-querygen = { path = "../cynic-querygen", version = "3.9.1" }
24+
cynic = { path = "../cynic", version = "3.10.0", features = ["http-reqwest-blocking"] }
25+
cynic-introspection = { path = "../cynic-introspection", version = "3.10.0" }
26+
cynic-querygen = { path = "../cynic-querygen", version = "3.10.0" }
2727
reqwest = { version = "0.12", features = ["blocking"] }
2828
thiserror = "1"
2929

cynic-parser-deser-macros/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description = "Macros for cynic-parser-deser"
44
keywords = ["graphql", "parser", "deserialization"]
55
readme = "README.md"
66

7-
version = "0.8.7"
7+
version = "0.9.0"
88

99
homepage = "https://docs.rs/cynic-parser-deser"
1010
documentation = "https://docs.rs/cynic-parser-deser"

cynic-parser-deser/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description = "Deserialization for cynic-parser Values"
44
keywords = ["graphql", "parser", "deserialization"]
55
readme = "README.md"
66

7-
version = "0.8.7"
7+
version = "0.9.0"
88

99
homepage = "https://docs.rs/cynic-parser-deser"
1010
documentation = "https://docs.rs/cynic-parser-deser"

cynic-parser/CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,24 @@ This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html
99

1010
## Unreleased - xxxx-xx-xx
1111

12+
## v0.9.0 - 2025-02-10
13+
1214
### Breaking Changes
1315

16+
- Added new variants to `cynic_parser::Error` to handle empty documents, these
17+
errors were previous ambiguous parser errors (#1117)
1418
- `Error::span` now returns an `Option<Span>` instead of a `Span`
1519

20+
### Bug Fixes
21+
22+
- Parsing will no longer fail if keywords like `mutation` are used as enum
23+
values. (#1128)
24+
25+
### Changes
26+
27+
- Parse schema with `cynic_parser` in querygen (#1124)
28+
- Bumped the MSRV to 1.80
29+
1630
## v0.8.7 - 2024-12-03
1731

1832
### Changes

cynic-parser/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description = "A fast, correct and easy to use GraphQL parser"
44
keywords = ["graphql", "parser", "api"]
55
readme = "README.md"
66

7-
version = "0.8.7"
7+
version = "0.9.0"
88

99
homepage = "https://docs.rs/cynic-parser"
1010
documentation = "https://docs.rs/cynic-parser"

cynic-proc-macros/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ directives = []
2222
proc-macro = true
2323

2424
[dependencies]
25-
cynic-codegen = { path = "../cynic-codegen", version = "3.9.1" }
25+
cynic-codegen = { path = "../cynic-codegen", version = "3.10.0" }
2626
darling.workspace = true
2727
quote = "1"
2828
syn.workspace = true

cynic/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ rkyv = ["cynic-proc-macros/rkyv"]
2525
directives = ["cynic-proc-macros/directives"]
2626

2727
[dependencies]
28-
cynic-proc-macros = { path = "../cynic-proc-macros", version = "3.9.1" }
28+
cynic-proc-macros = { path = "../cynic-proc-macros", version = "3.10.0" }
2929
ref-cast = "1.0.15"
3030
serde = { version = "1.0.136", features = [ "derive" ] }
3131
serde_json = { version = "1.0", optional = true }

0 commit comments

Comments
 (0)