Skip to content

Commit 6b832ef

Browse files
committed
Release 0.1.0
1 parent a27b28a commit 6b832ef

File tree

6 files changed

+12
-6
lines changed

6 files changed

+12
-6
lines changed

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,13 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
77

88
## Unreleased
99

10+
## [0.1.0] - 2018-07-04
11+
12+
This is the initial public release in which the library is considered usable.
13+
1014
### Added
1115

1216
- Support generating a `Variables` struct for a given query and schema through a custom derive, corresponding to the expected variables.
1317
- Support generating a `ResponseData` struct for a given query and schema through a custom derive, corresponding to the shape of the expected response.
1418
- Various utility traits and structs for working with GraphQL query. This notably does not include code to actually perform the network operations. This may be part of future releases.
19+
- Docs and examples

Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
[package]
22
name = "graphql_client"
3-
version = "0.0.1"
3+
version = "0.1.0"
44
authors = ["Tom Houlé <[email protected]>"]
55
description = "Typed GraphQL requests and responses"
66
repository = "https://github.com/tomhoule/graphql-client"
77
license = "Apache-2.0 OR MIT"
8-
keywords = ["graphql", "gql", "api", "web", "webassembly", "wasm"]
8+
keywords = ["graphql", "api", "web", "webassembly", "wasm"]
99
categories = ["network-programming", "web-programming", "wasm"]
1010

1111
[dependencies]
1212
failure = "0.1"
1313
quote = "0.3"
14-
graphql_query_derive = {path = "./graphql_query_derive", version = "0.0.1"}
14+
graphql_query_derive = {path = "./graphql_query_derive", version = "0.1.0"}
1515
graphql-parser = "0.2.0"
1616
serde = "1.0"
1717
serde_derive = "1.0"

examples/call_from_js/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ lto = "thin"
1010
crate-type = ["cdylib"]
1111

1212
[dependencies]
13-
graphql_client = { path = "../..", version = "0.0.1" }
13+
graphql_client = { path = "../..", version = "0.1.0" }
1414
wasm-bindgen = "0.2.11"
1515
serde = "1.0.67"
1616
serde_derive = "1.0.67"

graphql_client_cli/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ path = "src/main.rs"
1111
[dependencies]
1212
failure = "0.1"
1313
reqwest = "0.8"
14-
graphql_client = { version = "0.0.1", path = ".." }
14+
graphql_client = { version = "0.1.0", path = ".." }
1515
structopt = "0.2"
1616
serde = "1.0"
1717
serde_derive = "1.0"

graphql_query_derive/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "graphql_query_derive"
3-
version = "0.0.1"
3+
version = "0.1.0"
44
authors = ["Tom Houlé <[email protected]>"]
55
description = "Utility crate for graphql_client"
66
license = "Apache-2.0 OR MIT"

graphql_query_derive/src/field_type.rs

+1
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ impl FieldType {
5555
}
5656
}
5757

58+
/// Return the innermost name - we mostly use this for looking types up in our Schema struct.
5859
pub fn inner_name_string(&self) -> String {
5960
match &self {
6061
FieldType::Named(name) => name.to_string(),

0 commit comments

Comments
 (0)