diff --git a/CHANGELOG.md b/CHANGELOG.md index 3854afeb..a4bcbd8d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -# [4.0.0] 2022-4-19 +# [4.0.0] 2022-5-17 - Implement the `ConnectionNameType` and `EdgeNameType` traits to specify GraphQL type names for `Connection` and `Edge`, which can be automatically generated using `DefaultConnectionName` and `DefaultEdgeName`. - Add `#[non_exhaustive]` attribute to Request/Response types. diff --git a/Cargo.toml b/Cargo.toml index 439d8f13..a4861f88 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,7 +10,7 @@ license = "MIT/Apache-2.0" name = "async-graphql" readme = "README.md" repository = "https://github.com/async-graphql/async-graphql" -version = "4.0.0-alpha.2" +version = "4.0.0" [features] apollo_persisted_queries = ["lru", "sha2"] @@ -27,9 +27,9 @@ tracing = ["tracinglib", "tracing-futures"] unblock = ["blocking"] [dependencies] -async-graphql-derive = { path = "derive", version = "4.0.0-alpha.2" } -async-graphql-parser = { path = "parser", version = "4.0.0-alpha.2" } -async-graphql-value = { path = "value", version = "4.0.0-alpha.2" } +async-graphql-derive = { path = "derive", version = "4.0.0" } +async-graphql-parser = { path = "parser", version = "4.0.0" } +async-graphql-value = { path = "value", version = "4.0.0" } async-stream = "0.3.0" async-trait = "0.1.48" diff --git a/derive/Cargo.toml b/derive/Cargo.toml index 57d3b7aa..8ab9f5e4 100644 --- a/derive/Cargo.toml +++ b/derive/Cargo.toml @@ -9,14 +9,14 @@ keywords = ["futures", "async", "graphql"] license = "MIT/Apache-2.0" name = "async-graphql-derive" repository = "https://github.com/async-graphql/async-graphql" -version = "4.0.0-alpha.2" +version = "4.0.0" [lib] proc-macro = true [dependencies] Inflector = "0.11.4" -async-graphql-parser = { path = "../parser", version = "4.0.0-alpha.2" } +async-graphql-parser = { path = "../parser", version = "4.0.0" } darling = "0.13.0" proc-macro-crate = "1.0.0" proc-macro2 = "1.0.24" diff --git a/integrations/actix-web/Cargo.toml b/integrations/actix-web/Cargo.toml index 47d66b66..a21458d4 100644 --- a/integrations/actix-web/Cargo.toml +++ b/integrations/actix-web/Cargo.toml @@ -9,10 +9,10 @@ keywords = ["futures", "async", "graphql"] license = "MIT/Apache-2.0" name = "async-graphql-actix-web" repository = "https://github.com/async-graphql/async-graphql" -version = "4.0.0-alpha.2" +version = "4.0.0" [dependencies] -async-graphql = { path = "../..", version = "4.0.0-alpha.2" } +async-graphql = { path = "../..", version = "4.0.0" } actix = "0.13.0" actix-http = "3.0.1" diff --git a/integrations/axum/Cargo.toml b/integrations/axum/Cargo.toml index 08ce40b8..47934ccd 100644 --- a/integrations/axum/Cargo.toml +++ b/integrations/axum/Cargo.toml @@ -9,10 +9,10 @@ keywords = ["futures", "async", "graphql", "axum"] license = "MIT/Apache-2.0" name = "async-graphql-axum" repository = "https://github.com/async-graphql/async-graphql" -version = "4.0.0-alpha.2" +version = "4.0.0" [dependencies] -async-graphql = { path = "../..", version = "4.0.0-alpha.2" } +async-graphql = { path = "../..", version = "4.0.0" } async-trait = "0.1.51" axum = { version = "0.5.1", features = ["ws", "headers"] } diff --git a/integrations/poem/Cargo.toml b/integrations/poem/Cargo.toml index 84dd369e..cf0613e4 100644 --- a/integrations/poem/Cargo.toml +++ b/integrations/poem/Cargo.toml @@ -9,12 +9,12 @@ keywords = ["futures", "async", "graphql", "poem"] license = "MIT/Apache-2.0" name = "async-graphql-poem" repository = "https://github.com/async-graphql/async-graphql" -version = "4.0.0-alpha.2" +version = "4.0.0" [dependencies] -async-graphql = { path = "../..", version = "4.0.0-alpha.2" } +async-graphql = { path = "../..", version = "4.0.0" } futures-util = { version = "0.3.0", default-features = false } -poem = { version = "1.2.2", features = ["websocket"] } +poem = { version = "1.3.0", features = ["websocket"] } serde_json = "1.0.66" tokio-util = { version = "0.6.7", features = ["compat"] } diff --git a/integrations/rocket/Cargo.toml b/integrations/rocket/Cargo.toml index 10ad4b84..b69691df 100644 --- a/integrations/rocket/Cargo.toml +++ b/integrations/rocket/Cargo.toml @@ -9,14 +9,14 @@ keywords = ["futures", "async", "graphql", "rocket"] license = "MIT/Apache-2.0" name = "async-graphql-rocket" repository = "https://github.com/async-graphql/async-graphql" -version = "4.0.0-alpha.2" +version = "4.0.0" [dependencies] -async-graphql = {path = "../..", version = "4.0.0-alpha.2"} +async-graphql = { path = "../..", version = "4.0.0" } -rocket = {version = "0.5.0-rc.1", default-features = false} +rocket = { version = "0.5.0-rc.1", default-features = false } serde = "1.0.126" serde_json = "1.0.64" -tokio-util = {version = "0.6.7", default-features = false, features = [ +tokio-util = { version = "0.6.7", default-features = false, features = [ "compat", -]} +] } diff --git a/integrations/tide/Cargo.toml b/integrations/tide/Cargo.toml index 340f6ce4..0c1af518 100644 --- a/integrations/tide/Cargo.toml +++ b/integrations/tide/Cargo.toml @@ -9,14 +9,14 @@ keywords = ["futures", "async", "graphql"] license = "MIT/Apache-2.0" name = "async-graphql-tide" repository = "https://github.com/async-graphql/async-graphql" -version = "4.0.0-alpha.2" +version = "4.0.0" [features] default = ["websocket"] websocket = ["tide-websockets"] [dependencies] -async-graphql = { path = "../..", version = "4.0.0-alpha.2" } +async-graphql = { path = "../..", version = "4.0.0" } async-trait = "0.1.48" futures-util = "0.3.0" diff --git a/integrations/warp/Cargo.toml b/integrations/warp/Cargo.toml index dbfb9e9a..e8c8aead 100644 --- a/integrations/warp/Cargo.toml +++ b/integrations/warp/Cargo.toml @@ -9,10 +9,10 @@ keywords = ["futures", "async", "graphql"] license = "MIT/Apache-2.0" name = "async-graphql-warp" repository = "https://github.com/async-graphql/async-graphql" -version = "4.0.0-alpha.2" +version = "4.0.0" [dependencies] -async-graphql = { path = "../..", version = "4.0.0-alpha.2" } +async-graphql = { path = "../..", version = "4.0.0" } futures-util = { version = "0.3.0", default-features = false, features = [ "sink", diff --git a/parser/Cargo.toml b/parser/Cargo.toml index b090904a..0017a355 100644 --- a/parser/Cargo.toml +++ b/parser/Cargo.toml @@ -9,10 +9,10 @@ keywords = ["futures", "async", "graphql"] license = "MIT/Apache-2.0" name = "async-graphql-parser" repository = "https://github.com/async-graphql/async-graphql" -version = "4.0.0-alpha.2" +version = "4.0.0" [dependencies] -async-graphql-value = { path = "../value", version = "4.0.0-alpha.2" } +async-graphql-value = { path = "../value", version = "4.0.0" } pest = "2.1.3" serde = { version = "1.0.125", features = ["derive"] } serde_json = "1.0.64" diff --git a/value/Cargo.toml b/value/Cargo.toml index 21649f1a..8355f282 100644 --- a/value/Cargo.toml +++ b/value/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "async-graphql-value" -version = "4.0.0-alpha.2" +version = "4.0.0" authors = ["sunli ", "Koxiaet"] edition = "2021" description = "GraphQL value for async-graphql"