Skip to content

Commit 9c1ce1f

Browse files
authored
0.10.0 release (#236)
* Bump` juniper`, `juniper_codegen`, and `juniper_tests` versions. * Bump integration crate requirements to include 0.10.0. `juniper_iron` gets a semver breaking version as it has a breaking change but `juniper_iron` does not. * Move `juniper_rocket` changelog into one file. This aligns with `juniper_iron` and will be easier to automate in the future. * Let `juniper_warp` and `juniper_hyper` use `0.9.x` versions of Juniper. They don't rely on anything in 0.10.0 so don't require it.
1 parent 842b2e3 commit 9c1ce1f

File tree

13 files changed

+85
-82
lines changed

13 files changed

+85
-82
lines changed

changelog/0.10.0.md

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
# [0.10.0] 2018-09-13
2+
3+
## Changes
4+
5+
- Changed serialization of `NaiveDate` when using the optional `chronos` support.
6+
7+
**Note:** while this is not a Rust breaking change, if you relied on the serialization format (perhaps by storing serialized data in a database or making asumptions in your client code written in another language) it could be a breaking change for your application.
8+
9+
[#151](https://github.com/graphql-rust/juniper/pull/151)
10+
11+
- The `GraphQLObject`, `GraphQLInputObject`, and `GraphQLEnum` custom derives will reject
12+
invalid [names](http://facebook.github.io/graphql/October2016/#Name) at compile time.
13+
14+
[#170](https://github.com/graphql-rust/juniper/pull/170)
15+
16+
- Large integers (> signed 32bit) are now deserialized as floats. Previously,
17+
they produced the "integer out of range" error. For languages that do not
18+
have distinction between integer and floating point types (including
19+
javascript), this means large floating point values which do not have
20+
fractional part could not be decoded (because they are represented without
21+
a decimal part `.0`).
22+
23+
[#179](https://github.com/graphql-rust/juniper/pull/179)
24+
25+
- The `GraphQLObject`, `GraphQLInputObject`, and `GraphQLEnum` custom derives
26+
now parse doc strings and use them as descriptions. This behavior can be
27+
overridden by using an explicit GraphQL `description` annotation such as
28+
`#[graphql(description = "my description")]`.
29+
30+
[#194](https://github.com/graphql-rust/juniper/issues/194)
31+
32+
- Introduced `IntoFieldError` trait to allow custom error handling
33+
i.e. custom result type. The error type must implement this trait resolving
34+
the errors into `FieldError`.
35+
36+
[#40](https://github.com/graphql-rust/juniper/issues/40)
37+
38+
- `GraphQLType` and `ToInputValue` are now implemented for Arc<T>
39+
40+
[#212](https://github.com/graphql-rust/juniper/pull/212)
41+
42+
- Error responses no longer have a _data_ field, instead, error details are stored in the _extensions_ field
43+
44+
**Note:** while this is a breaking change, it is a necessary one to better align with the latest [GraphQL June 2018](https://facebook.github.io/graphql/June2018/#sec-Errors) specification, which defines the reserved _extensions_ field for error details.
45+
46+
[#219](https://github.com/graphql-rust/juniper/pull/219)
47+
48+
* The `GraphQLObject` and `GraphQLInputObject` custom derives
49+
now support lifetime annotations.
50+
51+
[#225](https://github.com/graphql-rust/juniper/issues/225)
52+
53+
* When using the `GraphQLObject` custom derive, fields now be omitted by annotating the field with `#[graphql(skip)]`.
54+
55+
[#220](https://github.com/graphql-rust/juniper/issues/220)
56+
57+
* Due to newer dependencies, the oldest Rust version supported is now 1.22.0
58+
59+
[#231](https://github.com/graphql-rust/juniper/pull/231)

changelog/master.md

Lines changed: 0 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -1,60 +1,3 @@
11
# [master] yyyy-mm-dd
22

33
## Changes
4-
5-
* Changed serialization of `NaiveDate` when using the optional `chronos` support.
6-
7-
**Note:** while this is not a Rust breaking change, if you relied on the serialization format (perhaps by storing serialized data in a database or making asumptions in your client code written in another language) it could be a breaking change for your application.
8-
9-
[#151](https://github.com/graphql-rust/juniper/pull/151)
10-
11-
* The `GraphQLObject`, `GraphQLInputObject`, and `GraphQLEnum` custom derives will reject
12-
invalid [names](http://facebook.github.io/graphql/October2016/#Name) at compile time.
13-
14-
[#170](https://github.com/graphql-rust/juniper/pull/170)
15-
16-
* Large integers (> signed 32bit) are now deserialized as floats. Previously,
17-
they produced the "integer out of range" error. For languages that do not
18-
have distinction between integer and floating point types (including
19-
javascript), this means large floating point values which do not have
20-
fractional part could not be decoded (because they are represented without
21-
a decimal part `.0`).
22-
23-
[#179](https://github.com/graphql-rust/juniper/pull/179)
24-
25-
* The `GraphQLObject`, `GraphQLInputObject`, and `GraphQLEnum` custom derives
26-
now parse doc strings and use them as descriptions. This behavior can be
27-
overridden by using an explicit GraphQL `description` annotation such as
28-
`#[graphql(description = "my description")]`.
29-
30-
[#194](https://github.com/graphql-rust/juniper/issues/194)
31-
32-
* Introduced `IntoFieldError` trait to allow custom error handling
33-
i.e. custom result type. The error type must implement this trait resolving
34-
the errors into `FieldError`.
35-
36-
[#40](https://github.com/graphql-rust/juniper/issues/40)
37-
38-
* `GraphQLType` and `ToInputValue` are now implemented for Arc<T>
39-
40-
[#212](https://github.com/graphql-rust/juniper/pull/212)
41-
42-
* Error responses no longer have a *data* field, instead, error details are stored in the *extensions* field
43-
44-
**Note:** while this is a breaking change, it is a necessary one to better align with the latest [GraphQL June 2018](https://facebook.github.io/graphql/June2018/#sec-Errors) specification, which defines the reserved *extensions* field for error details.
45-
46-
[#219](https://github.com/graphql-rust/juniper/pull/219)
47-
48-
49-
* The `GraphQLObject` and `GraphQLInputObject` custom derives
50-
now support lifetime annotations.
51-
52-
[#225](https://github.com/graphql-rust/juniper/issues/225)
53-
54-
* When using the `GraphQLObject` custom derive, fields now be omitted by annotating the field with `#[graphql(skip)]`.
55-
56-
[#220](https://github.com/graphql-rust/juniper/issues/220)
57-
58-
* Due to newer dependencies, the oldest Rust version supported is now 1.22.0
59-
60-
[#231](https://github.com/graphql-rust/juniper/pull/231)

juniper/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "juniper"
3-
version = "0.9.2"
3+
version = "0.10.0"
44
authors = [
55
"Magnus Hallin <[email protected]>",
66
"Christoph Herzog <[email protected]>",
@@ -32,7 +32,7 @@ default = [
3232
]
3333

3434
[dependencies]
35-
juniper_codegen = { version = "0.9.2", path = "../juniper_codegen" }
35+
juniper_codegen = { version = "0.10.0", path = "../juniper_codegen" }
3636

3737
fnv = "1.0.3"
3838
indexmap = { version = "1.0.0", features = ["serde-1"] }

juniper_codegen/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "juniper_codegen"
3-
version = "0.9.2"
3+
version = "0.10.0"
44
authors = [
55
"Magnus Hallin <[email protected]>",
66
"Christoph Herzog <[email protected]>",

juniper_hyper/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ serde = "1.0"
1212
serde_json = "1.0"
1313
serde_derive = "1.0"
1414
url = "1.7"
15-
juniper = { version = "0.9" , default-features = false, path = "../juniper"}
15+
juniper = { version = ">=0.9, 0.10.0" , default-features = false, path = "../juniper"}
1616

1717
futures = "0.1"
1818
futures-cpupool = "0.1"
@@ -24,6 +24,6 @@ tokio = "0.1.8"
2424
reqwest = { git = "https://github.com/seanmonstar/reqwest" }
2525

2626
[dev-dependencies.juniper]
27-
version = "0.9"
27+
version = "0.10.0"
2828
features = ["expose-test-schema", "serde_json"]
2929
path = "../juniper"

juniper_iron/CHANGELOG.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
1-
## [0.2.0] - TBD
1+
## [master]
2+
3+
## [0.2.0] - 2018-09-13
24

35
### Changed
46

5-
* (**breaking**) `context_factory` now returns `IronResult<Context>` instead of `Context`.
7+
- (**breaking**) `context_factory` now returns `IronResult<Context>` instead of `Context`.
68

79
## [0.1.2] - 2018-02-10
810

911
### Changed
1012

11-
* Extend iron support to 0.6
12-
13+
- Extend iron support to 0.6

juniper_iron/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "juniper_iron"
3-
version = "0.1.2"
3+
version = "0.2.0"
44
authors = [
55
"Magnus Hallin <[email protected]>",
66
"Christoph Herzog <[email protected]>",
@@ -14,7 +14,7 @@ repository = "https://github.com/graphql-rust/juniper"
1414
serde = { version = "1.0.2" }
1515
serde_json = { version = "1.0.2" }
1616
serde_derive = { version = "1.0.2" }
17-
juniper = { version = "0.9.2", path = "../juniper" }
17+
juniper = { version = ">=0.9, 0.10.0", path = "../juniper" }
1818

1919
urlencoded = { version = ">= 0.5, < 0.7" }
2020
iron = ">= 0.5, < 0.7"
@@ -27,6 +27,6 @@ logger = "0.4"
2727
url = "1.7.1"
2828

2929
[dev-dependencies.juniper]
30-
version = "0.9.2"
30+
version = "0.10.0"
3131
features = ["expose-test-schema", "serde_json"]
3232
path = "../juniper"

juniper_rocket/changelog/0.1.2.md renamed to juniper_rocket/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# [master]
2+
3+
# juniper_rocket [0.1.3] 2018-09-13
4+
5+
- Add `juniper-0.10.0` compatibility.
6+
17
# juniper_rocket [0.1.2] 2018-01-13
28

39
## Changes

juniper_rocket/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "juniper_rocket"
3-
version = "0.1.2"
3+
version = "0.1.3"
44
authors = [
55
"Magnus Hallin <[email protected]>",
66
"Christoph Herzog <[email protected]>",
@@ -14,12 +14,12 @@ repository = "https://github.com/graphql-rust/juniper"
1414
serde = { version = "1.0.2" }
1515
serde_json = { version = "1.0.2" }
1616
serde_derive = { version = "1.0.2" }
17-
juniper = { version = "0.9.2" , default-features = false, path = "../juniper"}
17+
juniper = { version = ">=0.9, 0.10.0" , default-features = false, path = "../juniper"}
1818

1919
rocket = { version = "0.3.9" }
2020
rocket_codegen = { version = "0.3.9" }
2121

2222
[dev-dependencies.juniper]
23-
version = "0.9.2"
23+
version = "0.10.0"
2424
features = ["expose-test-schema", "serde_json"]
2525
path = "../juniper"

juniper_rocket/changelog/master.md

Lines changed: 0 additions & 6 deletions
This file was deleted.

juniper_tests/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "juniper_tests"
33
version = "0.1.0"
44

55
[dependencies]
6-
juniper = { version = "0.9.2", path = "../juniper" }
6+
juniper = { version = "0.10.0", path = "../juniper" }
77
serde_json = { version = "1" }
88

99
[dev-dependencies]

juniper_warp/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ repository = "https://github.com/graphql-rust/juniper"
88

99
[dependencies]
1010
warp = "0.1.2"
11-
juniper = { path = "../juniper", version = "0.9.2", default-features = false }
11+
juniper = { path = "../juniper", version = ">=0.9, 0.10.0", default-features = false }
1212
serde_json = "1.0.24"
1313
serde_derive = "1.0.75"
1414
failure = "0.1.2"
@@ -17,7 +17,7 @@ futures = "0.1.23"
1717
serde = "1.0.75"
1818

1919
[dev-dependencies]
20-
juniper = { path = "../juniper", version = "0.9.2", features = ["expose-test-schema", "serde_json"] }
20+
juniper = { path = "../juniper", version = "0.10.0", features = ["expose-test-schema", "serde_json"] }
2121
percent-encoding = "1.0"
2222

2323
[workspace]

juniper_warp/examples/warp_server/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ warp = "0.1.0"
88
juniper_warp = { path = "../.." }
99
env_logger = "0.5.11"
1010
log = "0.4.3"
11-
juniper = { path = "../../../juniper", version = "0.9.2", features = ["expose-test-schema", "serde_json"] }
11+
juniper = { path = "../../../juniper", version = ">=0.9, 0.10.0", features = ["expose-test-schema", "serde_json"] }

0 commit comments

Comments
 (0)