Skip to content

Commit aa49009

Browse files
authored
release: v3.11.0 (#1146)
1 parent 2165796 commit aa49009

File tree

7 files changed

+33
-14
lines changed

7 files changed

+33
-14
lines changed

CHANGELOG.md

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

99
## Unreleased - xxxx-xx-xx
1010

11+
## v3.11.0 - 2025-05-13
12+
13+
### New Features
14+
15+
- Optional fields on a `QueryFragment` can now be marked with
16+
`#[cynic(default)]`. If this directive is present the field does not have to
17+
be wrapped in `Option` and the `Default` impl of the type will be used if the
18+
field is null (#1144)
19+
- The generator now supports directives (#1139)
20+
- Users can opt out of Deserialize for QueryFragment (#1147)
21+
- `cynic-introspection` now includes directives in its SDL (#1140)
22+
23+
### Bug Fixes
24+
25+
- Fields can now have use types with generic parametesr (e.g. `DateTime<Utc>`
26+
is now allowed) (#1131)
27+
- The generator now correctly applies lifetimes to recursive input fields when
28+
they are needed (#1151)
29+
1130
## v3.10.0 - 2025-02-10
1231

1332
### New Features

Cargo.lock

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

Cargo.toml

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

4242
[workspace.dependencies]
@@ -45,7 +45,7 @@ insta = { version = "1", features = ["yaml", "json"] }
4545
rstest = "0.23"
4646
syn = "2"
4747

48-
cynic-parser = { path = "cynic-parser", version = "0.9" }
48+
cynic-parser = { path = "cynic-parser", version = "0.9.1" }
4949
cynic-parser-deser-macros = { path = "cynic-parser-deser-macros", version = "0.9" }
5050
graphql-mocks.path = "graphql-mocks"
5151

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.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" }
24+
cynic = { path = "../cynic", version = "3.11.0", features = ["http-reqwest-blocking"] }
25+
cynic-introspection = { path = "../cynic-introspection", version = "3.11.0" }
26+
cynic-querygen = { path = "../cynic-querygen", version = "3.11.0" }
2727
reqwest = { version = "0.12", features = ["blocking"] }
2828
thiserror = "1"
2929

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.10.0" }
25+
cynic-codegen = { path = "../cynic-codegen", version = "3.11.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.10.0" }
28+
cynic-proc-macros = { path = "../cynic-proc-macros", version = "3.11.0" }
2929
ref-cast = "1.0.15"
3030
serde = { version = "1.0.136", features = ["derive"] }
3131
serde_json = { version = "1.0", optional = true }

schemas/github/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ publish = false
88

99
[dependencies]
1010
chrono = { version = "0.4", features = ["serde"] }
11-
cynic = { path = "../../cynic", version = "3.10.0" }
11+
cynic = { path = "../../cynic", version = "3.11.0" }

0 commit comments

Comments
 (0)